Project

General

Profile

Actions

Bug #56398

open

test/rgw-multi: test_datalog_autotrim is failed when three-zone.yaml in nautilus

Added by ren weiguo almost 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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

3zone-putobj1.png (37.5 KB) 3zone-putobj1.png ren weiguo, 06/28/2022 07:24 AM

No data to display

Actions

Also available in: Atom PDF