BTCPrivate / BTCP-Rebase

Work in progress. DO NOT USE.
https://btcprivate.org
Other
113 stars 23 forks source link

[tests] Results of all Bitcoin unit tests in src/test #63

Open ch4ot1c opened 6 years ago

ch4ot1c commented 6 years ago

Bitcoin Unit Tests - Initial Results

Ran all subtests in src/test, one by one. Travis CI should be made to do this process automatically.

Please make a separate Github Issue for each resolved test file.

Example: ./src/test/test_bitcoin --log_level=all|error --run_test=bloom_tests

Individual Test Results:

src/test/pow_tests.cpp has 1 failure like:

test/pow_tests.cpp(40): Entering test case "get_next_work_pow_limit"
test/pow_tests.cpp(50): error: in "pow_tests/get_next_work_pow_limit": check 0x1f07ffff == CalculateNextWorkRequired(bnAvg, nThisTime, nLastRetargetTime, params) has failed [520617983 != 520785754]
test/pow_tests.cpp(40): Leaving test case "get_next_work_pow_limit"; testing time: 1838us

src/test/bloom_tests.cpp has 8 failures like:

dsktp@dsktp-VirtualBox:~/BTCP-Rebase$ ./src/test/test_bitcoin --log_level=all --run_test=bloom_tests
Running 12 test cases...
Entering test module "Bitcoin Test Suite"
test/bloom_tests.cpp(24): Entering test suite "bloom_tests"
test/bloom_tests.cpp(26): Entering test case "bloom_create_insert_serialize"
test/bloom_tests.cpp(31): info: check 'Bloom filter doesn't contain just-inserted object!' has passed
test/bloom_tests.cpp(33): info: check 'Bloom filter contains something it shouldn't!' has passed
test/bloom_tests.cpp(36): info: check 'Bloom filter doesn't contain just-inserted object (2)!' has passed
test/bloom_tests.cpp(39): info: check 'Bloom filter doesn't contain just-inserted object (3)!' has passed
test/bloom_tests.cpp(50): info: check { stream.begin(), stream.end() } == { expected.begin(), expected.end() } has passed
test/bloom_tests.cpp(52): info: check 'Bloom filter doesn't contain just-inserted object!' has passed
test/bloom_tests.cpp(54): info: check 'Bloom filter should be empty!' has passed
test/bloom_tests.cpp(26): Leaving test case "bloom_create_insert_serialize"; testing time: 9522us
test/bloom_tests.cpp(57): Entering test case "bloom_create_insert_serialize_with_tweak"
test/bloom_tests.cpp(63): info: check 'Bloom filter doesn't contain just-inserted object!' has passed
test/bloom_tests.cpp(65): info: check 'Bloom filter contains something it shouldn't!' has passed
test/bloom_tests.cpp(68): info: check 'Bloom filter doesn't contain just-inserted object (2)!' has passed
test/bloom_tests.cpp(71): info: check 'Bloom filter doesn't contain just-inserted object (3)!' has passed
test/bloom_tests.cpp(82): info: check { stream.begin(), stream.end() } == { expected.begin(), expected.end() } has passed
test/bloom_tests.cpp(57): Leaving test case "bloom_create_insert_serialize_with_tweak"; testing time: 1789us
test/bloom_tests.cpp(85): Entering test case "bloom_create_insert_key"
test/bloom_tests.cpp(106): info: check { stream.begin(), stream.end() } == { expected.begin(), expected.end() } has passed
test/bloom_tests.cpp(85): Leaving test case "bloom_create_insert_key"; testing time: 1727us
test/bloom_tests.cpp(109): Entering test case "bloom_match"
test/bloom_tests.cpp(123): info: check 'Simple Bloom filter didn't match tx hash' has passed
test/bloom_tests.cpp(128): info: check 'Simple Bloom filter didn't match manually serialized tx hash' has passed
test/bloom_tests.cpp(132): info: check 'Simple Bloom filter didn't match input signature' has passed
test/bloom_tests.cpp(136): info: check 'Simple Bloom filter didn't match input pub key' has passed
test/bloom_tests.cpp(140): info: check 'Simple Bloom filter didn't match output address' has passed
test/bloom_tests.cpp(141): info: check 'Simple Bloom filter didn't add output' has passed
test/bloom_tests.cpp(145): info: check 'Simple Bloom filter didn't match output address' has passed
test/bloom_tests.cpp(149): info: check 'Simple Bloom filter didn't match COutPoint' has passed
test/bloom_tests.cpp(159): info: check 'Simple Bloom filter didn't match manually serialized COutPoint' has passed
test/bloom_tests.cpp(163): info: check 'Simple Bloom filter matched random tx hash' has passed
test/bloom_tests.cpp(167): info: check 'Simple Bloom filter matched random address' has passed
test/bloom_tests.cpp(171): info: check 'Simple Bloom filter matched COutPoint for an output we didn't care about' has passed
test/bloom_tests.cpp(175): info: check 'Simple Bloom filter matched COutPoint for an output we didn't care about' has passed
test/bloom_tests.cpp(109): Leaving test case "bloom_match"; testing time: 1816us
test/bloom_tests.cpp(178): Entering test case "merkle_block_1"
test_bitcoin: merkleblock.cpp:43: uint256 CPartialMerkleTree::CalcHash(int, unsigned int, const std::vector<uint256>&): Assertion `vTxid.size() != 0' failed.
unknown location(0): fatal error: in "bloom_tests/merkle_block_1": signal: SIGABRT (application abort requested)
test/bloom_tests.cpp(178): last checkpoint: "merkle_block_1" entry.
test/bloom_tests.cpp(178): Leaving test case "merkle_block_1"; testing time: 1797us
test/bloom_tests.cpp(219): Entering test case "merkle_block_2"
test_bitcoin: key.cpp:324: void ECC_Start(): Assertion `secp256k1_context_sign == nullptr' failed.
unknown location(0): fatal error: in "bloom_tests/merkle_block_2": signal: SIGABRT (application abort requested)
test/bloom_tests.cpp(219): last checkpoint: "merkle_block_2" fixture entry.
test/bloom_tests.cpp(219): Leaving test case "merkle_block_2"; testing time: 271us
test/bloom_tests.cpp(274): Entering test case "merkle_block_2_with_update_none"
test_bitcoin: key.cpp:324: void ECC_Start(): Assertion `secp256k1_context_sign == nullptr' failed.
unknown location(0): fatal error: in "bloom_tests/merkle_block_2_with_update_none": signal: SIGABRT (application abort requested)
test/bloom_tests.cpp(274): last checkpoint: "merkle_block_2_with_update_none" fixture entry.
test/bloom_tests.cpp(274): Leaving test case "merkle_block_2_with_update_none"; testing time: 257us
test/bloom_tests.cpp(326): Entering test case "merkle_block_3_and_serialize"
test_bitcoin: key.cpp:324: void ECC_Start(): Assertion `secp256k1_context_sign == nullptr' failed.
unknown location(0): fatal error: in "bloom_tests/merkle_block_3_and_serialize": signal: SIGABRT (application abort requested)
test/bloom_tests.cpp(326): last checkpoint: "merkle_block_3_and_serialize" fixture entry.
test/bloom_tests.cpp(326): Leaving test case "merkle_block_3_and_serialize"; testing time: 262us
test/bloom_tests.cpp(365): Entering test case "merkle_block_4"
test_bitcoin: key.cpp:324: void ECC_Start(): Assertion `secp256k1_context_sign == nullptr' failed.
unknown location(0): fatal error: in "bloom_tests/merkle_block_4": signal: SIGABRT (application abort requested)
test/bloom_tests.cpp(365): last checkpoint: "merkle_block_4" fixture entry.
test/bloom_tests.cpp(365): Leaving test case "merkle_block_4"; testing time: 273us
test/bloom_tests.cpp(411): Entering test case "merkle_block_4_test_p2pubkey_only"
test_bitcoin: key.cpp:324: void ECC_Start(): Assertion `secp256k1_context_sign == nullptr' failed.
unknown location(0): fatal error: in "bloom_tests/merkle_block_4_test_p2pubkey_only": signal: SIGABRT (application abort requested)
test/bloom_tests.cpp(411): last checkpoint: "merkle_block_4_test_p2pubkey_only" fixture entry.
test/bloom_tests.cpp(411): Leaving test case "merkle_block_4_test_p2pubkey_only"; testing time: 261us
test/bloom_tests.cpp(434): Entering test case "merkle_block_4_test_update_none"
test_bitcoin: key.cpp:324: void ECC_Start(): Assertion `secp256k1_context_sign == nullptr' failed.
unknown location(0): fatal error: in "bloom_tests/merkle_block_4_test_update_none": signal: SIGABRT (application abort requested)
test/bloom_tests.cpp(434): last checkpoint: "merkle_block_4_test_update_none" fixture entry.
test/bloom_tests.cpp(434): Leaving test case "merkle_block_4_test_update_none"; testing time: 248us
test/bloom_tests.cpp(462): Entering test case "rolling_bloom"
test_bitcoin: key.cpp:324: void ECC_Start(): Assertion `secp256k1_context_sign == nullptr' failed.
unknown location(0): fatal error: in "bloom_tests/rolling_bloom": signal: SIGABRT (application abort requested)
test/bloom_tests.cpp(462): last checkpoint: "rolling_bloom" fixture entry.
test/bloom_tests.cpp(462): Leaving test case "rolling_bloom"; testing time: 243us
test/bloom_tests.cpp(24): Leaving test suite "bloom_tests"; testing time: 18598us
Leaving test module "Bitcoin Test Suite"; testing time: 18651us

*** 8 failures are detected in the test module "Bitcoin Test Suite"

src/test/coins_tests is an infinite loop (?)

src/test/key_io_tests has 113 failures like:

test/key_io_tests.cpp(113): error: in "key_io_tests/key_io_valid_gen": check address == exp_base58string has failed [b17HDPvBwcwtj3GABR4jWMKzr4uEuuPfGv8 != 13p1ijLwsnrcuyqcTvJXkq2ASdXqcnEBLE]
test/key_io_tests.cpp(113): error: in "key_io_tests/key_io_valid_gen": check address == exp_base58string has failed [bxjkiun2TFA9qAYMek7NBFDVw3AMgCh6mT6 != 3ALJH9Y951VCGcVZYAdpA3KchoP9McEj1G]
test/key_io_tests.cpp(113): error: in "key_io_tests/key_io_valid_gen": check address == exp_base58string has failed [btcp1qw508d6qejxtdg4y5r3zarvary0c5xw7k250azd != bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4]
test/key_io_tests.cpp(113): error: in "key_io_tests/key_io_valid_gen": check address == exp_base58string has failed [regbtcp1qw508d6qejxtdg4y5r3zarvary0c5xw7k539cu2 != bcrt1qw508d6qejxtdg4y5r3zarvary0c5xw7kygt080]

src/test/key_tests has 4 failures like:

test/key_tests.cpp(68): info: check !key2C.VerifyPubKey(pubkey2) has passed
test/key_tests.cpp(69): info: check key2C.VerifyPubKey(pubkey2C) has passed
test/key_tests.cpp(71): error: in "key_tests/key_test1": check DecodeDestination(addr1) == CTxDestination(pubkey1.GetID()) has failed
test/key_tests.cpp(72): error: in "key_tests/key_test1": check DecodeDestination(addr2) == CTxDestination(pubkey2.GetID()) has failed
test/key_tests.cpp(73): error: in "key_tests/key_test1": check DecodeDestination(addr1C) == CTxDestination(pubkey1C.GetID()) has failed
test/key_tests.cpp(74): error: in "key_tests/key_test1": check DecodeDestination(addr2C) == CTxDestination(pubkey2C.GetID()) has failed
test/key_tests.cpp(85): info: check key1.Sign (hashMsg, sign1) has passed
test/key_tests.cpp(86): info: check key2.Sign (hashMsg, sign2) has passed

src/test/main_tests has 11 failures like:

test/main_tests.cpp(54): info: check nSubsidy <= 50 * COIN has passed
test/main_tests.cpp(56): info: check MoneyRange(nSum) has passed
test/main_tests.cpp(58): error: in "main_tests/subsidy_limit_test": check nSum == CAmount{2099999997690000} has failed [397031247690000 != 2099999997690000]
test/main_tests.cpp(48): Leaving test case "subsidy_limit_test"; testing time: 79587us

src/test/merkle_tests has 2 failures like:

dsktp@dsktp-VirtualBox:~/BTCP-Rebase$ ./src/test/test_bitcoin --log_level=all --run_test=merkleblock_tests
Running 2 test cases...
Entering test module "Bitcoin Test Suite"
test/merkleblock_tests.cpp(12): Entering test suite "merkleblock_tests"
test/merkleblock_tests.cpp(18): Entering test case "merkleblock_construct_from_txids_found"
test_bitcoin: merkleblock.cpp:43: uint256 CPartialMerkleTree::CalcHash(int, unsigned int, const std::vector<uint256>&): Assertion `vTxid.size() != 0' failed.
unknown location(0): fatal error: in "merkleblock_tests/merkleblock_construct_from_txids_found": signal: SIGABRT (application abort requested)
test/merkleblock_tests.cpp(18): last checkpoint: "merkleblock_construct_from_txids_found" entry.
test/merkleblock_tests.cpp(18): Leaving test case "merkleblock_construct_from_txids_found"; testing time: 9590us
test/merkleblock_tests.cpp(59): Entering test case "merkleblock_construct_from_txids_not_found"
test_bitcoin: key.cpp:324: void ECC_Start(): Assertion `secp256k1_context_sign == nullptr' failed.
unknown location(0): fatal error: in "merkleblock_tests/merkleblock_construct_from_txids_not_found": signal: SIGABRT (application abort requested)

src/test/miner_tests has 2 failures like:

dsktp@dsktp-VirtualBox:~/BTCP-Rebase$ ./src/test/test_bitcoin --log_level=all --run_test=miner_tests
Running 1 test case...
Entering test module "Bitcoin Test Suite"
test/miner_tests.cpp(27): Entering test suite "miner_tests"
test/miner_tests.cpp(205): Entering test case "CreateNewBlock_validity"
test/miner_tests.cpp(222): info: check pblocktemplate = AssemblerForTest(chainparams).CreateNewBlock(scriptPubKey) has passed
test/miner_tests.cpp(258): info: check pblocktemplate = AssemblerForTest(chainparams).CreateNewBlock(scriptPubKey) has passed
test/miner_tests.cpp(283): error: in "miner_tests/CreateNewBlock_validity": exception "std::runtime_error" raised as expected: validation on the raised exception through predicate "HasReason("bad-blk-sigops")"
unknown location(0): fatal error: in "miner_tests/CreateNewBlock_validity": std::runtime_error: CreateNewBlock: TestBlockValidity failed: bad-txns-inputs-missingorspent, CheckTxInputs: inputs missing/spent (code 16)
test/miner_tests.cpp(297): last checkpoint
test/miner_tests.cpp(205): Leaving test case "CreateNewBlock_validity"; testing time: 1517252us
test/miner_tests.cpp(27): Leaving test suite "miner_tests"; testing time: 1517263us
Leaving test module "Bitcoin Test Suite"; testing time: 1517308us

src/test/rpc_tests has 1 failure like:

test/rpc_tests.cpp(100): Entering test case "rpc_rawsign"
test/rpc_tests.cpp(29): info: check tableRPC[strMethod] has passed
unknown location(0): fatal error: in "rpc_tests/rpc_rawsign": std::runtime_error: Invalid Bitcoin address: 3HqAe9LtNBjnsfM4CyYaWTnvCaUYT7v4oZ
test/rpc_tests.cpp(29): last checkpoint
test/rpc_tests.cpp(100): Leaving test case "rpc_rawsign"; testing time: 3448us

/src/test/test_bitcoin has 8 failures like:

test/script_P2SH_tests.cpp(117): error: in "script_P2SH_tests/sign": VerifySignature 0 0
test/script_P2SH_tests.cpp(117): error: in "script_P2SH_tests/sign": VerifySignature 1 1
test/script_P2SH_tests.cpp(117): error: in "script_P2SH_tests/sign": VerifySignature 2 2
test/script_P2SH_tests.cpp(117): error: in "script_P2SH_tests/sign": VerifySignature 3 3
test/script_P2SH_tests.cpp(117): error: in "script_P2SH_tests/sign": VerifySignature 4 4
test/script_P2SH_tests.cpp(117): error: in "script_P2SH_tests/sign": VerifySignature 5 5
test/script_P2SH_tests.cpp(117): error: in "script_P2SH_tests/sign": VerifySignature 6 6
test/script_P2SH_tests.cpp(117): error: in "script_P2SH_tests/sign": VerifySignature 7 7

src/test/script_tests has 1 failure like:

unknown location(0): fatal error: in "script_tests/script_json_test": std::runtime_error: script parse error
test/script_tests.cpp(179): last checkpoint

src/test/transaction_tests has 28 failures like:

test/transaction_tests.cpp(174): error: in "transaction_tests/tx_valid": [[["0000000000000000000000000000000000000000000000000000000000000100",0,"DUP HASH160 0x14 0x5b6462475454710f3c22f5fdf0b40704c92f25c3 EQUALVERIFY CHECKSIGVERIFY 1 0x47 0x3044022067288ea50aa799543a536ff9306f8e1cba05b9c6b10951175b924f96732555ed022026d7b5265f38d21541519e4a1e55044d5b9e17e15cdbaf29ae3792e99e883e7a01"]],"01000000010001000000000000000000000000000000000000000000000000000000000000000000006a473044022067288ea50aa799543a536ff9306f8e1cba05b9c6b10951175b924f96732555ed022026d7b5265f38d21541519e4a1e55044d5b9e17e15cdbaf29ae3792e99e883e7a012103ba8c8b86dea131c22ab967e6dd99bdae8eff7a1f75a2c35f1f944109e3fe5e22ffffffff010000000000000000015100000000","P2SH"]
test/transaction_tests.cpp(175): error: in "transaction_tests/tx_valid": Script failed an OP_CHECKSIGVERIFY operation
test/transaction_tests.cpp(174): error: in "transaction_tests/tx_valid": [[["0000000000000000000000000000000000000000000000000000000000000200",0,"1"],["0000000000000000000000000000000000000000000000000000000000000100",0,"DUP HASH160 0x14 0xe52b482f2faa8ecbf0db344f93c84ac908557f33 EQUALVERIFY CHECKSIG"]],"01000000020002000000000000000000000000000000000000000000000000000000000000000000000151ffffffff0001000000000000000000000000000000000000000000000000000000000000000000006b483045022100c9cdd08798a28af9d1baf44a6c77bcc7e279f47dc487c8c899911bc48feaffcc0220503c5c50ae3998a733263c5c0f7061b483e2b56c4c41b456e7d2f5a78a74c077032102d5c25adb51b61339d2b05315791e21bbe80ea470a49db0135720983c905aace0ffffffff010000000000000000015100000000","P2SH"]
test/transaction_tests.cpp(175): error: in "transaction_tests/tx_valid": Script evaluated without error but finished with a false/empty top stack element
test/transaction_tests.cpp(174): error: in "transaction_tests/tx_valid": [[["437a1002eb125dec0f93f635763e0ae45f28ff8e81d82945753d0107611cd390",1,"DUP HASH160 0x14 0x383fb81cb0a3fc724b5e08cf8bbd404336d711f6 EQUALVERIFY CHECKSIG"],["2d48d32ccad087bcda0ac5b31555bd58d1d2568184cbc8e752dd2be2684af03f",1,"DUP HASH160 0x14 0x275ec2a233e5b23d43fa19e7bf9beb0cb3996117 EQUALVERIFY CHECKSIG"],["c76168ef1a272a4f176e55e73157ecfce040cfad16a5272f6296eb7089dca846",1,"DUP HASH160 0x14 0x34fea2c5a75414fd945273ae2d029ce1f28dafcf EQUALVERIFY CHECKSIG"]],"010000000390d31c6107013d754529d8818eff285fe40a3e7635f6930fec5d12eb02107a43010000006b483045022100f40815ae3c81a0dd851cc8d376d6fd226c88416671346a9033468cca2cdcc6c202204f764623903e6c4bed1b734b75d82c40f1725e4471a55ad4f51218f86130ac038321033d710ab45bb54ac99618ad23b3c1da661631aa25f23bfe9d22b41876f1d46e4effffffff3ff04a68e22bdd52e7c8cb848156d2d158bd5515b3c50adabc87d0ca2cd3482d010000006a4730440220598d263c107004008e9e26baa1e770be30fd31ee55ded1898f7c00da05a75977022045536bead322ca246779698b9c3df3003377090f41afeca7fb2ce9e328ec4af2832102b738b531def73020bd637f32935924cc88549c8206976226d968edd3a42fc2d7ffffffff46a8dc8970eb96622f27a516adcf40e0fcec5731e7556e174f2a271aef6861c7010000006b483045022100c5b90a777a9fdc90c208dbef7290d1fc1be651f47151ee4ccff646872a454cf90220640cfbc4550446968fbbe9d12528f3adf7d87b31541569c59e790db8a220482583210391332546e22bbe8fe3af54addfad6f8b83d05fa4f5e047593d4c07ae938795beffffffff028036be26000000001976a914ddfb29efad43a667465ac59ff14dc6442a1adfca88ac3d5cba01000000001976a914b64dde7a505a13ca986c40e86e984a8dc81368b688ac00000000","P2SH"]
test/transaction_tests.cpp(175): error: in "transaction_tests/tx_valid": Script evaluated without error but finished with a false/empty top stack element
test/transaction_tests.cpp(174): error: in "transaction_tests/tx_valid": [[["bc7fd132fcf817918334822ee6d9bd95c889099c96e07ca2c1eb2cc70db63224",0,"CODESEPARATOR 0x21 0x038479a0fa998cd35259a2ef0a7a5c68662c1474f88ccb6d08a7677bbec7f22041 CHECKSIG"]],"01000000012432b60dc72cebc1a27ce0969c0989c895bdd9e62e8234839117f8fc32d17fbc000000004a493046022100a576b52051962c25e642c0fd3d77ee6c92487048e5d90818bcf5b51abaccd7900221008204f8fb121be4ec3b24483b1f92d89b1b0548513a134e345c5442e86e8617a501ffffffff010000000000000000016a00000000","P2SH"]
test/transaction_tests.cpp(175): error: in "transaction_tests/tx_valid": Attempted to use a disabled opcode
test/transaction_tests.cpp(174): error: in "transaction_tests/tx_valid": [[["83e194f90b6ef21fa2e3a365b63794fb5daa844bdc9b25de30899fcfe7b01047",0,"CODESEPARATOR CODESEPARATOR 0x21 0x038479a0fa998cd35259a2ef0a7a5c68662c1474f88ccb6d08a7677bbec7f22041 CHECKSIG"]],"01000000014710b0e7cf9f8930de259bdc4b84aa5dfb9437b665a3e3a21ff26e0bf994e183000000004a493046022100a166121a61b4eeb19d8f922b978ff6ab58ead8a5a5552bf9be73dc9c156873ea02210092ad9bc43ee647da4f6652c320800debcf08ec20a094a0aaf085f63ecb37a17201ffffffff010000000000000000016a00000000","P2SH"]
test/transaction_tests.cpp(175): error: in "transaction_tests/tx_valid": Attempted to use a disabled opcode
test/transaction_tests.cpp(174): error: in "transaction_tests/tx_valid": [[["326882a7f22b5191f1a0cc9962ca4b878cd969cf3b3a70887aece4d801a0ba5e",0,"0x21 0x038479a0fa998cd35259a2ef0a7a5c68662c1474f88ccb6d08a7677bbec7f22041 CODESEPARATOR CHECKSIG"]],"01000000015ebaa001d8e4ec7a88703a3bcf69d98c874bca6299cca0f191512bf2a7826832000000004948304502203bf754d1c6732fbf87c5dcd81258aefd30f2060d7bd8ac4a5696f7927091dad1022100f5bcb726c4cf5ed0ed34cc13dadeedf628ae1045b7cb34421bc60b89f4cecae701ffffffff010000000000000000016a00000000","P2SH"]
test/transaction_tests.cpp(175): error: in "transaction_tests/tx_valid": Attempted to use a disabled opcode
test/transaction_tests.cpp(174): error: in "transaction_tests/tx_valid": [[["a955032f4d6b0c9bfe8cad8f00a8933790b9c1dc28c82e0f48e75b35da0e4944",0,"0x21 0x038479a0fa998cd35259a2ef0a7a5c68662c1474f88ccb6d08a7677bbec7f22041 CHECKSIGVERIFY CODESEPARATOR 0x21 0x038479a0fa998cd35259a2ef0a7a5c68662c1474f88ccb6d08a7677bbec7f22041 CHECKSIGVERIFY CODESEPARATOR 1"]],"010000000144490eda355be7480f2ec828dcc1b9903793a8008fad8cfe9b0c6b4d2f0355a900000000924830450221009c0a27f886a1d8cb87f6f595fbc3163d28f7a81ec3c4b252ee7f3ac77fd13ffa02203caa8dfa09713c8c4d7ef575c75ed97812072405d932bd11e6a1593a98b679370148304502201e3861ef39a526406bad1e20ecad06be7375ad40ddb582c9be42d26c3a0d7b240221009d0a3985e96522e59635d19cc4448547477396ce0ef17a58e7d74c3ef464292301ffffffff010000000000000000016a00000000","P2SH"]
test/transaction_tests.cpp(175): error: in "transaction_tests/tx_valid": Script failed an OP_CHECKSIGVERIFY operation
test/transaction_tests.cpp(174): error: in "transaction_tests/tx_valid": [[["a955032f4d6b0c9bfe8cad8f00a8933790b9c1dc28c82e0f48e75b35da0e4944",0,"IF CODESEPARATOR ENDIF 0x21 0x0378d430274f8c5ec1321338151e9f27f4c676a008bdf8638d07c0b6be9ab35c71 CHECKSIGVERIFY CODESEPARATOR 1"]],"010000000144490eda355be7480f2ec828dcc1b9903793a8008fad8cfe9b0c6b4d2f0355a9000000004a48304502207a6974a77c591fa13dff60cabbb85a0de9e025c09c65a4b2285e47ce8e22f761022100f0efaac9ff8ac36b10721e0aae1fb975c90500b50c56e8a0cc52b0403f0425dd0100ffffffff010000000000000000016a00000000","P2SH"]
test/transaction_tests.cpp(175): error: in "transaction_tests/tx_valid": Attempted to use a disabled opcode
test/transaction_tests.cpp(174): error: in "transaction_tests/tx_valid": [[["a955032f4d6b0c9bfe8cad8f00a8933790b9c1dc28c82e0f48e75b35da0e4944",0,"IF CODESEPARATOR ENDIF 0x21 0x0378d430274f8c5ec1321338151e9f27f4c676a008bdf8638d07c0b6be9ab35c71 CHECKSIGVERIFY CODESEPARATOR 1"]],"010000000144490eda355be7480f2ec828dcc1b9903793a8008fad8cfe9b0c6b4d2f0355a9000000004a483045022100fa4a74ba9fd59c59f46c3960cf90cbe0d2b743c471d24a3d5d6db6002af5eebb02204d70ec490fd0f7055a7c45f86514336e3a7f03503dacecabb247fc23f15c83510151ffffffff010000000000000000016a00000000","P2SH"]
test/transaction_tests.cpp(175): error: in "transaction_tests/tx_valid": Attempted to use a disabled opcode
test/transaction_tests.cpp(174): error: in "transaction_tests/tx_valid": [[["10c9f0effe83e97f80f067de2b11c6a00c3088a4bce42c5ae761519af9306f3c",1,"DUP HASH160 0x14 0xee5a6aa40facefb2655ac23c0c28c57c65c41f9b EQUALVERIFY CHECKSIG"]],"01000000013c6f30f99a5161e75a2ce4bca488300ca0c6112bde67f0807fe983feeff0c91001000000e608646561646265656675ab61493046022100ce18d384221a731c993939015e3d1bcebafb16e8c0b5b5d14097ec8177ae6f28022100bcab227af90bab33c3fe0a9abfee03ba976ee25dc6ce542526e9b2e56e14b7f10121038479a0fa998cd35259a2ef0a7a5c68662c1474f88ccb6d08a7677bbec7f22041ac493046022100c3b93edcc0fd6250eb32f2dd8a0bba1754b0f6c3be8ed4100ed582f3db73eba2022100bf75b5bd2eff4d6bf2bda2e34a40fcc07d4aa3cf862ceaa77b47b81eff829f9a01ab21038479a0fa998cd35259a2ef0a7a5c68662c1474f88ccb6d08a7677bbec7f22041ffffffff010000000000000000016a00000000","P2SH"]
test/transaction_tests.cpp(175): error: in "transaction_tests/tx_valid": Attempted to use a disabled opcode
test/transaction_tests.cpp(174): error: in "transaction_tests/tx_valid": [[["b5b598de91787439afd5938116654e0b16b7a0d0f82742ba37564219c5afcbf9",0,"DUP HASH160 0x14 0xf6f365c40f0739b61de827a44751e5e99032ed8f EQUALVERIFY CHECKSIG"],["ab9805c6d57d7070d9a42c5176e47bb705023e6b67249fb6760880548298e742",0,"HASH160 0x14 0xd8dacdadb7462ae15cd906f1878706d0da8660e6 EQUAL"]],"0100000002f9cbafc519425637ba4227f8d0a0b7160b4e65168193d5af39747891de98b5b5000000006b4830450221008dd619c563e527c47d9bd53534a770b102e40faa87f61433580e04e271ef2f960220029886434e18122b53d5decd25f1f4acb2480659fea20aabd856987ba3c3907e0121022b78b756e2258af13779c1a1f37ea6800259716ca4b7f0b87610e0bf3ab52a01ffffffff42e7988254800876b69f24676b3e0205b77be476512ca4d970707dd5c60598ab00000000fd260100483045022015bd0139bcccf990a6af6ec5c1c52ed8222e03a0d51c334df139968525d2fcd20221009f9efe325476eb64c3958e4713e9eefe49bf1d820ed58d2112721b134e2a1a53034930460221008431bdfa72bc67f9d41fe72e94c88fb8f359ffa30b33c72c121c5a877d922e1002210089ef5fc22dd8bfc6bf9ffdb01a9862d27687d424d1fefbab9e9c7176844a187a014c9052483045022015bd0139bcccf990a6af6ec5c1c52ed8222e03a0d51c334df139968525d2fcd20221009f9efe325476eb64c3958e4713e9eefe49bf1d820ed58d2112721b134e2a1a5303210378d430274f8c5ec1321338151e9f27f4c676a008bdf8638d07c0b6be9ab35c71210378d430274f8c5ec1321338151e9f27f4c676a008bdf8638d07c0b6be9ab35c7153aeffffffff01a08601000000000017a914d8dacdadb7462ae15cd906f1878706d0da8660e68700000000","P2SH"]
test/transaction_tests.cpp(175): error: in "transaction_tests/tx_valid": Script evaluated without error but finished with a false/empty top stack element
test/transaction_tests.cpp(174): error: in "transaction_tests/tx_valid": [[["ceafe58e0f6e7d67c0409fbbf673c84c166e3c5d3c24af58f7175b18df3bb3db",0,"DUP HASH160 0x14 0xf6f365c40f0739b61de827a44751e5e99032ed8f EQUALVERIFY CHECKSIG"],["ceafe58e0f6e7d67c0409fbbf673c84c166e3c5d3c24af58f7175b18df3bb3db",1,"2 0x48 0x3045022015bd0139bcccf990a6af6ec5c1c52ed8222e03a0d51c334df139968525d2fcd20221009f9efe325476eb64c3958e4713e9eefe49bf1d820ed58d2112721b134e2a1a5303 0x21 0x0378d430274f8c5ec1321338151e9f27f4c676a008bdf8638d07c0b6be9ab35c71 0x21 0x0378d430274f8c5ec1321338151e9f27f4c676a008bdf8638d07c0b6be9ab35c71 3 CHECKMULTISIG"]],"0100000002dbb33bdf185b17f758af243c5d3c6e164cc873f6bb9f40c0677d6e0f8ee5afce000000006b4830450221009627444320dc5ef8d7f68f35010b4c050a6ed0d96b67a84db99fda9c9de58b1e02203e4b4aaa019e012e65d69b487fdf8719df72f488fa91506a80c49a33929f1fd50121022b78b756e2258af13779c1a1f37ea6800259716ca4b7f0b87610e0bf3ab52a01ffffffffdbb33bdf185b17f758af243c5d3c6e164cc873f6bb9f40c0677d6e0f8ee5afce010000009300483045022015bd0139bcccf990a6af6ec5c1c52ed8222e03a0d51c334df139968525d2fcd20221009f9efe325476eb64c3958e4713e9eefe49bf1d820ed58d2112721b134e2a1a5303483045022015bd0139bcccf990a6af6ec5c1c52ed8222e03a0d51c334df139968525d2fcd20221009f9efe325476eb64c3958e4713e9eefe49bf1d820ed58d2112721b134e2a1a5303ffffffff01a0860100000000001976a9149bc0bbdd3024da4d0c38ed1aecf5c68dd1d3fa1288ac00000000","P2SH"]
test/transaction_tests.cpp(175): error: in "transaction_tests/tx_valid": Script evaluated without error but finished with a false/empty top stack element
unknown location(0): fatal error: in "transaction_tests/tx_valid": std::ios_base::failure[abi:cxx11]: CDataStream::read(): end of data: iostream error
test/transaction_tests.cpp(175): last checkpoint
unknown location(0): fatal error: in "transaction_tests/tx_invalid": std::ios_base::failure[abi:cxx11]: CDataStream::read(): end of data: iostream error
test/transaction_tests.cpp(262): last checkpoint
test_bitcoin: test/transaction_tests.cpp:390: void transaction_tests::CheckWithFlag(const CTransactionRef&, const CMutableTransaction&, int, bool): Assertion `ret == success' failed.
unknown location(0): fatal error: in "transaction_tests/test_witness": signal: SIGABRT (application abort requested)
test/transaction_tests.cpp(497): last checkpoint: "test_witness" entry.
test_bitcoin: key.cpp:324: void ECC_Start(): Assertion `secp256k1_context_sign == nullptr' failed.
unknown location(0): fatal error: in "transaction_tests/test_IsStandard": signal: SIGABRT (application abort requested)
test/transaction_tests.cpp(672): last checkpoint: "test_IsStandard" fixture entry.

src/test/txindex_tests has 110 failures like:

test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(44): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(59): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(59): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(59): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(59): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(59): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(59): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(59): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(59): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(59): error: in "txindex_tests/txindex_initial_sync": FindTx failed
test/txindex_tests.cpp(59): error: in "txindex_tests/txindex_initial_sync": FindTx failed

src/test/validation_block_tests has 1 failure like:

test/validation_block_tests.cpp(137): error: in "validation_block_tests/processnewblock_signals_ordering": check ProcessNewBlockHeaders(headers, state, Params()) has failed
test_bitcoin: test/validation_block_tests.cpp:168: validation_block_tests::processnewblock_signals_ordering::test_method()::<lambda()>: Assertion `processed' failed.
unknown location(0): fatal error: in "validation_block_tests/processnewblock_signals_ordering": signal: SIGABRT (application abort requested)
Segmentation fault (core dumped)
--- There is a **[$30 open bounty](https://www.bountysource.com/issues/61938664-tests-results-of-all-bitcoin-unit-tests-in-src-test-30-each-file?utm_campaign=plugin&utm_content=tracker%2F94169766&utm_medium=issues&utm_source=github)** on this issue. Add to the bounty at [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F94169766&utm_medium=issues&utm_source=github).
BlueSilver22 commented 6 years ago

NOTE: The bounty is $30 per file.

aguilaair commented 6 years ago

Attempted to build in order to run test_bitcoin. Errors with message:

  Syntax error: "(" unexpected
funcs.mk:259: recipe for target '/home/aguilaair/BTCP2/BTCP-Rebase/depends/work/build/x86_64-pc-linux-gnu/native_ccache/3.3.1-a657002c4d6/./.stamp_configured' failed
make: *** [/home/aguilaair/BTCP2/BTCP-Rebase/depends/work/build/x86_64-pc-linux-gnu/native_ccache/3.3.1-a657002c4d6/./.stamp_configured] Error 2
make: Leaving directory '/home/aguilaair/BTCP2/BTCP-Rebase/depends'
aguilaair commented 6 years ago

blockencodings_tests is in an infinite loop too