Closed PastaPastaPasta closed 2 years ago
Test failure I'm experiencing locally on a ubuntu 20.04 laptop but not on my ubuntu 18 server (also tests pass if I run them individually)
pasta@XPS-15-9560:~/workspace/dash$ python3 test/functional/test_runner.py -j2
Temporary test directory at /tmp/dash_test_runner_20200715_225258
.............................................
dip3-deterministicmns.py passed, Duration: 23 s
..................
wallet-hd.py passed, Duration: 32 s
..........
walletbackup.py passed, Duration: 15 s
.................
fundrawtransaction.py passed, Duration: 9 s
..................
fundrawtransaction-hd.py passed, Duration: 9 s
...................................
p2p-instantsend.py passed, Duration: 45 s
...............................................
wallet.py passed, Duration: 24 s
............
wallet-accounts.py passed, Duration: 6 s
..........................................................
wallet-dump.py passed, Duration: 29 s
.....
listtransactions.py passed, Duration: 3 s
...............................
p2p-fullblocktest.py passed, Duration: 148 s
multikeysporks.py passed, Duration: 16 s
................................................................
llmq-signing.py passed, Duration: 33 s
.....
llmq-signing.py --spork21 passed, Duration: 35 s
..............................................................
llmq-connections.py passed, Duration: 31 s
llmq-chainlocks.py passed, Duration: 35 s
............................................
llmq-is-cl-conflicts.py passed, Duration: 22 s
...........................................................................................................
llmq-simplepose.py passed, Duration: 77 s
......................................................
llmq-dkgerrors.py passed, Duration: 27 s
.................................................
dip4-coinbasemerkleroots.py passed, Duration: 25 s
.........
llmq-is-retroactive.py passed, Duration: 111 s
........
zapwallettxes.py passed, Duration: 4 s
...........
sendheaders.py passed, Duration: 15 s
importmulti.py passed, Duration: 6 s
.....
merkle_blocks.py passed, Duration: 3 s
.....
mempool_limit.py passed, Duration: 6 s
receivedby.py passed, Duration: 3 s
.........
abandonconflict.py passed, Duration: 5 s
.........
bip68-112-113-p2p.py passed, Duration: 10 s
rawtransactions.py passed, Duration: 5 s
.........
reindex.py passed, Duration: 5 s
zmq_test.py skipped
....
bitcoin_cli.py passed, Duration: 2 s
..
mempool_resurrect_test.py passed, Duration: 1 s
.
keypool-topup.py passed, Duration: 10 s
...
txn_doublespend.py --mineblock passed, Duration: 3 s
..
txn_clone.py passed, Duration: 3 s
..
getchaintips.py passed, Duration: 3 s
..
mempool_spendcoinbase.py passed, Duration: 1 s
.
rest.py passed, Duration: 4 s
.
mempool_reorg.py passed, Duration: 2 s
..............
mempool_persist.py passed, Duration: 8 s
.........
multiwallet.py passed, Duration: 12 s
...
httpbasics.py passed, Duration: 2 s
.....
multi_rpc.py passed, Duration: 3 s
...
proxy_test.py passed, Duration: 2 s
..
signrawtransactions.py passed, Duration: 1 s
.....
disconnect_ban.py passed, Duration: 3 s
.................
addressindex.py passed, Duration: 9 s
...........
timestampindex.py passed, Duration: 6 s
............
spentindex.py passed, Duration: 6 s
..
decodescript.py passed, Duration: 1 s
.............................
blockchain.py passed, Duration: 15 s
..
deprecated_rpc.py passed, Duration: 1 s
.
disablewallet.py passed, Duration: 1 s
....
net.py passed, Duration: 2 s
........
keypool.py passed, Duration: 4 s
........
keypool-hd.py passed, Duration: 4 s
.....
p2p-mempool.py passed, Duration: 3 s
...........
prioritise_transaction.py passed, Duration: 6 s
...
invalidblockrequest.py passed, Duration: 2 s
............
invalidtxrequest.py passed, Duration: 6 s
......
p2p-versionbits-warning.py passed, Duration: 3 s
...
preciousblock.py passed, Duration: 2 s
..
importprunedfunds.py passed, Duration: 1 s
.
signmessages.py passed, Duration: 1 s
...
nulldummy.py passed, Duration: 2 s
.........
import-rescan.py passed, Duration: 5 s
....
rpcbind_test.py --ipv4 failed, Duration: 2 s
stdout:
2020-07-16 04:02:07.762000 TestFramework (INFO): Initializing test directory /tmp/dash_test_runner_20200715_225258/rpcbind_test_349
2020-07-16 04:02:07.762000 TestFramework (INFO): Check for linux
2020-07-16 04:02:07.762000 TestFramework (INFO): Check for ipv6
2020-07-16 04:02:07.762000 TestFramework (INFO): Check for non-loopback interface
2020-07-16 04:02:07.762000 TestFramework (INFO): Bind test for ['127.0.0.1']
2020-07-16 04:02:08.539000 TestFramework (INFO): Bind test for ['127.0.0.1:32171']
2020-07-16 04:02:09.315000 TestFramework (INFO): Bind test for ['127.0.0.1:32171', '127.0.0.1:32172']
2020-07-16 04:02:10.082000 TestFramework (INFO): Stopping nodes
2020-07-16 04:02:10.083000 TestFramework (INFO): Cleaning up /tmp/dash_test_runner_20200715_225258/rpcbind_test_349 on exit
2020-07-16 04:02:10.083000 TestFramework (INFO): Tests successful
stderr:
/home/pasta/workspace/dash/test/functional/rpcbind_test.py:78: DeprecationWarning: tostring() is deprecated. Use tobytes() instead.
for name,ip in all_interfaces():
......
rpcbind_test.py --ipv6 failed, Duration: 3 s
stdout:
2020-07-16 04:02:10.241000 TestFramework (INFO): Initializing test directory /tmp/dash_test_runner_20200715_225258/rpcbind_test_348
2020-07-16 04:02:10.241000 TestFramework (INFO): Check for linux
2020-07-16 04:02:10.241000 TestFramework (INFO): Check for ipv6
2020-07-16 04:02:10.241000 TestFramework (INFO): Check for non-loopback interface
2020-07-16 04:02:10.242000 TestFramework (INFO): Bind test for []
2020-07-16 04:02:11.016000 TestFramework (INFO): Bind test for []
2020-07-16 04:02:11.790000 TestFramework (INFO): Bind test for ['[::1]']
2020-07-16 04:02:12.555000 TestFramework (INFO): Bind test for ['127.0.0.1', '[::1]']
2020-07-16 04:02:13.328000 TestFramework (INFO): Stopping nodes
2020-07-16 04:02:13.329000 TestFramework (INFO): Cleaning up /tmp/dash_test_runner_20200715_225258/rpcbind_test_348 on exit
2020-07-16 04:02:13.329000 TestFramework (INFO): Tests successful
stderr:
/home/pasta/workspace/dash/test/functional/rpcbind_test.py:78: DeprecationWarning: tostring() is deprecated. Use tobytes() instead.
for name,ip in all_interfaces():
................................................................
rpcbind_test.py --nonloopback failed, Duration: 32 s
stdout:
2020-07-16 04:02:13.767000 TestFramework (INFO): Initializing test directory /tmp/dash_test_runner_20200715_225258/rpcbind_test_347
2020-07-16 04:02:13.767000 TestFramework (INFO): Check for linux
2020-07-16 04:02:13.767000 TestFramework (INFO): Check for ipv6
2020-07-16 04:02:13.768000 TestFramework (INFO): Check for non-loopback interface
2020-07-16 04:02:13.768000 TestFramework (INFO): Using interface 192.168.1.214 for testing
2020-07-16 04:02:13.768000 TestFramework (INFO): Bind test for ['192.168.1.214']
2020-07-16 04:02:14.532000 TestFramework (INFO): Allow IP test for 192.168.1.214:16221
2020-07-16 04:02:44.880000 TestFramework (INFO): Allow IP test for 192.168.1.214:16221
2020-07-16 04:02:45.141000 TestFramework (INFO): Stopping nodes
2020-07-16 04:02:45.696000 TestFramework (INFO): Cleaning up /tmp/dash_test_runner_20200715_225258/rpcbind_test_347 on exit
2020-07-16 04:02:45.696000 TestFramework (INFO): Tests successful
stderr:
/home/pasta/workspace/dash/test/functional/rpcbind_test.py:78: DeprecationWarning: tostring() is deprecated. Use tobytes() instead.
for name,ip in all_interfaces():
..
mining.py passed, Duration: 1 s
..
rpcnamedargs.py passed, Duration: 1 s
....
listsinceblock.py passed, Duration: 2 s
............
p2p-leaktests.py passed, Duration: 6 s
......................
p2p-compactblocks.py passed, Duration: 11 s
...............
sporks.py passed, Duration: 8 s
..
rpc_getblockstats.py passed, Duration: 1 s
...............
p2p-fingerprint.py passed, Duration: 8 s
.............
wallet-encryption.py passed, Duration: 7 s
........
bipdersig-p2p.py passed, Duration: 4 s
.........
bip65-cltv-p2p.py passed, Duration: 5 s
.
uptime.py passed, Duration: 1 s
...
resendwallettransactions.py passed, Duration: 2 s
........
minchainwork.py passed, Duration: 4 s
.........
p2p-acceptblock.py passed, Duration: 5 s
..
feature_shutdown.py passed, Duration: 1 s
..
privatesend.py passed, Duration: 1 s
.....
uacomment.py passed, Duration: 3 s
..
multiwallet.py --usecli passed, Duration: 217 s
.....
feature_logging.py passed, Duration: 4 s
......
conf_args.py passed, Duration: 3 s
feature_help.py passed, Duration: 0 s
......
node_network_limited.py passed, Duration: 10 s
TEST | STATUS | DURATION
abandonconflict.py | ✓ Passed | 5 s
addressindex.py | ✓ Passed | 9 s
bip65-cltv-p2p.py | ✓ Passed | 5 s
bip68-112-113-p2p.py | ✓ Passed | 10 s
bipdersig-p2p.py | ✓ Passed | 4 s
bitcoin_cli.py | ✓ Passed | 2 s
blockchain.py | ✓ Passed | 15 s
conf_args.py | ✓ Passed | 3 s
decodescript.py | ✓ Passed | 1 s
deprecated_rpc.py | ✓ Passed | 1 s
dip3-deterministicmns.py | ✓ Passed | 23 s
dip4-coinbasemerkleroots.py | ✓ Passed | 25 s
disablewallet.py | ✓ Passed | 1 s
disconnect_ban.py | ✓ Passed | 3 s
feature_help.py | ✓ Passed | 0 s
feature_logging.py | ✓ Passed | 4 s
feature_shutdown.py | ✓ Passed | 1 s
fundrawtransaction-hd.py | ✓ Passed | 9 s
fundrawtransaction.py | ✓ Passed | 9 s
getchaintips.py | ✓ Passed | 3 s
httpbasics.py | ✓ Passed | 2 s
import-rescan.py | ✓ Passed | 5 s
importmulti.py | ✓ Passed | 6 s
importprunedfunds.py | ✓ Passed | 1 s
invalidblockrequest.py | ✓ Passed | 2 s
invalidtxrequest.py | ✓ Passed | 6 s
keypool-hd.py | ✓ Passed | 4 s
keypool-topup.py | ✓ Passed | 10 s
keypool.py | ✓ Passed | 4 s
listsinceblock.py | ✓ Passed | 2 s
listtransactions.py | ✓ Passed | 3 s
llmq-chainlocks.py | ✓ Passed | 35 s
llmq-connections.py | ✓ Passed | 31 s
llmq-dkgerrors.py | ✓ Passed | 27 s
llmq-is-cl-conflicts.py | ✓ Passed | 22 s
llmq-is-retroactive.py | ✓ Passed | 111 s
llmq-signing.py | ✓ Passed | 33 s
llmq-signing.py --spork21 | ✓ Passed | 35 s
llmq-simplepose.py | ✓ Passed | 77 s
mempool_limit.py | ✓ Passed | 6 s
mempool_persist.py | ✓ Passed | 8 s
mempool_reorg.py | ✓ Passed | 2 s
mempool_resurrect_test.py | ✓ Passed | 1 s
mempool_spendcoinbase.py | ✓ Passed | 1 s
merkle_blocks.py | ✓ Passed | 3 s
minchainwork.py | ✓ Passed | 4 s
mining.py | ✓ Passed | 1 s
multi_rpc.py | ✓ Passed | 3 s
multikeysporks.py | ✓ Passed | 16 s
multiwallet.py | ✓ Passed | 12 s
multiwallet.py --usecli | ✓ Passed | 217 s
net.py | ✓ Passed | 2 s
node_network_limited.py | ✓ Passed | 10 s
nulldummy.py | ✓ Passed | 2 s
p2p-acceptblock.py | ✓ Passed | 5 s
p2p-compactblocks.py | ✓ Passed | 11 s
p2p-fingerprint.py | ✓ Passed | 8 s
p2p-fullblocktest.py | ✓ Passed | 148 s
p2p-instantsend.py | ✓ Passed | 45 s
p2p-leaktests.py | ✓ Passed | 6 s
p2p-mempool.py | ✓ Passed | 3 s
p2p-versionbits-warning.py | ✓ Passed | 3 s
preciousblock.py | ✓ Passed | 2 s
prioritise_transaction.py | ✓ Passed | 6 s
privatesend.py | ✓ Passed | 1 s
proxy_test.py | ✓ Passed | 2 s
rawtransactions.py | ✓ Passed | 5 s
receivedby.py | ✓ Passed | 3 s
reindex.py | ✓ Passed | 5 s
resendwallettransactions.py | ✓ Passed | 2 s
rest.py | ✓ Passed | 4 s
rpc_getblockstats.py | ✓ Passed | 1 s
rpcbind_test.py --ipv4 | ✖ Failed | 2 s
rpcbind_test.py --ipv6 | ✖ Failed | 3 s
rpcbind_test.py --nonloopback | ✖ Failed | 32 s
rpcnamedargs.py | ✓ Passed | 1 s
sendheaders.py | ✓ Passed | 15 s
signmessages.py | ✓ Passed | 1 s
signrawtransactions.py | ✓ Passed | 1 s
spentindex.py | ✓ Passed | 6 s
sporks.py | ✓ Passed | 8 s
timestampindex.py | ✓ Passed | 6 s
txn_clone.py | ✓ Passed | 3 s
txn_doublespend.py --mineblock | ✓ Passed | 3 s
uacomment.py | ✓ Passed | 3 s
uptime.py | ✓ Passed | 1 s
wallet-accounts.py | ✓ Passed | 6 s
wallet-dump.py | ✓ Passed | 29 s
wallet-encryption.py | ✓ Passed | 7 s
wallet-hd.py | ✓ Passed | 32 s
wallet.py | ✓ Passed | 24 s
walletbackup.py | ✓ Passed | 15 s
zapwallettxes.py | ✓ Passed | 4 s
zmq_test.py | ○ Skipped | 0 s
ALL | ✖ Failed | 1299 s (accumulated)
Runtime: 665 s
seems to be fixed now
I'm getting test failures locally on ubuntu 20.04 when running
python3 test/functional/test_runner.py
in all three of the rpc_bind tests, however when ran individually they passOriginally posted by @PastaPastaPasta in https://github.com/dashpay/dash/pull/3600#issuecomment-659149350