Commit Graph

754 Commits

Author SHA1 Message Date
Michael Vines c67cc694ae
Remove stake from `./net sanity` ephemeral validator (#3797) 2019-04-15 21:42:25 -07:00
Pankaj Garg 819a0c5c7e
Update testnet automation script to reflect changes in metrics (#3779) 2019-04-15 18:56:04 -07:00
Greg Fitzgerald 80f3568062
Upgrade to Rust 1.34.0 (#3781)
* Upgrade to Rust 1.34.0

* Remove redundant closures

Thanks Clippy!
2019-04-15 15:56:08 -06:00
Michael Vines 5e2831f09e Disable cluster restart attempt 2019-04-15 09:59:53 -07:00
Michael Vines 6c9fba058b Reenable validator sanity check for testnet-{beta,edge} 2019-04-15 08:58:29 -07:00
Michael Vines f6aa90e193 Add fullnode --dynamic-port-range option 2019-04-14 07:08:29 -07:00
Michael Vines 5b438d917d Create fullnode-x.sh wrapper script for use with |solana-install run ...| 2019-04-12 17:08:18 -07:00
Michael Vines 2f1b0bf4f5 Add solana-install deployments to the testnets 2019-04-11 10:03:35 -07:00
Rob Walker 58a049ebe5
pick up logs as artifacts (#3721) 2019-04-10 17:05:39 -07:00
Dan Albert a5254a3f7a
Add TESTNET_TAG Env var to buildkite (#3692)
* Add TESTNET_TAG Env var to buildkite
2019-04-09 13:00:45 -07:00
Michael Vines 6ac919c71a Set warn log level only for perf testnets 2019-04-09 11:09:16 -07:00
Pankaj Garg 72b7419e1c
Define list of valid cloud regions for GCE and AWS (#3670) 2019-04-07 14:29:09 -07:00
Pankaj Garg 7baff0920c Propagate cloud env variables to buildkite job 2019-04-07 11:48:25 -07:00
Pankaj Garg d9ecc278b4
Configure cloud zones and nodes from buildkite for beta testnet (#3666) 2019-04-07 08:25:34 -07:00
Pankaj Garg 89efe67e73 Fix the ordering of beta testnet zones 2019-04-05 17:53:31 -07:00
Greg Fitzgerald c3654b0f65 Add sdk benches to ci
And add `-a` to `tee` for more reliable copypasta.
2019-04-05 17:58:11 -06:00
Dan Albert 3fcca5bc0a Suppress shellcheck array expansion warnings 2019-04-05 13:25:14 -07:00
Dan Albert 9d4c6f6aaa Appease shellcheck 2019-04-05 13:25:14 -07:00
Dan Albert d570b08134 Clean up array expansion 2019-04-05 13:25:14 -07:00
Dan Albert 8b6d7129f3 Fix option flag lettering 2019-04-05 13:25:14 -07:00
Dan Albert 50444181c5 Fix arg array ordering and rename network-name option 2019-04-05 13:25:14 -07:00
Dan Albert 0c51f156ae Reverse order of zone arg array building 2019-04-05 13:25:14 -07:00
Dan Albert fe2fb40d88 Add multi-region deploy functionality 2019-04-05 13:25:14 -07:00
Dan Albert 9ba0439593 Add multi-region deploy functionality 2019-04-05 13:25:14 -07:00
Pankaj Garg b33a1fa019 Fix clippy errors 2019-04-05 12:22:10 -07:00
Pankaj Garg 63fd4222aa Fix testnet sanity check for beta testnet 2019-04-05 12:22:10 -07:00
Pankaj Garg ed78c8d3bb Fix beta testnet launch script 2019-04-04 15:16:01 -07:00
Pankaj Garg ef1e5db0ee Force delete all beta testnet nodes before restarting them 2019-04-03 17:58:54 -07:00
Pankaj Garg 2e4acba579 Remove second block streamer from testnet beta 2019-04-02 15:15:11 -07:00
Pankaj Garg f441177840 Deploy beta testnet with 100 nodes across AWS and GCP 2019-04-02 11:21:57 -07:00
Tyera Eulberg 92c66a411b Remove bench-tps converge-only 2019-04-01 23:05:25 -06:00
Tyera Eulberg af97ad3d68 Add solana-gossip module 2019-04-01 23:05:25 -06:00
Pankaj Garg cb3adea94f Increase node count in beta testnet 2019-04-01 11:06:24 -07:00
Stephen Akridge 981e057363 Just test features in core 2019-03-28 21:40:52 -07:00
Pankaj Garg 1d48c4dd45 enable leader rotation in beta testnet 2019-03-28 13:44:44 -07:00
Pankaj Garg c09e0eb536 propagate TESTNET_DB_HOST env variable to next step in buildkite 2019-03-26 14:40:18 -07:00
Pankaj Garg 0d90dfae1a Add provisions to specify a database server in testnet manager buildkite 2019-03-26 14:40:18 -07:00
Pankaj Garg e1c0425c2b Remove rewards crate from publishing script 2019-03-25 20:19:58 -07:00
Greg Fitzgerald 573dec63da Fix runtime benches 2019-03-25 14:32:01 -06:00
Greg Fitzgerald 028b9da0da Revert "Move the design proposals to a separate book"
This reverts commit 4ca18d6b9affbc574d1b3d3d230230b057f8fde3.
2019-03-23 14:04:34 -06:00
Greg Fitzgerald 74cea2748c Revert "Publish design proposals"
This reverts commit fb44e2bf48.
2019-03-23 14:04:34 -06:00
Michael Vines 6113b64fee Include multinode-demo scripts in release tarball 2019-03-21 22:09:44 -07:00
Greg Fitzgerald 2b00a42b06 Boot Rewards program 2019-03-21 12:07:20 -06:00
Michael Vines fb44e2bf48 Publish design proposals 2019-03-21 10:54:59 -06:00
Michael Vines 63aadc4905 Turn top-level Cargo.toml into a virtual manifest 2019-03-21 08:47:58 -07:00
Michael Vines 402a733cd7 Upload tarball as a github release asset 2019-03-20 21:39:35 -07:00
Michael Vines 78be3652de Add script to upload github release assets 2019-03-20 21:39:35 -07:00
Michael Vines b03d9884a3 Ensure current crate versions match the tag before publishing to crates.io 2019-03-20 20:51:58 -07:00
Michael Vines 799085a105 Remove dead code 2019-03-20 20:51:58 -07:00
Michael Vines d4bcc4d474
🐳 2019-03-20 16:21:47 -07:00
Michael Vines 985592cf40
Fix cp args 2019-03-20 14:29:30 -07:00
Michael Vines 791ead6053 Include TARGET in release URL to make room for future targets 2019-03-20 13:54:32 -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 3ad019a176 Increment stable timeout 2019-03-16 23:56:35 -07:00
Rob Walker e3ef4f25d3
Update Dockerfile
install mscgen (for book art)
2019-03-15 20:44:35 -07:00
Mark 656fb173f9
Extract kvstore into separate crate (#3327)
* extract kvstore into new crate

* add kvstore crate to CI publishing list
2019-03-15 18:42:47 -05:00
Michael Vines 5f58e9cd6e Config program - useful for storing/updating simple config items on chain 2019-03-15 16:39:45 -07:00
Michael Vines c8bbca08f8 Install the install program 2019-03-15 16:30:31 -07:00
Michael Vines ca4f874f52
Remove ci/run-local.sh 2019-03-15 15:09:25 -07:00
Michael Vines 41b98c603b Upgrade rust stable to 1.33.0 2019-03-15 09:25:28 -07:00
Michael Vines 5430dd28b6 Update docker-rust to 1.33 2019-03-15 09:25:28 -07:00
Michael Vines e9d687329b Only push newly built container 2019-03-15 09:25:28 -07:00
Michael Vines 3ced91319f Upgrade nightly rust version 2019-03-14 20:22:46 -07:00
Michael Vines 3d1413e619 Preserve original nightly name 2019-03-14 20:22:46 -07:00
Michael Vines 8f25548781 Overhaul cargo/rustc version management 2019-03-14 20:22:46 -07:00
Greg Fitzgerald 9fac3b26ee Move the design proposals to a separate book
Fixes #3262
2019-03-14 10:08:43 -07:00
Michael Vines 34a8d591fa Switch version file from .txt to .yaml; add target tuple to version.yml 2019-03-13 16:30:07 -07:00
Tyera Eulberg b7f420412b Update publish script 2019-03-12 22:05:38 -06:00
Sagar Dhawan 866d3f467f
Fix flag to disable leader-rotation (#3243) 2019-03-12 16:35:13 -07:00
Michael Vines a7d8bfdf8b Adjust crate list 2019-03-12 14:02:51 -07:00
Michael Vines 3d2b7dd1ef Move programs/system into runtime/ 2019-03-12 11:30:58 -05:00
Michael Vines 5a0416b925
Keep stable dashboard on stable channel at all times 2019-03-11 16:19:16 -07:00
Michael Vines ba2cdd0bf6
Move testnet/testnet-perf to the stable channel 2019-03-11 16:14:16 -07:00
Michael Vines a539c9ad67 Restore print ban, and widen the net 2019-03-05 14:09:40 -08:00
Tyera Eulberg e248efce06 Add programs/system explicitly to CI test suite 2019-03-05 09:33:27 -07:00
Michael Vines 3fc846d789 Try to use the RPC exit API to cleanly exit nodes 2019-03-04 19:58:37 -08:00
Michael Vines 7b49c9f09c Delete fullnode-config/ 2019-03-04 15:49:02 -08: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 d708982f27 Remove unstable and test feature flags 2019-03-04 09:30:00 -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
Greg Fitzgerald 037fcf6b3d Bump all native programs up a level
Don't categorize programs by a single backend.
2019-03-02 22:11:48 -08:00
Michael Vines cd4bccfd12 Remove snap support 2019-03-02 17:41:09 -08:00
Michael Vines 5f5d779ee1 Move src/ into core/src. Top-level crate is now called solana-workspace 2019-03-02 09:52:18 -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 fb904e7a29 Enable CUDA persistence mode to reduce surprises 2019-02-21 19:25:17 -08:00
Tyera Eulberg 18d48f09f8 Plumb blockstreamer name through testnet scripts 2019-02-21 17:24:29 -07:00
Michael Vines 33c7f92f56 Dial down CI timeouts 2019-02-20 16:43:13 -08:00
Greg Fitzgerald 08d7a0d52d Upgrade to Rust 1.32.0
$ rustup update stable
2019-02-18 21:44:09 -07:00
Michael Vines 0dbc33f781 Finish removing getConfirmationTime 2019-02-17 16:27:50 -08:00
Michael Vines a27e9cb3c2
Add -u option 2019-02-17 10:45:25 -08:00
Michael Vines 10270dcbad Add an API node to non-perf testnets 2019-02-17 10:39:27 -08:00
Michael Vines ab6c7f6ca3 /it/ti/ 2019-02-16 10:40:47 -08:00
Michael Vines 02c0098d57 Less --verbose by default 2019-02-10 10:19:16 -08:00
Michael Vines c02625f91a Ban Default::default() 2019-02-09 10:12:32 -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
Greg Fitzgerald 5128d7d6c3 Move runtime.rs into its own crate 2019-02-07 09:46:06 -08:00
Greg Fitzgerald 731e5e1291 Boot lua loader
Good fun, but unnecessary and I haven't been updating the rlua
dependency. If someone wants this, it can be developed outside
the solana repo.
2019-02-07 10:25:11 -07:00
Jack May 5f565c92c9
cargo incremental builds breaks Rust BPF, locally disable it (#2674) 2019-02-06 13:59:10 -08:00
Michael Vines afdf0efd31 Disable bpf_rust temporarily 2019-02-06 13:31:35 -08:00
Michael Vines 7fc271ef97 Bump stable timeout 2019-02-06 13:31:35 -08:00
Michael Vines 98e893c69b Avoid empty --features= arg to avoid unnecessary cargo building 2019-02-02 20:08:49 -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 a7e5423ede Set ulimit -n 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 4fb9c8a547 Bump timeout 2019-02-01 07:11:17 -08:00
Michael Vines 344427c1dc Update to rust nightly 2019-01-31 2019-02-01 07:11:17 -08:00
Rob Walker 00bb5925e1
use a .gitignore'd file name for transactionCount (#2609) 2019-01-30 20:19:10 -08:00
Rob Walker a0bed5375d
remove println!, add check to keep it out (#2585)
* remove debugging prints

* remove println!, add check to keep it out
2019-01-29 16:02:03 -08:00
Rob Walker 145fb3675d
check for debugging lint in CI (#2578)
* check for debugging lint in CI
* nit
* add TODO
2019-01-28 18:32:30 -08:00
Michael Vines a8ea6471e7 Add ledger-tool tests to CI 2019-01-28 17:08:59 -08:00
Jack May 9abc500269
Fix BPF C tests and run as part of CI (#2540) 2019-01-24 12:15:37 -08:00
Rob Walker 6aa80e431d
increase startup timeout for localnet sanity (#2534) 2019-01-23 15:06:08 -08:00
Michael Vines 73930b5eac
Unfold log on errors 2019-01-23 07:48:59 -08:00
Michael Vines fbeba259b3 Reorg tests 2019-01-23 00:02:30 -08:00
Michael Vines d1bedeae13 Wait for nodes to finish booting before running sanity checks 2019-01-23 00:02:30 -08:00
Michael Vines 8dc9089611 Display confirmation time 2019-01-23 00:02:30 -08:00
Michael Vines 222d2d7953 Verify transaction count as reported by the bootstrap-leader node is advancing 2019-01-23 00:02:30 -08:00
Michael Vines e3ae10bacc
User-initiated builds now select the correct channel 2019-01-22 14:23:46 -08:00
Michael Vines fcda94b673
Use beta channel for stable dashboard once a beta tag exists 2019-01-22 12:22:57 -08:00
Michael Vines dea20248c4
Increase job timeout 2019-01-22 09:35:03 -08:00
Michael Vines ae90ac238c Use unique log file for each additional (-x/-X) fullnodes 2019-01-22 08:27:36 -08:00
Michael Vines 3b0ca9f478 Add rolling update test 2019-01-22 08:27:36 -08:00
Michael Vines 61e79e6d02 Add -c to resume a previous run 2019-01-22 08:27:36 -08:00
Michael Vines 1cdab81a3c Add -R option to restart the cluster incrementally 2019-01-22 08:27:36 -08:00
Michael Vines dca0ba6a5d Use -X for dynamic fullnodes, to ensure keypair remains constant during iterations 2019-01-22 08:27:36 -08:00
Michael Vines 3c86f41769 Run buildkite iterations in parallel 2019-01-21 14:04:19 -08:00
Michael Vines 648b6597bf
configure ulimit 2019-01-20 10:54:12 -08:00
Michael Vines 514bf32b99
Enable ledger verification for non-perf testnets 2019-01-19 20:28:56 -08:00
Michael Vines 6282c53fe5 Add iterations with leader rotation enabled and periodic restarts 2019-01-18 13:42:04 -08:00
Michael Vines dac28e0961 Temporarily ignore wallet sanity failures when leader rotation is enabled
This commit should be reverted once https://github.com/solana-labs/solana/issues/2474 is fixed
2019-01-18 13:42:04 -08:00
Michael Vines 443d8ce7c4 Add option to restart the cluster during iterations 2019-01-18 13:42:04 -08:00
Michael Vines b03d1d8894 Enable integration test logging for better debug on CI failure 2019-01-17 23:14:18 -08:00
Michael Vines 8e4a86e329 Recovery multinode tests 2019-01-17 23:14:18 -08:00
Tyera Eulberg 14267e172d Add local drone integration test 2019-01-17 15:06:04 -08:00
Michael Vines 825d8ef6c9 Add ability to use the RPC endpoint from a node other than the bootstrap leader 2019-01-17 09:04:57 -08:00
Michael Vines e4c6e4bf26 Report full node info before starting/updating network 2019-01-16 10:24:00 -08:00
Michael Vines 8783563176 Report full node info before running sanity 2019-01-16 10:24:00 -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 780360834d Iteration testing v0.1 2019-01-13 21:49:09 -08:00
Michael Vines d28b643c84 localnet-sanity.sh now supports iterations testing 2019-01-13 21:49:09 -08:00
Michael Vines 5d3847d14d Publish book from both the edge and beta channels 2019-01-12 11:08:29 -08:00
Michael Vines 5b92286568 Remove channel duplication 2019-01-12 11:08:29 -08:00