Skip to content

rgw/pubsub: fix topic num_shards serialization and some multisite test improvements - #67798

Merged
cbodley merged 8 commits into
mainfrom
wip-oozmen-75466
Mar 20, 2026
Merged

cbodley merged 8 commits into
mainfrom
wip-oozmen-75466

Conversation

@BBoozmen

Copy link
Copy Markdown
Contributor

Fixes https://tracker.ceph.com/issues/75466.

The corresponding ceph-ci branch wip-oozmen-75466 was sent to "rgw" and "rgw:multisite" suites; which means 4 multisite runs (given each suite runs for both Ubuntu and cenOS flavors):

Looking at all 4 runs:

  • test_period_update_commit now consistently passes because
  • we don't see streaming events "sns:pubsub_topic_delete INFO: queue: RGW11111111111111111:topic-ptbiyv-1. X removed from queue list" anymore where X > 10 .

Contribution Guidelines

  • To sign and title your commits, please refer to Submitting Patches to Ceph.

  • If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.

  • When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

… handle sync-status failure gracefully

Signed-off-by: Oguzhan Ozmen <[email protected]>
…wkld settings

- set wkld concurrency level to default urllib pool size

    Set wkld_concurrency to 10 which is the default urllib pool size
    to avoid the event:

    WARNING:urllib3.connectionpool:Connection pool is full,
    discarding connection: ... Connection pool size: 10

- make the client wkld less aggresive

Signed-off-by: Oguzhan Ozmen <[email protected]>
@BBoozmen
BBoozmen requested a review from a team as a code owner March 15, 2026 01:37
@BBoozmen
BBoozmen requested a review from smanjara March 15, 2026 01:39
Comment thread src/rgw/rgw_pubsub.h Resolved
The num_shards member of rgw_pubsub_dest was not included in JSON
serialization (dump/decode_json), causing garbage values when topic
metadata synced between zones. This resulted in topic deletion
iterating millions of times over non-existent shards, blocking
frontend pause during realm reload for extended periods.

Fixes: https://tracker.ceph.com/issues/75466
Signed-off-by: Oguzhan Ozmen <[email protected]>
@smanjara

Copy link
Copy Markdown
Contributor

adding the override_config is a good idea. LGTM. let's get it tested

@BBoozmen

BBoozmen commented Mar 16, 2026 •

Copy link
Copy Markdown
Contributor Author

Created the integration test branch: wip-oozmen-testing-pubsub-2026-03-16-1716; once built, I'll run it for the "rgw" suite.

https://pulpito.ceph.com/bcs-ceph-2026-03-16_20:49:00-rgw-wip-oozmen-testing-pubsub-2026-03-16-1716-distro-default-trial/ is the result of the run: 35 failures and 35 pass. Looking at failed cases:

I think CentOS tests are suffering from some ?transient? infrastructure issue so can be ignored, all fail on yum install:

Failure Reason Affected Test Suites
Command failed: sudo yum install -y kernel rgw/bucket-logging/, rgw/dbstore/, rgw/lifecycle/, rgw/multisite/, rgw/notifications/, rgw/singleton/, rgw/tools/, rgw/verify/, rgw/upgrade/, rgw/sts/

Looking at Ubuntu runs:

Failure Reason Affected Test Suites
Keystone / openstack project create failure rgw/crypt/
Keystone tox / venv setup failure rgw/tempest/
rgw multisite test failures rgw/multisite/
valgrind error: UninitCondition (s3select stack) rgw/verify/
? rgw/d4n/

2 related testcases:

2026-03-16T22:01:14.290 INFO:tasks.rgw_multisite_tests:======================================================================
2026-03-16T22:01:14.290 INFO:tasks.rgw_multisite_tests:FAIL: rgw_multi.tests.test_bucket_remove
2026-03-16T22:01:14.291 INFO:tasks.rgw_multisite_tests:----------------------------------------------------------------------
2026-03-16T22:01:14.291 INFO:tasks.rgw_multisite_tests:Traceback (most recent call last):
2026-03-16T22:01:14.291 INFO:tasks.rgw_multisite_tests:  File "/home/teuthworker/src/git.ceph.com_teuthology_ce7bec33850b1eb94acc9d1920f442db21b1a835/virtualenv/lib/python3.12/site-packages/nose/case.py", line 170, in runTest
2026-03-16T22:01:14.291 INFO:tasks.rgw_multisite_tests:    self.test(*self.arg)
2026-03-16T22:01:14.291 INFO:tasks.rgw_multisite_tests:  File "/home/teuthworker/src/git.ceph.com_ceph-c_a42cf8ea6c2748b630c3149172b567be4cacc8bd/qa/../src/test/rgw/rgw_multi/tests.py", line 772, in test_bucket_remove
2026-03-16T22:01:14.291 INFO:tasks.rgw_multisite_tests:    assert result
2026-03-16T22:01:14.291 INFO:tasks.rgw_multisite_tests:           ^^^^^^
2026-03-16T22:01:14.291 INFO:tasks.rgw_multisite_tests:AssertionError
2026-03-16T22:01:14.291 INFO:tasks.rgw_multisite_tests:
2026-03-16T22:01:14.291 INFO:tasks.rgw_multisite_tests:======================================================================
2026-03-16T22:01:14.291 INFO:tasks.rgw_multisite_tests:FAIL: rgw_multi.tests.test_copy_object_different_bucket
2026-03-16T22:01:14.292 INFO:tasks.rgw_multisite_tests:----------------------------------------------------------------------
2026-03-16T22:01:14.292 INFO:tasks.rgw_multisite_tests:Traceback (most recent call last):
2026-03-16T22:01:14.292 INFO:tasks.rgw_multisite_tests:  File "/home/teuthworker/src/git.ceph.com_teuthology_ce7bec33850b1eb94acc9d1920f442db21b1a835/virtualenv/lib/python3.12/site-packages/nose/case.py", line 170, in runTest
2026-03-16T22:01:14.292 INFO:tasks.rgw_multisite_tests:    self.test(*self.arg)
2026-03-16T22:01:14.292 INFO:tasks.rgw_multisite_tests:  File "/home/teuthworker/src/git.ceph.com_ceph-c_a42cf8ea6c2748b630c3149172b567be4cacc8bd/qa/../src/test/rgw/rgw_multi/tests.py", line 4110, in test_copy_object_different_bucket
2026-03-16T22:01:14.292 INFO:tasks.rgw_multisite_tests:    zonegroup_bucket_checkpoint(zonegroup_conns, dest_bucket.name)
2026-03-16T22:01:14.292 INFO:tasks.rgw_multisite_tests:  File "/home/teuthworker/src/git.ceph.com_ceph-c_a42cf8ea6c2748b630c3149172b567be4cacc8bd/qa/../src/test/rgw/rgw_multi/tests.py", line 432, in zonegroup_bucket_checkpoint
2026-03-16T22:01:14.292 INFO:tasks.rgw_multisite_tests:    target_conn.check_bucket_eq(source_conn, bucket_name)
2026-03-16T22:01:14.292 INFO:tasks.rgw_multisite_tests:  File "/home/teuthworker/src/git.ceph.com_ceph-c_a42cf8ea6c2748b630c3149172b567be4cacc8bd/qa/tasks/rgw_multi/zone_rados.py", line 130, in check_bucket_eq
2026-03-16T22:01:14.292 INFO:tasks.rgw_multisite_tests:    check_object_eq(k1, k2)
2026-03-16T22:01:14.292 INFO:tasks.rgw_multisite_tests:  File "/home/teuthworker/src/git.ceph.com_ceph-c_a42cf8ea6c2748b630c3149172b567be4cacc8bd/qa/tasks/rgw_multi/zone_rados.py", line 50, in check_object_eq
2026-03-16T22:01:14.292 INFO:tasks.rgw_multisite_tests:    eq(k1.size, k2.size)
2026-03-16T22:01:14.292 INFO:tasks.rgw_multisite_tests:AssertionError: 3 != 5
2026-03-16T22:01:14.293 INFO:tasks.rgw_multisite_tests:
2026-03-16T22:01:14.293 INFO:tasks.rgw_multisite_tests:----------------------------------------------------------------------
2026-03-16T22:01:14.293 INFO:tasks.rgw_multisite_tests:Ran 53 tests in 2818.900s
2026-03-16T22:01:14.293 INFO:tasks.rgw_multisite_tests:
2026-03-16T22:01:14.293 INFO:tasks.rgw_multisite_tests:FAILED (SKIP=2, failures=2)

As for test_bucket_remove, it's a known issue which is tracked at Bug #75465 - rgw/qa/multisite: test_bucket_remove integration failures on main branch.

As for test_copy_object_different_bucket - it's not relevant to this PR. And looking at the queue, this testcase seems to be passing for centOS runs but failing in ubuntu runs, not sure how OS would be relevant here: e.g. looking at anuchaithra's run https://qa-proxy.ceph.com/teuthology/anuchaithra-2026-03-17_12:26:50-rgw-wip-anrao2-testing-2026-03-17-1033-distro-default-trial/104361/teuthology.log

2026-03-17T13:36:46.356 INFO:tasks.rgw_multisite_tests:======================================================================
2026-03-17T13:36:46.356 INFO:tasks.rgw_multisite_tests:FAIL: rgw_multi.tests.test_copy_object_different_bucket
2026-03-17T13:36:46.356 INFO:tasks.rgw_multisite_tests:----------------------------------------------------------------------
2026-03-17T13:36:46.356 INFO:tasks.rgw_multisite_tests:Traceback (most recent call last):
2026-03-17T13:36:46.356 INFO:tasks.rgw_multisite_tests:  File "/home/teuthworker/src/git.ceph.com_teuthology_ce7bec33850b1eb94acc9d1920f442db21b1a835/virtualenv/lib/python3.12/site-packages/nose/case.py", line 170, in runTest
2026-03-17T13:36:46.356 INFO:tasks.rgw_multisite_tests:    self.test(*self.arg)
2026-03-17T13:36:46.356 INFO:tasks.rgw_multisite_tests:  File "/home/teuthworker/src/github.com_ceph_ceph-c_fa5b9b4df7ba02a2e1b15445b7a261daddb50794/qa/../src/test/rgw/rgw_multi/tests.py", line 4094, in test_copy_object_different_bucket
2026-03-17T13:36:46.356 INFO:tasks.rgw_multisite_tests:    zonegroup_bucket_checkpoint(zonegroup_conns, dest_bucket.name)
2026-03-17T13:36:46.357 INFO:tasks.rgw_multisite_tests:  File "/home/teuthworker/src/github.com_ceph_ceph-c_fa5b9b4df7ba02a2e1b15445b7a261daddb50794/qa/../src/test/rgw/rgw_multi/tests.py", line 417, in zonegroup_bucket_checkpoint
2026-03-17T13:36:46.357 INFO:tasks.rgw_multisite_tests:    target_conn.check_bucket_eq(source_conn, bucket_name)
2026-03-17T13:36:46.357 INFO:tasks.rgw_multisite_tests:  File "/home/teuthworker/src/github.com_ceph_ceph-c_fa5b9b4df7ba02a2e1b15445b7a261daddb50794/qa/tasks/rgw_multi/zone_rados.py", line 130, in check_bucket_eq
2026-03-17T13:36:46.357 INFO:tasks.rgw_multisite_tests:    check_object_eq(k1, k2)
2026-03-17T13:36:46.357 INFO:tasks.rgw_multisite_tests:  File "/home/teuthworker/src/github.com_ceph_ceph-c_fa5b9b4df7ba02a2e1b15445b7a261daddb50794/qa/tasks/rgw_multi/zone_rados.py", line 50, in check_object_eq
2026-03-17T13:36:46.357 INFO:tasks.rgw_multisite_tests:    eq(k1.size, k2.size)
2026-03-17T13:36:46.357 INFO:tasks.rgw_multisite_tests:AssertionError: 3 != 5

Again I don't think this failure is relevant to this PR. FInally, 2 related testcases pass:

2026-03-16T21:40:50.582 INFO:tasks.rgw_multisite_tests:rgw_multi.tests.test_topic_notification_sync ... ok
2026-03-16T21:58:26.306 INFO:tasks.rgw_multisite_tests:rgw_multi.tests.test_period_update_commit ... ok

@smanjara / @yuvalif - looks like this is good to be merged; let me know what you think.

@cbodley

cbodley commented Mar 19, 2026

Copy link
Copy Markdown
Contributor

I think CentOS tests are suffering from some ?transient? infrastructure issue so can be ignored, all fail on yum install:

we want this test coverage, so please schedule a --rerun to make sure those go away

@BBoozmen

Copy link
Copy Markdown
Contributor Author

I think CentOS tests are suffering from some ?transient? infrastructure issue so can be ignored, all fail on yum install

we want this test coverage, so please schedule a --rerun to make sure those go away

https://pulpito.ceph.com/bcs-ceph-2026-03-19_16:05:51-rgw-wip-oozmen-testing-pubsub-2026-03-16-1716-distro-default-trial/detail is the re-run results. To summarize centOS results:

Failure Reason Affected Test Suites
? rgw/d4n/
rgw multisite test failures rgw/multisite/
Command failed on trial043 with status 1: 'find /home/ubuntu/cephtest -ls ; rmdir -- /home/ubuntu/cephtest' rgw/notifications/

multisite

https://qa-proxy.ceph.com/teuthology/bcs-ceph-2026-03-19_16:05:51-rgw-wip-oozmen-testing-pubsub-2026-03-16-1716-distro-default-trial/110183/teuthology.log

2026-03-19T17:03:16.189 INFO:tasks.rgw_multisite_tests:======================================================================
2026-03-19T17:03:16.189 INFO:tasks.rgw_multisite_tests:FAIL: rgw_multi.tests.test_bucket_remove
2026-03-19T17:03:16.190 INFO:tasks.rgw_multisite_tests:----------------------------------------------------------------------
2026-03-19T17:03:16.190 INFO:tasks.rgw_multisite_tests:Traceback (most recent call last):
2026-03-19T17:03:16.190 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-19T17:03:16.190 INFO:tasks.rgw_multisite_tests:    self.test(*self.arg)
2026-03-19T17:03:16.190 INFO:tasks.rgw_multisite_tests:  File "/home/teuthworker/src/git.ceph.com_ceph-c_a42cf8ea6c2748b630c3149172b567be4cacc8bd/qa/../src/test/rgw/rgw_multi/tests.py", line 772, in test_bucket_remove
2026-03-19T17:03:16.190 INFO:tasks.rgw_multisite_tests:    assert result
2026-03-19T17:03:16.190 INFO:tasks.rgw_multisite_tests:           ^^^^^^
2026-03-19T17:03:16.190 INFO:tasks.rgw_multisite_tests:AssertionError
2026-03-19T17:03:16.190 INFO:tasks.rgw_multisite_tests:
2026-03-19T17:03:16.190 INFO:tasks.rgw_multisite_tests:======================================================================
2026-03-19T17:03:16.190 INFO:tasks.rgw_multisite_tests:FAIL: rgw_multi.tests.test_bucket_log_trim_after_delete_bucket_secondary_reshard
2026-03-19T17:03:16.190 INFO:tasks.rgw_multisite_tests:----------------------------------------------------------------------
2026-03-19T17:03:16.191 INFO:tasks.rgw_multisite_tests:Traceback (most recent call last):
2026-03-19T17:03:16.191 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-19T17:03:16.191 INFO:tasks.rgw_multisite_tests:    self.test(*self.arg)
2026-03-19T17:03:16.191 INFO:tasks.rgw_multisite_tests:  File "/home/teuthworker/src/git.ceph.com_ceph-c_a42cf8ea6c2748b630c3149172b567be4cacc8bd/qa/../src/test/rgw/rgw_multi/tests.py", line 2048, in test_bucket_log_trim_after_delete_bucket_secondary_reshard
2026-03-19T17:03:16.191 INFO:tasks.rgw_multisite_tests:    assert check_bucket_instance_metadata(zone.zone, test_bucket.name)
2026-03-19T17:03:16.191 INFO:tasks.rgw_multisite_tests:           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-03-19T17:03:16.191 INFO:tasks.rgw_multisite_tests:AssertionError
2026-03-19T17:03:16.191 INFO:tasks.rgw_multisite_tests:
2026-03-19T17:03:16.191 INFO:tasks.rgw_multisite_tests:----------------------------------------------------------------------
2026-03-19T17:03:16.191 INFO:tasks.rgw_multisite_tests:Ran 53 tests in 2722.243s
2026-03-19T17:03:16.191 INFO:tasks.rgw_multisite_tests:
2026-03-19T17:03:16.192 INFO:tasks.rgw_multisite_tests:FAILED (SKIP=2, failures=2)

Those failures are known issues I think not relevant to this chage:

The two testcases related to this change, as seen in the ubuntu case in the previous comment -> both testcases passed.

notification

Test (Full Description) Status OS Failure Reason
rgw/notifications/{beast bluestore-bitmap fixed-1 ignore-pg-availability overrides pools/replicated s3tests-branch supported-distros/{ubuntu_latest} tasks/{notification_tests}} PASS ubuntu 22.04
rgw/notifications/{beast bluestore-bitmap fixed-1 ignore-pg-availability overrides pools/erasure s3tests-branch supported-distros/{ubuntu_latest} tasks/{notification_tests}} PASS ubuntu 22.04
rgw/notifications/{beast bluestore-bitmap fixed-1 ignore-pg-availability overrides pools/replicated s3tests-branch supported-distros/{centos_latest} tasks/{notification_tests}} PASS centos 9.stream
rgw/notifications/{beast bluestore-bitmap fixed-1 ignore-pg-availability overrides pools/erasure s3tests-branch supported-distros/{centos_latest} tasks/{notification_tests}} PASS centos 9.stream
rgw/notifications/{beast bluestore-bitmap fixed-2 ignore-pg-availability overrides tasks/kafka_failover/{0-install supported-distros/{centos_latest} test_kafka} valgrind} FAIL centos 9.stream Command failed on trial043 with status 1: 'find /home/ubuntu/cephtest -ls ; rmdir -- /home/ubuntu/cephtest'

Looking at the logs for the failed one: https://qa-proxy.ceph.com/teuthology/bcs-ceph-2026-03-19_16:05:51-rgw-wip-oozmen-testing-pubsub-2026-03-16-1716-distro-default-trial/110239/teuthology.log

Failure does not look like a notification functional failure. It failed during teuthology cleanup I think. only 2 tests (ones marked with @pytest.mark.kafka_failover) ran and both passed

2026-03-19T16:17:14.225 DEBUG:teuthology.orchestra.run.trial043:bucket notification tests against different endpoints> ... bucket_notification/test_bn.py -v -m kafka_failover
...
2026-03-19T16:16:35.295 INFO:teuthology.run_tasks:Running task notification-tests...
...
2026-03-19T16:17:53.921 INFO:teuthology.orchestra.run.trial043.stdout:cephtest/ceph/src/test/rgw/bucket_notification/test_bn.py::test_notification_kafka_multiple_brokers_override average time for creation + kafka notification is: 201.5334153175354 milliseconds
...
2026-03-19T16:17:53.922 INFO:teuthology.orchestra.run.trial043.stdout:PASSED

2026-03-19T16:18:32.127 INFO:teuthology.orchestra.run.trial043.stdout:cephtest/ceph/src/test/rgw/bucket_notification/test_bn.py::test_notification_kafka_multiple_brokers_append average time for creation + kafka notification is: 195.7584261894226 milliseconds
...
2026-03-19T16:18:32.185 INFO:teuthology.orchestra.run.trial043.stdout:PASSED
2026-03-19T16:18:32.186 INFO:teuthology.orchestra.run.trial043.stdout:=========== 2 passed, 79 deselected, 2 warnings in 77.79s (0:01:17) ============
...
**2026-03-19T16:20:04.326 INFO:tasks.ceph:Cleaning ceph cluster...**
...
teuthology.exceptions.CommandFailedError: Command failed on trial043 with status 1: 'find /home/ubuntu/cephtest -ls ; rmdir -- /home/ubuntu/cephtest'

I don't think this clean-up failure is related to this change and for a centOS test why there's a folder /home/**ubuntu**/cephtest?

There's this tracker which seems to be a duplicate: Bug #53220 notification tests failing: 'find /home/ubuntu/cephtest -ls ; rmdir -- /home/ubuntu/cephtest' - but it was marked resolved. Again, I think this is related to the infrastructure rather than a radosgw functional issue.

@cbodley

cbodley commented Mar 20, 2026

Copy link
Copy Markdown
Contributor

I don't think this clean-up failure is related to this change and for a centOS test why there's a folder /home/**ubuntu**/cephtest?

yeah, looks unrelated. i don't know why we use /home/ubuntu/ on all test nodes, but it's been like that forever. this just checks that all tasks have cleaned up after themselves, and fails because qa/tasks/kafka.py downloaded a kafka_2.13-3.9.2.tgz but didn't remove it:

2026-03-19T16:20:07.883 DEBUG:teuthology.orchestra.run.trial043:> find /home/ubuntu/cephtest -ls ; rmdir -- /home/ubuntu/cephtest
2026-03-19T16:20:07.910 INFO:teuthology.orchestra.run.trial043.stdout:   917521      4 drwxr-xr-x   2 ubuntu   ubuntu       4096 Mar 19 16:20 /home/ubuntu/cephtest
2026-03-19T16:20:07.910 INFO:teuthology.orchestra.run.trial043.stdout:   917625 119608 -rw-r--r--   1 ubuntu   ubuntu   122473776 Feb 22 05:17 /home/ubuntu/cephtest/kafka_2.13-3.9.2.tgz
2026-03-19T16:20:07.911 DEBUG:teuthology.orchestra.run:got remote process result: 1
2026-03-19T16:20:07.912 INFO:teuthology.orchestra.run.trial043.stderr:rmdir: failed to remove '/home/ubuntu/cephtest': Directory not empty

rgw/d4n ???

https://qa-proxy.ceph.com/teuthology/bcs-ceph-2026-03-19_16:05:51-rgw-wip-oozmen-testing-pubsub-2026-03-16-1716-distro-default-trial/110177/teuthology.log shows radosgw segfaults in rgw::lua::Background::get_script_bytecode() which should be resolved on main with https://tracker.ceph.com/issues/75306

@cbodley

cbodley commented Mar 20, 2026

Copy link
Copy Markdown
Contributor

https://pulpito.ceph.com/bcs-ceph-2026-03-19_16:05:51-rgw-wip-oozmen-testing-pubsub-2026-03-16-1716-distro-default-trial/detail is the re-run results. To summarize centOS results:

that also includes 4 dead jobs with Failure reason: hit max job timeout. i checked 2 of the logs and see the rados cluster hanging mid-s3tests, then logging messages about slow ops and heartbeat failures for several hours until the jobs get killed

https://qa-proxy.ceph.com/teuthology/bcs-ceph-2026-03-19_16:05:51-rgw-wip-oozmen-testing-pubsub-2026-03-16-1716-distro-default-trial/110194/teuthology.log

2026-03-19T17:12:48.609 INFO:teuthology.orchestra.run.trial072.stdout:s3tests/functional/test_s3.py::test_object_lock_get_obj_lock PASSED      [ 51%]
2026-03-19T17:12:49.570 INFO:teuthology.orchestra.run.trial072.stdout:s3tests/functional/test_s3.py::test_object_lock_get_obj_lock_invalid_bucket PASSED [ 51%]
2026-03-19T17:13:28.921 INFO:tasks.ceph.mon.b.trial119.stderr:2026-03-19T17:13:28.905+0000 7fbf712ff640 -1 mon.b@1(probing) e1 get_health_metrics reporting 2 slow ops, oldest is mgrbeacon mgr.x(cf7b8708-7ec3-413d-b319-9f6dc45d98a2,4102, , 0)
2026-03-19T17:13:31.752 INFO:tasks.ceph.osd.5.trial119.stderr:2026-03-19T17:13:31.749+0000 7fdd8c517640 -1 osd.5 310 heartbeat_check: no reply from 10.20.193.72:6810 osd.0 since back 2026-03-19T17:12:47.387517+0000 front 2026-03-19T17:12:47.387481+0000 (oldest deadline 2026-03-19T17:13:30.887469+0000)
2026-03-19T17:13:31.753 INFO:tasks.ceph.osd.5.trial119.stderr:2026-03-19T17:13:31.749+0000 7fdd8c517640 -1 osd.5 310 heartbeat_check: no reply from 10.20.193.72:6811 osd.1 since back 2026-03-19T17:12:47.387526+0000 front 2026-03-19T17:12:47.387496+0000 (oldest deadline 2026-03-19T17:13:30.887469+0000)
...
2026-03-19T22:13:16.526 INFO:tasks.ceph.osd.5.trial119.stderr:2026-03-19T22:13:16.523+0000 7fdd8c517640 -1 osd.5 310 heartbeat_check: no reply from 10.20.193.72:6830 osd.2 ever on either front or back, first ping sent 2026-03-19T22:04:44.367271+0000 (oldest deadline 2026-03-19T22:05:24.367271+0000)
2026-03-19T22:13:16.526 INFO:tasks.ceph.osd.5.trial119.stderr:2026-03-19T22:13:16.523+0000 7fdd8c517640 -1 osd.5 310 heartbeat_check: no reply from 10.20.193.72:6822 osd.3 ever on either front or back, first ping sent 2026-03-19T22:04:44.367271+0000 (oldest deadline 2026-03-19T22:05:24.367271+0000)
2026-03-19T22:13:16.574 INFO:tasks.ceph.osd.5.trial119.stderr:2026-03-19T22:13:16.571+0000 7fdd84755640 -1 monclient: _check_auth_rotating possible clock skew, rotating keys expired way too early (before 2026-03-19T21:13:16.573851+0000)
2026-03-19T22:13:16.610 INFO:tasks.ceph.osd.7.trial119.stderr:2026-03-19T22:13:16.607+0000 7f19bdbdf640 -1 monclient: _check_auth_rotating possible clock skew, rotating keys expired way too early (before 2026-03-19T21:13:16.610163+0000)
2026-03-19T22:13:16.671 INFO:tasks.ceph.osd.6.trial119.stderr:2026-03-19T22:13:16.671+0000 7fcb2ea62640 -1 monclient: _check_auth_rotating possible clock skew, rotating keys expired way too early (before 2026-03-19T21:13:16.671774+0000)
2026-03-19T22:13:16.697 DEBUG:teuthology.exit:Got signal 15; running 1 handler...

https://qa-proxy.ceph.com/teuthology/bcs-ceph-2026-03-19_16:05:51-rgw-wip-oozmen-testing-pubsub-2026-03-16-1716-distro-default-trial/110201/teuthology.log

2026-03-19T17:12:47.510 INFO:teuthology.orchestra.run.trial069.stdout:s3tests/functional/test_s3.py::test_object_lock_put_legal_hold PASSED    [ 52%]
2026-03-19T17:12:48.464 INFO:teuthology.orchestra.run.trial069.stdout:s3tests/functional/test_s3.py::test_object_lock_put_legal_hold_invalid_bucket PASSED [ 52%]
2026-03-19T17:12:49.458 INFO:teuthology.orchestra.run.trial069.stdout:s3tests/functional/test_s3.py::test_object_lock_put_legal_hold_invalid_status PASSED [ 52%]
2026-03-19T17:13:29.980 INFO:tasks.ceph.mon.b.trial176.stderr:2026-03-19T17:13:29.966+0000 7f37e3631640 -1 mon.b@1(probing) e1 get_health_metrics reporting 2 slow ops, oldest is mgrbeacon mgr.x(d7292b66-a14a-446c-98c7-3bd25f3652d5,4114, , 0)
2026-03-19T17:13:32.437 INFO:tasks.ceph.osd.6.trial176.stderr:2026-03-19T17:13:32.434+0000 7f1954f40640 -1 osd.6 306 heartbeat_check: no reply from 10.20.193.69:6814 osd.0 since back 2026-03-19T17:12:50.080578+0000 front 2026-03-19T17:12:50.080573+0000 (oldest deadline 2026-03-19T17:13:32.380494+0000)
2026-03-19T17:13:32.437 INFO:tasks.ceph.osd.6.trial176.stderr:2026-03-19T17:13:32.434+0000 7f1954f40640 -1 osd.6 306 heartbeat_check: no reply from 10.20.193.69:6806 osd.1 since back 2026-03-19T17:12:50.080500+0000 front 2026-03-19T17:12:50.080557+0000 (oldest deadline 2026-03-19T17:13:32.380494+0000)
...
2026-03-19T22:12:49.204 INFO:tasks.ceph.osd.5.trial176.stderr:2026-03-19T22:12:49.203+0000 7f1aeb80e640 -1 osd.5 306 heartbeat_check: no reply from 10.20.193.69:6830 osd.2 ever on either front or back, first ping sent 2026-03-19T22:04:58.762370+0000 (oldest deadline 2026-03-19T22:05:38.762370+0000)
2026-03-19T22:12:49.204 INFO:tasks.ceph.osd.5.trial176.stderr:2026-03-19T22:12:49.203+0000 7f1aeb80e640 -1 osd.5 306 heartbeat_check: no reply from 10.20.193.69:6822 osd.3 ever on either front or back, first ping sent 2026-03-19T22:04:58.762370+0000 (oldest deadline 2026-03-19T22:05:38.762370+0000)
2026-03-19T22:12:49.218 INFO:tasks.ceph.osd.5.trial176.stderr:2026-03-19T22:12:49.215+0000 7f1ae3a4c640 -1 monclient: _check_auth_rotating possible clock skew, rotating keys expired way too early (before 2026-03-19T21:12:49.219026+0000)
2026-03-19T22:12:49.305 INFO:tasks.ceph.osd.4.trial176.stderr:2026-03-19T22:12:49.303+0000 7f14e46af640 -1 monclient: _check_auth_rotating possible clock skew, rotating keys expired way too early (before 2026-03-19T21:12:49.305481+0000)
2026-03-19T22:12:49.315 DEBUG:teuthology.exit:Got signal 15; running 1 handler...

@BBoozmen

Copy link
Copy Markdown
Contributor Author

https://pulpito.ceph.com/bcs-ceph-2026-03-19_16:05:51-rgw-wip-oozmen-testing-pubsub-2026-03-16-1716-distro-default-trial/detail is the re-run results. To summarize centOS results:

that also includes 4 dead jobs with Failure reason: hit max job timeout. i checked 2 of the logs and see the rados cluster hanging mid-s3tests, then logging messages about slow ops and heartbeat failures for several hours until the jobs get killed

Ahh yes, I just ignored Ubuntu runs for this 2nd (03/19) run as the earlier submission (1st run on 03/16) https://pulpito.ceph.com/bcs-ceph-2026-03-16_20:49:00-rgw-wip-oozmen-testing-pubsub-2026-03-16-1716-distro-default-trial/ had Ubuntu results but all centOS runs had failed due to "yum install" failure - hence this 2nd run.

So, for this 2nd run's analysis, I had just focused on centOS results. Although I provided "-d centos" option to the 2nd submission, it still ran for Ubuntu as well?

Anyhoo, now looking at those 4 dead ubuntu jobs (from the 2nd run) within the 1st run:

Test 2nd Run (Ubuntu) 1st Run (Ubuntu)
rgw/verify (ec, valgrind) DEAD PASS
rgw/verify (replicated, valgrind #1) DEAD FAIL (valgrind error)
rgw/verify (replicated, valgrind #2) DEAD PASS
rgw/multisite DEAD FAIL (multisite failures)
Failure Reason:
valgrind error: UninitCondition
RGWSelectObj_ObjStore_S3::run_s3select_on_csv(char const*, char const*, unsigned long)
RGWSelectObj_ObjStore_S3::csv_processing(ceph::buffer::v15_2_0::list&, long, long)
RGWGetObj_Decompress::handle_data(ceph::buffer::v15_2_0::list&, long, long)

The valgrind failure seems to be a legit RGW memory bug? an UninitCondition in the S3 Select path, through RGWGetObj_Decompress::handle_data() → csv_processing() → run_s3select_on_csv(). It looks like decompressed CSV data used by S3 Select is triggering a read of uninitialized state. There's some trackers out there so a known issue?? But, again, those listed functions don't seem to be relevant to these changes.

@cbodley please let me know if a 3rd run is needed or the combo of 2 runs suffice.

@cbodley

cbodley commented Mar 20, 2026

Copy link
Copy Markdown
Contributor

So, for this 2nd run's analysis, I had just focused on centOS results. Although I provided "-d centos" option to the 2nd submission, it still ran for Ubuntu as well?

the -d option for teuthology-suite is very old and doesn't work anymore. distro selection now comes from the yaml, so you'd instead use something like --filter centos to match job descriptions like supported-distros/{centos_latest}. or just --rerun to reschedule all of the jobs that failed the first time

for multisite failure looking back to analysis summary of the first run above -> the two multisite testcases failure seem to be irrelevant to these changes -> @cbodley please confirm

agree they're unrelated

valgrind error: UninitCondition
RGWSelectObj_ObjStore_S3::run_s3select_on_csv(char const*, char const*, unsigned long)

that looks like https://tracker.ceph.com/issues/64832 again. we'd merged a fix for that, but apparently that didn't fully resolve

@cbodley please let me know if a 3rd run is needed or the combo of 2 runs suffice.

i think those 2 runs are enough to approve 👍 thanks for following up

@cbodley
cbodley merged commit ef86dd5 into main Mar 20, 2026
15 checks passed
@cbodley
cbodley deleted the wip-oozmen-75466 branch March 20, 2026 16:56
@BBoozmen

Copy link
Copy Markdown
Contributor Author

or just --rerun to reschedule all of the jobs that failed the first time

TIL — that’s really useful to know, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants