Page MenuHomePhabricator

qt/test: [FIX] Add forgotten Context setting in RPCNestedTests
ClosedPublic

Authored by PiRK on Mar 15 2022, 13:37.

Event Timeline

PiRK requested review of this revision.Mar 15 2022, 13:37

Failed tests logs:

====== Bitcoin ABC functional tests: abc_p2p_getavaaddr.py ======

------- Stdout: -------
2022-03-15T13:43:16.259000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-without-wallet/test/tmp/test_runner_₿₵_  _20220315_134216/abc_p2p_getavaaddr_24
2022-03-15T13:44:18.414000Z TestFramework.utils (ERROR): wait_until() failed. Predicate: ''''
        def test_function():
            if check_connected:
                assert self.is_connected
            return test_function_in()
'''
2022-03-15T13:44:18.414000Z TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 136, in main
    self.run_test()
  File "/work/test/functional/abc_p2p_getavaaddr.py", line 246, in run_test
    self.getavaaddr_interval_test()
  File "/work/test/functional/abc_p2p_getavaaddr.py", line 114, in getavaaddr_interval_test
    requester.wait_until(requester.addr_received)
  File "/work/test/functional/test_framework/p2p.py", line 522, in wait_until
    timeout_factor=self.timeout_factor)
  File "/work/test/functional/test_framework/util.py", line 284, in wait_until_helper
    "Predicate {} not true after {} seconds".format(predicate_source, timeout))
AssertionError: Predicate ''''
        def test_function():
            if check_connected:
                assert self.is_connected
            return test_function_in()
''' not true after 60.0 seconds
2022-03-15T13:44:18.465000Z TestFramework (INFO): Stopping nodes
2022-03-15T13:44:18.716000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-without-wallet/test/tmp/test_runner_₿₵_  _20220315_134216/abc_p2p_getavaaddr_24
2022-03-15T13:44:18.716000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-without-wallet/test/tmp/test_runner_₿₵_  _20220315_134216/abc_p2p_getavaaddr_24/test_framework.log
2022-03-15T13:44:18.716000Z TestFramework (ERROR): 
2022-03-15T13:44:18.716000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-without-wallet/test/tmp/test_runner_₿₵_  _20220315_134216/abc_p2p_getavaaddr_24' to consolidate all logs
2022-03-15T13:44:18.716000Z TestFramework (ERROR): 
2022-03-15T13:44:18.716000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log.
2022-03-15T13:44:18.716000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues
2022-03-15T13:44:18.716000Z TestFramework (ERROR):

Each failure log is accessible here:
Bitcoin ABC functional tests: abc_p2p_getavaaddr.py

This revision is now accepted and ready to land.Mar 15 2022, 15:22
This revision was landed with ongoing or failed builds.Mar 16 2022, 09:08
This revision was automatically updated to reflect the committed changes.