Comment 0 for bug 1989567

Revision history for this message
Anton Troyanov (troyanov) wrote : test_update_allows_new_connections_while_updating_connections_in_db

It seems that this test is flaky?

FAIL: maasserver.tests.test_ipc.TestIPCCommunication.test_update_allows_new_connections_while_updating_connections_in_db
[2022-09-14T09:05:34.259Z] maasserver.tests.test_ipc.TestIPCCommunication.test_update_allows_new_connections_while_updating_connections_in_db
[2022-09-14T09:05:34.259Z] ----------------------------------------------------------------------
[2022-09-14T09:05:34.259Z] testtools.testresult.real._StringException: testtools.testresult.real._StringException: Seeds: {{{MAAS_RAND_SEED=6befe08c3988273a PYTHONHASHSEED=3758890546}}}
[2022-09-14T09:05:34.259Z] Twisted logs: {{{Worker pid:96 IPC connected.Worker pid:96 opened RPC listener on port:470.Worker pid:96 registered RPC connection to ('chp6sr', 'fdb9:6ae7:5c64:e1f4:8839:1975:a597:68a5', 321).Worker pid:96 registered RPC connection to ('chp6sr', 'fdb9:6ae7:5c64:e1f4:8839:1975:a597:68a5', 101).Worker pid:96 registered RPC connection to ('chp6sr', 'fdb9:6ae7:5c64:e1f4:8839:1975:a597:68a5', 321).}}}
[2022-09-14T09:05:34.259Z]
[2022-09-14T09:05:34.259Z] Traceback (most recent call last):
[2022-09-14T09:05:34.259Z] File "/run/build/checkout/src/maastesting/crochet.py", line 149, in wrapper
[2022-09-14T09:05:34.259Z] return eventual_result.wait(timeout)
[2022-09-14T09:05:34.259Z] File "/usr/lib/python3/dist-packages/crochet/_eventloop.py", line 198, in wait
[2022-09-14T09:05:34.259Z] result.raiseException()
[2022-09-14T09:05:34.259Z] File "/usr/lib/python3/dist-packages/twisted/python/failure.py", line 475, in raiseException
[2022-09-14T09:05:34.259Z] raise self.value.with_traceback(self.tb)
[2022-09-14T09:05:34.259Z] File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1660, in _inlineCallbacks
[2022-09-14T09:05:34.259Z] result = current_context.run(gen.send, result)
[2022-09-14T09:05:34.259Z] File "/run/build/checkout/src/maasserver/tests/test_ipc.py", line 560, in test_update_allows_new_connections_while_updating_connections_in_db
[2022-09-14T09:05:34.259Z] self.assertEqual(
[2022-09-14T09:05:34.259Z] File "/usr/lib/python3.10/unittest/case.py", line 845, in assertEqual
[2022-09-14T09:05:34.259Z] assertion_func(first, second, msg=msg)
[2022-09-14T09:05:34.259Z] File "/usr/lib/python3.10/unittest/case.py", line 838, in _baseAssertEqual
[2022-09-14T09:05:34.259Z] raise self.failureException(msg)
[2022-09-14T09:05:34.259Z] AssertionError: 2 != 3