Let it take the expected status rather than flagging the orphan special case. This makes the tests more robust as we are sure of what is being tested.
Depends on D11802.
Differential D11809
[avalanche] Simplify the wait_for_proof test facility Fabien on Jul 27 2022, 09:44. Authored by
Details
Let it take the expected status rather than flagging the orphan special case. This makes the tests more robust as we are sure of what is being tested. Depends on D11802. ninja all check-extended
Diff Detail
Event Timeline
Comment Actions Build Bitcoin ABC Diffs / Diff Testing (build-debug) failed.
Failed tests logs: ====== Bitcoin ABC functional tests: abc_p2p_proof_inventory.py ====== ------- Stdout: ------- 2022-07-28T15:19:41.698000Z TestFramework (INFO): Initializing test directory /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_ _20220728_151710/abc_p2p_proof_inventory_26 2022-07-28T15:19:42.727000Z TestFramework (INFO): Test sending a proof to our peers 2022-07-28T15:20:43.841000Z TestFramework.utils (ERROR): wait_until() failed. Predicate: '''' self.wait_until(lambda: all(proof_inv_found(i) for i in node.p2ps)) ''' 2022-07-28T15:20:43.841000Z 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_proof_inventory.py", line 296, in run_test self.test_send_proof_inv() File "/work/test/functional/abc_p2p_proof_inventory.py", line 80, in test_send_proof_inv self.wait_until(lambda: all(proof_inv_found(i) for i in node.p2ps)) File "/work/test/functional/test_framework/test_framework.py", line 677, in wait_until timeout_factor=self.options.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 '''' self.wait_until(lambda: all(proof_inv_found(i) for i in node.p2ps)) ''' not true after 60.0 seconds 2022-07-28T15:20:43.893000Z TestFramework (INFO): Stopping nodes 2022-07-28T15:20:44.205000Z TestFramework (WARNING): Not cleaning up dir /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_ _20220728_151710/abc_p2p_proof_inventory_26 2022-07-28T15:20:44.205000Z TestFramework (ERROR): Test failed. Test logging available at /work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_ _20220728_151710/abc_p2p_proof_inventory_26/test_framework.log 2022-07-28T15:20:44.205000Z TestFramework (ERROR): 2022-07-28T15:20:44.205000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/abc-ci-builds/build-debug/test/tmp/test_runner_₿₵_ _20220728_151710/abc_p2p_proof_inventory_26' to consolidate all logs 2022-07-28T15:20:44.205000Z TestFramework (ERROR): 2022-07-28T15:20:44.205000Z TestFramework (ERROR): If this failure happened unexpectedly or intermittently, please file a bug and provide a link or upload of the combined log. 2022-07-28T15:20:44.206000Z TestFramework (ERROR): https://github.com/Bitcoin-ABC/bitcoin-abc/issues 2022-07-28T15:20:44.206000Z TestFramework (ERROR): Each failure log is accessible here: |