Uh Oh... Current release failing RPC Test 'zcpourdoublespend.py'


#1

Hey all. I'm following the latest alpha guide, running ./qa/pull-tester/rpc-tests.sh and it fails the following test. I thought this might be helpful.

=== Running testscript zcpourdoublespend.py ===
  File "/home/ubuntu/zcash/qa/rpc-tests/test_framework/test_framework.py", line 118, in main
    self.run_test()
  File "/home/ubuntu/zcash/qa/rpc-tests/zcpourdoublespend.py", line 59, in run_test
    pool[i] = self.nodes[i].zcrawpour(pool[i], {}, {zcaddress:39.9}, 39.9, 0)
  File "/home/ubuntu/zcash/qa/rpc-tests/test_framework/authproxy.py", line 126, in __call__
    raise JSONRPCException(response['error'])
  * Elements of w skipped: 507747 (48.68%)
  * Elements of w processed with special addition: 504495 (48.37%)
  * Elements of w remaining: 30805 (2.95%)
  * Elements of w skipped: 432314 (50.12%)
  * Elements of w processed with special addition: 430181 (49.88%)
  * Elements of w remaining: 0 (0.00%)
  * Elements of w skipped: 615971 (48.33%)
  * Elements of w processed with special addition: 610385 (47.89%)
  * Elements of w remaining: 48286 (3.79%)
  * Elements of w skipped: 691932 (48.49%)
  * Elements of w processed with special addition: 686774 (48.13%)
  * Elements of w remaining: 48286 (3.38%)
  * G1 elements in proof: 7
  * G2 elements in proof: 1
  * Proof size in bits: 2294
  * Elements of w skipped: 508295 (48.73%)
  * Elements of w processed with special addition: 503947 (48.31%)
  * Elements of w remaining: 30805 (2.95%)
  * Elements of w skipped: 432900 (50.19%)
  * Elements of w processed with special addition: 429595 (49.81%)
  * Elements of w remaining: 0 (0.00%)
  * Elements of w skipped: 615909 (48.32%)
  * Elements of w processed with special addition: 610447 (47.89%)
  * Elements of w remaining: 48286 (3.79%)
  * Elements of w skipped: 692391 (48.52%)
  * Elements of w processed with special addition: 686315 (48.10%)
  * Elements of w remaining: 48286 (3.38%)
  * G1 elements in proof: 7
  * G2 elements in proof: 1
  * Proof size in bits: 2294
  * Elements of w skipped: 508341 (48.74%)
  * Elements of w processed with special addition: 503901 (48.31%)
  * Elements of w remaining: 30805 (2.95%)
  * Elements of w skipped: 433091 (50.21%)
  * Elements of w processed with special addition: 429404 (49.79%)
  * Elements of w remaining: 0 (0.00%)
  * Elements of w skipped: 615888 (48.32%)
  * Elements of w processed with special addition: 610468 (47.89%)
  * Elements of w remaining: 48286 (3.79%)
  * Elements of w skipped: 692528 (48.53%)
  * Elements of w processed with special addition: 686178 (48.09%)
  * Elements of w remaining: 48286 (3.38%)
  * G1 elements in proof: 7
  * G2 elements in proof: 1
  * Proof size in bits: 2294
  Initializing test directory /tmp/testsoju73
  JSONRPC error: std::bad_alloc
  Stopping nodes
  Cleaning up
  Failed
!!! FAIL: zcpourdoublespend.py !!!



Tests completed: 18
successes 17; failures: 1

Failing tests: zcpourdoublespend.py

#2

Hi, I have the same result, after freshly installed everything.


#3

These errors are typically caused by a lack of memory in the system you're testing with. The zcpourdoublespend test uses a very large amount of memory.


#4

Okay, thanks for the reply. I'll try on machine with more ram.