Project

General

Profile

Bug #36236

[test] race in rbd_mirror TestMockInstanceWatcher_NotifySync.WaitingOnLeaderReleaseLeader unittest

Added by Mykola Golub 9 months ago. Updated 8 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
09/27/2018
Due date:
% Done:

0%

Source:
Development
Tags:
Backport:
mimic
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

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

Copied to rbd - Backport #36276: mimic: [test] race in rbd_mirror TestMockInstanceWatcher_NotifySync.WaitingOnLeaderReleaseLeader unittest Resolved

History

#1 Updated by Mykola Golub 9 months ago

  • Status changed from In Progress to Need Review

#2 Updated by Jason Dillaman 9 months ago

  • Status changed from Need Review to Pending Backport

#3 Updated by Nathan Cutler 9 months ago

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

#4 Updated by Jason Dillaman 8 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF