Can someone please help me. I am getting this weird error while running unit tests. Although I haven't disabled anything the output throws multiple lines saying Testsuite is skipped because disabled.
I am not sure but may be it's because I didn't setup the bitcoin core right or something. If so could someone please help me in setting it up the right way.
Note: I have already read the guides and followed all the necessary steps and did the research on forum and google. Didn't help!
Bitcoin Client Software and Version Number: Bitcoin Core 0.20.99
Operating System: 5.8.11-1-MANJARO XFCE
System Hardware Specs: 8 GB Ram with AMD Ryzen 5 3500U and 240 GB SSD
Description of Problem: I have been trying to setup the bitcoin core environment to start contributing towards bitcoin but I am struck in the initial phase.
First I was having problems with installing Berkeley DB4 and spent a week over it and now since that is done and when I run 'make check' to run the unit tests I get below error.
test/arith_uint256_tests.cpp(18): Test suite "arith_uint256_tests" is skipped because disabled
test/addrman_tests.cpp(123): Test suite "addrman_tests" is skipped because disabled
test/amount_tests.cpp(11): Test suite "amount_tests" is skipped because disabled
test/allocator_tests.cpp(14): Test suite "allocator_tests" is skipped because disabled
test/base32_tests.cpp(10): Test suite "base32_tests" is skipped because disabled
test/base58_tests.cpp(19): Test suite "base58_tests" is skipped because disabled
test/base64_tests.cpp(10): Test suite "base64_tests" is skipped because disabled
test/bech32_tests.cpp(11): Test suite "bech32_tests" is skipped because disabled
test/bip32_tests.cpp(124): Test suite "bip32_tests" is skipped because disabled
test/blockchain_tests.cpp(50): Test suite "blockchain_tests" is skipped because disabled
test/blockencodings_tests.cpp(17): Test suite "blockencodings_tests" is skipped because disabled
test/blockfilter_tests.cpp(17): Test suite "blockfilter_tests" is skipped because disabled
test/blockfilter_index_tests.cpp(19): Test suite "blockfilter_index_tests" is skipped because disabled
test/bloom_tests.cpp(24): Test suite "bloom_tests" is skipped because disabled
test/bswap_tests.cpp(10): Test suite "bswap_tests" is skipped because disabled
test/checkqueue_tests.cpp(23): Test suite "checkqueue_tests" is skipped because disabled
test/coins_tests.cpp(100): Test suite "coins_tests" is skipped because disabled
test/compilerbug_tests.cpp(8): Test suite "compilerbug_tests" is skipped because disabled
test/compress_tests.cpp(25): Test suite "compress_tests" is skipped because disabled
test/crypto_tests.cpp(25): Test suite "crypto_tests" is skipped because disabled
test/cuckoocache_tests.cpp(25): Test suite "cuckoocache_tests" is skipped because disabled
test/denialofservice_tests.cpp(69): Test suite "denialofservice_tests" is skipped because disabled
test/descriptor_tests.cpp(282): Test suite "descriptor_tests" is skipped because disabled
test/flatfile_tests.cpp(13): Test suite "flatfile_tests" is skipped because disabled
test/fs_tests.cpp(11): Test suite "fs_tests" is skipped because disabled
test/getarg_tests.cpp(25): Test suite "getarg_tests" is skipped because disabled
test/hash_tests.cpp(13): Test suite "hash_tests" is skipped because disabled
test/interfaces_tests.cpp(16): Test suite "interfaces_tests" is skipped because disabled
test/key_io_tests.cpp(20): Test suite "key_io_tests" is skipped because disabled
test/key_tests.cpp(32): Test suite "key_tests" is skipped because disabled
test/limitedmap_tests.cpp(11): Test suite "limitedmap_tests" is skipped because disabled
test/logging_tests.cpp(13): Test suite "logging_tests" is skipped because disabled
test/dbwrapper_tests.cpp(24): Test suite "dbwrapper_tests" is skipped because disabled
test/validation_tests.cpp(14): Test suite "validation_tests" is skipped because disabled
test/mempool_tests.cpp(15): Test suite "mempool_tests" is skipped because disabled
test/merkle_tests.cpp(10): Test suite "merkle_tests" is skipped because disabled
test/merkleblock_tests.cpp(12): Test suite "merkleblock_tests" is skipped because disabled
test/miner_tests.cpp(37): Test suite "miner_tests" is skipped because disabled
test/multisig_tests.cpp(19): Test suite "multisig_tests" is skipped because disabled
test/net_tests.cpp(86): Test suite "net_tests" is skipped because disabled
test/netbase_tests.cpp(19): Test suite "netbase_tests" is skipped because disabled
test/pmt_tests.cpp(29): Test suite "pmt_tests" is skipped because disabled
test/policy_fee_tests.cpp(12): Test suite "policy_fee_tests" is skipped because disabled
test/policyestimator_tests.cpp(15): Test suite "policyestimator_tests" is skipped because disabled
test/pow_tests.cpp(12): Test suite "pow_tests" is skipped because disabled
test/prevector_tests.cpp(16): Test suite "prevector_tests" is skipped because disabled
test/raii_event_tests.cpp(16): Test suite "raii_event_tests" is skipped because disabled
test/random_tests.cpp(14): Test suite "random_tests" is skipped because disabled
test/ref_tests.cpp(9): Test suite "ref_tests" is skipped because disabled
test/reverselock_tests.cpp(10): Test suite "reverselock_tests" is skipped because disabled
test/rpc_tests.cpp(51): Test suite "rpc_tests" is skipped because disabled
test/sanity_tests.cpp(11): Test suite "sanity_tests" is skipped because disabled
test/scheduler_tests.cpp(14): Test suite "scheduler_tests" is skipped because disabled
test/script_p2sh_tests.cpp(48): Test suite "script_p2sh_tests" is skipped because disabled
test/script_tests.cpp(123): Test suite "script_tests" is skipped because disabled
test/script_standard_tests.cpp(14): Test suite "script_standard_tests" is skipped because disabled
test/scriptnum_tests.cpp(13): Test suite "scriptnum_tests" is skipped because disabled
test/serialize_tests.cpp(15): Test suite "serialize_tests" is skipped because disabled
test/settings_tests.cpp(44): Test suite "settings_tests" is skipped because disabled
test/sighash_tests.cpp(117): Test suite "sighash_tests" is skipped because disabled
test/sigopcount_tests.cpp(26): Test suite "sigopcount_tests" is skipped because disabled
test/skiplist_tests.cpp(14): Test suite "skiplist_tests" is skipped because disabled
test/streams_tests.cpp(10): Test suite "streams_tests" is skipped because disabled
test/sync_tests.cpp(34): Test suite "sync_tests" is skipped because disabled
test/system_tests.cpp(15): Test suite "system_tests" is skipped because disabled
test/util_threadnames_tests.cpp(20): Test suite "util_threadnames_tests" is skipped because disabled
test/timedata_tests.cpp(19): Test suite "timedata_tests" is skipped because disabled
test/torcontrol_tests.cpp(18): Test suite "torcontrol_tests" is skipped because disabled
test/transaction_tests.cpp(97): Test suite "transaction_tests" is skipped because disabled
test/txindex_tests.cpp(13): Test suite "txindex_tests" is skipped because disabled
test/txvalidation_tests.cpp(14): Test suite "txvalidation_tests" is skipped because disabled
test/txvalidationcache_tests.cpp(18): Test suite "txvalidationcache_tests" is skipped because disabled
test/uint256_tests.cpp(17): Test suite "uint256_tests" is skipped because disabled
test/util_tests.cpp(43): Test suite "util_tests" is skipped because disabled
test/validation_block_tests.cpp(33): Test suite "validation_block_tests" is skipped because disabled
test/validation_chainstate_tests.cpp(16): Test suite "validation_chainstate_tests" is skipped because disabled
test/validation_chainstatemanager_tests.cpp(18): Test suite "validation_chainstatemanager_tests" is skipped because disabled
test/validation_flush_tests.cpp(12): Test suite "validation_flush_tests" is skipped because disabled
test/validationinterface_tests.cpp(13): Test suite "validationinterface_tests" is skipped because disabled
test/versionbits_tests.cpp(159): Test suite "versionbits_tests" is skipped because disabled
wallet/test/db_tests.cpp(14): Test suite "db_tests" is skipped because disabled
There are many lines with the same output. Also, I tried to run the functional test but I get the below error.stderr:
Traceback (most recent call last):
File "/home/buzz/Softwares/bccore/bitcoin/blockchain_fundamentals/bitcoin/test/functional/wallet_address_types.py", line 370, in
AddressTypeTest().main()
File "/home/buzz/Softwares/bccore/bitcoin/blockchain_fundamentals/bitcoin/test/functional/test_framework/test_framework.py", line 149, in main
exit_code = self.shutdown()
File "/home/buzz/Softwares/bccore/bitcoin/blockchain_fundamentals/bitcoin/test/functional/test_framework/test_framework.py", line 273, in shutdown
self.stop_nodes()
File "/home/buzz/Softwares/bccore/bitcoin/blockchain_fundamentals/bitcoin/test/functional/test_framework/test_framework.py", line 521, in stop_nodes
node.wait_until_stopped()
File "/home/buzz/Softwares/bccore/bitcoin/blockchain_fundamentals/bitcoin/test/functional/test_framework/test_node.py", line 362, in wait_until_stopped
wait_until_helper(self.is_node_stopped, timeout=timeout, timeout_factor=self.timeout_factor)
File "/home/buzz/Softwares/bccore/bitcoin/blockchain_fundamentals/bitcoin/test/functional/test_framework/util.py", line 250, in wait_until_helper
if predicate():
File "/home/buzz/Softwares/bccore/bitcoin/blockchain_fundamentals/bitcoin/test/functional/test_framework/test_node.py", line 352, in is_node_stopped
assert return_code == 0, self._node_msg(
AssertionError: [node 0] Node returned non-zero exit code (-11) when stopping
Screenshot of the problem:
Log Files from the Bitcoin Client:
https://pastebin.com/A7rLiSGq