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

[RocksDB] Unexpected callback in TestPersistenceCallbacksForDel

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.5.0
    • master
    • couchbase-bucket
    • None
    • Untriaged
    • Unknown

    Description

      As seen during AddressSanitizer CV run:

      [ RUN      ] KVStoreParam/KVStoreParamTest.TestPersistenceCallbacksForDel/rocksdb
       
      GMOCK WARNING:
      Uninteresting mock function call - returning directly.
          Function call: callback(@0x7ffffb892710 (1, true))
      NOTE: You can safely ignore the above warning unless this call should not happen.  Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call.  See http://code.google.com/p/googlemock/wiki/CookBook#Knowing_When_to_Expect for details.
      [       OK ] KVStoreParam/KVStoreParamTest.TestPersistenceCallbacksForDel/rocksdb (9717 ms)
      

      Complete log: http://cv.jenkins.couchbase.com/job/kv_engine-addresssanitizer-master/2909/consoleFull#-71206614c5751633-7aa5-473a-91e8-426e0afa5a7b

      Note this also reported a memory leak, I don't know if that is a result of the above callback, or something else. (If it's something else we should spin it out into a separate MB).

      =================================================================
      ==27375==ERROR: LeakSanitizer: detected memory leaks
       
      Indirect leak of 720 byte(s) in 1 object(s) allocated from:
          #0 0x5bda60 in operator new(unsigned long) (/home/couchbase/jenkins/workspace/kv_engine-addresssanitizer-master/build/kv_engine/ep-engine_ep_unit_tests+0x5bda60)
          #1 0x830fc1 in StreamTest::setup_dcp_stream(int, IncludeValue, IncludeXattrs) /home/couchbase/jenkins/workspace/kv_engine-addresssanitizer-master/kv_engine/engines/ep/tests/module_tests/dcp_test.cc:103:20
          #2 0x7ef2ce in StreamTest_BackfillOnly_Test::TestBody() /home/couchbase/jenkins/workspace/kv_engine-addresssanitizer-master/kv_engine/engines/ep/tests/module_tests/dcp_test.cc:687:5
          #3 0x12790a9 in void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /home/couchbase/jenkins/workspace/kv_engine-addresssanitizer-master/googletest/googletest/src/gtest.cc:2402:10
          #4 0x12790a9 in void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) /home/couchbase/jenkins/workspace/kv_engine-addresssanitizer-master/googletest/googletest/src/gtest.cc:2438
          #5 0x1228cdb in testing::Test::Run() /home/couchbase/jenkins/workspace/kv_engine-addresssanitizer-master/googletest/googletest/src/gtest.cc:2474:5
          #6 0x122c074 in testing::TestInfo::Run() /home/couchbase/jenkins/workspace/kv_engine-addresssanitizer-master/googletest/googletest/src/gtest.cc:2656:11
          #7 0x122d764 in testing::TestCase::Run() /home/couchbase/jenkins/workspace/kv_engine-addresssanitizer-master/googletest/googletest/src/gtest.cc:2774:28
          #8 0x1246109 in testing::internal::UnitTestImpl::RunAllTests() /home/couchbase/jenkins/workspace/kv_engine-addresssanitizer-master/googletest/googletest/src/gtest.cc:4649:43
          #9 0x127aba9 in bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /home/couchbase/jenkins/workspace/kv_engine-addresssanitizer-master/googletest/googletest/src/gtest.cc:2402:10
          #10 0x127aba9 in bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) /home/couchbase/jenkins/workspace/kv_engine-addresssanitizer-master/googletest/googletest/src/gtest.cc:2438
          #11 0x124563d in testing::UnitTest::Run() /home/couchbase/jenkins/workspace/kv_engine-addresssanitizer-master/googletest/googletest/src/gtest.cc:4257:10
          #12 0x880849 in RUN_ALL_TESTS() /home/couchbase/jenkins/workspace/kv_engine-addresssanitizer-master/googletest/googletest/include/gtest/gtest.h:2237:46
          #13 0x880849 in main /home/couchbase/jenkins/workspace/kv_engine-addresssanitizer-master/kv_engine/engines/ep/tests/module_tests/ep_unit_tests_main.cc:74
          #14 0x7f4fa70e582f in __libc_start_main /build/glibc-9tT8Do/glibc-2.23/csu/../csu/libc-start.c:291
      

      Attachments

        For Gerrit Dashboard: MB-26371
        # Subject Branch Project Status CR V

        Activity

          People

            paolo.cocchi Paolo Cocchi
            drigby Dave Rigby (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty