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
{{ message }}
Repository navigation
test: rpc_bind.py --ipv4 fails when run on s390x or arm in debian #17765
node0 2019-12-17T20:54:35.953253Z [] ThreadRPCServer method=getblockcount user=__cookie__
test 2019-12-17T20:54:35.959000Z TestFramework.node0 (DEBUG): RPC successfully started
test 2019-12-17T20:54:35.966000Z TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
File "/home/marco/bitcoin/build/bitcoin-arm-linux-gnueabihf/test/functional/test_framework/test_framework.py", line 112, in main
self.run_test()
File "/home/marco/bitcoin/build/bitcoin-arm-linux-gnueabihf/test/functional/rpc_bind.py", line 89, in run_test
self._run_loopback_tests()
File "/home/marco/bitcoin/build/bitcoin-arm-linux-gnueabihf/test/functional/rpc_bind.py", line 97, in _run_loopback_tests
[('127.0.0.1', self.defaultport)])
File "/home/marco/bitcoin/build/bitcoin-arm-linux-gnueabihf/test/functional/rpc_bind.py", line 43, in run_bind_test
assert_equal(set(get_bind_addrs(pid)), set(expected))
File "/home/marco/bitcoin/build/bitcoin-arm-linux-gnueabihf/test/functional/test_framework/util.py", line 46, in assert_equal
raise AssertionError("not(%s)" % " == ".join(str(arg) for arg in (thing1, thing2) + args))
AssertionError: not(set() == {('7f000001', 16456)})
changed the title [-]test: rpc_bind.py --ipv4 fails when run in qemu-arm[/-][+]test: rpc_bind.py --ipv4 fails when run on s390x in debian[/+]on Dec 18, 2019
changed the title [-]test: rpc_bind.py --ipv4 fails when run on s390x in debian[/-][+]test: rpc_bind.py --ipv4 fails when run on s390x or arm in debian[/+]on Dec 18, 2019
test 2024-05-21T18:27:24.024000Z TestFramework.node0 (DEBUG): RPC successfully started
test 2024-05-21T18:27:24.078000Z TestFramework (ERROR): Assertion failed
Traceback (most recent call last):
File "/home/runner/work/bitcoin/bitcoin/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/test/functional/test_framework/test_framework.py", line 132, in main
self.run_test()
File "/home/runner/work/bitcoin/bitcoin/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/test/functional/rpc_bind.py", line 86, in run_test
self._run_loopback_tests()
File "/home/runner/work/bitcoin/bitcoin/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/test/functional/rpc_bind.py", line 103, in _run_loopback_tests
self.run_bind_test(None, '127.0.0.1', [],
File "/home/runner/work/bitcoin/bitcoin/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/test/functional/rpc_bind.py", line 45, in run_bind_test
assert_equal(set(get_bind_addrs(pid)), set(expected))
File "/home/runner/work/bitcoin/bitcoin/ci/scratch/build/bitcoin-x86_64-pc-linux-gnu/test/functional/test_framework/util.py", line 74, in assert_equal
raise AssertionError("not(%s)" % " == ".join(str(arg) for arg in (thing1, thing2) + args))
AssertionError: not({('7f000001', 19168)} == {('00000000000000000000000000000001', 19168), ('7f000001', 19168)})
Activity
[-]test: rpc_bind.py --ipv4 fails when run in qemu-arm[/-][+]test: rpc_bind.py --ipv4 fails when run on s390x in debian[/+]maflcko commentedon Dec 18, 2019
Same without qemu: https://travis-ci.org/bitcoin/bitcoin/jobs/626507536#L17592
[-]test: rpc_bind.py --ipv4 fails when run on s390x in debian[/-][+]test: rpc_bind.py --ipv4 fails when run on s390x or arm in debian[/+]maflcko commentedon Dec 18, 2019
Same for arm: https://travis-ci.org/bitcoin/bitcoin/jobs/626507535#L18242
laanwj commentedon Dec 18, 2019
This gives me the suspicion that some container-ism prevents
get_bind_addrsfrom working (which relies on/procbeing accessible, for one)maflcko commentedon Dec 18, 2019
Jup, I think docker is to blame. However, I can't reproduce locally:
maflcko commentedon Dec 31, 2019
This was caused by running qemu in docker in lxd for the native platform. Fixed in fa76277
maflcko commentedon Mar 21, 2020
Same happens in valgrind:
maflcko commentedon May 22, 2024
Possibly unrelated, but
rpc_bind.py --ipv6 | ✖ Failed | 2 sWith ASan, on GHA: https://github.com/m3dwards/bitcoin/actions/runs/9178831587/job/25239590853#step:5:5070