Skip to content

rgw/notifications: test refactoring - #64662

Merged
yuvalif merged 1 commit into
ceph:mainfrom
yuvalif:wip-yuval-71585
Aug 5, 2025
Merged

yuvalif merged 1 commit into
ceph:mainfrom
yuvalif:wip-yuval-71585

Conversation

@yuvalif

@yuvalif yuvalif commented Jul 24, 2025

Copy link
Copy Markdown
Contributor

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

@yuvalif
yuvalif requested a review from a team as a code owner July 24, 2025 07:49
@yuvalif
yuvalif requested review from AliMasarweh and removed request for a team July 24, 2025 07:49
@yuvalif

yuvalif commented Jul 24, 2025

Copy link
Copy Markdown
Contributor Author

https://pulpito.ceph.com/yuvalif-2025-07-23_16:34:43-rgw:notifications-wip-yuval-71390-distro-default-smithi/

  • all tests are failing with valgrind issue
  • kafka_failover tests are passing
  • kafka tests are running (and passing)
  • migration tests are running (and passing)

@ivancich
ivancich requested a review from cbodley July 24, 2025 14:05
@ivancich

Copy link
Copy Markdown
Member

jenkins test make check arm64

@yuvalif
yuvalif force-pushed the wip-yuval-71585 branch 2 times, most recently from 16985bf to b296e83 Compare July 24, 2025 18:25
@yuvalif yuvalif added the DNM label Jul 24, 2025
@yuvalif

yuvalif commented Jul 24, 2025

Copy link
Copy Markdown
Contributor Author

in kafka failover, the test receiver cannot read events from broker - still seen:

2025-07-24T19:01:39.049 INFO:teuthology.orchestra.run.smithi174.stderr:======================================================================
2025-07-24T19:01:39.049 INFO:teuthology.orchestra.run.smithi174.stderr:ERROR: bucket_notification.test_bn.test_notification_push_kafka_multiple_brokers_append
2025-07-24T19:01:39.049 INFO:teuthology.orchestra.run.smithi174.stderr:----------------------------------------------------------------------
2025-07-24T19:01:39.049 INFO:teuthology.orchestra.run.smithi174.stderr:Traceback (most recent call last):
2025-07-24T19:01:39.049 INFO:teuthology.orchestra.run.smithi174.stderr:  File "/home/ubuntu/cephtest/ceph/src/test/rgw/bucket_notification/virtualenv/lib64/python3.9/site-packages/nose/case.py", line 189, in runTest
2025-07-24T19:01:39.049 INFO:teuthology.orchestra.run.smithi174.stderr:    self.test(*self.arg)
2025-07-24T19:01:39.050 INFO:teuthology.orchestra.run.smithi174.stderr:  File "/home/ubuntu/cephtest/ceph/src/test/rgw/bucket_notification/test_bn.py", line 1670, in test_notification_push_kafka_multiple_brokers_append
2025-07-24T19:01:39.050 INFO:teuthology.orchestra.run.smithi174.stderr:    notification_push('kafka', conn, kafka_brokers='{host}:9091'.format(host=default_kafka_server))
2025-07-24T19:01:39.050 INFO:teuthology.orchestra.run.smithi174.stderr:  File "/home/ubuntu/cephtest/ceph/src/test/rgw/bucket_notification/test_bn.py", line 1436, in notification_push
2025-07-24T19:01:39.050 INFO:teuthology.orchestra.run.smithi174.stderr:    verify_kafka_receiver(receiver)
2025-07-24T19:01:39.050 INFO:teuthology.orchestra.run.smithi174.stderr:  File "/home/ubuntu/cephtest/ceph/src/test/rgw/bucket_notification/test_bn.py", line 543, in verify_kafka_receiver
2025-07-24T19:01:39.050 INFO:teuthology.orchestra.run.smithi174.stderr:    raise Exception('kafka receiver did not receive test event in time')
2025-07-24T19:01:39.050 INFO:teuthology.orchestra.run.smithi174.stderr:Exception: kafka receiver did not receive test event in time

@yuvalif
yuvalif force-pushed the wip-yuval-71585 branch 8 times, most recently from 3042b96 to a7e9d3e Compare August 1, 2025 11:23
* kafka: pass full broker list to consumer in tests
* kafka: use ip instead of localhost
* kafka: make sure topic exists before consumer start
* kafka: fix zookeeper and broker conf in tests
* kafka: verify receiver in the test
* kafka: tests were not running (Fixes: https://tracker.ceph.com/issues/72240)
* kafka: failover tests were failing (Fixes: https://tracker.ceph.com/issues/71585)
* simplify basic tests run command
* v2 migration tests were not running
* fix failing migration tests

Signed-off-by: Yuval Lifshitz <[email protected]>
@yuvalif

yuvalif commented Aug 5, 2025

Copy link
Copy Markdown
Contributor Author

@yuvalif

yuvalif commented Aug 5, 2025

Copy link
Copy Markdown
Contributor Author

@yuvalif yuvalif removed the DNM label Aug 5, 2025
@yuvalif

yuvalif commented Aug 5, 2025

Copy link
Copy Markdown
Contributor Author

jenkins test make check arm64

@yuvalif
yuvalif merged commit 2b65f4a into ceph:main Aug 5, 2025
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.

3 participants