Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 3.0.4
    • tools
    • None
    • Linux, x86_64, gcc 10.2.1.
    • 1
    • High

    Description

      cmake options which I'm using is possible to find in CCBC-1309

      Looks like test suite is failing.

      Running tests...
      /usr/bin/ctest --force-new-ctest-process
      Test project /home/tkloczko/rpmbuild/BUILD/libcouchbase-3.0.4/x86_64-redhat-linux-gnu
            Start  1: BUILD-TESTS
       1/14 Test  #1: BUILD-TESTS ......................   Passed    1.37 sec
            Start  2: check-select-nonio-tests
       2/14 Test  #2: check-select-nonio-tests .........***Failed    0.04 sec
      export srcdir=/home/tkloczko/rpmbuild/BUILD/libcouchbase-3.0.4
      export LCB_VERBOSE_TESTS=1
      export LCB_LOGLEVEL=1
      export LD_LIBRARY_PATH=/home/tkloczko/rpmbuild/BUILD/libcouchbase-3.0.4/x86_64-redhat-linux-gnu/lib
      Testing with plugin 'select'
      ldd /home/tkloczko/rpmbuild/BUILD/libcouchbase-3.0.4/x86_64-redhat-linux-gnu/lib/libcouchbase_select.so
      ldd: /home/tkloczko/rpmbuild/BUILD/libcouchbase-3.0.4/x86_64-redhat-linux-gnu/lib/libcouchbase_select.so: No such file or directory
      Command line '/home/tkloczko/rpmbuild/BUILD/libcouchbase-3.0.4/x86_64-redhat-linux-gnu/bin/nonio-tests --gtest_print_time=1 --gtest_output=xml:"/home/tkloczko/rpmbuild/BUILD/libcouchbase-3.0.4/x86_64-redhat-linux-gnu/REPORT_select_nonio-tests.xml" '
      LCB_IOPS_NAME=select ... Plugin ID: 0x5
      START [select] '/home/tkloczko/rpmbuild/BUILD/libcouchbase-3.0.4/x86_64-redhat-linux-gnu/bin/nonio-tests --gtest_print_time=1 --gtest_output=xml:"/home/tkloczko/rpmbuild/BUILD/libcouchbase-3.0.4/x86_64-redhat-linux-gnu/REPORT_select_nonio-tests.xml" '
      [==========] Running 86 tests from 17 test cases.
      [----------] Global test environment set-up.
      [----------] 4 tests from Base64
      [ RUN      ] Base64.testRFC4648
      [       OK ] Base64.testRFC4648 (0 ms)
      [ RUN      ] Base64.testWikipediaExample
      [       OK ] Base64.testWikipediaExample (0 ms)
      [ RUN      ] Base64.testStuff
      [       OK ] Base64.testStuff (0 ms)
      [ RUN      ] Base64.testTooSmallOutputBuffer
      [       OK ] Base64.testTooSmallOutputBuffer (0 ms)
      [----------] 4 tests from Base64 (0 ms total)[----------] 1 test from CCBC_103
      [ RUN      ] CCBC_103.lists
      [       OK ] CCBC_103.lists (0 ms)
      [----------] 1 test from CCBC_103 (0 ms total)[----------] 10 tests from ConnstrTest
      [ RUN      ] ConnstrTest.testParseBasic
      [       OK ] ConnstrTest.testParseBasic (0 ms)
      [ RUN      ] ConnstrTest.testParseHosts
      [       OK ] ConnstrTest.testParseHosts (0 ms)
      [ RUN      ] ConnstrTest.testParseBucket
      [       OK ] ConnstrTest.testParseBucket (0 ms)
      [ RUN      ] ConnstrTest.testOptionsPassthrough
      [       OK ] ConnstrTest.testOptionsPassthrough (0 ms)
      [ RUN      ] ConnstrTest.testRecognizedOptions
      [       OK ] ConnstrTest.testRecognizedOptions (1 ms)
      [ RUN      ] ConnstrTest.testTransportOptions
      [       OK ] ConnstrTest.testTransportOptions (0 ms)
      [ RUN      ] ConnstrTest.testCompatConversion
      [       OK ] ConnstrTest.testCompatConversion (0 ms)
      [ RUN      ] ConnstrTest.testCertificateWithoutSSL
      [       OK ] ConnstrTest.testCertificateWithoutSSL (0 ms)
      [ RUN      ] ConnstrTest.testDnsSrvExplicit
      [       OK ] ConnstrTest.testDnsSrvExplicit (0 ms)
      [ RUN      ] ConnstrTest.testDnsSrvImplicit
      [       OK ] ConnstrTest.testDnsSrvImplicit (0 ms)
      [----------] 10 tests from ConnstrTest (1 ms total)[----------] 3 tests from CredsTest
      [ RUN      ] CredsTest.testLegacyCreds
      [       OK ] CredsTest.testLegacyCreds (0 ms)
      [ RUN      ] CredsTest.testRbacCreds
      [       OK ] CredsTest.testRbacCreds (1 ms)
      [ RUN      ] CredsTest.testSharedAuth
      [       OK ] CredsTest.testSharedAuth (0 ms)
      [----------] 3 tests from CredsTest (1 ms total)[----------] 2 tests from CtlTest
      [ RUN      ] CtlTest.testExists
      [       OK ] CtlTest.testExists (0 ms)
      [ RUN      ] CtlTest.testStringCtls
      [       OK ] CtlTest.testStringCtls (0 ms)
      [----------] 2 tests from CtlTest (0 ms total)[----------] 4 tests from Hostlist
      [ RUN      ] Hostlist.testParseBasic
      [       OK ] Hostlist.testParseBasic (0 ms)
      [ RUN      ] Hostlist.testEquals
      [       OK ] Hostlist.testEquals (0 ms)
      [ RUN      ] Hostlist.testParseList
      [       OK ] Hostlist.testParseList (0 ms)
      [ RUN      ] Hostlist.testCycle
      [       OK ] Hostlist.testCycle (0 ms)
      [----------] 4 tests from Hostlist (0 ms total)[----------] 3 tests from JsonParseTest
      [ RUN      ] JsonParseTest.testFTS
      [       OK ] JsonParseTest.testFTS (0 ms)
      [ RUN      ] JsonParseTest.testN1QL
      [       OK ] JsonParseTest.testN1QL (0 ms)
      [ RUN      ] JsonParseTest.testAnalyticsDeferred
      [       OK ] JsonParseTest.testAnalyticsDeferred (0 ms)
      [----------] 3 tests from JsonParseTest (1 ms total)[----------] 2 tests from List
      [ RUN      ] List.basicTests
      [       OK ] List.basicTests (0 ms)
      [ RUN      ] List.sortedListTest
      [       OK ] List.sortedListTest (0 ms)
      [----------] 2 tests from List (0 ms total)[----------] 1 test from Logger
      [ RUN      ] Logger.testLogger
      [       OK ] Logger.testLogger (0 ms)
      [----------] 1 test from Logger (0 ms total)[----------] 2 tests from MiscTests
      [ RUN      ] MiscTests.testGetTmpdir
      [       OK ] MiscTests.testGetTmpdir (0 ms)
      [ RUN      ] MiscTests.testVersionG
      /home/tkloczko/rpmbuild/BUILD/libcouchbase-3.0.4/tests/basic/t_misc.cc:36: Failure
      Expected: (lcb_version_g) > ((lcb_U32)0), actual: 0 vs 0
      [  FAILED  ] MiscTests.testVersionG (0 ms)
      [----------] 2 tests from MiscTests (0 ms total)[----------] 1 test from N1qLStringTests
      [ RUN      ] N1qLStringTests.testParseTimeout
      [       OK ] N1qLStringTests.testParseTimeout (0 ms)
      [----------] 1 test from N1qLStringTests (0 ms total)[----------] 8 tests from NetbufTest
      [ RUN      ] NetbufTest.testCleanCheck
      MBLOCK 0x5631be980240: Cursor (500) != Start (0)
      SENDQ @0x7ffffbbcc540: Still have pending flush items
      MBLOCK 0x5631be976d40: Cursor (32) != Start (0)
      SENDQ/MBLOCK @0x7ffffbbcc540: Still have unfreed members in send queue
      [       OK ] NetbufTest.testCleanCheck (0 ms)
      [ RUN      ] NetbufTest.testBasic
      [       OK ] NetbufTest.testBasic (0 ms)
      [ RUN      ] NetbufTest.testFlush
      Status for MGR=0x7ffffbbcc460
      ACTIVE:
      AVAILABLE:
          BLOCK(AVAIL)=0x5631be980270; BUF=0x5631be976140, 64B
          BLOCK(AVAIL)=0x5631be980240; BUF=0x5631be977be0, 32B
          BLOCK(AVAIL)=0x5631be9802a0; BUF=0x5631be972c80, 64B
          BLOCK(AVAIL)=0x5631be9802d0; BUF=0x5631be981220, 64B
      Send Queue
      [       OK ] NetbufTest.testFlush (0 ms)
      [ RUN      ] NetbufTest.testWrappingBuffers
      Status for MGR=0x7ffffbbcc4f0
      ACTIVE:
      AVAILABLE:
          BLOCK(AVAIL)=0x5631be980240; BUF=0x5631be977be0, 40B
      Send Queue
      Status for MGR=0x7ffffbbcc4f0
      ACTIVE:
        BLOCK(MANAGED)=0x5631be980240; BUF=0x5631be977be0, 40B
           USAGE:
           [{S:0}xxxxxx{CW:20}ooo{A:40}]
      AVAILABLE:
      Send Queue
      [       OK ] NetbufTest.testWrappingBuffers (0 ms)
      [ RUN      ] NetbufTest.testMultipleFlush
      Status for MGR=0x7ffffbbcc450
      ACTIVE:
        BLOCK(MANAGED)=0x5631be980240; BUF=0x5631be981270, 32768B
           USAGE:
           [{S:0}xxxxxx{CW:150}ooo{A:32768}]
      AVAILABLE:
      Send Queue
        [Base=0x5631be981270, Len=150]
        <Current Flush Limit @150^^^>
      Status for MGR=0x7ffffbbcc450
      ACTIVE:
        BLOCK(MANAGED)=0x5631be980240; BUF=0x5631be981270, 32768B
           USAGE:
           [{S:0}xxxxxx{CW:150}ooo{A:32768}]
      AVAILABLE:
      Send Queue
        [Base=0x5631be9812d4, Len=50]
        <Current Flush Limit @50^^^>
      [       OK ] NetbufTest.testMultipleFlush (1 ms)
      [ RUN      ] NetbufTest.testCyclicFlush
      [       OK ] NetbufTest.testCyclicFlush (0 ms)
      [ RUN      ] NetbufTest.testPduEnqueue
      [       OK ] NetbufTest.testPduEnqueue (0 ms)
      [ RUN      ] NetbufTest.testOutOfOrder
      [       OK ] NetbufTest.testOutOfOrder (0 ms)
      [----------] 8 tests from NetbufTest (1 ms total)[----------] 3 tests from Packet
      [ RUN      ] Packet.testParseBasic
      [       OK ] Packet.testParseBasic (0 ms)
      [ RUN      ] Packet.testParsePartial
      [       OK ] Packet.testParsePartial (0 ms)
      [ RUN      ] Packet.testKeys
      [       OK ] Packet.testKeys (0 ms)
      [----------] 3 tests from Packet (0 ms total)[----------] 5 tests from Ringbuffer
      [ RUN      ] Ringbuffer.basicTests
      [       OK ] Ringbuffer.basicTests (0 ms)
      [ RUN      ] Ringbuffer.wrappedBufferTest
      [       OK ] Ringbuffer.wrappedBufferTest (0 ms)
      [ RUN      ] Ringbuffer.regression1
      [       OK ] Ringbuffer.regression1 (0 ms)
      [ RUN      ] Ringbuffer.replace
      [       OK ] Ringbuffer.replace (0 ms)
      [ RUN      ] Ringbuffer.memcpy
      [       OK ] Ringbuffer.memcpy (0 ms)
      [----------] 5 tests from Ringbuffer (0 ms total)[----------] 18 tests from ScramTest
      [ RUN      ] ScramTest.ParseValidServerChallenge
      [       OK ] ScramTest.ParseValidServerChallenge (0 ms)
      [ RUN      ] ScramTest.ParseInvalidServerChallenge_WithWrongAttribute
      [       OK ] ScramTest.ParseInvalidServerChallenge_WithWrongAttribute (0 ms)
      [ RUN      ] ScramTest.ParseInvalidServerChallenge_WithMissingAttributeType
      [       OK ] ScramTest.ParseInvalidServerChallenge_WithMissingAttributeType (0 ms)
      [ RUN      ] ScramTest.ParseInvalidServerChallenge_WithVoidField
      [       OK ] ScramTest.ParseInvalidServerChallenge_WithVoidField (0 ms)
      [ RUN      ] ScramTest.ParseInvalidServerChallenge_WithInvalidIterationCount
      [       OK ] ScramTest.ParseInvalidServerChallenge_WithInvalidIterationCount (0 ms)
      [ RUN      ] ScramTest.ParseInvalidServerChallenge_WithDuplicateAttribute
      [       OK ] ScramTest.ParseInvalidServerChallenge_WithDuplicateAttribute (0 ms)
      [ RUN      ] ScramTest.GenerateSaltedPasswordWithSHA512
      [       OK ] ScramTest.GenerateSaltedPasswordWithSHA512 (2 ms)
      [ RUN      ] ScramTest.GenerateSaltedPasswordWithSHA256
      [       OK ] ScramTest.GenerateSaltedPasswordWithSHA256 (2 ms)
      [ RUN      ] ScramTest.GenerateSaltedPasswordWithSHA1
      [       OK ] ScramTest.GenerateSaltedPasswordWithSHA1 (0 ms)
      [ RUN      ] ScramTest.ComputeClientProof_SHA512
      [       OK ] ScramTest.ComputeClientProof_SHA512 (0 ms)
      [ RUN      ] ScramTest.ComputeClientProof_SHA256
      [       OK ] ScramTest.ComputeClientProof_SHA256 (0 ms)
      [ RUN      ] ScramTest.ComputeClientProof_SHA1
      [       OK ] ScramTest.ComputeClientProof_SHA1 (0 ms)
      [ RUN      ] ScramTest.ComputeServerSignature_SHA512
      [       OK ] ScramTest.ComputeServerSignature_SHA512 (0 ms)
      [ RUN      ] ScramTest.ComputeServerSignature_SHA256
      [       OK ] ScramTest.ComputeServerSignature_SHA256 (0 ms)
      [ RUN      ] ScramTest.ComputeServerSignature_SHA1
      [       OK ] ScramTest.ComputeServerSignature_SHA1 (0 ms)
      [ RUN      ] ScramTest.FinalServerCheck_SHA512
      [       OK ] ScramTest.FinalServerCheck_SHA512 (0 ms)
      [ RUN      ] ScramTest.FinalServerCheck_SHA256
      [       OK ] ScramTest.FinalServerCheck_SHA256 (0 ms)
      [ RUN      ] ScramTest.FinalServerCheck_SHA1
      [       OK ] ScramTest.FinalServerCheck_SHA1 (0 ms)
      [----------] 18 tests from ScramTest (5 ms total)[----------] 9 tests from SListTests
      [ RUN      ] SListTests.testBasic
      [       OK ] SListTests.testBasic (0 ms)
      [ RUN      ] SListTests.testBasicIter
      [       OK ] SListTests.testBasicIter (0 ms)
      [ RUN      ] SListTests.testExtendedIter
      [       OK ] SListTests.testExtendedIter (0 ms)
      [ RUN      ] SListTests.testSort
      [       OK ] SListTests.testSort (0 ms)
      [ RUN      ] SListTests.testSandwichSort
      [       OK ] SListTests.testSandwichSort (0 ms)
      [ RUN      ] SListTests.testPrependSort
      [       OK ] SListTests.testPrependSort (0 ms)
      [ RUN      ] SListTests.testRemoveTailIter
      [       OK ] SListTests.testRemoveTailIter (0 ms)
      [ RUN      ] SListTests.testRemoveEmptyTailIter
      [       OK ] SListTests.testRemoveEmptyTailIter (0 ms)
      [ RUN      ] SListTests.testRemoveFirstIter
      [       OK ] SListTests.testRemoveFirstIter (0 ms)
      [----------] 9 tests from SListTests (0 ms total)[----------] 10 tests from UrlEncoding
      [ RUN      ] UrlEncoding.plainTextTests
      [       OK ] UrlEncoding.plainTextTests (0 ms)
      [ RUN      ] UrlEncoding.plainTextWithSlashTests
      [       OK ] UrlEncoding.plainTextWithSlashTests (0 ms)
      [ RUN      ] UrlEncoding.plainTextWithSpaceTests
      [       OK ] UrlEncoding.plainTextWithSpaceTests (0 ms)
      [ RUN      ] UrlEncoding.encodedTextWithPlusAsApaceTests
      [       OK ] UrlEncoding.encodedTextWithPlusAsApaceTests (0 ms)
      [ RUN      ] UrlEncoding.encodedTextWithPlusAndHexAsApaceTests
      [       OK ] UrlEncoding.encodedTextWithPlusAndHexAsApaceTests (0 ms)
      [ RUN      ] UrlEncoding.mixedLegalTextTests
      [       OK ] UrlEncoding.mixedLegalTextTests (0 ms)
      [ RUN      ] UrlEncoding.mixedIllegalEncodingTextTests
      [       OK ] UrlEncoding.mixedIllegalEncodingTextTests (0 ms)
      [ RUN      ] UrlEncoding.internationalTest
      [       OK ] UrlEncoding.internationalTest (0 ms)
      [ RUN      ] UrlEncoding.internationalEncodedTest
      [       OK ] UrlEncoding.internationalEncodedTest (0 ms)
      [ RUN      ] UrlEncoding.testDecode
      [       OK ] UrlEncoding.testDecode (0 ms)
      [----------] 10 tests from UrlEncoding (0 ms total)[----------] Global test environment tear-down
      [==========] 86 tests from 17 test cases ran. (9 ms total)
      [  PASSED  ] 85 tests.
      [  FAILED  ] 1 test, listed below:
      [  FAILED  ] MiscTests.testVersionG 1 FAILED TEST
      REAP [select] '/home/tkloczko/rpmbuild/BUILD/libcouchbase-3.0.4/x86_64-redhat-linux-gnu/bin/nonio-tests --gtest_print_time=1 --gtest_output=xml:"/home/tkloczko/rpmbuild/BUILD/libcouchbase-3.0.4/x86_64-redhat-linux-gnu/REPORT_select_nonio-tests.xml" ' .. FAIL      Start  3: check-select-rdb-tests
       3/14 Test  #3: check-select-rdb-tests ...........   Passed    0.03 sec
            Start  4: check-select-vbucket-tests
       4/14 Test  #4: check-select-vbucket-tests .......   Passed    0.05 sec
            Start  5: check-select-mc-tests
       5/14 Test  #5: check-select-mc-tests ............   Passed    0.03 sec
            Start  6: check-select-htparse-tests
       6/14 Test  #6: check-select-htparse-tests .......   Passed    0.03 sec
            Start  7: check-select-unit-tests
       7/14 Test  #7: check-select-unit-tests ..........   Passed    0.03 sec
            Start  8: check-select-sock-tests
       8/14 Test  #8: check-select-sock-tests ..........   Passed   28.16 sec
            Start  9: check-libevent-unit-tests
       9/14 Test  #9: check-libevent-unit-tests ........   Passed    0.04 sec
            Start 10: check-libevent-sock-tests
      10/14 Test #10: check-libevent-sock-tests ........   Passed   29.30 sec
            Start 11: check-libev-unit-tests
      11/14 Test #11: check-libev-unit-tests ...........   Passed    0.04 sec
            Start 12: check-libev-sock-tests
      12/14 Test #12: check-libev-sock-tests ...........   Passed   28.27 sec
            Start 13: check-libuv-unit-tests
      13/14 Test #13: check-libuv-unit-tests ...........   Passed    0.04 sec
            Start 14: check-libuv-sock-tests
      14/14 Test #14: check-libuv-sock-tests ...........   Passed   28.20 sec93% tests passed, 1 tests failed out of 14Total Test time (real) = 115.65 secThe following tests FAILED:
                2 - check-select-nonio-tests (Failed)
      Errors while running CTest
      make: *** [Makefile:128: test] Error 8
      make: Leaving directory '/home/tkloczko/rpmbuild/BUILD/libcouchbase-3.0.4/x86_64-redhat-linux-gnu'
      error: Bad exit status from /var/tmp/rpm-tmp.jZb5hD (%check)
      
      

       

      Attachments

        Issue Links

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

          Activity

            People

              avsej Sergey Avseyev
              kloczek Tomasz Kloczko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty