Project

General

Profile

Actions

Bug #19368

closed

librbd/ExclusiveLock.cc: 457: FAILED assert(m_state == STATE_ACQUIRING || m_state == STATE_POST_ACQUIRING || m_state == STATE_WAITING_FOR_PEER)

Added by David Zafman about 7 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

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

Description

Seen on Jenkins run on pull request completely unrelated to this code.

/home/jenkins-build/build/workspace/ceph-pull-requests/src/librbd/ExclusiveLock.cc: In function 'void librbd::ExclusiveLock< <template-parameter-1-1> >::handle_acquire_lock(int) [with ImageCtxT = librbd::ImageCtx]' thread 7f4b348c8700 time 2017-03-23 04:09:33.138978
/home/jenkins-build/build/workspace/ceph-pull-requests/src/librbd/ExclusiveLock.cc: 457: FAILED assert(m_state == STATE_ACQUIRING || m_state == STATE_POST_ACQUIRING || m_state == STATE_WAITING_FOR_PEER)
 ceph version 11.2.0-69-g2ef43a8 (2ef43a828d342dfa46140a8be2f7daa847968d69)
 1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x8b) [0x7f4b458b732b]
 2: (librbd::ExclusiveLock<librbd::ImageCtx>::handle_acquire_lock(int)+0x447) [0x7f4b45421f27]
 3: (Context::complete(int)+0x9) [0x7f4b45386b69]
 4: (ContextWQ::process(Context*)+0xe4) [0x7f4b4543f8c4]
 5: (ThreadPool::worker(ThreadPool::WorkThread*)+0xb65) [0x7f4b458be185]
 6: (ThreadPool::WorkThread::entry()+0x10) [0x7f4b458bf170]
 7: (()+0x8184) [0x7f4b3bcd1184]

[ RUN      ] TestLibRBD.ExclusiveLock
using new format!
1: acquiring exclusive lock
2: acquiring exclusive lock
2: exclusive lock acquired
2: releasing exclusive lock
2: exclusive lock released
2: acquiring exclusive lock
1: exclusive lock acquired
1: releasing exclusive lock
1: exclusive lock released
1: acquiring exclusive lock
2: exclusive lock acquired
2: releasing exclusive lock
2: exclusive lock released
2: acquiring exclusive lock
2: exclusive lock acquired
2: releasing exclusive lock
2: exclusive lock released
2: acquiring exclusive lock
2: exclusive lock acquired
/home/jenkins-build/build/workspace/ceph-pull-requests/src/test/run-rbd-unit-tests.sh: line 11: 10695 Aborted                 (core dumped) RBD_FEATURES=$i unittest_librbd

The following tests FAILED:
      8 - run-rbd-unit-tests.sh (Failed)

Related issues 1 (0 open1 closed)

Copied to rbd - Backport #19423: jewel: librbd/ExclusiveLock.cc: 457: FAILED assert(m_state == STATE_ACQUIRING || m_state == STATE_POST_ACQUIRING || m_state == STATE_WAITING_FOR_PEER)ResolvedKen DreyerActions
Actions

Also available in: Atom PDF