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
Michael Vines
7a54dbf7d5
Restore clippy, and run clippy sooner
2018-11-17 15:54:21 -08:00
Michael Vines
d96a6b42a5
Move drone into its own crate
2018-11-16 20:42:21 -08:00
Michael Vines
7fe50d6402
Temporarily disable clippy
2018-11-16 19:55:33 -08:00
jackcmay
6b6c87e510
Run BPF tests in CI
2018-11-14 17:16:37 -08:00
Michael Vines
def7d156f6
codemod --extensions sh '#!/usr/bin/env bash -e' '#!/usr/bin/env bash\nset -e'
2018-11-11 16:24:36 -08:00
Michael Vines
33aab094ef
codemod --extensions sh '#!/bin/bash' '#!/usr/bin/env bash'
2018-11-11 16:24:36 -08:00
Greg Fitzgerald
038a46b5ef
Integrate the markdown book into the codebase
...
This implies that the book should describe exactly what is implemented,
and will not lead the way and eventually bitrot as the RFCs do.
2018-11-07 10:58:47 -07:00
Greg Fitzgerald
8be7c13d2d
Stub out architecture book ( #1674 )
...
* Stub out architecture documentation
* Add book HTML generation and book tests to CI
* Add heading
* Better table of contents
* Reference existing documentation
Move ASCII art from code comments into rendered SVG
* Attempt to fix CI
* Add lamport docs
And truncate lines to 80 characters
* Fix links
And reference shorter, newer description of PoH.
* Replace ASCII art with SVG
* Streamline for Pillbox
* Update path before optional install
* Use $CARGO_HOME instead of $HOME
* Delete code
Attempt to describe all data structures without code.
* Boot RPU from docs, add JsonRpcService
Also, use Rust naming conventions in the block diagrams to
minimize the jump from docs to code.
* Latest code uses tick_height
* Rename bob/ folder to art/
A home for any ASCII art
* Import JSON RPC API
* More mdbook docs
* Add Ncp
* Cleanup links
* Move pipelining description into fullnode description
* Move high-level transaction docs into top-level doc
* Delete unused files
2018-11-06 18:00:58 -07:00
jackcmay
0529f36fde
Run workspace member's tests ( #1666 )
...
Run workspace member's tests
2018-10-30 22:53:36 -07:00
Rob Walker
4ea422bcec
run integration tests serially
2018-10-17 11:37:10 -07:00
Greg Fitzgerald
6074e4f962
Attempt to stabilize the test suite
...
The integration tests are allowed to open sockets, so running them
in parallel may cause "Too many open files" errors. This patch
runs the unit tests in parallel and the integration test serially.
2018-10-17 11:37:10 -07:00
Tyera Eulberg
10d08acefa
Reenable cargo audit
2018-09-28 17:53:41 -06:00
Tyera Eulberg
52d50e6bc4
Update for new solana-jsonrpc
2018-09-28 17:53:41 -06:00
Greg Fitzgerald
675ff64094
Fail CI on clippy warnings
2018-09-27 16:21:12 -06:00
Greg Fitzgerald
f9fe6a0f72
Move clippy to Rust stable
2018-09-27 16:21:12 -06:00
Michael Vines
67f1fbab5f
Treat rustc warnings as errors in CI
2018-09-20 19:46:20 -07:00
Rob Walker
63e44dcc35
continue rendezvous refactor for gossip and repair
...
* remove trailing whitespace in ci/audit.sh
* code review fixups
* rename GOSSIP_PORT_RANGE => SOLANA_PORT_RANGE
* remove out-of-date TODO in localnet-sanity.sh
* remove features=test and code that was using it (localhost prohibitions in
crdt) added TODO in crdt.rs, maybe we should boot localhost in production
networks?
* boot tvu_window from NodeInfo: instead, send repair requests from the repair
socket (to gossip on peer) and answer repair requests via the sockaddr
from the repair request
* remove various unused pub functions
* banish SocketAddr parse().unwrap() to a macro that can also accept simpler stuff
2018-08-31 23:21:07 +09:00
anatoly yakovenko
f7c0d30167
Disallow localhost in deployment ( #1064 )
...
* disallow localhost in deployment
* tests
* fmt
* integration tests do not have a flag to check
* fmt
2018-08-25 21:09:18 -07:00
Tyera Eulberg
1bf15ae907
Temporarily disable cargo audit CI failure
2018-08-18 12:29:49 -06:00
Rob Walker
fa44a71d3e
move bench to a seprate, parallel step
2018-08-13 16:23:30 -07:00
Michael Vines
91741e20fa
Add rustc/cargo version check
2018-08-06 09:32:08 -07:00
Michael Vines
15a6179b97
Stop installing rustfmt-preview, it's already present
2018-08-03 14:27:11 -07:00
Rob Walker
f2b1a04bca
cargo fmt fixups
2018-08-03 11:59:25 -07:00
Greg Fitzgerald
2366c1ebaf
Enable cargo audit in CI
...
Fixes #772
2018-08-01 16:24:47 -07:00
Michael Vines
1adc83d148
Add localnet-sanity.sh
2018-07-30 16:36:26 -07:00
Greg Fitzgerald
e3882950cf
Run benchmarks from Rust stable CI
2018-07-11 11:18:18 -06:00
Anatoly Yakovenko
3a90f138b2
dynamit network test
...
* cleaned up fullnode api
* added debug_id to ReplicatedData and crdt for debugging
2018-07-03 14:00:39 -06:00
Rob Walker
a5ce578c72
...
2018-06-26 16:23:41 -06:00
Michael Vines
be5f2ef9b9
Consolidate CI jobs
2018-06-24 22:28:24 -07:00
Grimes
86a50ae9e1
Add RUST_BACKTRACE
2018-05-28 22:23:25 -07:00
Grimes
29061cff39
Delint existing shell scripts
2018-05-28 05:18:46 -06:00
Michael Vines
ae29641a18
Run most CI steps in docker
2018-05-22 23:16:25 -07:00
Michael Vines
34514d65bc
Add in-tree buildkite pipeline
2018-05-21 23:43:27 -07:00