Project

General

Profile

Bug #19368

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 2 months ago. Updated about 2 months ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
Target version:
-
Start date:
03/23/2017
Due date:
% Done:

0%

Source:
Development
Tags:
Backport:
jewel
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Release:
kraken
Needs Doc:
No

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

Copied to Backport #19423: jewel: librbd/ExclusiveLock.cc: 457: FAILED assert(m_state == STATE_ACQUIRING || m_state == STATE_POST_ACQUIRING || m_state == STATE_WAITING_FOR_PEER) Resolved

History

#1 Updated by Mykola Golub 2 months ago

  • Status changed from New to Need Review
  • Assignee set to Mykola Golub

#2 Updated by Jason Dillaman about 2 months ago

  • Status changed from Need Review to Resolved

#3 Updated by Jason Dillaman about 2 months ago

  • Project changed from Ceph to rbd
  • Subject changed from rbd: librbd/ExclusiveLock.cc: 457: FAILED assert(m_state == STATE_ACQUIRING || m_state == STATE_POST_ACQUIRING || m_state == STATE_WAITING_FOR_PEER) to librbd/ExclusiveLock.cc: 457: FAILED assert(m_state == STATE_ACQUIRING || m_state == STATE_POST_ACQUIRING || m_state == STATE_WAITING_FOR_PEER)
  • Category deleted (librbd)
  • Status changed from Resolved to Pending Backport
  • Backport set to jewel

#4 Updated by Ken Dreyer about 2 months ago

  • Copied to Backport #19421: jewel: librbd/ExclusiveLock.cc: 457: FAILED assert(m_state == STATE_ACQUIRING || m_state == STATE_POST_ACQUIRING || m_state == STATE_WAITING_FOR_PEER) added

#5 Updated by Jason Dillaman about 2 months ago

  • Copied to Backport #19423: jewel: librbd/ExclusiveLock.cc: 457: FAILED assert(m_state == STATE_ACQUIRING || m_state == STATE_POST_ACQUIRING || m_state == STATE_WAITING_FOR_PEER) added

#6 Updated by Nathan Cutler about 1 month ago

  • Copied to deleted (Backport #19421: jewel: librbd/ExclusiveLock.cc: 457: FAILED assert(m_state == STATE_ACQUIRING || m_state == STATE_POST_ACQUIRING || m_state == STATE_WAITING_FOR_PEER))

Also available in: Atom PDF