Commit Graph

720 Commits

Author SHA1 Message Date
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
Michael Vines c1cd92bbee Avoid -d arg conflict
-D is now "delete"
-d is now "disk type"
2019-01-09 16:39:24 -08:00
Michael Vines 639bed2f6d Reorder sanity.
1. Check for presence of nodes
2. Check for functioning RPC API
3. Then try the wallet
2019-01-09 12:05:30 -08:00
Michael Vines 77794eebdb Remove |cargo package| sanity step
Unfortunately due to our multi-crate repo, as soon as
|./scripts/increment-cargo-version.sh| is run after a release, |cargo
package| will fail for crates that depend on other in-tree crates, as
the new crate version has not yet been published to crates.io.
For now this means that we need to continue flying blind and be prepared
to deal with minor publishing issues on each new release.
2019-01-09 11:59:24 -08:00
Michael Vines 6b46c22b42 Use restart 2019-01-09 11:59:01 -08:00
Michael Vines 64ebd9a194 Add update-to-restart operation. Also try to update before restarting on sanity failures 2019-01-08 21:11:43 -08:00
Michael Vines 35fe08b3bc Add update support 2019-01-08 21:11:43 -08:00
Michael Vines 5c87ddc80e nit: hide echo 2019-01-08 21:11:43 -08:00
Michael Vines 1b7598e351 Add retries to RPC API probe 2019-01-08 08:50:51 -08:00
Michael Vines cd0e08cae5 Add fullnode-config crate 2019-01-07 23:02:32 -08:00
Michael Vines 1490c42d9f Use docker rust docker image to avoid rocksdb build errors 2019-01-07 23:02:32 -08:00
Michael Vines 789ee9f138 package or publish. Also package on branch builds 2019-01-07 23:02:32 -08:00
Michael Vines 0a981a6606
Double publish crate timeout 2019-01-07 20:46:21 -08:00
Michael Vines c4ca76e39e
Only check TRIGGERED_BUILDKITE_TAG 2019-01-07 19:56:01 -08:00
Stephen Akridge d2cb4e003c Re-enable the --lib tests 2019-01-07 15:28:20 -08:00
Michael Vines 71a2b794b4
Enable info logging on non-perf clusters to aid debug of failures 2019-01-05 08:28:32 -08:00
Michael Vines 373714bf0b
Disable publish snap again 2019-01-04 21:20:33 -08:00
Michael Vines ee769171b9
Restore publish snap 2019-01-04 20:46:44 -08:00
Michael Vines ea00c1274e Add net sanity failure metric 2019-01-04 18:45:55 -08:00
Michael Vines 1a9401e1f3 Permit build on Cargo.{lock,toml} changes 2019-01-03 09:35:11 -08:00
jackcmay a461c5682d
First stab at Rust BPF (#2269)
First stab at Rust BPF
2019-01-02 15:12:42 -08:00
Michael Vines 1531a1777a Add RPC API check 2018-12-24 22:51:36 -08:00
Michael Vines 3a2fa9a650 Enable ledger/validator sanity for non-perf testnets 2018-12-24 22:51:36 -08:00
Michael Vines 95c9fefbd0
Make sanity failure message more visible 2018-12-23 17:30:59 -08:00
Michael Vines 073a48ab85
Restore timeout 2018-12-23 17:30:41 -08:00
Michael Vines 7f2fa8bbcb Collect and upload network logs 2018-12-23 10:19:10 -08:00
Michael Vines b46c809544
source ci/upload-ci-artifact.sh 2018-12-22 12:34:30 -08:00
Michael Vines eb29a2898c
Uplaod net/log/ files as buildkite artifacts 2018-12-22 12:22:58 -08:00
Michael Vines c3a74e5e63
Avoid unnecessary shellcheck directives 2018-12-22 11:57:47 -08:00
Pankaj Garg 23d3a9ae42
Use CUDA for testnet automation performance calculations (#2259) 2018-12-21 04:27:31 -08:00
Pankaj Garg 756156e9db
Use SSD for testnet automation (#2257) 2018-12-20 20:13:56 -08:00
Michael Vines becfd1e9fa ci/test-stable-perf.sh now runs on macOS 2018-12-20 17:23:22 -08:00
Pankaj Garg 951d6398a0
Rename finality to confirmation (#2250)
* Rename finality to confirmation

* fix cargo fmt errors
2018-12-20 15:47:48 -08:00
Michael Vines ddc1082e8c
Stable dashboard can now actually come from the stable channel 2018-12-20 08:04:59 -08:00
Michael Vines d78f19f8bb
Select correct branch for {testnet,-perf} when using a stable channel tag 2018-12-19 17:46:18 -08:00