Project

General

Profile

Actions

Bug #46267

closed

unittest_lockdep failure

Added by Vladimir Bashkirtsev almost 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
qa
Target version:
% Done:

0%

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

Description

Apparently during refactoring to use gtest unittest_lockdep was broken. In file src/test/common/test_lockdep.cc I can see

#ifdef CEPH_DEBUG_MUTEX

which now causes test to skip if CEPH_DEBUG_MUTEX is set. However it should be otherwise: if CEPH_DEBUG_MUTEX is NOT set skip the test. And in Ceph 14 this statement reads:

#ifndef CEPH_DEBUG_MUTEX

Adding missing "n" fixes the test and gets expected behaviour.


Related issues 1 (0 open1 closed)

Copied to Ceph - Backport #46307: octopus: unittest_lockdep failureResolvedNathan CutlerActions
Actions

Also available in: Atom PDF