Closed WaveringAna closed 7 years ago
What test did you invoke there? Seems like a memory error you have this time. We were seeing different errors before:
$ ./qa/zcash/full-test-suite.sh ... ../build-aux/test-driver: line 107: 6101 Aborted "$@" > $log_file 2>&1 FAIL: test/test_bitcoin
commented out line 107 of test-driver: ... PASS: test/test_bitcoin
but this is not the solution.
@hairetikos I'm doing full-test-suite.sh. I tried with 6, 8, and 10 gigs of ram and it didn't solve the issue. Commenting out line 107 made the test pass, but as you said, it isn't the solution
@aayanl i realise now the more detailed log you pasted shows after leaving the test for some time after it has failed and "Aborted". Hopefully we can figure this out with the info
@mountaindrifter has found this gem, we think it may be very related as the first error which triggers the escalation is "CheckSignature(alertKey) has failed"
https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2016-September/013104.html
and from alerts_test.cpp:
more finds from @mountaindrifter
o https://bitcoin.org/en/alert/2016-11-01-alert-retirement o https://github.com/zcash/zcash/issues/1195
me and @mountaindrifter have ironed out the issues to do with CheckSignature(alertKey), i have removed / edited a lot of code to do with the sendalert & key system (reference: https://github.com/bitcoin/bitcoin/pull/7692/files?diff=split)
https://bitcoin.org/en/alert/2016-11-01-alert-retirement
the bitcoin test fails Gracefully now due to a separate issue:
test/main_tests.cpp(62): error: in "main_tests/subsidy_limit_test": check nSum == 12500000000000ULL has failed [1250000000 != 12500000000000]
this is to do with the difference in slow start from zcash to zclassic -- it is an artifact not changed to match zclassic:
/ Mining slow start for (int nHeight = 0; nHeight < consensusParams.nSubsidySlowStartInterval; nHeight ++) { CAmount nSubsidy = GetBlockSubsidy(nHeight, consensusParams); BOOST_CHECK(nSubsidy <= 12.5 * COIN); nSum += nSubsidy; BOOST_CHECK(MoneyRange(nSum)); } BOOST_CHECK_EQUAL(nSum, 12500000000000ULL);
@heyrhett set slow start to 2 blocks:
https://github.com/z-classic/zclassic/blob/master/src/chainparams.cpp#L41
consensus.nSubsidySlowStartInterval = 2; (previously 20000)
we need to change the test to match the zclassic values.
opening a new issue regarding this, as it is something else unrelated to previous.
Has been fixed with 1.0.3
Error message: