Hey, Anybody can help me to figure out what I need to fix to finish installing the zcash?
I installed ubuntu 14.04 LTS to my Macbook Air. It runs on my USB stick.
Computer Specs:
memory 1.7GB
processor: Intel® Core™2 Duo CPU L9400 @ 1.86GHz × 2
OS typs: 64bit
Disk: 63.1GB
After try and error many times, I could run “./zcutil/build.sh”
It seems like it run successfully.
So I run thoes two test lines, “./qa/zcash/full-test-suite.sh”
and “./qa/pull-tester/rpc-tests.sh”.
It says some error there. I copy and paste it below. I have no idea how to fix. Anybody has any ideas? I will appreciate if anyone can help me.
thanks
aliberalvoluntarist@aliberalvoluntarist-MacBookAir:~/zcash$ ./qa/zcash/full-test-suite.sh
===== PASSED: /home/aliberalvoluntarist/zcash/src/zerocash/tests/utilTest
===== BEGIN: make check || { echo === ./src/test-suite.log === ; cat ./src/test-suite.log ; false ; }
Making check in src
make[1]: Entering directory /home/aliberalvoluntarist/zcash/src' make[2]: Entering directory
/home/aliberalvoluntarist/zcash/src’
make check-TESTS check-local
make[3]: Entering directory /home/aliberalvoluntarist/zcash/src' make[4]: Entering directory
/home/aliberalvoluntarist/zcash/src’
…/build-aux/test-driver: line 107: 12067 Killed “$@” > $log_file 2>&1
FAIL: test/test_bitcoin
make[5]: Entering directory /home/aliberalvoluntarist/zcash/src' make[6]: Entering directory
/home/aliberalvoluntarist/zcash/src’
make[6]: Leaving directory /home/aliberalvoluntarist/zcash/src' make[5]: Leaving directory
/home/aliberalvoluntarist/zcash/src’
Testsuite summary for Bitcoin Core 0.11.2
TOTAL: 1
PASS: 0
SKIP: 0
XFAIL: 0
FAIL: 1
XPASS: 0
ERROR: 0
============================================================================
See src/test-suite.log
Please report to Issues · bitcoin/bitcoin · GitHub
make[4]: *** [test-suite.log] Error 1
make[4]: Leaving directory /home/aliberalvoluntarist/zcash/src' make[3]: *** [check-TESTS] Error 2 make[3]: Leaving directory
/home/aliberalvoluntarist/zcash/src’
make[2]: *** [check-am] Error 2
make[2]: Leaving directory /home/aliberalvoluntarist/zcash/src' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory
/home/aliberalvoluntarist/zcash/src’
make: *** [check-recursive] Error 1
=== ./src/test-suite.log ===
Bitcoin Core 0.11.2: src/test-suite.log
TOTAL: 1
PASS: 0
SKIP: 0
XFAIL: 0
FAIL: 1
XPASS: 0
ERROR: 0
… contents:: :depth: 2
FAIL: test/test_bitcoin
Running 167 test cases…
(enter) Call to zerocash_pour_ppzksnark_generator [ ] (1461107543.7738s x0.00 from start)
(enter) Call to r1cs_ppzksnark_generator [ ] (1461107559.4958s x0.00 from start)
(enter) Call to r1cs_constraint_system::swap_AB_if_beneficial [ ] (1461107561.2045s x0.00 from start)
(enter) Estimate densities [ ] (1461107561.2046s x0.00 from start)
* Non-zero A-count (estimate): 366346
* Non-zero B-count (estimate): 444178
(leave) Estimate densities [0.5051s x1.00] (1461107561.7096s x0.00 from start)
(enter) Perform the swap [ ] (1461107561.7097s x0.00 from start)
(leave) Perform the swap [0.9162s x1.00] (1461107562.6259s x0.00 from start)
(leave) Call to r1cs_constraint_system::swap_AB_if_beneficial [1.4215s x1.00] (1461107562.6260s x0.00 from start)
(enter) Call to r1cs_to_qap_instance_map_with_evaluation [ ](1461107562.6265s x0.00 from start)
* Selected domain: step_radix2
(enter) Compute evaluations of A, B, C, H at t [ ] (1461107562.9494s x0.00 from start)
(leave) Compute evaluations of A, B, C, H at t [13.9368s x1.00] (1461107576.8862s x0.00 from start)
(leave) Call to r1cs_to_qap_instance_map_with_evaluation [14.2598s x1.00](1461107576.8863s x0.00 from start)
* QAP number of variables: 608730
* QAP pre degree: 658721
* QAP degree: 786432
* QAP number of input variables: 9
(enter) Compute query densities [ ] (1461107576.8891s x0.00 from start)
(leave) Compute query densities [0.0734s x1.00] (1461107576.9624s x0.00 from start)
Choosing window size 17 for 3732781 elements
Choosing window size 15 for 366346 elements
* G1 window: 17
* G2 window: 15
(enter) Generating G1 multiexp table [ ] (1461107578.2595s x0.00 from start)
===== FAILED: make check || { echo === ./src/test-suite.log === ; cat ./src/test-suite.log ; false ; }
aliberalvoluntarist@aliberalvoluntarist-MacBookAir:~/zcash$ ./qa/pull-tester/rpc-tests.sh
=== Running testscript zcpour.py ===
loading proving key from path: /home/aliberalvoluntarist/.zcash-params/regtest/zc-testnet-public-alpha-proving.key
File “/home/aliberalvoluntarist/zcash/qa/rpc-tests/test_framework/test_framework.py”, line 118, in main
self.run_test()
File “/home/aliberalvoluntarist/zcash/qa/rpc-tests/zcpour.py”, line 27, in run_test
pour_result = self.nodes[0].zcrawpour(protect_tx, {}, {zcaddress:39.9}, 40, 0.1)
File “/home/aliberalvoluntarist/zcash/qa/rpc-tests/test_framework/authproxy.py”, line 126, in call
raise JSONRPCException(response[‘error’])
Initializing test directory /tmp/testwJsxzs
JSONRPC error: std::bad_alloc
Stopping nodes
Cleaning up
Failed
!!! FAIL: zcpour.py !!!
=== Running testscript zcpourdoublespend.py ===
loading proving key from path: /home/aliberalvoluntarist/.zcash-params/regtest/zc-testnet-public-alpha-proving.key
File “/home/aliberalvoluntarist/zcash/qa/rpc-tests/test_framework/test_framework.py”, line 118, in main
self.run_test()
File “/home/aliberalvoluntarist/zcash/qa/rpc-tests/zcpourdoublespend.py”, line 59, in run_test
pool[i] = self.nodes[i].zcrawpour(pool[i], {}, {zcaddress:39.9}, 40, 0.1)
File “/home/aliberalvoluntarist/zcash/qa/rpc-tests/test_framework/authproxy.py”, line 126, in call
raise JSONRPCException(response[‘error’])
Initializing test directory /tmp/testbci24l
JSONRPC error: std::bad_alloc
Stopping nodes
Cleaning up
Failed
!!! FAIL: zcpourdoublespend.py !!!
Tests completed: 18
successes 16; failures: 2
Failing tests: zcpour.py zcpourdoublespend.py