Project

General

Profile

Actions

Bug #14510

closed

TestLibRBD.ObjectMapConsistentSnap librbd/Journal.cc: 376: FAILED assert(m_state == STATE_READY)

Added by Mykola Golub over 8 years ago. Updated over 8 years ago.

Status:
Resolved
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

I saw this in a jenkins test: https://jenkins.ceph.com/job/ceph-pull-requests/545/console

And running the test manually in loop for about 10 minutes:

% while RBD_FEATURES=109 ./unittest_librbd --gtest_filter=TestLibRBD.ObjectMapConsistentSnap; do sleep 0; done
...

[ RUN ] TestLibRBD.ObjectMapConsistentSnap
using new format!
./librbd/Journal.cc: In function 'void librbd::Journal< <template-parameter-1-1> >::append_op_event(uint64_t, librbd::journal::EventEntry&&, Context*) [with ImageCtxT = librbd::ImageCtx; uint64_t = long unsigned int]' thread 7f138b5ab700 time 2016-01-26 11:41:23.472702
./librbd/Journal.cc: 376: FAILED assert(m_state == STATE_READY)
ceph version 10.0.2-1074-g831cc7a (831cc7a7a01f6e331f0f7f74e6f0d1e0fe7ff070)
1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x82) [0x7f13a1699ab2]
2: (librbd::Journal<librbd::ImageCtx>::append_op_event(unsigned long, librbd::journal::EventEntry&&, Context*)+0x33b) [0x7f13a1354ffb]
3: (librbd::operation::Request<librbd::ImageCtx>::append_op_event(Context*)+0x213) [0x7f13a12ebdf3]
4: (librbd::operation::SnapshotCreateRequest<librbd::ImageCtx>::send_append_op_event()+0x12b) [0x7f13a1401b5b]
5: (librbd::operation::SnapshotCreateRequest<librbd::ImageCtx>::handle_suspend_aio(int*)+0x268) [0x7f13a1401f58]
6: (librbd::util::detail::C_StateCallbackAdapter<librbd::operation::SnapshotCreateRequest<librbd::ImageCtx>, &librbd::operation::SnapshotCreateRequest<librbd::ImageCtx>::handle_suspend_aio, true>::complete(int)+0x1a) [0x7f13a1401fea]
7: (ThreadPool::worker(ThreadPool::WorkThread*)+0xa9f) [0x7f13a168a7df]
8: (ThreadPool::WorkThread::entry()+0x10) [0x7f13a168b700]
9: (()+0x80a4) [0x7f13973fa0a4]
10: (clone()+0x6d) [0x7f1395b5b04d]
NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.

Actions

Also available in: Atom PDF