Project

General

Profile

Actions

Bug #75716

closed
OO OO

qa/rgw/multisite: flaky test - test_copy_object_different_bucket fails with object size mismatch (3 != 16 bytes)

Bug #75716: qa/rgw/multisite: flaky test - test_copy_object_different_bucket fails with object size mismatch (3 != 16 bytes)

Added by Oguzhan Ozmen 8 months ago. Updated 3 months ago.

Status:
Backporting
Priority:
Urgent
Assignee:
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
squid tentacle umbrella
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
rgw, multisite, qa
Fixed In:
v21.3.0-1043-g7a3b1ae30f
Released In:
Upkeep Timestamp:
2026-08-28T01:49:43+00:00

Description

See Bug #75715 qa/rgw/multisite: test_copy_object_same_bucket flaky on Ubuntu - object size mismatch after sync which is closely related to this one.

The multisite test `test_copy_object_different_bucket` occasionally fails during sync validation with an object size mismatch error. This appears to be a timing-related issue in the sync checkpoint validation logic.

Example run that shows the failure: https://qa-proxy.ceph.com/teuthology/bcs-ceph-2026-03-25_01:00:31-rgw-wip-oozmen-testing-2026-03-23-2115-distro-default-trial/119888/teuthology.log

2026-03-25T06:27:25.652 INFO:tasks.rgw_multisite_tests:======================================================================
2026-03-25T06:27:25.652 INFO:tasks.rgw_multisite_tests:FAIL: rgw_multi.tests.test_copy_object_different_bucket
2026-03-25T06:27:25.652 INFO:tasks.rgw_multisite_tests:----------------------------------------------------------------------
2026-03-25T06:27:25.652 INFO:tasks.rgw_multisite_tests:Traceback (most recent call last):
2026-03-25T06:27:25.652 INFO:tasks.rgw_multisite_tests:  File "/home/teuthworker/src/git.ceph.com_teuthology_c5deb799f72d19919e24da00a297c31b33741ccf/virtualenv/lib/python3.12/site-packages/nose/case.py", line 170, in runTest
2026-03-25T06:27:25.653 INFO:tasks.rgw_multisite_tests:    self.test(*self.arg)
2026-03-25T06:27:25.653 INFO:tasks.rgw_multisite_tests:  File "/home/teuthworker/src/git.ceph.com_ceph-c_bf814e749831e99000b697c318b13d2c351f47c5/qa/../src/test/rgw/rgw_multi/tests.py", line 4110, in test_copy_object_different_bucket
2026-03-25T06:27:25.653 INFO:tasks.rgw_multisite_tests:    zonegroup_bucket_checkpoint(zonegroup_conns, dest_bucket.name)
2026-03-25T06:27:25.653 INFO:tasks.rgw_multisite_tests:  File "/home/teuthworker/src/git.ceph.com_ceph-c_bf814e749831e99000b697c318b13d2c351f47c5/qa/../src/test/rgw/rgw_multi/tests.py", line 432, in zonegroup_bucket_checkpoint
2026-03-25T06:27:25.653 INFO:tasks.rgw_multisite_tests:    target_conn.check_bucket_eq(source_conn, bucket_name)
2026-03-25T06:27:25.653 INFO:tasks.rgw_multisite_tests:  File "/home/teuthworker/src/git.ceph.com_ceph-c_bf814e749831e99000b697c318b13d2c351f47c5/qa/tasks/rgw_multi/zone_rados.py", line 130, in check_bucket_eq
2026-03-25T06:27:25.653 INFO:tasks.rgw_multisite_tests:    check_object_eq(k1, k2)
2026-03-25T06:27:25.653 INFO:tasks.rgw_multisite_tests:  File "/home/teuthworker/src/git.ceph.com_ceph-c_bf814e749831e99000b697c318b13d2c351f47c5/qa/tasks/rgw_multi/zone_rados.py", line 50, in check_object_eq
2026-03-25T06:27:25.653 INFO:tasks.rgw_multisite_tests:    eq(k1.size, k2.size)
2026-03-25T06:27:25.653 INFO:tasks.rgw_multisite_tests:AssertionError: 3 != 16

Related issues 5 (1 open — 4 closed)

Related to rgw - Bug #75411: RGW lifecycle transitions ignores compressionResolvedMatthew Heler

Actions
Related to rgw - Bug #75715: qa/rgw/multisite: test_copy_object_same_bucket flaky - object size mismatch after syncBackportingOguzhan Ozmen

Actions
Copied to rgw - Backport #78255: squid: qa/rgw/multisite: flaky test - test_copy_object_different_bucket fails with object size mismatch (3 != 16 bytes)ResolvedOguzhan Ozmen

Actions
Copied to rgw - Backport #78256: umbrella: qa/rgw/multisite: flaky test - test_copy_object_different_bucket fails with object size mismatch (3 != 16 bytes)Fix Under ReviewOguzhan Ozmen

Actions
Copied to rgw - Backport #78257: tentacle: qa/rgw/multisite: flaky test - test_copy_object_different_bucket fails with object size mismatch (3 != 16 bytes)ResolvedOguzhan Ozmen

Actions

JI Updated by J. Eric Ivancich 8 months ago Actions #1

  • Assignee set to Shilpa MJ

CB Updated by Casey Bodley 7 months ago Actions #2

from https://qa-proxy.ceph.com/teuthology/cbodley-2026-04-23_17:26:59-rgw-wip-cbodley-testing-distro-default-trial/175197/teuthology.log

2026-04-25T19:38:16.648 INFO:tasks.rgw_multisite_tests:======================================================================
2026-04-25T19:38:16.648 INFO:tasks.rgw_multisite_tests:FAIL: rgw_multi.tests.test_copy_object_different_bucket
2026-04-25T19:38:16.649 INFO:tasks.rgw_multisite_tests:----------------------------------------------------------------------
2026-04-25T19:38:16.649 INFO:tasks.rgw_multisite_tests:Traceback (most recent call last):
2026-04-25T19:38:16.649 INFO:tasks.rgw_multisite_tests:  File "/home/teuthworker/src/git.ceph.com_teuthology_faaddcd461284abc9080adba3efb1508062c7428/virtualenv/lib/python3.12/site-packages/nose/case.py", line 170, in runTest
2026-04-25T19:38:16.649 INFO:tasks.rgw_multisite_tests:    self.test(*self.arg)
2026-04-25T19:38:16.649 INFO:tasks.rgw_multisite_tests:  File "/home/teuthworker/src/git.ceph.com_ceph-c_d67fe65b2302d29a6d32ed060c8f168afa1f6e03/qa/../src/test/rgw/rgw_multi/tests.py", line 4334, in test_copy_object_different_bucket
2026-04-25T19:38:16.649 INFO:tasks.rgw_multisite_tests:    zonegroup_bucket_checkpoint(zonegroup_conns, dest_bucket.name)
2026-04-25T19:38:16.649 INFO:tasks.rgw_multisite_tests:  File "/home/teuthworker/src/git.ceph.com_ceph-c_d67fe65b2302d29a6d32ed060c8f168afa1f6e03/qa/../src/test/rgw/rgw_multi/tests.py", line 432, in zonegroup_bucket_checkpoint
2026-04-25T19:38:16.649 INFO:tasks.rgw_multisite_tests:    target_conn.check_bucket_eq(source_conn, bucket_name)
2026-04-25T19:38:16.649 INFO:tasks.rgw_multisite_tests:  File "/home/teuthworker/src/git.ceph.com_ceph-c_d67fe65b2302d29a6d32ed060c8f168afa1f6e03/qa/tasks/rgw_multi/zone_rados.py", line 123, in check_bucket_eq
2026-04-25T19:38:16.649 INFO:tasks.rgw_multisite_tests:    check_object_eq(k1, k2)
2026-04-25T19:38:16.649 INFO:tasks.rgw_multisite_tests:  File "/home/teuthworker/src/git.ceph.com_ceph-c_d67fe65b2302d29a6d32ed060c8f168afa1f6e03/qa/tasks/rgw_multi/zone_rados.py", line 50, in check_object_eq
2026-04-25T19:38:16.649 INFO:tasks.rgw_multisite_tests:    eq(k1.size, k2.size)
2026-04-25T19:38:16.650 INFO:tasks.rgw_multisite_tests:AssertionError: 3 != 16
2026-04-25T19:38:16.650 INFO:tasks.rgw_multisite_tests:
2026-04-25T19:38:16.650 INFO:tasks.rgw_multisite_tests:----------------------------------------------------------------------

from https://qa-proxy.ceph.com/teuthology/cbodley-2026-04-23_22:03:44-rgw-wip-74398-distro-default-trial/175651/teuthology.log

2026-04-25T19:58:42.543 INFO:tasks.rgw_multisite_tests:======================================================================
2026-04-25T19:58:42.543 INFO:tasks.rgw_multisite_tests:FAIL: rgw_multi.tests.test_copy_object_same_bucket
2026-04-25T19:58:42.543 INFO:tasks.rgw_multisite_tests:----------------------------------------------------------------------
2026-04-25T19:58:42.544 INFO:tasks.rgw_multisite_tests:Traceback (most recent call last):
2026-04-25T19:58:42.544 INFO:tasks.rgw_multisite_tests:  File "/home/teuthworker/src/git.ceph.com_teuthology_faaddcd461284abc9080adba3efb1508062c7428/virtualenv/lib/python3.12/site-packages/nose/case.py", line 170, in runTest
2026-04-25T19:58:42.544 INFO:tasks.rgw_multisite_tests:    self.test(*self.arg)
2026-04-25T19:58:42.544 INFO:tasks.rgw_multisite_tests:  File "/home/teuthworker/src/git.ceph.com_ceph-c_98edd182b1a56550e567264c3d6be83594811463/qa/../src/test/rgw/rgw_multi/tests.py", line 4301, in test_copy_object_same_bucket
2026-04-25T19:58:42.544 INFO:tasks.rgw_multisite_tests:    zonegroup_bucket_checkpoint(zonegroup_conns, bucket.name)
2026-04-25T19:58:42.544 INFO:tasks.rgw_multisite_tests:  File "/home/teuthworker/src/git.ceph.com_ceph-c_98edd182b1a56550e567264c3d6be83594811463/qa/../src/test/rgw/rgw_multi/tests.py", line 432, in zonegroup_bucket_checkpoint
2026-04-25T19:58:42.544 INFO:tasks.rgw_multisite_tests:    target_conn.check_bucket_eq(source_conn, bucket_name)
2026-04-25T19:58:42.545 INFO:tasks.rgw_multisite_tests:  File "/home/teuthworker/src/git.ceph.com_ceph-c_98edd182b1a56550e567264c3d6be83594811463/qa/tasks/rgw_multi/zone_rados.py", line 123, in check_bucket_eq
2026-04-25T19:58:42.545 INFO:tasks.rgw_multisite_tests:    check_object_eq(k1, k2)
2026-04-25T19:58:42.545 INFO:tasks.rgw_multisite_tests:  File "/home/teuthworker/src/git.ceph.com_ceph-c_98edd182b1a56550e567264c3d6be83594811463/qa/tasks/rgw_multi/zone_rados.py", line 50, in check_object_eq
2026-04-25T19:58:42.545 INFO:tasks.rgw_multisite_tests:    eq(k1.size, k2.size)
2026-04-25T19:58:42.545 INFO:tasks.rgw_multisite_tests:AssertionError: 16 != 3
2026-04-25T19:58:42.545 INFO:tasks.rgw_multisite_tests:
2026-04-25T19:58:42.545 INFO:tasks.rgw_multisite_tests:----------------------------------------------------------------------

OO Updated by Oguzhan Ozmen 5 months ago Actions #4

  • Priority changed from Normal to Urgent

Bumping up the prio to Urgent as this is happening fairly consistently. For example from a recent run, https://qa-proxy.ceph.com/teuthology/bcs-ceph-2026-06-25_20:18:22-rgw-wip-oozmen-testing-connList-2026-06-24-1909-distro-default-trial/317201/teuthology.log

2026-06-26T22:51:26.916 INFO:tasks.rgw_multisite_tests:
2026-06-26T22:51:26.916 INFO:tasks.rgw_multisite_tests:======================================================================
2026-06-26T22:51:26.917 INFO:tasks.rgw_multisite_tests:FAIL: rgw_multi.tests.test_bucket_sync_disable
2026-06-26T22:51:26.917 INFO:tasks.rgw_multisite_tests:----------------------------------------------------------------------
2026-06-26T22:51:26.917 INFO:tasks.rgw_multisite_tests:Traceback (most recent call last):
2026-06-26T22:51:26.917 INFO:tasks.rgw_multisite_tests:  File "/home/teuthworker/src/git.ceph.com_teuthology_113475a7f15ec664dc6579dc7443a335a2cbc74c/.venv/lib/python3.12/site-packages/nose/case.py", line 171, in runTest
2026-06-26T22:51:26.917 INFO:tasks.rgw_multisite_tests:    self.test(*self.arg)
2026-06-26T22:51:26.917 INFO:tasks.rgw_multisite_tests:  File "/home/teuthworker/src/git.ceph.com_ceph-ci_a209f85664c57952122a4a23202de567f5666b12/qa/../src/test/rgw/rgw_multi/tests.py", line 1679, in test_bucket_sync_disable
2026-06-26T22:51:26.917 INFO:tasks.rgw_multisite_tests:    check_buckets_sync_status_obj_not_exist(zone, buckets)
2026-06-26T22:51:26.917 INFO:tasks.rgw_multisite_tests:  File "/home/teuthworker/src/git.ceph.com_ceph-ci_a209f85664c57952122a4a23202de567f5666b12/qa/../src/test/rgw/rgw_multi/tests.py", line 519, in check_buckets_sync_status_obj_not_exist
2026-06-26T22:51:26.917 INFO:tasks.rgw_multisite_tests:    assert False
2026-06-26T22:51:26.917 INFO:tasks.rgw_multisite_tests:           ^^^^^
2026-06-26T22:51:26.917 INFO:tasks.rgw_multisite_tests:AssertionError
2026-06-26T22:51:26.917 INFO:tasks.rgw_multisite_tests:
2026-06-26T22:51:26.918 INFO:tasks.rgw_multisite_tests:======================================================================
2026-06-26T22:51:26.918 INFO:tasks.rgw_multisite_tests:FAIL: rgw_multi.tests.test_bucket_log_trim_after_delete_bucket_secondary_reshard
2026-06-26T22:51:26.918 INFO:tasks.rgw_multisite_tests:----------------------------------------------------------------------
2026-06-26T22:51:26.918 INFO:tasks.rgw_multisite_tests:Traceback (most recent call last):
2026-06-26T22:51:26.918 INFO:tasks.rgw_multisite_tests:  File "/home/teuthworker/src/git.ceph.com_teuthology_113475a7f15ec664dc6579dc7443a335a2cbc74c/.venv/lib/python3.12/site-packages/nose/case.py", line 171, in runTest
2026-06-26T22:51:26.918 INFO:tasks.rgw_multisite_tests:    self.test(*self.arg)
2026-06-26T22:51:26.918 INFO:tasks.rgw_multisite_tests:  File "/home/teuthworker/src/git.ceph.com_ceph-ci_a209f85664c57952122a4a23202de567f5666b12/qa/../src/test/rgw/rgw_multi/tests.py", line 2200, in test_bucket_log_trim_after_delete_bucket_secondary_reshard
2026-06-26T22:51:26.918 INFO:tasks.rgw_multisite_tests:    assert check_bucket_instance_metadata(zone.zone, test_bucket.name)
2026-06-26T22:51:26.918 INFO:tasks.rgw_multisite_tests:           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-06-26T22:51:26.918 INFO:tasks.rgw_multisite_tests:AssertionError
2026-06-26T22:51:26.918 INFO:tasks.rgw_multisite_tests:
2026-06-26T22:51:26.919 INFO:tasks.rgw_multisite_tests:======================================================================
2026-06-26T22:51:26.919 INFO:tasks.rgw_multisite_tests:FAIL: rgw_multi.tests.test_copy_object_different_bucket
2026-06-26T22:51:26.919 INFO:tasks.rgw_multisite_tests:----------------------------------------------------------------------
2026-06-26T22:51:26.919 INFO:tasks.rgw_multisite_tests:Traceback (most recent call last):
2026-06-26T22:51:26.919 INFO:tasks.rgw_multisite_tests:  File "/home/teuthworker/src/git.ceph.com_teuthology_113475a7f15ec664dc6579dc7443a335a2cbc74c/.venv/lib/python3.12/site-packages/nose/case.py", line 171, in runTest
2026-06-26T22:51:26.919 INFO:tasks.rgw_multisite_tests:    self.test(*self.arg)
2026-06-26T22:51:26.919 INFO:tasks.rgw_multisite_tests:  File "/home/teuthworker/src/git.ceph.com_ceph-ci_a209f85664c57952122a4a23202de567f5666b12/qa/../src/test/rgw/rgw_multi/tests.py", line 4339, in test_copy_object_different_bucket
2026-06-26T22:51:26.919 INFO:tasks.rgw_multisite_tests:    zonegroup_bucket_checkpoint(zonegroup_conns, dest_bucket.name)
2026-06-26T22:51:26.919 INFO:tasks.rgw_multisite_tests:  File "/home/teuthworker/src/git.ceph.com_ceph-ci_a209f85664c57952122a4a23202de567f5666b12/qa/../src/test/rgw/rgw_multi/tests.py", line 432, in zonegroup_bucket_checkpoint
2026-06-26T22:51:26.919 INFO:tasks.rgw_multisite_tests:    target_conn.check_bucket_eq(source_conn, bucket_name)
2026-06-26T22:51:26.919 INFO:tasks.rgw_multisite_tests:  File "/home/teuthworker/src/git.ceph.com_ceph-ci_a209f85664c57952122a4a23202de567f5666b12/qa/tasks/rgw_multi/zone_rados.py", line 123, in check_bucket_eq
2026-06-26T22:51:26.919 INFO:tasks.rgw_multisite_tests:    check_object_eq(k1, k2)
2026-06-26T22:51:26.920 INFO:tasks.rgw_multisite_tests:  File "/home/teuthworker/src/git.ceph.com_ceph-ci_a209f85664c57952122a4a23202de567f5666b12/qa/tasks/rgw_multi/zone_rados.py", line 50, in check_object_eq
2026-06-26T22:51:26.920 INFO:tasks.rgw_multisite_tests:    eq(k1.size, k2.size)
2026-06-26T22:51:26.920 INFO:tasks.rgw_multisite_tests:AssertionError: 3 != 6
2026-06-26T22:51:26.920 INFO:tasks.rgw_multisite_tests:
2026-06-26T22:51:26.920 INFO:tasks.rgw_multisite_tests:----------------------------------------
2026-06-26T22:51:26.920 INFO:tasks.rgw_multisite_tests:Ran 57 tests in 3329.726s
2026-06-26T22:51:26.920 INFO:tasks.rgw_multisite_tests:
2026-06-26T22:51:26.920 INFO:tasks.rgw_multisite_tests:FAILED (SKIP=2, failures=3)
2026-06-26T22:51:26.921 ERROR:teuthology.run_tasks:Saw exception from tasks.

JI Updated by J. Eric Ivancich 5 months ago Actions #5

  • Related to Bug #75411: RGW lifecycle transitions ignores compression added

JI Updated by J. Eric Ivancich 5 months ago Actions #6

  • Related to Bug #75715: qa/rgw/multisite: test_copy_object_same_bucket flaky - object size mismatch after sync added

OO Updated by Oguzhan Ozmen 5 months ago Actions #7

  • Backport set to squid tentacle umbrella

Those 2 testcases (this one and https://tracker.ceph.com/issues/75715) are available in squid+ so is the problematic code so we can backport this all the way down to squid to avoid multisite test failures for these 2 testcases.

SM Updated by Shilpa MJ 5 months ago Actions #8

  • Status changed from New to Fix Under Review
  • Assignee changed from Shilpa MJ to Oguzhan Ozmen
  • Pull request ID set to 70006

UB Updated by Upkeep Bot 5 months ago Actions #9

  • Status changed from Fix Under Review to Pending Backport
  • Merge Commit set to 7a3b1ae30fac0c39f0a95e9bab0ddb3eca891314
  • Fixed In set to v21.3.0-1043-g7a3b1ae30f
  • Upkeep Timestamp set to 2026-07-15T16:33:07+00:00

UB Updated by Upkeep Bot 5 months ago Actions #10

  • Copied to Backport #78255: squid: qa/rgw/multisite: flaky test - test_copy_object_different_bucket fails with object size mismatch (3 != 16 bytes) added

UB Updated by Upkeep Bot 5 months ago Actions #11

  • Copied to Backport #78256: umbrella: qa/rgw/multisite: flaky test - test_copy_object_different_bucket fails with object size mismatch (3 != 16 bytes) added

UB Updated by Upkeep Bot 5 months ago Actions #12

  • Copied to Backport #78257: tentacle: qa/rgw/multisite: flaky test - test_copy_object_different_bucket fails with object size mismatch (3 != 16 bytes) added

UB Updated by Upkeep Bot 5 months ago Actions #13

  • Tags (freeform) changed from rgw multisite qa to rgw multisite qa backport_processed

UB Updated by Upkeep Bot 3 months ago Actions #14

  • Status changed from Pending Backport to Backporting
  • Upkeep Timestamp changed from 2026-07-15T16:33:07+00:00 to 2026-08-27T18:41:10+00:00

UB Updated by Upkeep Bot 3 months ago Actions #15

  • Tags (freeform) changed from rgw multisite qa backport_processed to rgw, multisite, qa
  • Upkeep Timestamp changed from 2026-08-27T18:41:10+00:00 to 2026-08-28T01:49:43+00:00
Actions

Also available in: PDF Atom