Commit Graph

3903 Commits

Author SHA1 Message Date
Michael Vines
86f19a3ab3 Propagate PS4 to prevent unintentional buildkite log unfolding 2019-01-09 22:02:31 -07:00
Michael Vines
be0eefb0af Add timeout to prevent stuck bench-tps when a cluster goes bad 2019-01-09 19:21:53 -07: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
Stephen Akridge
44b7684d56 Fix some instances of ledger to db_ledger 2019-01-09 16:33:37 -08:00
Stephen Akridge
0c90e1eff6 Make entry_sender optional on window_service
window_service in replicator has no need to consume the the produced entries.
2019-01-09 15:15:47 -08:00
Stephen Akridge
491bca5e4b Remove ledger.rs
Split into entry.rs for entry-constructing functions and EntrySlice
trait and db_ledger.rs for ledger helper test functions.
2019-01-09 15:15:47 -08:00
Stephen Akridge
ebd676faaa Rename Block to EntrySlice 2019-01-09 15:15:47 -08:00
Stephen Akridge
045c5e8556 Remove most of the old ledger code
Removes LedgerWriter, read_ledger, LedgerWindow
2019-01-09 15:15:47 -08:00
Stephen Akridge
45b4cf2887 Remove store_ledger_stage which is no longer needed 2019-01-09 15:15:47 -08:00
Michael Vines
4b5acc065a Give the bootstrap leader one million tokens as a #2355 workaround 2019-01-09 13:30:20 -08:00
Stephen Akridge
73eca72f14 Switch test to send a repair request to try and download from replicator
Removes need for read_ledger in the test and also tests replicator
download path.
2019-01-09 13:24:12 -08:00
Michael Vines
28431ff22c Add configurable RUST_LOG for ./net.sh sanity 2019-01-09 12:12:50 -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
eb37aa2bba Kill monitoring scripts by process group to ensure a full shutdown 2019-01-09 11:59:01 -08:00
Michael Vines
048fe371aa set -x for more detailed logs 2019-01-09 11:59:01 -08:00
Michael Vines
0b666ad9fd De-dup error messages 2019-01-09 11:59:01 -08:00
Michael Vines
87c9af142f Preserve config/ when skipSetup 2019-01-09 11:59:01 -08:00
Michael Vines
6b46c22b42 Use restart 2019-01-09 11:59:01 -08:00
Rob Walker
94494b64d7 whack commented out, obsolete, superceded test 2019-01-09 11:30:07 -08:00
Rob Walker
b648f37b97 encapsulate erasure_cf (#2349) 2019-01-09 10:21:55 -08:00
Michael Vines
78d3b83900 Remove vestigial vote account configuration from fullnode-config 2019-01-09 09:56:44 -08:00
jackcmay
56b6ed6730 Rerun build if any file in a directory has changed (#2343) 2019-01-09 09:56:23 -08:00
Michael Vines
e0c68bf9ad docs: -z is a common option 2019-01-08 21:11:43 -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
aedab3f83f Run sanity when previous ledger/setup is preserved 2019-01-08 21:11:43 -08:00
Michael Vines
5c87ddc80e nit: hide echo 2019-01-08 21:11:43 -08:00
Greg Fitzgerald
f53810fcd2 Remove unused exit variable
The exit variable was only used by a test.
2019-01-08 20:22:31 -08:00
Michael Vines
56fa3a09c8 Surface the spy node's id, useful for log analysis 2019-01-08 17:43:41 -08:00
Tyera Eulberg
58bca04a3f Couple edits 2019-01-08 17:44:09 -07:00
Stephen Akridge
3c6afe7707 Rename get_blob_bytes to read_blobs_bytes 2019-01-08 16:00:39 -08:00
Stephen Akridge
09296e0d71 Fix two storage tests
* test_encrypt_files_many_keys_multiple_keys passing
  - buffer chunk size unified between single key and multiple key path,
    which shouldn't be necessary but can fix later.
* test_encrypt_file_many_keys_bad_key_length passing
2019-01-08 16:00:39 -08:00
Stephen Akridge
4b3d64ec9f Convert chacha_encrypt_file to work with db_ledger blobs directly 2019-01-08 16:00:39 -08:00
Rob Walker
a904e15ecc enscapsulate data_cf (#2336)
* enscapsulate data_cf
2019-01-08 15:53:44 -08:00
Greg Fitzgerald
a82a5ae184 Delete unused code
The ignored test is still broken, but at least no longer creates a
window for no reason.

Also removed all remaining references to "ncp".
2019-01-08 14:09:50 -08:00
Rob Walker
bafd90807d encapsulate meta_cf (#2335) 2019-01-08 11:41:55 -08:00
dependabot[bot]
08924ea36a Bump rand from 0.6.3 to 0.6.4
Bumps [rand](https://github.com/rust-random/rand) from 0.6.3 to 0.6.4.
- [Release notes](https://github.com/rust-random/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-random/rand/compare/0.6.3...0.6.4)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-08 11:09:03 -07:00
jackcmay
0f8ea6872e Add missing error counters and load_account test cases (#2327) 2019-01-08 09:20:25 -08:00
Michael Vines
1b7598e351 Add retries to RPC API probe 2019-01-08 08:50:51 -08:00
Greg Fitzgerald
d2431128c7 Remove WriteStage from TPU/TVU diagrams
Fixes #2312
2019-01-08 08:42:06 -08:00
dependabot[bot]
8e0e12e5c9 Bump reqwest from 0.9.5 to 0.9.6
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.9.5 to 0.9.6.
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.9.5...v0.9.6)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-08 09:11:14 -07:00
Michael Vines
e883117a7d Add missing description field, required for crate publishing 2019-01-07 23:02:32 -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
2c52e82352 Use retry_make_rpc_request to avoid occasional CI test failures 2019-01-07 21:25:25 -08:00
Michael Vines
0a981a6606 Double publish crate timeout 2019-01-07 20:46:21 -08:00
Michael Vines
534f8d7a4e Don't turn the build red if channel cannot be figured (eg, building a tag) 2019-01-07 19:56:07 -08:00
Michael Vines
c4ca76e39e Only check TRIGGERED_BUILDKITE_TAG 2019-01-07 19:56:01 -08:00