Project

General

Profile

Actions

Bug #36236

closed

[test] race in rbd_mirror TestMockInstanceWatcher_NotifySync.WaitingOnLeaderReleaseLeader unittest

Added by Mykola Golub over 5 years ago. Updated about 3 years ago.

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

0%

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

Description

Observed when running on a single core (e.g. jenkins arm)

zhuzha:~/ceph/ceph.ci/build% taskset -c 0 ./bin/unittest_rbd_mirror --gtest_filter=TestMockInstanceWatcher_NotifySync.WaitingOnLeaderReleaseLeader
Note: Google Test filter = TestMockInstanceWatcher_NotifySync.WaitingOnLeaderReleaseLeader
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from TestMockInstanceWatcher_NotifySync
[ RUN      ] TestMockInstanceWatcher_NotifySync.WaitingOnLeaderReleaseLeader
seed 27762
Failed to load class: cas (lib/libcls_cas.so): lib/libcls_cas.so: undefined symbol: _Z14cls_cxx_removePv
Failed to load class: cephfs (lib/libcls_cephfs.so): lib/libcls_cephfs.so: undefined symbol: _ZTI10PGLSFilter
Failed to load class: hello (lib/libcls_hello.so): lib/libcls_hello.so: undefined symbol: _ZTI10PGLSFilter
Failed to load class: log (lib/libcls_log.so): lib/libcls_log.so: undefined symbol: _Z23cls_cxx_map_read_headerPvPN4ceph6buffer4listE
Failed to load class: lua (lib/libcls_lua.so): lib/libcls_lua.so: undefined symbol: _Z24cls_cxx_map_write_headerPvPN4ceph6buffer4listE
Failed to load class: refcount (lib/libcls_refcount.so): lib/libcls_refcount.so: undefined symbol: _Z14cls_cxx_removePv
Failed to load class: rgw (lib/libcls_rgw.so): lib/libcls_rgw.so: undefined symbol: _Z24cls_cxx_map_write_headerPvPN4ceph6buffer4listE
Failed to load class: sdk (lib/libcls_sdk.so): lib/libcls_sdk.so: undefined symbol: _Z14cls_cxx_removePv
Failed to load class: user (lib/libcls_user.so): lib/libcls_user.so: undefined symbol: _Z23cls_cxx_map_read_headerPvPN4ceph6buffer4listE
Failed to load class: version (lib/libcls_version.so): lib/libcls_version.so: undefined symbol: _Z19cls_gen_rand_base64Pci
unknown file: Failure

Unexpected mock function call - returning directly.
    Function call: start_op(@0x7ff3c2b67cb0 "sync_id", 0x7ff3a8000be0)
Google Mock tried the following 1 expectation, but it didn't match:

/home/mgolub/ceph/ceph.ci/src/test/rbd_mirror/test_mock_InstanceWatcher.cc:755: EXPECT_CALL(mock_image_sync_throttler, start_op(sync_id, _))...
         Expected: the expectation is active
           Actual: it is retired
         Expected: to be called once
           Actual: called once - saturated and retired


Related issues 2 (0 open2 closed)

Copied to rbd - Backport #36276: mimic: [test] race in rbd_mirror TestMockInstanceWatcher_NotifySync.WaitingOnLeaderReleaseLeader unittestResolvedPrashant DActions
Copied to rbd - Backport #48134: luminous: [test] race in rbd_mirror TestMockInstanceWatcher_NotifySync.WaitingOnLeaderReleaseLeader unittestRejectedActions
Actions #1

Updated by Mykola Golub over 5 years ago

  • Status changed from In Progress to Fix Under Review
Actions #2

Updated by Jason Dillaman over 5 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #3

Updated by Nathan Cutler over 5 years ago

  • Copied to Backport #36276: mimic: [test] race in rbd_mirror TestMockInstanceWatcher_NotifySync.WaitingOnLeaderReleaseLeader unittest added
Actions #4

Updated by Jason Dillaman over 5 years ago

  • Status changed from Pending Backport to Resolved
Actions #5

Updated by Kyrylo Shatskyy over 3 years ago

  • Status changed from Resolved to Pending Backport
  • Backport changed from mimic to mimic luminous
Actions #6

Updated by Mykola Golub over 3 years ago

  • Backport changed from mimic luminous to mimic,luminous
Actions #7

Updated by Nathan Cutler over 3 years ago

  • Copied to Backport #48134: luminous: [test] race in rbd_mirror TestMockInstanceWatcher_NotifySync.WaitingOnLeaderReleaseLeader unittest added
Actions #8

Updated by Nathan Cutler about 3 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Actions

Also available in: Atom PDF