Actions
Bug #72325
closedarm64 check: unittest_rbd_mirror (Subprocess aborted)
% Done:
0%
Source:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
v20.3.0-1993-gce6c4a9806
Released In:
Upkeep Timestamp:
2025-07-30T18:40:45+00:00
Description
from arm64 check https://jenkins.ceph.com/job/ceph-pull-requests-arm64/78176/, test fails then triggers a failed assertion
[ RUN ] TestMockImageReplayerSnapshotReplayer.ResyncRequestedRemoteNotPrimary /home/jenkins-build/build/workspace/ceph-pull-requests-arm64/src/test/rbd_mirror/image_replayer/snapshot/test_mock_Replayer.cc:1894: Failure Value of: mock_replayer.is_replaying() Actual: true Expected: false /home/jenkins-build/build/workspace/ceph-pull-requests-arm64/src/tools/rbd_mirror/image_replayer/snapshot/Replayer.cc: In function 'virtual rbd::mirror::image_replayer::snapshot::Replayer<librbd::(anonymous namespace)::MockTestImageCtx>::~Replayer() [ImageCtxT = librbd::(anonymous namespace)::MockTestImageCtx]' thread ff3bba6fb020 time 2025-07-29T14:02:47.091341+0000 /home/jenkins-build/build/workspace/ceph-pull-requests-arm64/src/tools/rbd_mirror/image_replayer/snapshot/Replayer.cc: 143: FAILED ceph_assert(m_update_watch_ctx == nullptr) ceph version Development (no_version) tentacle (dev - Debug) 1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x150) [0xff3bb9468074] 2: (ceph::__ceph_assert_fail(ceph::assert_data const&)+0x34) [0xff3bb946852c] 3: /home/jenkins-build/build/workspace/ceph-pull-requests-arm64/build/bin/unittest_rbd_mirror(+0x2679860) [0xbeadeb3d9860] 4: /home/jenkins-build/build/workspace/ceph-pull-requests-arm64/build/bin/unittest_rbd_mirror(+0x26797e8) [0xbeadeb3d97e8] 5: /home/jenkins-build/build/workspace/ceph-pull-requests-arm64/build/bin/unittest_rbd_mirror(+0x2614e5c) [0xbeadeb374e5c] 6: (rbd::mirror::image_replayer::snapshot::TestMockImageReplayerSnapshotReplayer_ResyncRequestedRemoteNotPrimary_Test::TestBody()+0x1908) [0xbeadeb3930e8] 7: (void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)+0x8c) [0xbeadeb4a1b54] 8: (void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)+0x60) [0xbeadeb482348] 9: (testing::Test::Run()+0xc0) [0xbeadeb46440c] 10: (testing::TestInfo::Run()+0x11c) [0xbeadeb464e4c] 11: (testing::TestSuite::Run()+0x188) [0xbeadeb4656bc] 12: (testing::internal::UnitTestImpl::RunAllTests()+0x46c) [0xbeadeb4743c0] 13: (bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)+0x8c) [0xbeadeb4a3430] 14: (bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*)+0x60) [0xbeadeb484808] 15: (testing::UnitTest::Run()+0xd8) [0xbeadeb473f00] 16: (RUN_ALL_TESTS()+0x10) [0xbeadeac8d928] 17: main() 18: /lib/aarch64-linux-gnu/libc.so.6(+0x273fc) [0xff3bb71273fc] 19: __libc_start_main() 20: _start()
Updated by Ilya Dryomov 9 months ago
- Status changed from New to In Progress
- Assignee set to Vinay Bhaskar Varada
This is a new test, added very recently. Vinay, PTAL.
Updated by Ilya Dryomov 9 months ago
- Related to Bug #70948: A resync on an image deletes the image even when the remote image is not primary. added
Updated by Ilya Dryomov 8 months ago
FWIW I think the assert is correct, but the test should likely be waiting for two notifications instead of one before advancing to that line. Waiting for two notifications would be needed even if the assert wasn't there.
Updated by Ilya Dryomov 8 months ago
- Status changed from In Progress to Fix Under Review
- Pull request ID set to 64757
Updated by Upkeep Bot 8 months ago
- Merge Commit set to ce6c4a9806b77e1e5a9b3d7a916b78af34308b25
- Fixed In set to v20.3.0-1993-gce6c4a9806
- Upkeep Timestamp set to 2025-07-30T18:40:45+00:00
Updated by Ilya Dryomov 8 months ago
- Status changed from Fix Under Review to Resolved
Backported together with https://github.com/ceph/ceph/pull/63270.
Actions