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
It seems that this test is flaky?
FAIL: maasserver. tests.test_ ipc.TestIPCComm unication. test_update_ allows_ new_connections _while_ updating_ connections_ in_db 14T09:05: 34.259Z] maasserver. tests.test_ ipc.TestIPCComm unication. test_update_ allows_ new_connections _while_ updating_ connections_ in_db 14T09:05: 34.259Z] ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- 14T09:05: 34.259Z] testtools. testresult. real._StringExc eption: testtools. testresult. real._StringExc eption: Seeds: {{{MAAS_ RAND_SEED= 6befe08c3988273 a PYTHONHASHSEED= 3758890546} }} 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).}}} 14T09:05: 34.259Z] 14T09:05: 34.259Z] Traceback (most recent call last): 14T09:05: 34.259Z] File "/run/build/ checkout/ src/maastesting /crochet. py", line 149, in wrapper 14T09:05: 34.259Z] return eventual_ result. wait(timeout) 14T09:05: 34.259Z] File "/usr/lib/ python3/ dist-packages/ crochet/ _eventloop. py", line 198, in wait 14T09:05: 34.259Z] result. raiseException( ) 14T09:05: 34.259Z] File "/usr/lib/ python3/ dist-packages/ twisted/ python/ failure. py", line 475, in raiseException 14T09:05: 34.259Z] raise self.value. with_traceback( self.tb) 14T09:05: 34.259Z] File "/usr/lib/ python3/ dist-packages/ twisted/ internet/ defer.py" , line 1660, in _inlineCallbacks 14T09:05: 34.259Z] result = current_ context. run(gen. send, result) 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 14T09:05: 34.259Z] self.assertEqual( 14T09:05: 34.259Z] File "/usr/lib/ python3. 10/unittest/ case.py" , line 845, in assertEqual 14T09:05: 34.259Z] assertion_ func(first, second, msg=msg) 14T09:05: 34.259Z] File "/usr/lib/ python3. 10/unittest/ case.py" , line 838, in _baseAssertEqual 14T09:05: 34.259Z] raise self.failureExc eption( msg) 14T09:05: 34.259Z] AssertionError: 2 != 3
[2022-09-
[2022-09-
[2022-09-
[2022-09-
[2022-09-
[2022-09-
[2022-09-
[2022-09-
[2022-09-
[2022-09-
[2022-09-
[2022-09-
[2022-09-
[2022-09-
[2022-09-
[2022-09-
[2022-09-
[2022-09-
[2022-09-
[2022-09-
[2022-09-