Bug #56398
opentest/rgw-multi: test_datalog_autotrim is failed when three-zone.yaml in nautilus
0%
Description
In my tethology test rgw/multisite,tasks is three-zone test. I find test_datalog_autotrim is failed.
2022-04-21T13:23:34.933 INFO:tasks.rgw_multisite_tests:FAIL: tasks.rgw_multi.tests.test_datalog_autotrim
2022-04-21T13:23:34.934 INFO:tasks.rgw_multisite_tests:----------------------------------------------------------------------
2022-04-21T13:23:34.934 INFO:tasks.rgw_multisite_tests:Traceback (most recent call last):
2022-04-21T13:23:34.934 INFO:tasks.rgw_multisite_tests: File "/home/teuthology/src/teuthology-master/virtualenv/lib/python3.6/site-packages/nose/case.py", line 198, in runTest
2022-04-21T13:23:34.934 INFO:tasks.rgw_multisite_tests: self.test(self.arg)
2022-04-21T13:23:34.934 INFO:tasks.rgw_multisite_tests: File "/home/teuthology/src/ceph/qa/tasks/rgw_multi/tests.py", line 998, in test_datalog_autotrim
2022-04-21T13:23:34.934 INFO:tasks.rgw_multisite_tests: assert before_trim < after_trim, "any datalog entries must be newer than trim"
2022-04-21T13:23:34.934 INFO:tasks.rgw_multisite_tests:AssertionError: any datalog entries must be newer than trim
I take a moment to look at the test cases. I find test_datalog_autotrim, that does not guarantee that all zones are trimmed.Maybe we should check twice.
In my photo. We find taht zonegroup_data_checkpoint maybe stop in t4-stage.Because zonegroup_data_checkpoint check Bdataloglatest and Cdataloglatest is sync over in t2 stage. In fact they end at stage 5.
If zonegroup_data_checkpoint return in t4-stage and datalog trim occurs before stage 5. Bdatalog and Cdatalog will not trim.
Files
No data to display