Project

General

Profile

Actions

Bug #53375

closed

rbd-mirror: TestMockMirrorStatusUpdater.RemoveImmediateUpdate may get stuck

Added by Mykola Golub over 2 years ago. Updated almost 2 years ago.

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

0%

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

Description

https://jenkins.ceph.com/job/ceph-pull-requests/86004/console

[ RUN      ] TestMockMirrorStatusUpdater.RemoveImmediateUpdate
unknown file: Failure

Unexpected mock function call - taking default action specified at:
../src/test/librados_test_stub/MockTestMemIoCtxImpl.h:217:
    Function call: aio_operate(@0x7f330d15f448 "rbd_mirroring", @0x69e7310 32-byte object <B0-2A 00-38 32-7F 00-00 B0-2A 00-38 32-7F 00-00 01-00 00-00 00-00 00-00 01-00 00-00 00-00 00-00>, 0x7f3238000f50, NULL, 0)
          Returns: 0
Google Mock tried the following 1 expectation, but it didn't match:

../src/test/rbd_mirror/test_mock_MirrorStatusUpdater.cc:206: EXPECT_CALL(*m_mock_local_io_ctx, aio_operate(_, _, _, _, _))...
         Expected: all pre-requisites are satisfied
           Actual: the following immediate pre-requisites are not satisfied:
../src/test/rbd_mirror/test_mock_MirrorStatusUpdater.cc:123: pre-requisite #0
                   (end of pre-requisites)
         Expected: to be called once
           Actual: never called - unsatisfied and active
unknown file: Failure

Unexpected mock function call - taking default action specified at:
../src/test/librados_test_stub/MockTestMemIoCtxImpl.h:224:
    Function call: exec(@0x7f3238001280 "rbd_mirroring", 0x6940dc0, 0x3729461 pointing to "rbd", 0x36a180e pointing to "mirror_image_status_remove", @0x694baf0 { '\x1' (1), '\0', '\0', '\0', '1' (49, 0x31) }, NULL, 18446744073709551614, @0x7f3238001248 0=[])
          Returns: 0
Google Mock tried the following 1 expectation, but it didn't match:

../src/test/rbd_mirror/test_mock_MirrorStatusUpdater.cc:192: EXPECT_CALL(*m_mock_local_io_ctx, exec("rbd_mirroring", _, StrEq("rbd"), StrEq("mirror_image_status_remove"), _, _, _, _))...
         Expected: all pre-requisites are satisfied
           Actual: the following immediate pre-requisites are not satisfied:
../src/test/rbd_mirror/test_mock_MirrorStatusUpdater.cc:206: pre-requisite #0
                   (end of pre-requisites)
         Expected: to be called once
           Actual: never called - unsatisfied and active
unknown file: Failure

Unexpected mock function call - returning default value.
    Function call: cancel_event(0x69ebdf0)
          Returns: false
Google Mock tried the following 1 expectation, but it didn't match:

../src/test/rbd_mirror/test_mock_MirrorStatusUpdater.cc:115: EXPECT_CALL(*m_mock_threads->timer, cancel_event(_))...
         Expected: all pre-requisites are satisfied
           Actual: the following immediate pre-requisites are not satisfied:
../src/test/rbd_mirror/test_mock_MirrorStatusUpdater.cc:192: pre-requisite #0
                   (end of pre-requisites)
         Expected: to be called once
           Actual: never called - unsatisfied and active
unknown file: Failure

Unexpected mock function call - returning directly.
    Function call: shut_down(0x69a7070)
Google Mock tried the following 1 expectation, but it didn't match:

../src/test/rbd_mirror/test_mock_MirrorStatusUpdater.cc:143: EXPECT_CALL(*mock_mirror_status_watcher.s_instance, shut_down(_))...
         Expected: all pre-requisites are satisfied
           Actual: the following immediate pre-requisites are not satisfied:
../src/test/rbd_mirror/test_mock_MirrorStatusUpdater.cc:115: pre-requisite #0
                   (end of pre-requisites)
         Expected: to be called once
           Actual: never called - unsatisfied and active

Related issues 2 (0 open2 closed)

Copied to rbd - Backport #53386: pacific: rbd-mirror: TestMockMirrorStatusUpdater.RemoveImmediateUpdate may get stuckResolvedArthur Outhenin-ChalandreActions
Copied to rbd - Backport #53387: octopus: rbd-mirror: TestMockMirrorStatusUpdater.RemoveImmediateUpdate may get stuckResolvedArthur Outhenin-ChalandreActions
Actions #1

Updated by Mykola Golub over 2 years ago

  • Backport set to pacific, octopus
Actions #2

Updated by Arthur Outhenin-Chalandre over 2 years ago

  • Status changed from New to Fix Under Review
  • Assignee set to Arthur Outhenin-Chalandre
  • Pull request ID set to 44064
Actions #3

Updated by Arthur Outhenin-Chalandre over 2 years ago

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

Updated by Backport Bot over 2 years ago

  • Copied to Backport #53386: pacific: rbd-mirror: TestMockMirrorStatusUpdater.RemoveImmediateUpdate may get stuck added
Actions #5

Updated by Backport Bot over 2 years ago

  • Copied to Backport #53387: octopus: rbd-mirror: TestMockMirrorStatusUpdater.RemoveImmediateUpdate may get stuck added
Actions #6

Updated by Ilya Dryomov almost 2 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF