Commit Graph

1169 Commits

Author SHA1 Message Date
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
Ryo Onodera 699ca5fec1
Unignore advisories as affected ver. is corrected (#7730)
For details see upstream PR: https://github.com/RustSec/advisory-db/pull/221
2020-01-14 11:16:32 +09:00
carllin fd3c6eb320 Remove print in test (#7758)
automerge
2020-01-10 15:37:22 -08:00
Justin Starry 719785a8d3 Update http crate to fix security vulnerability (#7725)
* Update http to fix security vulnerability

* Ignore RUSTSEC because they incorrectly says http 0.1.21 is vulnerable
2020-01-10 04:43:02 +09:00
Ryo Onodera 287995ffdf
Correctly integrate buildkite with codecov (#7718)
* Correctly integrate buildkite with codecov

* Fix shellcheck...

* Really detect Buildkite
2020-01-10 03:39:33 +09:00
Jack May 2f5f8e7afd
Pass RUST_LOG through on testnet creation (#7707) 2020-01-07 21:46:28 -08:00
Michael Vines cd65a1e172 Run local cluster tests serially for easier debug 2020-01-04 09:34:27 -07:00
Michael Vines 078e7246ac Publish bpf-sdk only in Linux build 2020-01-02 23:20:59 -07:00
Jack May 06cff1fb9f
Publish bpf-sdk releases (#7655) 2020-01-02 20:44:15 -08:00
Michael Vines 2e8bbed75b
Revert "Remov dead code from TdS testnet manager config (#7414)"
This reverts commit 8920ac02f6.
2020-01-02 21:07:40 -07:00
Michael Vines fad6c7201e
Remove old book location (#7621) 2019-12-23 22:56:42 -07:00
Michael Vines 8f0e1f3349
Update gitbook-cage first 2019-12-23 18:18:30 -07:00
Dan Albert 7329d4bf3a Extend Stable CI job timeout to 60 minutes (#7604) 2019-12-22 20:14:07 -07:00
Rob Walker a7040896f0
Update to rust 1.40.0 (#7572)
* Update to rust 1.40.0

* fixups
2019-12-19 23:27:54 -08:00
Rob Walker 807e930786
Update publish-book.sh 2019-12-17 18:41:46 -08:00
Rob Walker 585fca06a1
Update publish-book.sh 2019-12-17 15:36:11 -08:00
Rob Walker acb7ce16ca
Cleanup book build (#7254)
* book

* remove copies stuff

* missing png

* update cage in publish-book.sh

* shellcheck

* update image link

* avoid clone

* nits
2019-12-17 14:29:46 -08:00
Tyera Eulberg 3513f4ee84
Rename drone to faucet (#7508) 2019-12-16 14:05:17 -07:00
Jack May cc5408482e
Publish solana-docker releases (#7460) 2019-12-12 16:15:31 -08:00
Dan Albert 8920ac02f6
Remov dead code from TdS testnet manager config (#7414) 2019-12-10 19:16:49 -05:00
Dan Albert 12d471e2da
Update default node balance to 500 SOL and default stake to 1 SOL (#7411) 2019-12-10 17:52:35 -05:00
Justin Starry 711487267d
Increase signature confirmation timeout to fix wallet sanity (#7283)
* Use --hashes-per-tick sleep for localnet sanity test

* Decrease wallet sanity timeout

* Fix  check when
2019-12-06 15:39:28 -05:00
Tyera Eulberg 503bf69ab3
Bump wallet-sanity timeout (#7327) 2019-12-06 11:12:18 -07:00
Jack May b72c99e46a
nudge (#7265) 2019-12-04 11:03:24 -08: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
Michael Vines d7a82783be
Ensure beta/stable testnets use public IPs 2019-11-26 11:24:38 -07:00
Justin Starry eaa3e87eb0 Support passphrases in keygen (#7134)
* Support passphrases in keygen

* remove short

* Update solana_keygen calls
2019-11-25 21:33:15 -07:00
Rob Walker ef64f00cbb
Revert "Revert "add genesis stake placeholders (#6969)" (#7109)" (#7124)
This reverts commit 702f7cc51d.
2019-11-25 15:11:55 -08:00
anatoly yakovenko 702f7cc51d Revert "add genesis stake placeholders (#6969)" (#7109)
* Revert "add genesis stake placeholders (#6969)"

This reverts commit 8a879faac7.

* fixup! Revert "add genesis stake placeholders (#6969)"

* fixup! fixup! Revert "add genesis stake placeholders (#6969)"

* fixup! fixup! fixup! Revert "add genesis stake placeholders (#6969)"

* fixup! fixup! fixup! fixup! Revert "add genesis stake placeholders (#6969)"

* fmt
2019-11-23 23:15:21 -07:00
Ryo Onodera 7f87ac4b65
Improve coverage.sh's environment awareness (#7101)
* Improve coverage.sh's environment awareness

* Move version check into ci/rust-version.sh

* Embrace bashism
2019-11-23 14:53:39 +09:00
Michael Vines 3e0b272a20
Remove edge channel hardcode 2019-11-22 20:34:49 -07:00
Michael Vines 68bad56e7d
Streamline multinode-demo/ restart logic (#7094)
* bootstrap-leader.sh will now restart the node automatically by default
* Streamline validator restart
2019-11-22 09:44:16 -07:00
Rob Walker 8a879faac7
add genesis stake placeholders (#6969)
* add investor stake placeholders

fixups

fixups

review comments, fixups

make more data-looky for easier management

rent may be zero

rework with more tables, derived keys

fixups

rebase-fix

fixups

fixups

* genesis is now too big to boot in 10 seconds
2019-11-21 12:05:31 -08:00
Jack May 3415db9739
Merge api/program into single units (#7061) 2019-11-20 16:32:19 -08:00
Jack May c39633f968
nit: Circular dependency error is hard to read (#7065) 2019-11-20 13:13:22 -08:00
sakridge 3aa67969f9
Add perf module to stable-perf CI (#7060) 2019-11-20 10:59:56 -08:00
Jack May d184d3a732
Merge native programs parts into one unit (#7047) 2019-11-20 10:12:43 -08:00
Michael Vines c3926e6af0
|solana-gossip spy| no longer requires an entrypoint (#6999) 2019-11-16 14:16:28 -07: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
Michael Vines 0bee05b849
Pull TdS transaction fees to 0 2019-11-15 15:51:37 -07:00
Michael Vines 5ab70c4e97
genesis: rename mint account to faucet account and make it optional (#6990) 2019-11-15 14:50:26 -07:00
Dan Albert e1643c91c4
Pull a fixed and working version of shellcheck docker imaage (#6975) 2019-11-15 10:55:25 -05:00
TristanDebrunner ae3c9033c1
Stop running testsuites when only the book is modified (#6956) 2019-11-14 14:36:08 -07:00
Michael Vines e7f63cd336
Upgrade to rust 1.39.0 (#6939)
* Upgrade to rust 1.39.0

* 1.39.0 clippy
2019-11-14 12:27:01 -07:00
Michael Vines 2fd2140f64
🍢banking-bench/, genesis-programs/ and local-cluster/ (#6920)
* git mv genesis_programs genesis-programs

* git mv local_cluster local-cluster

* git mv banking_bench banking-bench
2019-11-12 22:20:48 -07:00
Michael Vines 86faa3f995
Properly type RpcClient::get_version() (#6919) 2019-11-12 22:01:04 -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
Ryo Onodera 3faeb7fa79 Rename solana-netutil to solana-net-utils for consistency (#6895)
* sed -i -e 's/netutil/net_utils/g' $(git grep --files-with-matches netutil :**.rs)

* sed -i -e 's/netutil/net-utils/g' $(git grep --files-with-matches netutil)

* git mv netutil/ net-utils

* Tweak a bit

* Fix rustfmt & clippy
2019-11-12 13:37:13 -07:00
Justin Starry 9807f47d4e
Rename genesis block to genesis config (#6816) 2019-11-08 23:56:57 -05:00
Michael Vines 63425bed10
Move move tests into its own job (#6847) 2019-11-08 20:40:03 -07:00
Michael Vines f8e64aad5b
ci/shellcheck.sh now only audits files that git knows about (#6815) 2019-11-08 10:25:59 -07:00
Michael Vines 75fd13de5d
Prevent ci/nits.sh from incorrectly nitting on ci/nits. (#6814) 2019-11-08 09:40:25 -07:00
Michael Vines 87ba66b6d0
Add net/ support for reusable identity keypairs (#6783) 2019-11-06 21:14:05 -07:00
Tyera Eulberg b3a75a60a4
Use rooted bank by default in rpc bank selection (#6759)
* Name anonymous parameters for clarity

* Add CommitmentConfig to select bank for rpc

* Add commitment information to jsonrpc docs

* Update send_and_confirm retries as per commitment defaults

* Pass CommitmentConfig into client requests; also various 'use' cleanup

* Use _with_commitment methods to speed local_cluster tests

* Pass CommitmentConfig into Archiver in order to enable quick confirmations in local_cluster tests

* Restore solana ping speed

* Increase wallet-sanity timeout to account for longer confirmation time
2019-11-06 14:15:00 -07:00
Michael Vines fba1af6ea9
ledger-tool can now load a ledger snapshot (#6729) 2019-11-04 22:14:55 -07:00
Trent Nelson d085c8626f GCE: Add instances self-destruct (#6363)
automerge
2019-11-04 10:30:26 -08:00
TristanDebrunner e6c8bfd008
Add --use-move flag to cargo-install-all.sh and net/net.sh (#6670) 2019-11-01 07:53:30 -07:00
TristanDebrunner 627664b785 Re-enable tests (#6615)
automerge
2019-10-29 21:34:20 -07:00
Tyera Eulberg 4ec95043d7
Update sol:lamport ratio to base-10 (#6611)
* Update sol:lamport ratio

* Update various SOL quantities in bash scripts
2019-10-29 20:03:48 -06:00
TristanDebrunner b4dc1a7263 Remove move feature (#6605)
automerge
2019-10-29 17:14:07 -07:00
Michael Vines f3c0aa154a
-a is optional 2019-10-26 22:48:24 -07:00
Michael Vines 0d1f463f7f
Update testnet-manager.sh 2019-10-25 10:56:20 -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 90461245f9
Reduce TdS fees to 1 lamport per sig, and slots_per_epoch/2 (#6542) 2019-10-24 20:37:23 -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
Michael Vines e462a7d1d5
net: Add ability to only start/stop client nodes (#6503)
* Add info --eval

* net: Add ability to start idle client nodes
2019-10-22 16:08:49 -07:00
Michael Vines f80a5b8c34
Remove some TODOs (#6488)
* Remove stale TODOs

* Ban TODO markers from markdown

* Scrub all TODOs from ci/ and book/
2019-10-21 22:25:06 -07:00
Greg Fitzgerald 3b9b9b1500 Rename remaining uses of fullnode to validator (#6476)
automerge
2019-10-21 20:21:21 -07:00
Michael Vines 3fb70b8d47
Ban XXX, TBD, FIXME comments (#6486) 2019-10-21 16:43:11 -07:00
Michael Vines dec9272813 Skip ledger verification on restart to avoid timing out net/ (#6468)
automerge
2019-10-21 09:27:45 -07:00
Michael Vines 6f58bdfcb1 Remove validator sanity check (#6435)
automerge
2019-10-18 08:26:08 -07:00
Trent Nelson 1759968c1e Colo: Put NVMe disks to use (#6357)
automerge
2019-10-17 14:44:45 -07:00
TristanDebrunner 9e52d11ad0
Remove Backend trait (#6407) 2019-10-17 15:19:27 -06:00
Michael Vines bfc67e8680
gzip -f 2019-10-17 13:08:51 -07:00
Ryo Onodera b7b71b31d3 Magically improve coverage (#6345)
automerge
2019-10-16 16:53:07 -07:00
Michael Vines 8dd24bc7d9
Put dedicated arg in the right place 2019-10-16 10:36:29 -07:00
Michael Vines 51ac05b3cf Request dedicated instances 2019-10-16 08:10:31 -07:00
Michael Vines 79e32c92c1
Skip deploy attempt on sanity failure 2019-10-12 22:18:41 -07:00
Greg Fitzgerald 322fcea6e5
More fullnode to validator renaming (#6337) 2019-10-11 13:30:52 -06:00
Trent Nelson 81fb9e6a59 gce.sh: Rename -f flag to better reflect usage (#6318)
automerge
2019-10-10 12:57:03 -07:00
Dan Albert 60e8cf5a47
Implement nightly performance tests (#6140)
* Implement nightly performance tests on colo
2019-10-10 11:12:13 -04: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 cf3bbc09b6 Jump to nightly-2019-10-03 (#6233)
* Reduce what gets build for coverage to avoid OoM with nightly 2019-10-03

* Update nightly to 2019-10-03
2019-10-03 20:05:44 -06:00
Michael Vines 4b42fa2d75
Ensure all builds are triggered on a rust upgrade (#6229) 2019-10-03 16:31:50 -07:00
Michael Vines 4d458a5e00
Keep the build green when there's nowhere to publish 2019-10-03 14:55:04 -07:00
Michael Vines cf2bcee607
Increase testnets to 4 validator nodes to avoid the need for 100% consensus 2019-10-03 09:53:31 -07:00
Michael Vines 586e0a67ef
Suppress nighly safety_doc warning 2019-10-02 22:51:14 -07:00
Michael Vines a20f12865a
Upgrade to rust 1.38 2019-10-02 22:51:14 -07:00
Michael Vines e5a7d08966 Add --expected-genesis-blockhash validator argument (#6174)
automerge
2019-09-29 19:09:24 -07:00
sakridge 75a92d58cb
Featureize move (#5897)
* Featureize move

* Add move featured test
2019-09-27 12:19:06 -07:00
sakridge db05864a69
Add ssh key check (#6149) 2019-09-27 10:55:51 -07:00
Michael Vines b4da83a3ab
Remove CUDA feature (#6094) 2019-09-26 13:36:51 -07:00
Dan Albert 678a5aff83
Remove brace expansion in arg list (#6091) 2019-09-25 12:52:07 -04: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 61d7467ba8
Flip order of arg to ensure -t sticks 2019-09-23 22:20:22 -07:00
Michael Vines 433b0808e4
Remove the _/deps symlink, just copy instead (#6020) 2019-09-23 09:16:56 -07:00
Michael Vines ab60c578b9
Unconditionally redeploy the edge testnet hourly to better exercise snapshot restarts 2019-09-21 09:28:59 -07:00
Ryan Shea 050021cf77 Add SVGs for Gitbook (#6009) 2019-09-21 07:59:36 -07:00
Michael Vines 020d34187c
Fetch logs on redeploy failure 2019-09-20 15:45:47 -07:00
Michael Vines 33e2af341a
Add deps/ symlink so solana-validator-cuda can find native programs 2019-09-20 15:26:49 -07:00
Michael Vines bb9f07183b
Only fetch logs on sanity failure 2019-09-20 14:47:56 -07:00
Michael Vines 5dd3a07a23
Avoid changing the current working directory 2019-09-20 12:46:29 -07:00
Michael Vines 58a6c9a5f0
Adjust path to perf-libs 2019-09-20 12:27:09 -07:00
Michael Vines 7053978861
Fix cp src 2019-09-20 12:15:05 -07:00
Michael Vines 4b1de02bbb
solana-validator-cuda wrapper is now net.sh compatible 2019-09-20 11:37:45 -07:00
Michael Vines 890be36fd3
Fix check 2019-09-20 08:19:57 -07:00
Michael Vines 54cf9aaa1e
Preserve public network flag when testnet-edge is restarted 2019-09-19 23:02:47 -07:00
Michael Vines 1d0be265d9
Add explicit validator-cuda crate (#5985) 2019-09-19 20:50:34 -07:00
Sagar Dhawan d379786c90
Fix bind errors (#5986)
* Add ability to bind to a common tcp/udp port

* Extend port range for local-net sanity and fix validator executable
2019-09-19 17:16:22 -07:00
Michael Vines 05ada97d00
Clean up log folding 2019-09-19 13:44:59 -07:00
Rob Walker 8fa28f965c
clear config (#5980) 2019-09-19 12:10:29 -07:00
Michael Vines fee5c6c057
testnet-edge/testnet-beta now update while preserving the ledger (#5979)
* Check if an update is current before deploying it again

* Add (new) update command to deploy testnet updates

* Add --deploy-if-newer flag to permit conditional net updates
2019-09-19 12:03:47 -07:00
Michael Vines 8d94972d88
Publish version information as stand-alone file for easy access 2019-09-19 10:26:51 -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
Dan Albert 8b99e6dfbe
Narrow wildcard matching for solana tarball (#5950) 2019-09-18 12:28:13 -07:00
Jack May c90595cba1
Cleanup nits (#5914) 2019-09-17 10:21:22 -07:00
Michael Vines de1636c792 Enable --limit-ledger-size on testnets (#5927)
automerge
2019-09-17 10:05:41 -07:00
Sagar Dhawan c1d788880d
Limit Rayon threadpool threads (#5871) 2019-09-12 11:39:39 -07:00
Jack May 176c7d8b13
Pull all the Rust BPF tests into a single workspace so they share dependencies (#5878) 2019-09-11 14:55:58 -07:00
Michael Vines bf1ecc2441
Remove ledger verification, it's racy and essentially globaly disabled already (#5867) 2019-09-11 10:53:10 -07:00
Michael Vines ee0c570d54 Rework solana-validator-cuda to automatically prepare the perf-libs env (#5849)
automerge
2019-09-08 21:20:08 -07:00
Michael Vines 11cec8f24e
Move appveyor off the system drive 2019-09-08 10:05:58 -07:00
Jack May e5f902369c
Rust BPF programs depend on Solana SDK (#5819) 2019-09-06 09:20:14 -07:00
Rob Walker b6da5a3f47
build all tests (#5785)
* build all tests

* try again

* try again
2019-09-04 17:01:38 -07:00
Jack May 5fb2d7a98f
Add libstd support to Rust BPF (#5788) 2019-09-04 16:00:11 -07:00
Rob Walker 933e835838
add stake lockup (#5782)
* add stake lockup

* fixup
2019-09-04 13:34:09 -07:00
sakridge 34155fc36f
Long-running banking benchmark (#5075) 2019-08-30 11:10:32 -07:00
Pankaj Garg f41fb7d772
Ignore cargo audit advisory RUSTSEC-2019-0013 (#5713) 2019-08-28 14:38:46 -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
Rob Walker 3d098d2ed9 turn cargo audit version back on (#5651) 2019-08-26 19:50:56 -07:00
Michael Vines 97db802be3
Add net-tools for netstat 2019-08-26 16:17:04 -07:00
Michael Vines 1abdeca4c1
Add TESTNET_DB_HOST default 2019-08-24 07:38:19 -07:00
Michael Vines 881a6dc0f7
Revert "Bump stable timeout"
This reverts commit bde4ba04af.
2019-08-23 17:14:08 -07:00
Michael Vines bde4ba04af
Bump stable timeout 2019-08-23 11:44:08 -07:00
Rob Walker 52f6da5cee
upgrade rust to 1.37 (#5611) 2019-08-23 08:55:51 -07:00
Michael Vines f402b477b2
🐌 Publish crates for even longer 2019-08-16 21:52:12 -07:00
Michael Vines 9f6c9c428b
Move genesis/snapshot archive download into Rust (#5515) 2019-08-14 19:25:22 -07:00
TristanDebrunner 687818aad6
Run sdk-c through clippy separately (#5504) 2019-08-12 16:41:17 -06:00
Michael Vines d59aae4849
Disable validator sanity for edge/beta 2019-08-10 13:16:06 -07:00
Rob Walker 784943ecab
unignore RUSTSEC 2019 0011 (#5365) 2019-08-08 14:53:02 -07:00
Michael Vines 06d8c06119
Allow TdS CHANNEL_OR_TAG to be overridden from buildkite UI 2019-08-05 17:22:06 -07:00
Michael Vines b5aa03dd7c
Rename --config-dir to --ledger (progress towards deleting validator.sh) (#5423) 2019-08-05 12:42:52 -07:00
Michael Vines 09ca92d416
Surface --voting-keypair to release users (#5420)
* Remove 'configured_flag' for vote/storage account, instead detect if they exist with the wallet

* Require --voting-keypair when using release binaries
2019-08-05 10:39:16 -07:00
Michael Vines 56ed033233
Remove unused var 2019-08-04 21:29:20 -07:00
Michael Vines e56efe237c
Move testnet from ec2 tp gcp 2019-08-04 21:02:27 -07:00
Michael Vines 3f0ff45de0
Move edge/beta testnets from ec2 to gcp 2019-08-04 20:42:28 -07:00
Michael Vines 6ec0318bae
Reduce AWS node count 2019-08-03 23:50:52 -07:00
Michael Vines 911dee24c5 Give a unique port range for each validator node (#5397)
automerge
2019-08-01 14:37:59 -07:00
Michael Vines 5212b2716c
Don't rebuild/retest release tags (#5385) 2019-08-01 13:11:42 -07:00
Pankaj Garg 149a63100d
remove no-snapshot option from tds testnet (#5368) 2019-07-31 14:51:54 -07:00
Michael Vines 1d6bafbc77
Move tds to edge (#5366) 2019-07-31 14:18:05 -07:00
Michael Vines bd7e269280 Kill rsync (#5336)
automerge
2019-07-30 22:43:47 -07:00
Michael Vines 8a5045f05c
Bump timeouts for publish docker/tarball builds 2019-07-30 20:09:47 -07:00
Michael Vines 2214d2dbb5
Eject bootstrap-leader support from fullnode.sh (#5301) 2019-07-29 21:25:28 -07:00
Michael Vines 506b305959
Move coverage back to the default queue (#5318) 2019-07-28 22:20:54 -07:00
Michael Vines e83efcfc80
Tidy test-checks.sh (#5319) 2019-07-28 22:19:03 -07:00
sakridge 4f1c881227
Add --use_move mode to bench-tps (#5311)
* Add --use_move mode to bench-tps

substitute for global flag.

* Use cuda queue for coverage build.
2019-07-28 10:43:42 -07:00
Greg Fitzgerald 64c770275b
Integrate Move VM into main build (#5229)
* Integrate Move VM into top-level build

* Switch to protoc-free libra
2019-07-27 06:59:46 -06:00
Michael Vines 5f09aa36b3
Drop code supporting no leader rotation (#5286) 2019-07-26 09:26:27 -07:00
Michael Vines fbfe1a59a6
bump timeout 2019-07-24 13:53:08 -07:00
Michael Vines d647a4ec57
Bump publish-crate.sh timeout 2019-07-23 22:12:34 -07:00
Michael Vines 17b9ea3e3b
Update buildkite-secondary.yml 2019-07-23 07:33:13 -07:00
Michael Vines 88d4d1db7a
Update buildkite.yml 2019-07-23 00:20:05 -07:00
Michael Vines cab4c88c71
Bump timeouts 2019-07-22 23:52:30 -07:00
Michael Vines 4ec5a899f5
Check longer 2019-07-22 23:41:42 -07:00
Michael Vines 2c8e0bcf87
Introduce --config-dir to avoid shipping clear-config.sh (#5241) 2019-07-22 22:59:02 -07:00
Dan Albert a0ccdccff1 Call book/build.sh from docker (#5237)
* Call book/build.sh from docker

* debug

* Revert "debug"

This reverts commit 32986b73b7dd1c8866051ea06544e4140ff0d354.
2019-07-22 21:37:43 -07:00
Dan Albert 735c7c9841
Add manual publish for book and create book-beta (#5112) 2019-07-22 17:45:00 -06:00
TristanDebrunner 038c6ea0a7 Bump solana_libra to v0.0.0.1 (#5225)
automerge
2019-07-22 14:17:06 -07:00
Rob Walker 43bf176fab
more granular check for memoffset ignore in audit (#5219)
* more granular check for memoffset ignore in audit

* debugggin

* debugggin

* debugggin

* debugggin

* debugggin
2019-07-22 13:36:27 -07:00
Greg Fitzgerald 186b514ebb Embed Move (#5150)
automerge
2019-07-22 12:01:52 -07:00
Michael Vines 02c7b89a8f
Update location of TdS external accounts file url 2019-07-21 17:38:15 -07:00
Michael Vines 1b5a332239
Adjustments for appveyor server 2019-07-21 09:21:28 -07:00
Greg Fitzgerald 9b1471acae
Upgrade to Rust 1.36.0 (#5206)
* Upgrade to Rust 1.36.0

* Move test-checks.sh back to stable

* update nightly version to 2019-07-19

* use both nightly and stable for checks
2019-07-20 18:53:16 -06:00
Rob Walker e6b525a614
disable audit until crossbeam epoch release (#5208) 2019-07-20 15:50:26 -07:00
Michael Vines 6969ece2dd
Ensure CI_OS_NAME is set for appveyor server 2019-07-19 20:06:32 -07:00
Dan Albert c95cda51c9
Fix internal node lamport funding and staking allocation logic (#5192)
* Plumb node funding from genesis

* Cleanup naming convention

*  Fix balance vs stake yml file logic

* Lamps not Stakes
2019-07-19 12:51:38 -06:00
Michael Vines 1e1cb7c57c
Select stable rust version (#5180) 2019-07-18 21:19:07 -07:00
Michael Vines 57036fbcc1
Check harder on crates.io for recently published crates (#5136) 2019-07-16 19:09:49 -07:00
Michael Vines 7e60ee39d9
Add missing dash 2019-07-16 07:27:35 -07:00
Dan Albert db7e78bf99
Add node zone and count to ENV (#5100)
* Add node zone and count to ENV
2019-07-14 22:40:18 -06:00
Dan Albert adecd4cfdc
Pull testnet vars up to buildkite env (#5098) 2019-07-14 20:27:49 -06:00
Dan Albert 440d006ec1
Plumb --no-snapshot in from CI (#5077)
* Plumb --no-snapshot in from CI
2019-07-14 13:17:30 -06:00
Michael Vines d2b21ce8d0
Stop trying to publish crates that are unpublishable 2019-07-12 21:53:09 -07:00
Michael Vines b01990d480
Avoid trying to republish crates already on crates.io 2019-07-12 21:43:16 -07:00
Michael Vines d7fdfb7e21
Give publish-crate more time 2019-07-12 20:28:10 -07:00
Rob Walker 0d27515d09
tmp dirs target to farf (#5079) 2019-07-12 18:28:42 -07:00
Dan Albert 5ac173d208
Enable GPUs and secondary disks for TdS net, pull external account file (#5031)
* Enable V100 GPUs over 3 regions for TdS cluster

* Turn on secondary config-local drive for tds net

* Enable long args bypass for GPU machine details

* bypass quoted long arg

* Pull external account file from wget

* typo

* Symlink config-local instead of changing the path variables

* Fix link path
2019-07-12 09:38:47 -06:00
Dan Albert e4861f52e0
Add support for additional disks for config-local (#5030)
* Add support for additional disks for config-local

* Restore wrongly deleted lines

* Shellcheck

* add args in the right place dummy

* Fix nits

* typo

* var naming cleanup

* Add stub function for remaining cloud providers
2019-07-11 16:23:32 -06:00
Michael Vines 41d0db078e
Wait for bootstrap leader to initialize before starting other validators (#5027) 2019-07-10 21:03:48 -07:00
Dan Albert e563a4dda3
Rename tds-testnet to tds (#5008) 2019-07-10 10:26:24 -06:00
Michael Vines aebd70ddce
Move letsencrypt arg to create_args 2019-07-09 21:27:12 -07:00
Michael Vines 7d80cfb17a
Include --letsencrypt ($1) 2019-07-09 20:54:11 -07:00
Michael Vines 0a949677f0 net/ plumbing to manage LetsEncrypt TLS certificates (#4985)
automerge
2019-07-09 15:45:46 -07:00
Dan Albert 1ca7e9f67b
Add testnet-tds support to testnet manager (#4762)
* Add testnet-tds support to testnet scripts
2019-07-09 14:39:55 -06:00
Jack May f9a2254688
Split out Rust BPF no-std stuff (#4968) 2019-07-08 20:28:05 -08: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 4a10fd3272
Upload all artifacts 2019-06-26 14:37:18 -07:00
Michael Vines 9e2eb9e4f9
Set CI_REPO_SLUG correctly for the solana-secondary pipeline 2019-06-26 14:37:18 -07:00
Michael Vines 36aa876833 Avoid linking with CUDA directly 2019-06-21 15:26:22 -07:00
Jack May e59b53dfa8
BPF rust language updates (#4752) 2019-06-20 16:07:12 -07:00
Michael Vines 6854c64a09 Bump coverage build timeout 2019-06-20 09:24:11 -07:00
Jack May b430762a23
check rust programs (#4688) 2019-06-20 07:43:31 -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
Michael Vines bd633d2b81 Add CI_REPO_SLUG (#4714)
automerge
2019-06-17 20:42:09 -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 a016bc2736 Add infra to publish metrics tarball 2019-06-13 10:00:24 -07:00
Michael Vines dd1c3514a8
Use auto hashes-per-tick config for testnet testnet 2019-06-12 08:40:56 -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
Michael Vines 91b23f8316
Switch from solana-install to solana-install-init 2019-06-08 19:24:36 -07:00
Michael Vines 8676b5d40c
Use more -f 2019-06-07 22:18:55 -07:00
Michael Vines 97b9d57b62
shellcheck 2019-06-07 21:35:51 -07:00
Michael Vines 487826a539
Deploy windows updates 2019-06-07 20:46:58 -07:00
Michael Vines 4acb764589
Pick up .exe extension 2019-06-07 20:13:47 -07:00
Michael Vines 9de4c1dcd9
Add slack notification 2019-06-07 19:58:52 -07:00
Michael Vines e8c4302d6d
Add Appveyor CI for Windows release artifacts 2019-06-07 19:47:26 -07:00
Michael Vines a9f73ea321 solana-keygen no longer blindly overwrites a keypair, or assumes "new" (#4599)
automerge
2019-06-07 17:54:54 -07:00
Jack May 66c41b3e8c Enable iter test (#4542)
automerge
2019-06-07 16:44:14 -07:00
Michael Vines 8e46c44f3e
Deploy mac OS solana-install update package to testnets (#4595) 2019-06-07 12:59:58 -07:00
Michael Vines fdaa939892
Bring in Travis CI to build Windows and mac OS release binaries (#4591)
* Bring in Travis CI to build Windows and mac OS release binaries

* Update .travis.yml
2019-06-07 11:32:47 -07:00
Pankaj Garg ead947e710
Change default setting for real PoH in testnet scripts (#4573) 2019-06-06 12:49:46 -07:00
Michael Vines 53275cc678
Introduce normalized CI environment vars: ci/env.sh (#4571) 2019-06-06 12:20:47 -07:00
Michael Vines ee42040e6b Give coverage build more time (#4572)
automerge
2019-06-06 11:07:32 -07:00
Michael Vines 2b98a16ec6
Upgrade to rust stable 1.35.0 (#4568) 2019-06-06 09:24:38 -07:00
Michael Vines aa4a7b0c73
Disable |solana-install| check for edge/beta testnets (#4564)
The release tarball URL changes for these testnets, which causes the
normal |solana-install| check to fail and the testnet is unnecessarily
rebooted.
2019-06-05 15:31:29 -07:00
Michael Vines e3365529de
Enable transaction fees for multinode-demo/ and net/ (#4527)
* Collect fees at the end of a slot

* Enable transaction fees for multinode-demo/ and net/
2019-06-04 14:51:52 -07:00
Dan Albert 41daf1ef0c
Wait for crate to be locatable on crates.io after uploading (#4526)
* Wait for crate to be locatable on crates.io after uploading

* Fix nits and shellcheck

* shellchecker
2019-06-03 19:54:41 -06:00
Michael Vines c0a161afe8 Enable fees in ci/localnet-sanity.sh (#4508)
automerge
2019-05-31 16:50:39 -07:00
Michael Vines 2d284ba6db
Fix clear-config.sh 2019-05-30 15:31:41 -07:00
Michael Vines d642125f68
publish-crate fixups 2019-05-30 15:15:58 -07:00
Dan Albert d67dd8ce1f
Fix stable metrics dashboard for current channel use (#4483) 2019-05-30 13:16:26 -06:00
Michael Vines 4d6679906b
Clean up crates.io publishing (#4478)
* Clean up crates.io publishing

* Cargo.lock
2019-05-30 11:53:41 -07:00
Michael Vines a7ef409c2b Drop influxcloud (#4460)
automerge
2019-05-28 16:26:59 -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
Michael Vines 8eac199e8b
Include perf-libs in release tarball (#4422) 2019-05-24 09:28:52 -07:00
Michael Vines 2e251ccc5c
De-fullnode variable names (#4420) 2019-05-24 04:31:39 -07:00
Michael Vines cfe5afd34c
_id => _pubkey variable renaming (#4419)
* wallet: rename *_account_id to *_account_pubkey

* s/from_id/from_pubkey/g

* s/node_id/node_pubkey/g

* s/stake_id/stake_pubkey/g

* s/voter_id/voter_pubkey/g

* s/vote_id/vote_pubkey/g

* s/delegate_id/delegate_pubkey/g

* s/account_id/account_pubkey/g

* s/to_id/to_pubkey/g

* s/my_id/my_pubkey/g

* cargo fmt

* s/staker_id/staker_pubkey/g

* s/mining_pool_id/mining_pool_pubkey/g

* s/leader_id/leader_pubkey/g

* cargo fmt

* s/funding_id/funding_pubkey/g
2019-05-23 23:20:04 -07:00
Michael Vines fb2eac20bb
Rename solana-fullnode to solana-validator (#4411) 2019-05-23 15:06:01 -07:00
Pankaj Garg 6b35e16676
Turn on real PoH in perf testnets (#4407)
* Turn on real PoH in perf testnets

* enable real PoH for all testnets except "testnet"
2019-05-23 13:22:52 -07:00
Michael Vines 77efe95730
Order "install" correctly 2019-05-20 13:54:15 -07:00
Michael Vines 6d418aa3f1
Use rust_stable 2019-05-20 10:48:48 -07:00
Michael Vines 20b2be6e0b
Enable real PoH on beta testnet as well 2019-05-18 19:45:00 -07:00
Michael Vines cbebc7a80c
Expand shortArgs correctly 2019-05-18 19:00:48 -07:00