Taylor Hornby
88082c4a56
Extend deadline for postponing dependency updates
2020-08-03 15:00:22 -06:00
Kris Nuttycombe
0391809da1
Remove amqp code and Proton library depenencies & flags.
2020-07-31 13:08:18 -06:00
Taylor Hornby
75876f477b
Implement system for postponing dependency updates.
2020-06-24 18:14:47 -06:00
Jack Grigg
5a577c7630
qa: Add --automate flag to smoke tests
2020-05-28 23:04:58 +12:00
Jack Grigg
4498eb26db
qa: Remove unused timeout configuration from wait_for_balance
2020-05-28 23:04:58 +12:00
Jack Grigg
c2144f7af7
qa: Add --use-faucet flag to smoke tests
2020-05-28 23:04:58 +12:00
mdr0id
a63c1d6279
Add helpers for tapping and donating to the testnet faucet
2020-05-28 19:10:32 +12:00
Eirik Ogilvie-Wigley
b21fcf37cb
Various improvements
...
- Print time since start for each operation
- Print traceback for any raised exceptions
- Improve messages to user
- Warning cleanups
2020-05-28 19:01:52 +12:00
Eirik Ogilvie-Wigley
aa4b98a7c3
Resolve decimal vs float issues
2020-05-28 18:59:20 +12:00
Jack Grigg
a2db35137b
qa: Improve reliability of smoke test cleanup
2020-05-28 13:15:55 +12:00
Jack Grigg
a2ba414d69
qa: Improve reliability of smoke tests
2020-05-28 13:15:55 +12:00
Jack Grigg
0261ccbbe8
qa: Don't allow smoke tests with mainnet wallet.dat
2020-05-28 13:15:55 +12:00
Jack Grigg
a6ff0a0794
qa: Use slick-bitcoinrpc for smoke tests
2020-05-28 13:15:55 +12:00
Jack Grigg
eeecb3bf8c
qa: Transaction chain smoke test
2020-05-28 13:15:55 +12:00
Jack Grigg
01757cff23
qa: Simple smoke tests
2020-05-28 13:15:55 +12:00
Jack Grigg
6d1563d7a3
qa: Run Zcash node for smoke tests
2020-05-28 13:15:55 +12:00
Jack Grigg
6470237c09
qa: Smoke test driver
2020-05-28 13:15:55 +12:00
Taylor Hornby
e0ab57ee36
Add univalue to updatecheck.py and update univalue, removing calls to deprecated methods
2020-05-14 12:42:19 -06:00
Jack Grigg
eca5009825
test: Build Rust tests as part of qa/zcash/full_test_suite.py
...
The previous version of full_test_suite.py directly called the test
binary, which was being compiled at the same time as the static library.
However, by passing the --tests argument to cargo, rustc was ignoring
several important release-profile configurations, and was also
attempting to link the test binary, which was breaking cross-compilation
builds.
This commit alters src/Makefile.am to only build the static library, and
leaves test compilation to the test runner itself. This ensures that the
tests are only compiled for native builds, when the tests will be run on
the same platform.
2020-04-08 18:17:19 +12:00
Taylor Hornby
acdad52602
Update updatecheck.py with the new Rust dependencies and improve the error message in case the untracked dependency list becomes out of date.
2020-03-17 14:05:50 -06:00
Homu
a125f3f5f8
Auto merge of #4403 - ebfull:rust-tests, r=str4d
...
Additional librustzcash integration
This adds librustzcash tests to the full test suite, and brings in the release profile configurations that are currently present in the librustzcash workspace on the other repository. It's very important that we build librustzcash with panic=abort because otherwise the unwinding panics across FFI boundaries could cause undefined behavior.
2020-03-17 07:50:48 +00:00
Sean Bowe
81a633c9c3
Simplification for MacOS in rust-test.
2020-03-14 11:06:13 -06:00
Sean Bowe
531c7c2881
Minor typo fixes.
2020-03-14 11:04:39 -06:00
Sean Bowe
7767f8e9e0
Add librustzcash tests to the full test suite.
2020-03-14 10:58:09 -06:00
Taylor Hornby
11470a3107
Fix typo in updatecheck.py
2020-03-11 10:07:13 -06:00
Taylor Hornby
d582270abb
Fix bug in updatecheck.py and add utfcpp to its dependency list
2020-03-11 09:11:28 -06:00
mdr0id
1ce2e86612
Update #! env for python3
2020-02-10 13:34:29 -08:00
mdr0id
7300db81ed
Updating remaining python3 conventions
2020-02-10 13:15:26 -08:00
mdr0id
4cb368a8d9
Update remaining Python3 conventions
2020-02-10 12:46:41 -08:00
mdr0id
826135d5ed
Fix remaining python3 conventions
2020-02-10 12:38:46 -08:00
mdr0id
5ac9cb85f3
fix string pattern issue on byte object
2020-02-09 09:07:42 -08:00
mdr0id
3dde472c96
update /usr/bin/env; fix print conventions
2020-02-09 08:09:31 -08:00
Taylor Hornby
1ecf2bae48
Make updatecheck.py compatible with python2
2020-01-30 11:11:37 -07:00
Taylor Hornby
5274f322b6
Cache releases to reduce network usage and improve performance
2020-01-28 14:53:36 -07:00
Taylor Hornby
992de545f9
Wrap long lines
2020-01-28 14:45:13 -07:00
Taylor Hornby
d7108d36b1
Update list of dependencies to check
2019-12-19 14:33:51 -07:00
Taylor Hornby
49f94dbe3d
Add GitHub API credential
2019-12-19 14:33:41 -07:00
Taylor Hornby
d83e8a6a44
Add Python script for checking if dependencies have updates.
2019-12-19 13:58:36 -07:00
Charlie O'Keefe
d4f70e5536
Add check-depends step to STAGE_COMMANDS list
2019-11-27 14:12:18 -08:00
Jack Grigg
1f38ad2536
Remove libsnark unit tests from full test suite
2019-08-22 15:42:54 +01:00
zebambam
5ac48d8ebc
Updated location to new download server, fixing #4100
2019-08-18 14:38:49 +01:00
zebambam
929b302e40
Updated location to new download server
2019-08-14 11:42:31 -07:00
Daira Hopwood
2fe59a5681
qa/zcash/checksec.sh is under a BSD license, with a specialized non-endorsement clause.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2019-07-18 15:31:39 +01:00
Daira Hopwood
bc909a7a7f
Replace http with https: in links to the MIT license.
...
Also change MIT/X11 to just MIT, since no distinction was intended.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2019-07-18 15:26:01 +01:00
Jack Grigg
ecde950bac
Add Sapling benchmarks to benchmark runner
2019-02-16 18:44:16 +00:00
mdr0id
4ca5def62f
Make pythonisms consistent
2018-12-18 12:16:23 -08:00
Jack Grigg
341a22ad90
Skip ELF-only sec-hard checks on non-ELF binaries
2018-06-07 18:49:15 +12:00
Jack Grigg
c7e64754dc
Add MacOS support to no-dot-so test
2018-06-05 22:32:13 +12:00
Jack Grigg
11aa594440
Remove obsolete CreateJoinSplit and GenerateParams binaries
2018-05-03 13:18:03 +01:00
Jack Grigg
b466c1c90c
cleanup: Ensure code is pyflakes-clean for CI
2018-03-27 02:47:57 +02:00
Jack Grigg
818b94f94f
Make number of inputs configurable in validatelargetx test
2018-02-20 04:22:22 +00:00
Duke Leto
a20b975a52
Update performance-measurements.sh
...
Fix error message, as per @daira
2017-10-24 14:50:26 -07:00
Homu
6b58fd2c99
Auto merge of #2665 - leto:perf_fix, r=str4d
...
Fix bug where performance-measurements.sh fails hards when given no args
Better than "$1: unbound variable", we ran into this when testing this script in the Hush repo, so we are pushing this fix upstream.
2017-10-23 18:37:05 -07:00
Jack Grigg
692bf7a6df
Add --list-stages argument to full_test_suite.py
2017-10-18 00:56:32 -07:00
Jack Grigg
91dd425b4a
Add libsnark tests to full_test_suite.py
2017-10-18 00:55:52 -07:00
Homu
4c9b77d8fb
Auto merge of #2654 - str4d:429-test-driver-script, r=str4d
...
[Test] New merge test suite driver script
Running the script with no arguments will run all test stages in succession.
Passing one or more stages as arguments will run just those stages.
Closes #429 .
2017-10-16 21:51:21 -07:00
Jack Grigg
6e98511cf1
Add stdout notice if any stage fails
2017-10-16 16:16:14 -04:00
Jack Grigg
88fbdc4868
Add bitcoin-util-test.py to full_test_suite.py
...
Not moved, because upstream makes improvements to this script, and the need to
set environment variables makes it simpler to just use the given script.
2017-10-16 16:15:10 -04:00
Jonathan "Duke" Leto
147fffb7ec
Fix bug where performance-measurements.sh fails hards when given no args
...
Better than "$1: unbound variable", we ran into this when testing this
script in the Hush repo, so we are pushing this fix upstream.
2017-10-16 08:39:59 -07:00
Homu
af549fe6ed
Auto merge of #2650 - str4d:2645-listunspent-benchmark, r=str4d
...
Add benchmark for listunspent
Closes #2645 .
2017-10-12 15:24:53 -07:00
Jack Grigg
94790c5d8f
Add memory benchmark for validatelargetx
2017-10-09 22:18:28 +01:00
Jack Grigg
c6af0aa453
Move check-security-hardening.sh into full_test_suite.py
2017-10-06 11:17:45 +01:00
Jack Grigg
105b2b6248
Move ensure-no-dot-so-in-depends.py into full_test_suite.py
2017-10-06 11:17:45 +01:00
Jack Grigg
aadf3aa159
Replace full-test-suite.sh with a new test suite driver script
...
This will be the canonical location for the entire Zcash merge test suite.
2017-10-06 11:17:11 +01:00
Jack Grigg
99dd50c30c
Add benchmark for listunspent
...
Closes #2645 .
2017-10-04 12:48:50 +01:00
Jack Grigg
091c089d03
Fix incorrect failure in memory benchmark
2017-09-27 19:42:39 +01:00
Jack Grigg
72b4f0b3e6
Individualise performance-measurements.sh errors for debugging
2017-09-27 19:41:54 +01:00
Ariel Gabizon
2e8aefdce1
add load-wallet benchmark
2017-09-18 21:54:53 +02:00
Jack Grigg
e719bf75d4
Adjust instructions for UTXO dataset creation
...
--nocleanup is sufficient to leave the data directories behind. --noshutdown is
only useful if you want to inspect the nodes afterwards, and you'd need to
manually shut down both nodes before copying the data directories.
2017-09-11 21:53:35 +01:00
Jack Grigg
d669871e8b
Fix bug in benchmark data generation script
2017-09-06 19:52:35 +01:00
Jack Grigg
a76174b76b
Benchmark time to call sendtoaddress with many UTXOs
2017-08-31 02:15:06 +01:00
Nathan Wilcox
5a027a4a6e
Do not use `-rpcwait` on all `zcash_rpc` invocations, only block when starting zcashd.
2017-05-22 17:51:23 -07:00
Nathan Wilcox
4e47698633
Reuse zcash_rpc.
2017-05-22 17:47:36 -07:00
Nathan Wilcox
453c74743c
Fix a variable name typo.
2017-05-22 17:46:26 -07:00
Nathan Wilcox
0cfc9d65fa
Enable set -u mode.
2017-05-22 17:46:13 -07:00
Jack Grigg
08dc7889d2
Remove additional sources of determinism from benchmark archive
...
The archive has also been moved from .tar.gz to .tar.xz for a
33% reduction in size.
Closes #2388 .
2017-05-20 11:59:16 +12:00
Jack Grigg
c66c731adf
Add a benchmark for calling ConnectBlock on a block with many inputs
...
Requires placing block-107134.tar.gz (containing the block, and a fake CoinsDB
containing its inputs) into the base directory of the repository. This can be
generated using qa/zcash/create_benchmark_archive.py (see the script for usage
details).
To facilitate generation of the fake CoinsDB, an additional field 'valueZat' has
been added to 'getrawtransaction' containing the integer number of zatoshis
instead of a decimal number of ZEC.
Closes #2355 .
2017-05-18 11:03:46 +12:00
Jack Grigg
338ff45787
Use a larger -rpcclienttimeout for slow performance measurements
...
Closes #2238 .
2017-04-07 15:03:25 +12:00
zkbot
ee2f1ebb9d
Auto merge of #1942 - str4d:1940-threaded-createjoinsplit, r=ebfull
...
Extend createjoinsplit to benchmark parallel JoinSplits
Closes #1940
2017-01-18 01:04:05 +00:00
Jack Grigg
336fa63020
Create empty zcash.conf during performance measurements
2017-01-17 13:19:49 +01:00
Jack Grigg
4082dcb10f
Extend createjoinsplit to benchmark parallel JoinSplits
...
Closes #1940
2016-12-14 15:28:00 +13:00
Jack Grigg
88b7f3c28b
Generate JS for trydecryptnotes, make number of addresses a variable
2016-12-09 16:59:39 +13:00
Jack Grigg
0bb3d40f90
Add benchmark for incrementing note witnesses
2016-11-17 22:26:46 +13:00
Jack Grigg
0fbab55b1b
Add benchmark for attempting decryption of notes
2016-11-17 19:09:45 +13:00
Jack Grigg
dfe29d5988
Disable metrics screen in performance-measurements.sh
2016-10-23 20:41:18 -05:00
Daira Hopwood
5d985da5c1
Repair check-security-hardening.sh.
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2016-10-21 02:34:13 +01:00
Daira Hopwood
65b502aa98
Benchmark 50 iterations of solveequihash
...
Since the parameters changed in z8, the benchmark on speed.z.cash is showing misleading results due to variability. (The quartile and extrema bars will still show the variability with 50 runs, they just won't jump around as much between benchmark data points.)
2016-09-19 19:08:24 +01:00
Jack Grigg
649be423f8
Fix previous commit
2016-08-06 02:03:08 +12:00
Jack Grigg
6609813753
Simplify optional parameters
2016-08-06 00:36:33 +12:00
Jack Grigg
f7478de67f
Add thread parameter to solveequihash benchmark
...
Closes #1147
2016-08-05 15:05:38 +12:00
zkbot
abd4c16ae9
Auto merge of #1064 - ThisIsNotOfficialCodeItsJustForks:t915-enable-security-hardening, r=bitcartel
...
Verify security hardening features are turned on
2016-08-03 23:57:05 +00:00
Taylor Hornby
88325d8abb
Add more commands to run unit tests under valgrind.
2016-07-28 14:43:36 -06:00
Taylor Hornby
56734f4b27
Pull in upstream's make check-security, based on upstream PR #6854 and #7424 .
2016-07-21 20:45:10 -06:00
Taylor Hornby
1327d1915a
Add tests for security hardening features
2016-07-21 20:45:07 -06:00
Taylor Hornby
effd7ca1d8
Add checksec.sh from http://www.trapkit.de/tools/checksec.html
2016-07-21 20:45:07 -06:00
Sean Bowe
1737627c4e
Introduce `zcsamplejoinsplit` for creating a raw joinsplit description, and use it to construct the joinsplit for the performance tests that verify joinsplits.
2016-07-19 15:49:11 -06:00
zkbot
04932a64e8
Auto merge of #1080 - ebfull:performance-check-valid-pour, r=ebfull
...
Always check valid joinsplits during performance tests
This will generate a valid joinsplit instead of using one from an environment variable.
2016-07-11 22:38:25 +00:00
zkbot
ecef582339
Auto merge of #1061 - ebfull:remove-libzerocash-completely, r=ebfull
...
Remove the rest of libzerocash.
Closes #510 .
2016-07-11 16:17:35 +00:00
Sean Bowe
92b73b0dbb
Remove zerocash tests from full-test-suite.
2016-07-11 10:05:55 -06:00
Sean Bowe
2fbbde597c
Always check valid joinsplits during performance tests, and avoid recomputing them every time we change the circuit.
2016-07-09 14:31:43 -06:00
Sean Bowe
9c45b501ad
Make `validatelargetx` test more accurate, reduce block size limit to 1MB for now.
2016-07-06 12:07:50 -06:00
Sean Bowe
2ba9641767
Fix performance test for block verification.
2016-07-05 07:55:35 -06:00
Jack Grigg
f5edc37f3f
Add performance tests for creating and validating a MAX_BLOCK_SIZE transaction
2016-06-21 13:48:04 +12:00
Sean Bowe
1744fec274
Update the zkSNARK parameters.
2016-06-03 21:04:07 -06:00
Sean Bowe
3960e14d91
Update performance measurement transaction.
2016-05-31 13:17:55 -06:00
Taylor Hornby
fc8c101acf
Enable -v for valgrind so we can see counts for each error.
2016-05-25 16:42:39 -06:00
Taylor Hornby
0af5e31282
Pass -DPURIFY to OpenSSL so it doesn't clutter valgrind output.
2016-05-25 16:42:39 -06:00
Taylor Hornby
d578de8e27
Add ability to run things under valgrind.
2016-05-25 16:42:36 -06:00
Sean Bowe
6b5d608899
Update proving key and tests that depend on transaction structure changes
2016-05-24 11:09:17 -06:00
Sean Bowe
3e0af61b86
Update zkSNARK proving/verifying keys.
2016-05-12 16:45:12 -06:00
Sean Bowe
0cdfab1d92
Remove the zerocash tests from the full test suite.
2016-05-12 16:44:49 -06:00
Sean Bowe
ddb03c3e8d
Fix performance measurements due to modified transaction structure.
2016-05-12 16:44:49 -06:00
zkbot
c9a2eea5e2
Auto merge of #905 - ebfull:test-suite-fixes, r=ebfull
...
Run `zcash-gtest` in `make check` and fix performance tests.
* gtest tests weren't being run by make check
* performance tests were broken
* We need to automatically upload graphs of performance, [see this PR](https://github.com/Electric-Coin-Company/bbotzc/pull/15 ).
* Moves zerocash tests into `zcash`'s full test suite, we're removing them anyway later and it'd be nice to remove them in the PR instead of from buildbot
2016-05-05 23:29:34 +00:00
Sean Bowe
956dcdde80
Perform zerocash tests as part of full-test-suite, in preparation for removal of zerocash waterfall.
2016-05-03 06:49:15 -06:00
Sean Bowe
6bd8e46922
Run `zcash-gtest` in `make check` and fix performance tests.
2016-05-02 23:14:53 -06:00
Sean Bowe
1760b3cd88
Deprecate the old tree and remove old tree tests from the test suite.
2016-04-28 16:07:52 -06:00
Taylor Hornby
36b1269bc3
Make benchmark specified by command-line arguments
2016-04-11 10:54:55 -06:00
Taylor Hornby
51c8c56b4a
Use a separate datadir for the benchmarks
2016-04-11 10:20:42 -06:00
Taylor Hornby
a0be8e262a
Don't leave massif.out lying around after the benchmarks
2016-04-11 10:05:16 -06:00
Taylor Hornby
a1cd1a27ac
Add verify equihash benchmark
2016-04-11 10:03:31 -06:00
Taylor Hornby
d44feea44c
Add JoinSplit verification benchmarks
2016-04-11 10:03:17 -06:00
Taylor Hornby
bf8def9749
Add equihash solving benchmarks
2016-04-11 10:02:59 -06:00
Taylor Hornby
6962bb3df0
Add automated performance measurement system.
2016-04-11 08:15:25 -06:00
Taylor Hornby
3af297cc57
Remove unnecessary comment.
2016-03-03 16:02:35 -07:00
Sean Bowe
25f0e1072e
Fix test paths.
2016-02-17 14:54:48 -07:00
Sean Bowe
0b43e787e0
Add merkleTest and utilTest to test suite.
2016-02-17 13:35:40 -07:00
Taylor Hornby
dba05929e7
Fix broken build because of zerocash->zcash rename.
2016-02-03 13:57:34 -07:00
Taylor Hornby
21328e97cd
Fix bad merge due to qa/zerocash->qa/zcash rename.
2016-02-03 13:04:23 -07:00
Taylor Hornby
1ffb5eb04f
Rename qa/zerocash to qa/zcash.
2016-02-03 12:55:02 -07:00