Commit Graph

183 Commits

Author SHA1 Message Date
Michael Vines 85c51f5787 Only activate legacy program feature for the solana-sdk crate 2020-10-24 08:37:55 -07:00
Michael Vines 63db324204 Initial population of solana-program-sdk 2020-10-24 08:37:55 -07:00
Greg Fitzgerald 8b1b392be9
Remove move_loader and librapay (#11184)
* Remove move_loader and librapay

* Remove Embedding Move from implemented proposals

* Remove Move variant from CI

* Remove move_loader ID
2020-07-23 15:08:59 -06:00
sakridge 98621648cb
Add poh-bench (#10707) 2020-06-24 15:51:52 -07:00
Michael Vines 206b8118a1
Buildkite pipeline overhaul 2 (#10529) 2020-06-11 17:34:13 -07:00
Michael Vines d79759595a Remove unneeded doc check 2020-06-11 13:18:03 -07:00
Trent Nelson 08ad7d1ed6
Reduce stable jobs (#10344) 2020-05-31 21:29:32 -07:00
Jack May eb1acaf927
Remove archiver and storage program (#9992)
automerge
2020-05-14 18:22:47 -07:00
Jack May 6eb50450ec
Reenable move (#9841)
automerge
2020-05-01 12:51:29 -07:00
Trent Nelson 3d40ca86b0 Disable Move/Libra components 2020-04-28 21:02:47 -06:00
sakridge 2b2b2cac1f
limit test jobs to 16 to prevent OOM (#9500) 2020-04-14 16:40:13 -07:00
Justin Starry 021d0a46f8
Move docs from book/ to docs/ (#8469)
automerge
2020-02-26 07:11:38 -08:00
sakridge 8572b57834
Refactor chacha cuda to be able to test cuda crate but not in OpenCL (#7685)
* Refactor chacha cuda to be able to test cuda crate but not in OpenCL

chacha not implemeted in OpenCL

* Get off core::Error
2020-01-16 08:29:36 -08:00
Michael Vines cd65a1e172 Run local cluster tests serially for easier debug 2020-01-04 09:34:27 -07:00
Greg Fitzgerald 92d485dd4d
Cleanup (#7176)
* Drop serde error instances

These were no longer needed after ToPrimitive instances were
added.

* Rename last of _api crates
2019-11-29 13:50:32 -07:00
Jack May 3415db9739
Merge api/program into single units (#7061) 2019-11-20 16:32:19 -08:00
sakridge 3aa67969f9
Add perf module to stable-perf CI (#7060) 2019-11-20 10:59:56 -08:00
Ryo Onodera 5ad09afc15
Improve run.sh for better developer experience (#6945)
* run.sh: Create genesis file for ad-hoc validators

* run.sh: Prefer release under NDEBUG

* run.sh: Add sanity test for run.sh

* run.sh: Conditionally re-gen drone and faucet keys

* Make shellcheck happy

* Address code review comments

* Clean up a bit
2019-11-16 15:56:29 +09:00
TristanDebrunner ae3c9033c1
Stop running testsuites when only the book is modified (#6956) 2019-11-14 14:36:08 -07:00
Greg Fitzgerald 81acd94153
Cleanup local cluster (#6897)
* Boot integration tests from unit test build

* Move bench-tps and bench-exchange integration tests out of local_cluster

* Fix build
2019-11-12 20:30:35 -07:00
Michael Vines 63425bed10
Move move tests into its own job (#6847) 2019-11-08 20:40:03 -07:00
TristanDebrunner 627664b785 Re-enable tests (#6615)
automerge
2019-10-29 21:34:20 -07:00
TristanDebrunner b4dc1a7263 Remove move feature (#6605)
automerge
2019-10-29 17:14:07 -07:00
Michael Vines 7f3072d53a
ignore test_fail_entry_verification_leader (#6537)
* Revert "Revert "Restore CUDA-based unit tests (#6518)""

This reverts commit 27f38a3770.

* ignore test_fail_entry_verification_leader
2019-10-24 21:16:17 -07:00
Michael Vines 27f38a3770
Revert "Restore CUDA-based unit tests (#6518)"
This reverts commit dc52b17c4d.
2019-10-24 11:34:53 -07:00
Michael Vines dc52b17c4d
Restore CUDA-based unit tests (#6518) 2019-10-23 20:09:28 -07:00
Rob Walker 7cf90766a3
add epoch_schedule sysvar (#6256)
* add epoch_schedule sysvar

* book sheesh!
2019-10-08 22:34:26 -07:00
Michael Vines 4b42fa2d75
Ensure all builds are triggered on a rust upgrade (#6229) 2019-10-03 16:31:50 -07:00
sakridge 75a92d58cb
Featureize move (#5897)
* Featureize move

* Add move featured test
2019-09-27 12:19:06 -07:00
Michael Vines b4da83a3ab
Remove CUDA feature (#6094) 2019-09-26 13:36:51 -07:00
carllin 229836511d Remove local_cluster tests from stable-perf job, removee other tests from local-cluster job (#6067) 2019-09-24 19:05:25 -07:00
Michael Vines 1d0be265d9
Add explicit validator-cuda crate (#5985) 2019-09-19 20:50:34 -07:00
Michael Vines 1650519962
SOLANA_CUDA=1 works again (#5968)
* SOLANA_CUDA=1 works again

* Minor comment reformat

* Set SOLANA_CUDA=1 explictly
2019-09-19 08:52:00 -07:00
carllin 86213d38fe
Release builds for local cluster tests (#5891)
* Release builds for test

* Remove setting thread count in local cluster

* Increase timeout

* Move local cluster to separate job

* Extract out local cluster test from bench-tps

* Make local cluster inaccessible from outside crate

* Update test-stable.sh to exclude local_cluster in stable, include it in local-cluster CI job

* Move bench-exchange to local cluster

* Remove local cluster from coverage
2019-09-18 13:10:50 -07:00
Rob Walker b6da5a3f47
build all tests (#5785)
* build all tests

* try again

* try again
2019-09-04 17:01:38 -07:00
Rob Walker 933e835838
add stake lockup (#5782)
* add stake lockup

* fixup
2019-09-04 13:34:09 -07:00
Michael Vines 9f2119920c
Revert "Add debug to help track down ci/localnet-sanity.sh instability"
This reverts commit 7aaf5bc02c.
2019-08-27 14:28:22 -07:00
Michael Vines 7aaf5bc02c
Add debug to help track down ci/localnet-sanity.sh instability 2019-08-27 08:49:04 -07:00
Sagar Dhawan 55b8ff72d0
Enable parallel tests to reduce test time (#4919)
* Add crate to serialize some tests

* Ignore unused attribute warning

* Enable parallel run in CI

* Try to fix lograte tests

* Fix interdependent counter tests
2019-07-02 17:35:03 -07:00
Michael Vines 36aa876833 Avoid linking with CUDA directly 2019-06-21 15:26:22 -07:00
Rob Walker f8523db51d
Revert "remove build --all (#4737)" (#4745)
This reverts commit 63503ad589.
2019-06-19 23:21:10 -07:00
Rob Walker 63503ad589
remove build --all (#4737)
* remove build  all

* Update test-stable.sh
2019-06-19 17:36:25 -07:00
Michael Vines 8bd1c57448 Defer CUDA selection to env.sh, also always create env.sh 2019-06-19 08:47:27 -07:00
Michael Vines 5683282c94 Update to solana-perf-libs v0.14.0, with support for both CUDA 10.0 and 10.1 2019-06-18 10:41:03 -07:00
Jack May 2a7a9fdf03
Re-org SDK dir (#4690) 2019-06-17 11:04:38 -07:00
Jack May b91ad6fd96
Clear C dependency files from cache (#4692) 2019-06-14 19:11:16 -07:00
Michael Vines 0dbe5ee559
Add chacha-sys crate (#4620)
* af9ff9c7f9/src/cpu-crypt

* Add chacha-sys crate

* Remove chacha feature

* Remove erasure feature

* Add .gitignore
2019-06-10 07:14:02 -07:00
Jack May 66c41b3e8c Enable iter test (#4542)
automerge
2019-06-07 16:44:14 -07:00
Michael Vines 942785b626
sdk/bpf/scripts/install.sh: Retry downloads on transient 403 S3 failures seen in CI (#4436)
* Avoid caching perf-libs in CI

* Retry downloads on transient 403 S3 failures seen in CI
2019-05-25 14:41:09 -07:00
Jack May 9271ba0039
Cleanup Rust BPF program building (#4318) 2019-05-16 17:35:42 -07:00
Michael Vines 6293d324db
Spellnig 2019-04-24 07:39:29 -07:00
Greg Fitzgerald 51a2988bb2
Revert "Rename programs to instruction_processors (#3789)" (#3824)
This reverts commit 34344982a9.
2019-04-17 15:05:49 -06:00
Amr Ali 34344982a9
Rename programs to instruction_processors (#3789)
* Rename programs to instruction_processors

* Updates around the code base to support instruction_processors rename

* Kabab instruction_processors

* Update Cargo.toml files and scripts to use instruction-processors

* Update Cargo.toml to use instruction-processors

* Update CI scripts to use instruction-processors
2019-04-16 22:39:00 +02:00
Stephen Akridge 981e057363 Just test features in core 2019-03-28 21:40:52 -07:00
Rob Walker c70412d7bb
move core tests to core (#3355)
* move core tests to core

* remove window

* fix up flaky tests

* test_entryfication needs a singly-threaded banking_stage

* move core benches to core

* remove unnecessary dependencies

* remove core as a member for now, test it like runtime

* stop running tests twice

* remove duplicate runs of tests in perf
2019-03-18 22:08:21 -07:00
Michael Vines 8f25548781 Overhaul cargo/rustc version management 2019-03-14 20:22:46 -07:00
Michael Vines 3d2b7dd1ef Move programs/system into runtime/ 2019-03-12 11:30:58 -05:00
Tyera Eulberg e248efce06 Add programs/system explicitly to CI test suite 2019-03-05 09:33:27 -07:00
Michael Vines 03d6c9a552 Defeature bpf_loader; bpf_{c,rust} features now confined to programs/bpf 2019-03-04 11:02:37 -08:00
Michael Vines 534619f72f Update manifest-path 2019-03-02 22:11:48 -08:00
Greg Fitzgerald 9923c543e8 Fix ci scripts 2019-03-02 22:11:48 -08:00
Jack May b9524217fe
Update rust example to use BPF enabled infrastructure (#2974) 2019-02-28 22:05:11 -08:00
Michael Vines 36cdaffe25
Fix indent 2019-02-27 11:11:24 -08:00
Jack May 329382f016
Pull BPF enabled rustc and sysroot into SDK (#2936) 2019-02-25 15:35:45 -08:00
Jack May 77ea4cd285 Reapply dependency Band-aid to make CI happy 2019-02-22 15:56:07 -07:00
Jack May 71602fe04b
Fix root package dependencies (#2899) 2019-02-22 14:08:25 -08:00
Jack May 3a7008949f
Build all deps (#2896) 2019-02-22 09:49:25 -08:00
Jack May 3610768888
Run featurized tests on sub-packages (#2867) 2019-02-21 22:38:36 -08:00
Michael Vines 02c0098d57 Less --verbose by default 2019-02-10 10:19:16 -08:00
Michael Vines 6317bec7aa Avoid empty --features= arg to avoid unnecessary cargo building 2019-02-07 10:42:57 -08:00
Michael Vines eb3ba5ce2d tmi: disable --verbose by default. | export V=1| to request verbosity 2019-02-07 10:42:57 -08:00
Michael Vines 4aa6695a13 source ulimit-n.sh so it applies to the current shell 2019-02-02 20:08:49 -08:00
Michael Vines 21c09073a1 Add help script to easily run all integration tests 2019-02-01 12:42:46 -08:00
Michael Vines a8ea6471e7 Add ledger-tool tests to CI 2019-01-28 17:08:59 -08:00
Michael Vines b03d1d8894 Enable integration test logging for better debug on CI failure 2019-01-17 23:14:18 -08:00
Tyera Eulberg 14267e172d Add local drone integration test 2019-01-17 15:06:04 -08:00
Tyera Eulberg 8af61f561b
Improve Wallet coverage (#2385)
* Add trait for RpcRequestHandler trait for RpcClient and add MockRpcClient for unit tests

* Add request_airdrop integration test

* Add timestamp_tx, witness_tx, and cancel_tx to wallet integration tests; add wallet integration tests to test-stable

* Add test cases

* Ignore plentiful sleeps in unit tests
2019-01-14 00:10:03 -07:00
Michael Vines d28b643c84 localnet-sanity.sh now supports iterations testing 2019-01-13 21:49:09 -08:00
Stephen Akridge d2cb4e003c Re-enable the --lib tests 2019-01-07 15:28:20 -08:00
Michael Vines e8e6c70e19
Remove duplicate _ definitions 2018-12-18 14:25:10 -08:00
Michael Vines cd6736d70b Remove duplication between test-stable{,-perf}.sh 2018-12-18 14:02:43 -08:00
Michael Vines c0dcf67ec8 Move book build into test-checks 2018-12-18 13:03:38 -08:00
Michael Vines 74ee1e5087 Increase the number of files a node may have open at a time 2018-12-15 17:15:22 -08:00
Michael Vines f0d1ed0cc4 |cargo test --all| 2018-12-14 19:32:04 -08:00
Michael Vines 9d0b7c6b31 Remove bench_streamer feature 2018-12-13 22:25:27 -08:00
Michael Vines 4b07778609 Add bench_streamer feature to inhibit building solana-bench-streamer by default
This program is not currently used in any automation and is fairly slow
to build.  Disabling it by default will speed incremental builds.
2018-12-12 16:31:13 -08:00
Michael Vines f5569e76db Relocate native programs to deps/ subdirectory of the current executable
This layout is `cargo build` compatible, no post-build file moves
required.
2018-12-08 16:31:01 -08:00
Michael Vines fa58da2401 Explicitly specific build variant when installing native programs 2018-12-07 11:32:08 -08:00
Michael Vines 7336645501 Move programs into the executable location so native_loader can find them 2018-12-05 10:49:06 -08:00
Michael Vines 424612ea9d Reduce |ulimit -n| on macOS to max supported amount 2018-12-05 10:49:06 -08:00
Rob Walker 3ca826a480
re-enable test_tpu_forwarder (#1964) 2018-11-30 13:52:37 -08:00
Rob Walker 3cc0dd0d1e stabilize testing with --test-threads=1 2018-11-29 12:54:42 -08:00
Stephen Akridge 5c71f2a439 Add ulimit check to stable test suite
cargo test needs larger ulimit than default as well.
2018-11-29 11:39:42 -08:00
Rob Walker fa4bdb4613 add --no-capture to get some logs from flaky tests 2018-11-27 23:24:20 -08:00
Michael Vines af1d9345e0 De-dup ci book build 2018-11-26 18:38:57 -08:00
Michael Vines 58e3dd4cb6 Avoid trying to install svgbob when already installed 2018-11-26 17:18:55 -08:00
Greg Fitzgerald 69beee5416 Install svgbob 2018-11-26 09:44:19 -08:00
Greg Fitzgerald 2200a31331 Generate book images via Make 2018-11-26 09:44:19 -08:00
Greg Fitzgerald 88e270723f Move markdown book out of src/ 2018-11-26 09:44:19 -08:00
jackcmay 59163e2dd9
Optimize some CI stuff (#1880)
* CI Optimizations
2018-11-21 12:16:16 -08:00