intermittent probe test failure: test_reconciler_move_object_twice

Bug #2028175 reported by Alistair Coles
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
New
Medium
Unassigned

Bug Description

Intermittent failures are seen with test/probe/test_container_merge_policy_index.py::TestReservedNamespaceMergePolicyIndex::test_reconciler_move_object_twice:

e.g. https://review.opendev.org/c/openstack/swift/+/888575#:~:text=2%20%7C%201-,day,-19%20hr%20ago

```
> self.assertEqual(obj['name'], expected)
E AssertionError: '1:/AUTH_test/\x00container\x002e0e537e-c1[72 chars]b6de' != '0:/AUTH_test/\x00container\x002e0e537e-c1[72 chars]b6de'
E - 1:/AUTH_test/container2e0e537e-c12a-4506-8fc4-45471d702848/objectdf4d3593-776b-4e51-a592-a5948c2eb6de
E ? ^
E + 0:/AUTH_test/container2e0e537e-c12a-4506-8fc4-45471d702848/objectdf4d3593-776b-4e51-a592-a5948c2eb6de
E ? ^

test/probe/test_container_merge_policy_index.py:536: AssertionError
```

and also

```
======================================================================
FAIL: test_reconciler_move_object_twice (test.probe.test_container_merge_policy_index.TestReservedNamespaceMergePolicyIndex)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/vagrant/swift/test/probe/test_container_merge_policy_index.py", line 554, in test_reconciler_move_object_twice
    self.fail('Found unexpected object %r in the queue' % obj)
AssertionError: Found unexpected object {'bytes': 0, 'hash': '1689720266.64622_3', 'name': '0:/AUTH_test/\x00container\x00b23803d0-e29f-4e63-8542-ad816237f052/\x00object\x00d8d592d8-8087-46fc-86cf-0bc47767bb97', 'content_type': 'application/x-delete', 'last_modified': '2023-07-18T22:44:26.646220'} in the queue
```

Tags: flakey-test
summary: - internittent probe test failure: test_reconciler_move_object_twice
+ intermittent probe test failure: test_reconciler_move_object_twice
Revision history for this message
Alistair Coles (alistair-coles) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.