breezy.tests.test_index.TestCombinedGraphIndex.test_iter_all_entries_reloads is flaky

Bug #1779790 reported by Jelmer Vernooij
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Breezy
Fix Released
High
Jelmer Vernooij

Bug Description

breezy.tests.test_index.TestCombinedGraphIndex.test_iter_all_entries_reloads

and

breezy.tests.test_index.TestCombinedGraphIndex.test_iter_entries_reloads

are flaky on Python3 and sometimes fail with:

00:29:58 E: FAIL: python3.breezy.tests.test_index.TestCombinedGraphIndex.test_iter_all_entries_reloads
00:29:58 E: python3.breezy.tests.test_index.TestCombinedGraphIndex.test_iter_all_entries_reloads
00:29:58 E: ----------------------------------------------------------------------
00:29:58 E: _StringException: log: {{{102.337 Trying to reload after getting exception: No such file: '1'}}}
00:29:58 E:
00:29:58 E: Traceback (most recent call last):
00:29:58 E: File "/workspace/brz/land-brz/work/breezy/tests/test_index.py", line 1373, in test_iter_all_entries_reloads
00:29:58 E: result)
00:29:58 E: File "/workspace/brz/land-brz/work/breezy/tests/__init__.py", line 1310, in assertEqual
00:29:58 E: pprint.pformat(a), pprint.pformat(b)))
00:29:58 E: AssertionError: not equal:
00:29:58 E: a = [(GraphIndex('memory+140572452384104:///3'), (b'1',), b''),
00:29:58 E: (GraphIndex('memory+140572452384104:///3'), (b'2',), b'')]
00:29:58 E: b = [(GraphIndex('memory+140572452384104:///3'), (b'2',), b''),
00:29:58 E: (GraphIndex('memory+140572452384104:///3'), (b'1',), b'')]
00:29:58 E:
00:29:58 E:
00:29:58 E: ======================================================================
00:29:58 E: FAIL: python3.breezy.tests.test_index.TestCombinedGraphIndex.test_iter_entries_reloads
00:29:58 E: python3.breezy.tests.test_index.TestCombinedGraphIndex.test_iter_entries_reloads
00:29:58 E: ----------------------------------------------------------------------
00:29:58 E: _StringException: log: {{{102.738 Trying to reload after getting exception: No such file: '1'}}}
00:29:58 E:
00:29:58 E: Traceback (most recent call last):
00:29:58 E: File "/workspace/brz/land-brz/work/breezy/tests/test_index.py", line 1340, in test_iter_entries_reloads
00:29:58 E: result)
00:29:58 E: File "/workspace/brz/land-brz/work/breezy/tests/__init__.py", line 1310, in assertEqual
00:29:58 E: pprint.pformat(a), pprint.pformat(b)))
00:29:58 E: AssertionError: not equal:
00:29:58 E: a = [(GraphIndex('memory+140572455840120:///3'), (b'1',), b''),
00:29:58 E: (GraphIndex('memory+140572455840120:///3'), (b'2',), b'')]
00:29:58 E: b = [(GraphIndex('memory+140572455840120:///3'), (b'2',), b''),
00:29:58 E: (GraphIndex('memory+140572455840120:///3'), (b'1',), b'')]
00:29:58 E:
00:29:58 E:

Tags: selftest flaky
Jelmer Vernooij (jelmer)
Changed in brz:
status: Triaged → Fix Released
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.