Actions
Bug #14064
closedTestMockObjectMapSnapshotCreateRequest.ReadMapError librbd/Journal.cc: 710: FAILED assert(m_events.empty())
Status:
Duplicate
Priority:
Normal
Assignee:
Jason Dillaman
Target version:
-
% Done:
0%
Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
http://jenkins.ceph.dachary.org/job/ceph/LABELS=centos-7&&x86_64/10100/console
[ RUN ] TestJournalEntries.AioDiscard SKIPPING [ OK ] TestJournalEntries.AioDiscard (1 ms) [ RUN ] TestJournalEntries.AioFlush SKIPPING [ OK ] TestJournalEntries.AioFlush (0 ms) [----------] 3 tests from TestJournalEntries (1 ms total) [----------] 3 tests from TestJournalReplay [ RUN ] TestJournalReplay.AioDiscardEvent SKIPPING [ OK ] TestJournalReplay.AioDiscardEvent (0 ms) [ RUN ] TestJournalReplay.AioWriteEvent SKIPPING [ OK ] TestJournalReplay.AioWriteEvent (0 ms) [ RUN ] TestJournalReplay.AioFlushEvent SKIPPING [ OK ] TestJournalReplay.AioFlushEvent (0 ms) [----------] 3 tests from TestJournalReplay (0 ms total) [----------] 4 tests from TestObjectMap [ RUN ] TestObjectMap.RefreshInvalidatesWhenCorrupt [ OK ] TestObjectMap.RefreshInvalidatesWhenCorrupt (9 ms) [ RUN ] TestObjectMap.RefreshInvalidatesWhenTooSmall [ OK ] TestObjectMap.RefreshInvalidatesWhenTooSmall (8 ms) [ RUN ] TestObjectMap.InvalidateFlagOnDisk [ OK ] TestObjectMap.InvalidateFlagOnDisk (9 ms) [ RUN ] TestObjectMap.InvalidateFlagInMemoryOnly [ OK ] TestObjectMap.InvalidateFlagInMemoryOnly (20 ms) [----------] 4 tests from TestObjectMap (46 ms total) [----------] Global test environment tear-down [==========] 180 tests from 18 test cases ran. (10460 ms total) [ PASSED ] 180 tests. + for i in 0 1 5 29 109 + RBD_FEATURES=109 + unittest_librbd [==========] Running 180 tests from 18 test cases. [----------] Global test environment set-up. [----------] 5 tests from TestMockObjectMapInvalidateRequest [ RUN ] TestMockObjectMapInvalidateRequest.UpdatesInMemoryFlag [ OK ] TestMockObjectMapInvalidateRequest.UpdatesInMemoryFlag (45 ms) [ RUN ] TestMockObjectMapInvalidateRequest.UpdatesHeadOnDiskFlag [ OK ] TestMockObjectMapInvalidateRequest.UpdatesHeadOnDiskFlag (44 ms) [ RUN ] TestMockObjectMapInvalidateRequest.UpdatesSnapOnDiskFlag [ OK ] TestMockObjectMapInvalidateRequest.UpdatesSnapOnDiskFlag (29 ms) [ RUN ] TestMockObjectMapInvalidateRequest.SkipOnDiskUpdateWithoutLock [ OK ] TestMockObjectMapInvalidateRequest.SkipOnDiskUpdateWithoutLock (7 ms) [ RUN ] TestMockObjectMapInvalidateRequest.IgnoresOnDiskUpdateFailure [ OK ] TestMockObjectMapInvalidateRequest.IgnoresOnDiskUpdateFailure (19 ms) [----------] 5 tests from TestMockObjectMapInvalidateRequest (144 ms total) [----------] 4 tests from TestMockObjectMapResizeRequest [ RUN ] TestMockObjectMapResizeRequest.UpdateInMemory [ OK ] TestMockObjectMapResizeRequest.UpdateInMemory (22 ms) [ RUN ] TestMockObjectMapResizeRequest.UpdateHeadOnDisk [ OK ] TestMockObjectMapResizeRequest.UpdateHeadOnDisk (24 ms) [ RUN ] TestMockObjectMapResizeRequest.UpdateSnapOnDisk [ OK ] TestMockObjectMapResizeRequest.UpdateSnapOnDisk (35 ms) [ RUN ] TestMockObjectMapResizeRequest.UpdateOnDiskError [ OK ] TestMockObjectMapResizeRequest.UpdateOnDiskError (19 ms) [----------] 4 tests from TestMockObjectMapResizeRequest (100 ms total) [----------] 5 tests from TestMockObjectMapSnapshotCreateRequest [ RUN ] TestMockObjectMapSnapshotCreateRequest.Success [ OK ] TestMockObjectMapSnapshotCreateRequest.Success (64 ms) [ RUN ] TestMockObjectMapSnapshotCreateRequest.ReadMapError librbd/Journal.cc: In function 'void librbd::Journal::handle_lock_updated(librbd::ImageWatcher::LockUpdateState)' thread 7fc3b21726c0 time 2015-12-11 21:29:48.934841 librbd/Journal.cc: 710: FAILED assert(m_events.empty()) ceph version 9.2.0-1508-g7535add (7535addf11edd3e67aec6513d57e009cb4004abb) 1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x8b) [0x7fc3b268cd1b] 2: (librbd::Journal::handle_lock_updated(librbd::ImageWatcher::LockUpdateState)+0x35d) [0x7fc3b2574fcd] 3: (librbd::ImageWatcher::notify_listeners_updated_lock(librbd::ImageWatcher::LockUpdateState)+0x7d) [0x7fc3b253c9ed] 4: (librbd::ImageWatcher::release_lock()+0x249) [0x7fc3b2541b69] 5: (librbd::close_image(librbd::ImageCtx*)+0xd9) [0x7fc3b254d519] 6: (TestFixture::TearDown()+0x29) [0x7fc3b2446969] 7: (TestMockFixture::TearDown()+0x9) [0x7fc3b23d8de9] 8: (void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)+0x65) [0x7fc3b26628c2] 9: (void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)+0x4b) [0x7fc3b265da66] 10: (testing::Test::Run()+0x11e) [0x7fc3b26451f4] 11: (testing::TestInfo::Run()+0x108) [0x7fc3b26459a4] 12: (testing::TestCase::Run()+0xf4) [0x7fc3b2646068] 13: (testing::internal::UnitTestImpl::RunAllTests()+0x298) [0x7fc3b264cb30] 14: (bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)+0x65) [0x7fc3b2663ca8] 15: (bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)+0x4b) [0x7fc3b265e8b6] 16: (testing::UnitTest::Run()+0xb4) [0x7fc3b264b700] 17: (main()+0xee) [0x7fc3b23d271e] 18: (__libc_start_main()+0xf5) [0x7fc3b03fdb15] 19: (()+0x250afd) [0x7fc3b23d8afd] NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this. ./common/RWLock.h: In function 'void RWLock::unlock(bool) const' thread 7fc3b21726c0 time 2015-12-11 21:29:48.939214 ./common/RWLock.h: 70: FAILED assert(nrlock.read() > 0) ceph version 9.2.0-1508-g7535add (7535addf11edd3e67aec6513d57e009cb4004abb) 1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x8b) [0x7fc3b268cd1b] 2: (()+0x2542e6) [0x7fc3b23dc2e6] 3: (librbd::close_image(librbd::ImageCtx*)+0x6ea) [0x7fc3b254db2a] 4: (TestFixture::TearDown()+0x29) [0x7fc3b2446969] 5: (TestMockFixture::TearDown()+0x9) [0x7fc3b23d8de9] 6: (void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)+0x65) [0x7fc3b26628c2] 7: (void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)+0x4b) [0x7fc3b265da66] 8: (testing::Test::Run()+0x11e) [0x7fc3b26451f4] 9: (testing::TestInfo::Run()+0x108) [0x7fc3b26459a4] 10: (testing::TestCase::Run()+0xf4) [0x7fc3b2646068] 11: (testing::internal::UnitTestImpl::RunAllTests()+0x298) [0x7fc3b264cb30] 12: (bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)+0x65) [0x7fc3b2663ca8] 13: (bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)+0x4b) [0x7fc3b265e8b6] 14: (testing::UnitTest::Run()+0xb4) [0x7fc3b264b700] 15: (main()+0xee) [0x7fc3b23d271e] 16: (__libc_start_main()+0xf5) [0x7fc3b03fdb15] 17: (()+0x250afd) [0x7fc3b23d8afd] NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this. terminate called after throwing an instance of 'ceph::FailedAssertion' ./test/run-rbd-unit-tests.sh: line 10: 14861 Aborted (core dumped) RBD_FEATURES=$i unittest_librbd
Actions