Page MenuHomePhabricator

[CI] Run the tests for AArch64
ClosedPublic

Authored by Fabien on Apr 28 2020, 12:58.

Details

Summary

The qemu-user-static allow the execution of the various non native
binaries via qemu transparently. We can take advantage of the cmake
crosscompiling emulator feature to wrap the calls to our binaries with
the proper qemu launcher and run the tests for non native platforms.

The zmq test is falling because zmq needs a feature unsupported by qemu,
so it is disabled for this build.

Test Plan

Run the build-linux-aarch64 CI build.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Snippet of first build failure:

[13:09:12] :	 [Step 1/2] [84/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/raii_event_tests.cpp.o
[13:09:13] :	 [Step 1/2] [85/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/sanity_tests.cpp.o
[13:09:13] :	 [Step 1/2] [86/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/policyestimator_tests.cpp.o
[13:09:13] :	 [Step 1/2] [87/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/sigencoding_tests.cpp.o
[13:09:14] :	 [Step 1/2] [88/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/sighashtype_tests.cpp.o
[13:09:14] :	 [Step 1/2] [89/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/random_tests.cpp.o
[13:09:14] :	 [Step 1/2] [90/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/sighash_tests.cpp.o
[13:09:14] :	 [Step 1/2] [91/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/monolith_opcodes_tests.cpp.o
[13:09:15] :	 [Step 1/2] [92/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/sigcheckcount_tests.cpp.o
[13:09:15] :	 [Step 1/2] [93/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/sigopcount_tests.cpp.o
[13:09:15] :	 [Step 1/2] [94/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/script_bitfield_tests.cpp.o
[13:09:15] :	 [Step 1/2] [95/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/sync_tests.cpp.o
[13:09:16] :	 [Step 1/2] [96/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/schnorr_tests.cpp.o
[13:09:16] :	 [Step 1/2] [97/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/transaction_tests.cpp.o
[13:09:17] :	 [Step 1/2] [98/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/txindex_tests.cpp.o
[13:09:17] :	 [Step 1/2] [99/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/miner_tests.cpp.o
[13:09:17] :	 [Step 1/2] [100/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/txvalidation_tests.cpp.o
[13:09:17] :	 [Step 1/2] [101/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/txvalidationcache_tests.cpp.o
[13:09:18] :	 [Step 1/2] [102/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/undo_tests.cpp.o
[13:09:18] :	 [Step 1/2] [103/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/util_threadnames_tests.cpp.o
[13:09:19] :	 [Step 1/2] [104/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/validation_block_tests.cpp.o
[13:09:19] :	 [Step 1/2] [105/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/work_comparator_tests.cpp.o
[13:09:21] :	 [Step 1/2] [106/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/sigcache_tests.cpp.o
[13:09:24] :	 [Step 1/2] [107/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/serialize_tests.cpp.o
[13:09:25] :	 [Step 1/2] [108/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/rpc_tests.cpp.o
[13:09:25] :	 [Step 1/2] [109/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/skiplist_tests.cpp.o
[13:09:26] :	 [Step 1/2] [110/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/streams_tests.cpp.o
[13:09:26] :	 [Step 1/2] [111/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/timedata_tests.cpp.o
[13:09:27] :	 [Step 1/2] [112/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/torcontrol_tests.cpp.o
[13:09:28] :	 [Step 1/2] [113/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/__/wallet/test/wallet_crypto_tests.cpp.o
[13:09:29] :	 [Step 1/2] [114/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/__/rpc/test/server_tests.cpp.o
[13:09:30] :	 [Step 1/2] [115/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/versionbits_tests.cpp.o
[13:09:30] :	 [Step 1/2] [116/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/uint256_tests.cpp.o
[13:09:30] :	 [Step 1/2] [117/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/__/wallet/test/db_tests.cpp.o
[13:09:30] :	 [Step 1/2] [118/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/validation_tests.cpp.o
[13:09:34] :	 [Step 1/2] [119/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/__/wallet/test/init_tests.cpp.o
[13:09:38] :	 [Step 1/2] [120/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/__/wallet/test/walletdb_tests.cpp.o
[13:09:38] :	 [Step 1/2] [121/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/__/wallet/test/psbt_wallet_tests.cpp.o
[13:09:39] :	 [Step 1/2] [122/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/__/wallet/test/coinselector_tests.cpp.o
[13:09:40] :	 [Step 1/2] [123/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/__/wallet/test/wallet_tests.cpp.o
[13:09:46] :	 [Step 1/2] [124/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/util_tests.cpp.o
[13:09:47] :	 [Step 1/2] [125/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/script_tests.cpp.o
[13:09:47] :	 [Step 1/2] In file included from ../depends/aarch64-linux-gnu/include/boost/test/unit_test.hpp:19,
[13:09:47] :	 [Step 1/2]                  from ../src/test/script_tests.cpp:30:
[13:09:47] :	 [Step 1/2] ../src/test/script_tests.cpp: In member function ‘void script_tests::script_build::test_method()’:
[13:09:47] :	 [Step 1/2] ../src/test/script_tests.cpp:541:22: note: variable tracking size limit exceeded with -fvar-tracking-assignments, retrying without
[13:09:47] :	 [Step 1/2]  BOOST_AUTO_TEST_CASE(script_build) {
[13:09:47] :	 [Step 1/2]                       ^~~~~~~~~~~~
[13:09:50] :	 [Step 1/2] [126/126] Linking CXX executable src/test/test_bitcoin
[13:09:50]W:	 [Step 1/2] + TEST_BITCOIN_JUNIT=junit_results_unit_tests_for_Linux_AArch64.xml
[13:09:50]W:	 [Step 1/2] + TEST_BITCOIN_SUITE_NAME='Bitcoin ABC unit tests for Linux AArch64'
[13:09:50]W:	 [Step 1/2] + ASAN_OPTIONS=malloc_context_size=0:log_path=/tmp/sanitizer_logs/asan.log
[13:09:50]W:	 [Step 1/2] + LSAN_OPTIONS=suppressions=/work/test/sanitizer_suppressions/lsan:log_path=/tmp/sanitizer_logs/lsan.log
[13:09:50]W:	 [Step 1/2] + TSAN_OPTIONS=suppressions=/work/test/sanitizer_suppressions/tsan:log_path=/tmp/sanitizer_logs/tsan.log
[13:09:50]W:	 [Step 1/2] + UBSAN_OPTIONS=suppressions=/work/test/sanitizer_suppressions/ubsan:print_stacktrace=1:halt_on_error=1:log_path=/tmp/sanitizer_logs/ubsan.log
[13:09:50]W:	 [Step 1/2] + ./src/test/test_bitcoin --logger=HRF:JUNIT,message,junit_results_unit_tests_for_Linux_AArch64.xml -- '-testsuitename=Bitcoin ABC unit tests for Linux AArch64'
[13:09:50]W:	 [Step 1/2] ./contrib/teamcity/build-configurations.sh: line 58: ./src/test/test_bitcoin: cannot execute binary file: Exec format error
[13:09:54]W:	 [Step 1/2] cp: cannot stat '/work/ibd/debug.log': No such file or directory
[13:10:15]W:	 [Step 1/2] Process exited with code 126
[13:10:15]E:	 [Step 1/2] Process exited with code 126 (Step: Command Line)
Fabien planned changes to this revision.Apr 28 2020, 13:15

Looks like there is something to add to docker to make it work

Rebase on top of the cmake crosscompiling emulator stack (last is D5879).

Fabien planned changes to this revision.Apr 29 2020, 13:04

Pending successful CI build

Snippet of first build failure:

[13:21:32] :	 [Step 1/2] [84/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/rpc_server_tests.cpp.o
[13:21:32] :	 [Step 1/2] [85/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/scheduler_tests.cpp.o
[13:21:33] :	 [Step 1/2] [86/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/script_commitment_tests.cpp.o
[13:21:34] :	 [Step 1/2] [87/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/radix_tests.cpp.o
[13:21:35] :	 [Step 1/2] [88/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/schnorr_tests.cpp.o
[13:21:38] :	 [Step 1/2] [89/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/script_p2sh_tests.cpp.o
[13:21:38] :	 [Step 1/2] [90/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/rpc_tests.cpp.o
[13:21:39] :	 [Step 1/2] [91/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/scriptnum_tests.cpp.o
[13:21:40] :	 [Step 1/2] [92/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/script_standard_tests.cpp.o
[13:21:43] :	 [Step 1/2] [93/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/sigencoding_tests.cpp.o
[13:21:43] :	 [Step 1/2] [94/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/sigcache_tests.cpp.o
[13:21:44] :	 [Step 1/2] [95/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/serialize_tests.cpp.o
[13:21:44] :	 [Step 1/2] [96/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/sighashtype_tests.cpp.o
[13:21:45] :	 [Step 1/2] [97/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/sigcheckcount_tests.cpp.o
[13:21:46] :	 [Step 1/2] [98/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/sigopcount_tests.cpp.o
[13:21:46] :	 [Step 1/2] [99/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/streams_tests.cpp.o
[13:21:47] :	 [Step 1/2] [100/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/skiplist_tests.cpp.o
[13:21:48] :	 [Step 1/2] [101/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/sync_tests.cpp.o
[13:21:48] :	 [Step 1/2] [102/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/sighash_tests.cpp.o
[13:21:49] :	 [Step 1/2] [103/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/timedata_tests.cpp.o
[13:21:52] :	 [Step 1/2] [104/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/torcontrol_tests.cpp.o
[13:21:54] :	 [Step 1/2] [105/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/work_comparator_tests.cpp.o
[13:21:55] :	 [Step 1/2] [106/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/txindex_tests.cpp.o
[13:21:57] :	 [Step 1/2] [107/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/undo_tests.cpp.o
[13:21:57] :	 [Step 1/2] [108/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/txvalidation_tests.cpp.o
[13:21:57] :	 [Step 1/2] [109/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/util_threadnames_tests.cpp.o
[13:22:00] :	 [Step 1/2] [110/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/uint256_tests.cpp.o
[13:22:00] :	 [Step 1/2] [111/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/versionbits_tests.cpp.o
[13:22:00] :	 [Step 1/2] [112/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/transaction_tests.cpp.o
[13:22:00] :	 [Step 1/2] [113/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/txvalidationcache_tests.cpp.o
[13:22:01] :	 [Step 1/2] [114/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/validation_block_tests.cpp.o
[13:22:02] :	 [Step 1/2] [115/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/validation_tests.cpp.o
[13:22:03] :	 [Step 1/2] [116/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/__/rpc/test/server_tests.cpp.o
[13:22:06] :	 [Step 1/2] [117/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/__/wallet/test/db_tests.cpp.o
[13:22:08] :	 [Step 1/2] [118/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/__/wallet/test/init_tests.cpp.o
[13:22:10] :	 [Step 1/2] [119/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/__/wallet/test/wallet_crypto_tests.cpp.o
[13:22:12] :	 [Step 1/2] [120/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/__/wallet/test/walletdb_tests.cpp.o
[13:22:12] :	 [Step 1/2] [121/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/__/wallet/test/psbt_wallet_tests.cpp.o
[13:22:14] :	 [Step 1/2] [122/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/__/wallet/test/coinselector_tests.cpp.o
[13:22:14] :	 [Step 1/2] [123/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/__/wallet/test/wallet_tests.cpp.o
[13:22:15] :	 [Step 1/2] [124/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/script_tests.cpp.o
[13:22:15] :	 [Step 1/2] In file included from ../depends/aarch64-linux-gnu/include/boost/test/unit_test.hpp:19,
[13:22:15] :	 [Step 1/2]                  from ../src/test/script_tests.cpp:30:
[13:22:15] :	 [Step 1/2] ../src/test/script_tests.cpp: In member function ‘void script_tests::script_build::test_method()’:
[13:22:15] :	 [Step 1/2] ../src/test/script_tests.cpp:541:22: note: variable tracking size limit exceeded with -fvar-tracking-assignments, retrying without
[13:22:15] :	 [Step 1/2]  BOOST_AUTO_TEST_CASE(script_build) {
[13:22:15] :	 [Step 1/2]                       ^~~~~~~~~~~~
[13:22:18] :	 [Step 1/2] [125/126] Building CXX object src/test/CMakeFiles/test_bitcoin.dir/util_tests.cpp.o
[13:22:21] :	 [Step 1/2] [126/126] Linking CXX executable src/test/test_bitcoin
[13:22:21]W:	 [Step 1/2] + TEST_BITCOIN_JUNIT=junit_results_unit_tests_for_Linux_AArch64.xml
[13:22:21]W:	 [Step 1/2] + TEST_BITCOIN_SUITE_NAME='Bitcoin ABC unit tests for Linux AArch64'
[13:22:21]W:	 [Step 1/2] + ASAN_OPTIONS=malloc_context_size=0:log_path=/tmp/sanitizer_logs/asan.log
[13:22:21]W:	 [Step 1/2] + LSAN_OPTIONS=suppressions=/work/test/sanitizer_suppressions/lsan:log_path=/tmp/sanitizer_logs/lsan.log
[13:22:21]W:	 [Step 1/2] + TSAN_OPTIONS=suppressions=/work/test/sanitizer_suppressions/tsan:log_path=/tmp/sanitizer_logs/tsan.log
[13:22:21]W:	 [Step 1/2] + UBSAN_OPTIONS=suppressions=/work/test/sanitizer_suppressions/ubsan:print_stacktrace=1:halt_on_error=1:log_path=/tmp/sanitizer_logs/ubsan.log
[13:22:21]W:	 [Step 1/2] + ./src/test/test_bitcoin --logger=HRF:JUNIT,message,junit_results_unit_tests_for_Linux_AArch64.xml -- '-testsuitename=Bitcoin ABC unit tests for Linux AArch64'
[13:22:21]W:	 [Step 1/2] ./contrib/teamcity/build-configurations.sh: line 58: ./src/test/test_bitcoin: cannot execute binary file: Exec format error
[13:22:22]W:	 [Step 1/2] cp: cannot stat '/work/ibd/debug.log': No such file or directory
[13:22:35]W:	 [Step 1/2] Process exited with code 126
[13:22:35]E:	 [Step 1/2] Process exited with code 126 (Step: Command Line)

Cannot run test_bitcoin directly if the emulator is to be used, replaced by ninja check.

Snippet of first build failure:

2020-04-29T13:44:51.765000Z TestFramework (INFO): Stopping nodes
2020-04-29T13:44:52.072000Z TestFramework (INFO): Cleaning up /work/build/test/tmp/bitcoin_test_runner_20200429_134150/wallet_txn_clone_234 on exit
2020-04-29T13:44:52.072000Z TestFramework (INFO): Tests successful
[13:45:18]i:		 [Bitcoin ABC functional tests] wallet_txn_clone.py --mineblock
[13:45:18]i:			 [wallet_txn_clone.py --mineblock] [Test Output]
2020-04-29T13:44:50.594000Z TestFramework (INFO): Initializing test directory /work/build/test/tmp/bitcoin_test_runner_20200429_134150/wallet_txn_clone_235
2020-04-29T13:44:54.483000Z TestFramework (INFO): Stopping nodes
2020-04-29T13:44:54.691000Z TestFramework (INFO): Cleaning up /work/build/test/tmp/bitcoin_test_runner_20200429_134150/wallet_txn_clone_235 on exit
2020-04-29T13:44:54.691000Z TestFramework (INFO): Tests successful
[13:45:18]i:		 [Bitcoin ABC functional tests] wallet_txn_doublespend.py
[13:45:18]i:			 [wallet_txn_doublespend.py] [Test Output]
2020-04-29T13:44:50.898000Z TestFramework (INFO): Initializing test directory /work/build/test/tmp/bitcoin_test_runner_20200429_134150/wallet_txn_doublespend_236
2020-04-29T13:44:53.696000Z TestFramework (INFO): Stopping nodes
2020-04-29T13:44:54.005000Z TestFramework (INFO): Cleaning up /work/build/test/tmp/bitcoin_test_runner_20200429_134150/wallet_txn_doublespend_236 on exit
2020-04-29T13:44:54.005000Z TestFramework (INFO): Tests successful
[13:45:18]i:		 [Bitcoin ABC functional tests] wallet_txn_doublespend.py --mineblock
[13:45:18]i:			 [wallet_txn_doublespend.py --mineblock] [Test Output]
2020-04-29T13:44:50.994000Z TestFramework (INFO): Initializing test directory /work/build/test/tmp/bitcoin_test_runner_20200429_134150/wallet_txn_doublespend_237
2020-04-29T13:44:54.891000Z TestFramework (INFO): Stopping nodes
2020-04-29T13:44:55.098000Z TestFramework (INFO): Cleaning up /work/build/test/tmp/bitcoin_test_runner_20200429_134150/wallet_txn_doublespend_237 on exit
2020-04-29T13:44:55.098000Z TestFramework (INFO): Tests successful
[13:45:18]i:		 [Bitcoin ABC functional tests] wallet_zapwallettxes.py
[13:45:18]i:			 [wallet_zapwallettxes.py] [Test Output]
2020-04-29T13:44:27.915000Z TestFramework (INFO): Initializing test directory /work/build/test/tmp/bitcoin_test_runner_20200429_134150/wallet_zapwallettxes_213
2020-04-29T13:44:28.641000Z TestFramework (INFO): Mining blocks...
2020-04-29T13:44:34.500000Z TestFramework (INFO): Stopping nodes
2020-04-29T13:44:34.856000Z TestFramework (INFO): Cleaning up /work/build/test/tmp/bitcoin_test_runner_20200429_134150/wallet_zapwallettxes_213 on exit
2020-04-29T13:44:34.856000Z TestFramework (INFO): Tests successful
[13:45:18]i:		 [Bitcoin ABC functional tests] interface_zmq.py
[13:45:18]i:			 [interface_zmq.py] Test ignored: interface_zmq.py
[13:45:18]i:		 [Bitcoin ABC functional tests] [Test Output]
2020-04-29T13:44:36.331000Z TestFramework (WARNING): Test Skipped: bitcoind has not been built with zmq enabled.
2020-04-29T13:44:36.381000Z TestFramework (INFO): Stopping nodes
2020-04-29T13:44:36.381000Z TestFramework (INFO): Cleaning up /work/build/test/tmp/bitcoin_test_runner_20200429_134150/interface_zmq_222 on exit
2020-04-29T13:44:36.381000Z TestFramework (INFO): Test skipped
[13:45:18]i:		 [Bitcoin ABC functional tests] tool_wallet.py
[13:45:18]i:			 [tool_wallet.py] [Test Output]
2020-04-29T13:44:43.386000Z TestFramework (INFO): Initializing test directory /work/build/test/tmp/bitcoin_test_runner_20200429_134150/tool_wallet_229
2020-04-29T13:44:43.938000Z TestFramework (ERROR): Unexpected exception caught during testing
Traceback (most recent call last):
  File "/work/test/functional/test_framework/test_framework.py", line 165, in main
    self.run_test()
  File "/work/test/functional/tool_wallet.py", line 47, in run_test
    self.assert_raises_tool_error('Invalid command: foo', 'foo')
  File "/work/test/functional/tool_wallet.py", line 32, in assert_raises_tool_error
    p = self.bitcoin_wallet_process(*args)
  File "/work/test/functional/tool_wallet.py", line 29, in bitcoin_wallet_process
    stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True)
  File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 8] Exec format error: '/work/build/src/bitcoin-wallet'
2020-04-29T13:44:43.990000Z TestFramework (INFO): Stopping nodes
2020-04-29T13:44:44.299000Z TestFramework (WARNING): Not cleaning up dir /work/build/test/tmp/bitcoin_test_runner_20200429_134150/tool_wallet_229
2020-04-29T13:44:44.299000Z TestFramework (ERROR): Test failed. Test logging available at /work/build/test/tmp/bitcoin_test_runner_20200429_134150/tool_wallet_229/test_framework.log
2020-04-29T13:44:44.299000Z TestFramework (ERROR): Hint: Call /work/test/functional/combine_logs.py '/work/build/test/tmp/bitcoin_test_runner_20200429_134150/tool_wallet_229' to consolidate all logs
[13:45:19]E:	 [Step 1/2] Failed tests detected
[13:45:25]W:	 [Step 1/2] Process exited with code 1
[13:45:25]E:	 [Step 1/2] Process exited with code 1 (Step: Command Line)

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

Fabien planned changes to this revision.Apr 29 2020, 18:50
Fabien edited the summary of this revision. (Show Details)
deadalnix requested changes to this revision.Apr 29 2020, 21:26
deadalnix added a subscriber: deadalnix.
deadalnix added inline comments.
contrib/teamcity/build-configurations.sh
345 ↗(On Diff #19252)

If that is required, then it looks like you have some bug fixes to go through.

This revision now requires changes to proceed.Apr 29 2020, 21:26
This revision is now accepted and ready to land.Apr 30 2020, 15:03
Fabien edited the summary of this revision. (Show Details)

Rebase

This revision was automatically updated to reflect the committed changes.