TestRegionHTTPService.test_data_is_consistent_when_notified flaky test

Bug #2027994 reported by Jacopo Rota
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Incomplete
Medium
Unassigned

Bug Description

testtools.testresult.real._StringException: testtools.testresult.real._StringException: Seeds: {{{MAAS_RAND_SEED=38bfb18a595a13a7 PYTHONHASHSEED=3591694609}}}
Twisted logs: {{{Register on sys_reverse_proxy with handler <function TestRegionHTTPService.test_data_is_consistent_when_notified.<locals>._handler at 0x7fc156836e60>Register Channel sys_reverse_proxyListening for database notifications.Connection closed.Unregister on sys_reverse_proxy with handler <function TestRegionHTTPService.test_data_is_consistent_when_notified.<locals>._handler at 0x7fc156836e60>}}}

Traceback (most recent call last):
  File "/run/build/checkout/src/maastesting/crochet.py", line 149, in wrapper
    return eventual_result.wait(timeout)
  File "/usr/lib/python3/dist-packages/crochet/_eventloop.py", line 198, in wait
    result.raiseException()
  File "/usr/lib/python3/dist-packages/twisted/python/failure.py", line 475, in raiseException
    raise self.value.with_traceback(self.tb)
  File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1660, in _inlineCallbacks
    result = current_context.run(gen.send, result)
  File "/run/build/checkout/src/maasserver/regiondservices/tests/test_http.py", line 240, in test_data_is_consistent_when_notified
    self.assertEqual(capture, ["sys_reverse_proxy"])
  File "/usr/lib/python3.10/unittest/case.py", line 845, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib/python3.10/unittest/case.py", line 1051, in assertListEqual
    self.assertSequenceEqual(list1, list2, msg, seq_type=list)
  File "/run/build/checkout/src/maastesting/testcase.py", line 224, in assertSequenceEqual
    return super().assertSequenceEqual(seq1, seq2, msg, seq_type)
  File "/usr/lib/python3.10/unittest/case.py", line 1033, in assertSequenceEqual
    self.fail(msg)
  File "/usr/lib/python3.10/unittest/case.py", line 675, in fail
    raise self.failureException(msg)
AssertionError: Lists differ: [] != ['sys_reverse_proxy']

Second list contains 1 additional elements.
First extra element 0:
'sys_reverse_proxy'

- []
+ ['sys_reverse_proxy']

http://maas-ci.internal:8080/job/maas-tester/3063/testReport/maasserver.regiondservices.tests.test_http/TestRegionHTTPService/test_data_is_consistent_when_notified/

Tags: flaky-test
Revision history for this message
Jerzy Husakowski (jhusakowski) wrote :

Since it occurred only once, setting to incomplete in wait for another such occurrence.

Changed in maas:
importance: Undecided → Medium
milestone: none → 3.5.0
status: Triaged → Incomplete
Changed in maas:
milestone: 3.5.0 → 3.5.x
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.