Project

General

Profile

Actions

Bug #55433

closed

common: FAILED ceph_assert(((lock).is_locked()))

Added by Laura Flores about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Immediate
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Seen in jenkins make check tests, i.e. https://jenkins.ceph.com/job/ceph-pull-requests/94227/console

[ RUN      ] TestSlowFastCoDel.test1
../src/common/Timer.cc: In function 'Context *CommonSafeTimer<ceph::mutex_debug_detail::mutex_debug_impl<false>>::add_event_after(ceph::timespan, Context *) [Mutex = ceph::mutex_debug_detail::mutex_debug_impl<false>]' thread 7f192d101300 time 2022-04-25T15:52:07.507067+0000
../src/common/Timer.cc: 132: FAILED ceph_assert(((lock).is_locked()))
 ceph version Development (no_version) quincy (dev)
 1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x1b4) [0x7f192f31fb44]
 2: /home/jenkins-build/build/workspace/ceph-pull-requests/build/lib/libceph-common.so.2(+0x140698f) [0x7f192f31f98f]
 3: (CommonSafeTimer<ceph::mutex_debug_detail::mutex_debug_impl<false> >::add_event_after(std::chrono::duration<unsigned long, std::ratio<1l, 1000000000l> >, Context*)+0x47) [0x7f192f2e63d7]
 4: (BlueStoreSlowFastCoDel::_fast_interval_process()+0x1c5) [0x526765]
 5: (BlueStoreSlowFastCoDel::on_config_changed(ceph::common::CephContext*)+0x285) [0x525fc5]
 6: (BlueStoreSlowFastCoDel::BlueStoreSlowFastCoDel(ceph::common::CephContext*, std::function<void (long)>, std::function<long ()>)+0x22d) [0x525c4d]
 7: (BlueStoreSlowFastCoDelMock::BlueStoreSlowFastCoDelMock(ceph::common::CephContext*, std::function<void (long)>, std::function<long ()>, std::mutex&, std::condition_variable&, long, long, long, double)+0x94) [0x4b7884]
 8: (TestSlowFastCoDel::create_bluestore_slow_fast_codel()+0xd0) [0x4b28c0]
 9: (TestSlowFastCoDel_test1_Test::TestBody()+0x19) [0x4b19a9]
 10: (void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)+0x7b) [0x51d7fb]
 11: (void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)+0x6a) [0x501d0a]
 12: (testing::Test::Run()+0xc3) [0x4dfd73]
 13: (testing::TestInfo::Run()+0xda) [0x4e0aba]
 14: (testing::TestSuite::Run()+0xfb) [0x4e12db]
 15: (testing::internal::UnitTestImpl::RunAllTests()+0x442) [0x4ee9f2]
 16: (bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)+0x7b) [0x52097b]
 17: (bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)+0x6a) [0x5045ca]
 18: (testing::UnitTest::Run()+0xcb) [0x4ee55b]
 19: (RUN_ALL_TESTS()+0x11) [0x4bd691]
 20: main()
 21: __libc_start_main()
 22: _start()
Actions #1

Updated by Neha Ojha about 2 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 46026
Actions #2

Updated by Neha Ojha about 2 years ago

https://github.com/ceph/ceph/pull/46028 has been merged to unblock other master PR merges.

Actions #3

Updated by Neha Ojha about 2 years ago

  • Status changed from Fix Under Review to Closed

The fix will be merged with the original PR.

Actions

Also available in: Atom PDF