joinmarket-clientserver
joinmarket-clientserver copied to clipboard
Random jmdaemon test failure
Happened randomly while testing #1642. Doesn't seem related to these changes in any way and also wasn't able to reproduce with second test run. In any case, something to investigate probably.
_____________________________________________________________________________ TestJMDaemonProtoInit.test_waiter ______________________________________________________________________________
'NoneType' object is not iterable
During handling of the above exception, another exception occurred:
NOTE: Incompatible Exception Representation, displaying natively:
twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
Selectables:
<JMDaemonTest2ServerProtocol #0 on 28184>
------------------------------------------------------------------------------------ Captured stdout call ------------------------------------------------------------------------------------
2024-01-23 12:56:51+0200 [-] --> test_daemon_protocol.TestJMDaemonProtoInit.test_waiter <--
User data location: .
2024-01-23 12:56:51,236 [DEBUG] rpc: getblockchaininfo []
2024-01-23 12:56:51,240 [DEBUG] rpc: listwallets []
2024-01-23 12:56:51,242 [DEBUG] rpc: getwalletinfo []
2024-01-23 12:56:51,247 [DEBUG] rpc: getnewaddress []
2024-01-23 12:56:51+0200 [-] JMDaemonTest2ServerProtocolFactory starting on 28184
2024-01-23 12:56:51+0200 [-] Starting factory <test_daemon_protocol.JMDaemonTest2ServerProtocolFactory object at 0x7f5d50c73f90>
2024-01-23 12:56:51+0200 [-] Starting factory <test_daemon_protocol.JMTestClientProtocolFactory object at 0x7f5d437b9550>
2024-01-23 12:56:51+0200 [test_daemon_protocol.JMDaemonTest2ServerProtocolFactory] JMDaemonTest2ServerProtocol connection established (HOST:IPv4Address(type='TCP', host='127.0.0.1', port=28184) PEER:IPv4Address(type='TCP', host='127.0.0.1', port=36102))
2024-01-23 12:56:51+0200 [Uninitialized] JMTestClientProtocol connection established (HOST:IPv4Address(type='TCP', host='127.0.0.1', port=36102) PEER:IPv4Address(type='TCP', host='127.0.0.1', port=28184))
2024-01-23 12:56:51+0200 [JMTestClientProtocol,client] Received msgtype: JMINITPROTO, args: 10,14,J,5
2024-01-23 12:56:51+0200 [JMDaemonTest2ServerProtocol,0,127.0.0.1] Message channels being shutdown by daemon
2024-01-23 12:56:56+0200 [JMTestClientProtocol,client] JMTestClientProtocol connection lost (HOST:IPv4Address(type='TCP', host='127.0.0.1', port=36102) PEER:IPv4Address(type='TCP', host='127.0.0.1', port=28184))
2024-01-23 12:56:56+0200 [-] Stopping factory <test_daemon_protocol.JMTestClientProtocolFactory object at 0x7f5d437b9550>
2024-01-23 12:56:56+0200 [-] (TCP Port 28184 Closed)
2024-01-23 12:56:56+0200 [-] Stopping factory <test_daemon_protocol.JMDaemonTest2ServerProtocolFactory object at 0x7f5d50c73f90>
2024-01-23 12:56:56+0200 [-] Main loop terminated.
------------------------------------------------------------------------------------- Captured log call --------------------------------------------------------------------------------------
DEBUG joinmarket:blockchaininterface.py:433 rpc: getblockchaininfo []
DEBUG joinmarket:blockchaininterface.py:433 rpc: listwallets []
DEBUG joinmarket:blockchaininterface.py:433 rpc: getwalletinfo []
DEBUG joinmarket:blockchaininterface.py:433 rpc: getnewaddress []
================================================================================== short test summary info ===================================================================================
FAILED test/jmdaemon/test_daemon_protocol.py::TestJMDaemonProtoInit::test_waiter