Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add emulation test plan #4

Merged
merged 55 commits into from
Nov 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
8066b32
Scaffold for a new test and implement sharing test instance information
ackintosh Jul 14, 2022
9925474
Setup discovery
ackintosh Jul 16, 2022
e261419
Subscribe to a topic and wait for `warmup` time to expire
ackintosh Jul 16, 2022
38479c2
Add MaliciousBehaviour
ackintosh Jul 18, 2022
ecc1671
Remove unnecessary dependency
ackintosh Jul 20, 2022
b6ca9b1
Add emulation directory to CI
ackintosh Jul 20, 2022
46aaeec
Fix clippy warning
ackintosh Jul 20, 2022
24a6549
Make sure swarm started listening at the time to the barrier
ackintosh Jul 20, 2022
fbf6345
Handle subscriptions
ackintosh Jul 20, 2022
06af161
Handle PRUNEs and schedule re-graft
ackintosh Jul 23, 2022
a6573d5
Publish messages
ackintosh Jul 25, 2022
fcbb121
Print peer scores
ackintosh Jul 27, 2022
7a980b6
Store scores to InfluxDB
ackintosh Aug 1, 2022
4dc2170
Store metrics to InfluxDB
ackintosh Aug 18, 2022
d03aae0
Store more metrics to InfluxDB
ackintosh Aug 18, 2022
2820d34
Tweak comments
ackintosh Aug 18, 2022
fcc5a0d
Refactor queries
ackintosh Aug 24, 2022
6687ffa
Store Histogram metrics to InfluxDB
ackintosh Aug 30, 2022
fbde2e1
Tweak scores
ackintosh Aug 30, 2022
145d50e
Add `instance_peer_id` tag to the measurements
ackintosh Aug 30, 2022
63b858e
Fix wrong field name
ackintosh Aug 30, 2022
0c7e7f6
Introduce message_rate
ackintosh Aug 30, 2022
0d715d7
Parameterize honest node configs
ackintosh Aug 30, 2022
4791425
Tweak comments and update default configs
ackintosh Aug 31, 2022
a86ac36
Fix deprecation warning (NetworkBehaviourEventProcess) and improve ba…
ackintosh Aug 31, 2022
92f4b8c
Install protoc
ackintosh Aug 31, 2022
d7d9185
Add README for emulation crate
ackintosh Sep 4, 2022
aac6c5d
Update emulation/src/attacker.rs
ackintosh Sep 4, 2022
db13935
Update emulation/src/honest.rs
ackintosh Sep 4, 2022
17a9c6f
Update emulation/src/utils.rs
ackintosh Sep 4, 2022
d38e542
Update emulation/src/utils.rs
ackintosh Sep 4, 2022
f1c7ca3
Update emulation/src/utils.rs
ackintosh Sep 4, 2022
44b7e0a
Update emulation/src/utils.rs
ackintosh Sep 4, 2022
9a23c1d
Remove unnecessary unwrap
ackintosh Sep 4, 2022
f6a7f3f
Make some comments to docs
ackintosh Sep 4, 2022
0794e06
Remove unnecessary comment
ackintosh Sep 4, 2022
17d3209
No need to exclude test plans
ackintosh Sep 4, 2022
eeb25ce
Move tags commonly used to constants
ackintosh Sep 4, 2022
d8b170e
Remove plan directory
ackintosh Sep 7, 2022
be7c9af
cargo update
ackintosh Sep 7, 2022
5f788d0
Upgrade libp2p from 0.46 to 0.48
ackintosh Sep 18, 2022
4be3e41
Remove needless patch
ackintosh Sep 18, 2022
e46643a
Update libp2p (and prometheus-client)
ackintosh Sep 18, 2022
a1ac67a
Revert to libp2p whose metrics encoding is fixed to `protobuf` to mak…
ackintosh Oct 1, 2022
5deee37
Add dashboard
ackintosh Oct 2, 2022
9ddcb54
Add `Peer scores` dashboard
ackintosh Oct 2, 2022
1e277ee
Add panels to `Gossipsub metrics` dashboard
ackintosh Oct 5, 2022
78d9d5e
Align the timestamp between metrics of all instances
ackintosh Oct 6, 2022
ea67edc
Upgrade testground SDK to the latest version
ackintosh Oct 9, 2022
75ce808
Rename dashboard
ackintosh Oct 9, 2022
29956db
Disable chrono's default features for the sake of compile times
ackintosh Oct 12, 2022
c77f58c
Remove debug code
ackintosh Oct 12, 2022
4878644
Add Grafana container with preconfigured datasources and dashboards
ackintosh Oct 15, 2022
5dce56f
Update README
ackintosh Oct 15, 2022
c006835
Merge pull request #1 from ackintosh/grafana
ackintosh Oct 15, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 4 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ jobs:

cargo-fmt:
runs-on: ubuntu-latest
strategy:
matrix:
plan: [smoke]
defaults:
run:
working-directory: ${{ matrix.plan }}
steps:
- uses: actions/checkout@v2
- name: Get latest version of stable rust
Expand All @@ -27,14 +21,12 @@ jobs:
name: clippy
runs-on: ubuntu-latest
needs: cargo-fmt
strategy:
matrix:
plan: [smoke]
defaults:
run:
working-directory: ${{ matrix.plan }}
steps:
- uses: actions/checkout@v1
- name: Install protoc
run: |
sudo apt-get update
sudo apt-get install -y protobuf-compiler
- name: Get latest version of stable Rust
run: rustup update stable
- name: Lint code for quality and style with Clippy
Expand Down
Loading