Bug #45626
test_datalog_autotrim fail in teuthology
% Done:
0%
Source:
Development
Tags:
Backport:
nautilus octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Description
2020-05-19T23:25:51.691 INFO:tasks.rgw_multisite_tests:====================================================================== 2020-05-19T23:25:51.692 INFO:tasks.rgw_multisite_tests:FAIL: tasks.rgw_multi.tests.test_datalog_autotrim 2020-05-19T23:25:51.692 INFO:tasks.rgw_multisite_tests:---------------------------------------------------------------------- 2020-05-19T23:25:51.692 INFO:tasks.rgw_multisite_tests:Traceback (most recent call last): 2020-05-19T23:25:51.693 INFO:tasks.rgw_multisite_tests: File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/lib/python3.6/site-packages/nose/case.py", line 198, in runTest 2020-05-19T23:25:51.693 INFO:tasks.rgw_multisite_tests: self.test(*self.arg) 2020-05-19T23:25:51.693 INFO:tasks.rgw_multisite_tests: File "/home/teuthworker/src/git.ceph.com_ceph-c_fix-amqp-urls-with-vhosts/qa/tasks/rgw_multi/tests.py", line 967, in test_datalog_autotrim 2020-05-19T23:25:51.694 INFO:tasks.rgw_multisite_tests: assert len(datalog) == 0 2020-05-19T23:25:51.694 INFO:tasks.rgw_multisite_tests:AssertionError 2020-05-19T23:25:51.695 INFO:tasks.rgw_multisite_tests: 2020-05-19T23:25:51.695 INFO:tasks.rgw_multisite_tests:----------------------------------------------------------------------
from cbodley:
"i think the trim works fine, but the test
races with sync from other tests that create more datalog entries.
instead of asserting that `len(datalog) == 0`, maybe we should just
verify that no entries have a timestamp before we ran autotrim"
Related issues
History
#1 Updated by Casey Bodley almost 4 years ago
- Assignee set to Casey Bodley
#2 Updated by Casey Bodley almost 4 years ago
- Status changed from New to Fix Under Review
- Backport set to nautilus octopus
- Pull request ID set to 35575
#3 Updated by Yuval Lifshitz almost 3 years ago
- Status changed from Fix Under Review to Pending Backport
#4 Updated by Backport Bot almost 3 years ago
- Copied to Backport #50158: nautilus: test_datalog_autotrim fail in teuthology added
#5 Updated by Backport Bot almost 3 years ago
- Copied to Backport #50159: octopus: test_datalog_autotrim fail in teuthology added
#6 Updated by Loïc Dachary almost 3 years ago
- Status changed from Pending Backport to Resolved
While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".