You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test 2023-07-22T19:16:17.696000Z TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
File "/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/test/functional/test_framework/test_framework.py", line 131, in main
self.run_test()
File "/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/test/functional/p2p_getaddr_caching.py", line 74, in run_test
addr_receiver_onion1 = self.nodes[0].add_p2p_connection(AddrReceiver(), dstport=self.onion_port1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/test/functional/test_framework/test_node.py", line 652, in add_p2p_connection
assert_equal(len(info), 1)
File "/tmp/cirrus-ci-build/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/test/functional/test_framework/util.py", line 57, in assert_equal
raise AssertionError("not(%s)" % " == ".join(str(arg) for arg in (thing1, thing2) + args))
AssertionError: not(2 == 1)
test 2023-07-22T19:16:17.697000Z TestFramework (DEBUG): Closing down network thread
test 2023-07-22T19:16:17.747000Z TestFramework (INFO): Stopping nodes
test 2023-07-22T19:16:17.748000Z TestFramework.node0 (DEBUG): Stopping node
Activity
maflcko commentedon Jul 24, 2023
https://cirrus-ci.com/task/6450543510421504?logs=ci#L3872 in Asan
maflcko commentedon Jul 24, 2023
cc @vasild 20b4946
mzumsande commentedon Jul 25, 2023
See #28144 for a fix.
vasild commentedon Jul 25, 2023
It is good to put asserts that can never the triggered because sometimes they are.
Merge bitcoin#28144: test: fix intermittent failure in p2p_getaddr_ca…
9 remaining items
Merge bitcoin#28144: test: fix intermittent failure in p2p_getaddr_ca…
Merge bitcoin#28144: test: fix intermittent failure in p2p_getaddr_ca…
Merge bitcoin#28144: test: fix intermittent failure in p2p_getaddr_ca…
Merge bitcoin#28144: test: fix intermittent failure in p2p_getaddr_ca…