Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-18486

Unit test failure on PlainOrSSL/McdTestappTest.SubdocMultiMutation_MaxResultSpecValue/0

    XMLWordPrintable

Details

    • Untriaged
    • Windows 64-bit
    • Unknown

    Description

      I checked out all source today (3/3/2016) and built the source before running memcached_testapp (without any options). It fails with:

      C:\compile\couchbase\memcached\tests\testapp\testapp_binprot.cc(221): error: Value of: header->response.status
        Actual: 4
      Expected: status
      Which is: 0
      Expected (as string): 'Success', actual (as string): 'Invalid arguments' for opcode: 'SUBDOC_MULTI_MUTATION'
      C:\compile\couchbase\memcached\tests\testapp\testapp_binprot.cc(392): error: Expected: (0u) != (header->response.cas), actual: 0 vs 0
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(286): error: Expected: (value.size()) >= (sizeof(uint8_t) + sizeof(uint16_t) + sizeof(uint32_t)),
       actual: 0 vs 7
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(299): error: Value of: actual_resultlen
        Actual: 0
      Expected: result.result.size()
      Which is: 1
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(303): error: Value of: actual_result
        Actual: ""
      Expected: result.result
      Which is: "1"
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(286): error: Expected: (value.size()) >= (sizeof(uint8_t) + sizeof(uint16_t) + sizeof(uint32_t)),
       actual: 0 vs 7
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(291): error: Value of: actual_index
        Actual: '\0'
      Expected: result.index
      Which is: '\x1' (1)
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(299): error: Value of: actual_resultlen
        Actual: 0
      Expected: result.result.size()
      Which is: 1
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(303): error: Value of: actual_result
        Actual: ""
      Expected: result.result
      Which is: "2"
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(286): error: Expected: (value.size()) >= (sizeof(uint8_t) + sizeof(uint16_t) + sizeof(uint32_t)),
       actual: 0 vs 7
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(291): error: Value of: actual_index
        Actual: '\0'
      Expected: result.index
      Which is: '\x2' (2)
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(299): error: Value of: actual_resultlen
        Actual: 0
      Expected: result.result.size()
      Which is: 1
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(303): error: Value of: actual_result
        Actual: ""
      Expected: result.result
      Which is: "3"
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(286): error: Expected: (value.size()) >= (sizeof(uint8_t) + sizeof(uint16_t) + sizeof(uint32_t)),
       actual: 0 vs 7
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(291): error: Value of: actual_index
        Actual: '\0'
      Expected: result.index
      Which is: '\x3' (3)
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(299): error: Value of: actual_resultlen
        Actual: 0
      Expected: result.result.size()
      Which is: 1
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(303): error: Value of: actual_result
        Actual: ""
      Expected: result.result
      Which is: "4"
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(286): error: Expected: (value.size()) >= (sizeof(uint8_t) + sizeof(uint16_t) + sizeof(uint32_t)),
       actual: 0 vs 7
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(291): error: Value of: actual_index
        Actual: '\0'
      Expected: result.index
      Which is: '\x4' (4)
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(299): error: Value of: actual_resultlen
        Actual: 0
      Expected: result.result.size()
      Which is: 1
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(303): error: Value of: actual_result
        Actual: ""
      Expected: result.result
      Which is: "5"
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(286): error: Expected: (value.size()) >= (sizeof(uint8_t) + sizeof(uint16_t) + sizeof(uint32_t)),
       actual: 0 vs 7
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(291): error: Value of: actual_index
        Actual: '\0'
      Expected: result.index
      Which is: '\x5' (5)
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(299): error: Value of: actual_resultlen
        Actual: 0
      Expected: result.result.size()
      Which is: 1
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(303): error: Value of: actual_result
        Actual: ""
      Expected: result.result
      Which is: "6"
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(286): error: Expected: (value.size()) >= (sizeof(uint8_t) + sizeof(uint16_t) + sizeof(uint32_t)),
       actual: 0 vs 7
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(291): error: Value of: actual_index
        Actual: '\0'
      Expected: result.index
      Which is: '\x6' (6)
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(299): error: Value of: actual_resultlen
        Actual: 0
      Expected: result.result.size()
      Which is: 1
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(303): error: Value of: actual_result
        Actual: ""
      Expected: result.result
      Which is: "7"
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(286): error: Expected: (value.size()) >= (sizeof(uint8_t) + sizeof(uint16_t) + sizeof(uint32_t)),
       actual: 0 vs 7
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(291): error: Value of: actual_index
        Actual: '\0'
      Expected: result.index
      Which is: '\a' (7)
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(299): error: Value of: actual_resultlen
        Actual: 0
      Expected: result.result.size()
      Which is: 1
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(303): error: Value of: actual_result
        Actual: ""
      Expected: result.result
      Which is: "8"
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(286): error: Expected: (value.size()) >= (sizeof(uint8_t) + sizeof(uint16_t) + sizeof(uint32_t)),
       actual: 0 vs 7
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(291): error: Value of: actual_index
        Actual: '\0'
      Expected: result.index
      Which is: '\b' (8)
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(299): error: Value of: actual_resultlen
        Actual: 0
      Expected: result.result.size()
      Which is: 1
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(303): error: Value of: actual_result
        Actual: ""
      Expected: result.result
      Which is: "9"
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(286): error: Expected: (value.size()) >= (sizeof(uint8_t) + sizeof(uint16_t) + sizeof(uint32_t)),
       actual: 0 vs 7
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(291): error: Value of: actual_index
        Actual: '\0'
      Expected: result.index
      Which is: '\t' (9)
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(299): error: Value of: actual_resultlen
        Actual: 0
      Expected: result.result.size()
      Which is: 2
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(303): error: Value of: actual_result
        Actual: ""
      Expected: result.result
      Which is: "10"
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(286): error: Expected: (value.size()) >= (sizeof(uint8_t) + sizeof(uint16_t) + sizeof(uint32_t)),
       actual: 0 vs 7
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(291): error: Value of: actual_index
        Actual: '\0'
      Expected: result.index
      Which is: '\n' (10, 0xA)
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(299): error: Value of: actual_resultlen
        Actual: 0
      Expected: result.result.size()
      Which is: 2
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(303): error: Value of: actual_result
        Actual: ""
      Expected: result.result
      Which is: "11"
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(286): error: Expected: (value.size()) >= (sizeof(uint8_t) + sizeof(uint16_t) + sizeof(uint32_t)),
       actual: 0 vs 7
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(291): error: Value of: actual_index
        Actual: '\0'
      Expected: result.index
      Which is: '\v' (11, 0xB)
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(299): error: Value of: actual_resultlen
        Actual: 0
      Expected: result.result.size()
      Which is: 2
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(303): error: Value of: actual_result
        Actual: ""
      Expected: result.result
      Which is: "12"
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(286): error: Expected: (value.size()) >= (sizeof(uint8_t) + sizeof(uint16_t) + sizeof(uint32_t)),
       actual: 0 vs 7
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(291): error: Value of: actual_index
        Actual: '\0'
      Expected: result.index
      Which is: '\f' (12, 0xC)
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(299): error: Value of: actual_resultlen
        Actual: 0
      Expected: result.result.size()
      Which is: 2
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(303): error: Value of: actual_result
        Actual: ""
      Expected: result.result
      Which is: "13"
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(286): error: Expected: (value.size()) >= (sizeof(uint8_t) + sizeof(uint16_t) + sizeof(uint32_t)),
       actual: 0 vs 7
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(291): error: Value of: actual_index
        Actual: '\0'
      Expected: result.index
      Which is: '\r' (13, 0xD)
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(299): error: Value of: actual_resultlen
        Actual: 0
      Expected: result.result.size()
      Which is: 2
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(303): error: Value of: actual_result
        Actual: ""
      Expected: result.result
      Which is: "14"
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(286): error: Expected: (value.size()) >= (sizeof(uint8_t) + sizeof(uint16_t) + sizeof(uint32_t)),
       actual: 0 vs 7
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(291): error: Value of: actual_index
        Actual: '\0'
      Expected: result.index
      Which is: '\xE' (14)
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(299): error: Value of: actual_resultlen
        Actual: 0
      Expected: result.result.size()
      Which is: 2
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(303): error: Value of: actual_result
        Actual: ""
      Expected: result.result
      Which is: "15"
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(286): error: Expected: (value.size()) >= (sizeof(uint8_t) + sizeof(uint16_t) + sizeof(uint32_t)),
       actual: 0 vs 7
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(291): error: Value of: actual_index
        Actual: '\0'
      Expected: result.index
      Which is: '\xF' (15)
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(299): error: Value of: actual_resultlen
        Actual: 0
      Expected: result.result.size()
      Which is: 2
      C:\compile\couchbase\memcached\tests\testapp\testapp_subdoc.cc(303): error: Value of: actual_result
        Actual: ""
      Expected: result.result
      Which is: "16"
      C:\compile\couchbase\memcached\tests\testapp\testapp.cc(1009): error: Value of: (*_errno())
        Actual: 0
      Expected: 4
      Failed to read: No error
      C:\compile\couchbase\memcached\tests\testapp\testapp_binprot.cc(209): error: Value of: header->response.magic
        Actual: '\0'
      Expected: PROTOCOL_BINARY_RES
      Which is: 129
      C:\compile\couchbase\memcached\tests\testapp\testapp_binprot.cc(231): error: Value of: header->response.opaque
        Actual: 0
      Expected: 0xdeadbeef
      Which is: 3735928559
      C:\compile\couchbase\memcached\tests\testapp\testapp_binprot.cc(320): error: Value of: header->response.extlen
        Actual: '\0'
      Expected: 4
      C:\compile\couchbase\memcached\tests\testapp\testapp_binprot.cc(321): error: Expected: (0u) != (header->response.cas), actual: 0 vs 0
      C:\compile\couchbase\memcached\tests\testapp\testapp.cc(2697): error: Value of: vallen
        Actual: 4294967292
      Expected: expected_value.size()
      Which is: 40
      Failed to write: No error
              C:\compile\couchbase\build\memcached\memcached_testapp.exe(safe_send+234) [0x00007FF7EA5166FA]
              C:\compile\couchbase\build\memcached\memcached_testapp.exe(delete_object+117) [0x00007FF7EA5163F5]
              C:\compile\couchbase\build\memcached\memcached_testapp.exe(McdTestappTest_SubdocMultiMutation_MaxResultSpecValue_Test::TestBody+803) [0x00007FF7EA5DFC63
      ]
              C:\compile\couchbase\build\memcached\memcached_testapp.exe(testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test,void>+12) [0x00007FF7
      EA66CD8C]
              C:\compile\couchbase\build\memcached\memcached_testapp.exe(testing::internal::HandleExceptionsInMethodIfSupported<testing::Test,void>+79) [0x00007FF7EA6
      6CBEF]
              C:\compile\couchbase\build\memcached\memcached_testapp.exe(testing::Test::Run+235) [0x00007FF7EA688E7B]
              C:\compile\couchbase\build\memcached\memcached_testapp.exe(testing::TestInfo::Run+242) [0x00007FF7EA6891D2]
              C:\compile\couchbase\build\memcached\memcached_testapp.exe(testing::TestCase::Run+292) [0x00007FF7EA689004]
              C:\compile\couchbase\build\memcached\memcached_testapp.exe(testing::internal::UnitTestImpl::RunAllTests+704) [0x00007FF7EA689670]
              C:\compile\couchbase\build\memcached\memcached_testapp.exe(testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl,boo
      l>+12) [0x00007FF7EA66CEBC]
              C:\compile\couchbase\build\memcached\memcached_testapp.exe(testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl,bool>+
      79) [0x00007FF7EA66CD4F]
              C:\compile\couchbase\build\memcached\memcached_testapp.exe(testing::UnitTest::Run+240) [0x00007FF7EA689380]
              C:\compile\couchbase\build\memcached\memcached_testapp.exe(RUN_ALL_TESTS+17) [0x00007FF7EA5567D1]
              C:\compile\couchbase\build\memcached\memcached_testapp.exe(main+427) [0x00007FF7EA5252FB]
              C:\compile\couchbase\build\memcached\memcached_testapp.exe(__tmainCRTStartup+271) [0x00007FF7EA69F207]
              C:\Windows\system32\KERNEL32.DLL(BaseThreadInitThunk+13) [0x00007FFCBCEF1611]
              C:\Windows\SYSTEM32\ntdll.dll(RtlUserThreadStart+29) [0x00007FFCBD1964AD]
       
      C:\compile\couchbase\build\memcached>
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          drigby Dave Rigby added a comment -

          Another issue caused by a MSVC 2013 bug. We really need to get off that...

          drigby Dave Rigby added a comment - Another issue caused by a MSVC 2013 bug. We really need to get off that...

          People

            drigby Dave Rigby
            trond Trond Norbye
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty