forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement automated partition testing (solana-labs#7222)
- Loading branch information
1 parent
0230746
commit 7587656
Showing
22 changed files
with
193 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"partitions":[ | ||
34, | ||
33, | ||
33 | ||
], | ||
"interconnects":[ | ||
{ | ||
"a":0, | ||
"b":1, | ||
"config":"loss 15% delay 25ms" | ||
}, | ||
{ | ||
"a":1, | ||
"b":0, | ||
"config":"loss 15% delay 25ms" | ||
}, | ||
{ | ||
"a":0, | ||
"b":2, | ||
"config":"loss 10% delay 15ms" | ||
}, | ||
{ | ||
"a":2, | ||
"b":0, | ||
"config":"loss 10% delay 15ms" | ||
}, | ||
{ | ||
"a":2, | ||
"b":1, | ||
"config":"loss 5% delay 5ms" | ||
}, | ||
{ | ||
"a":1, | ||
"b":2, | ||
"config":"loss 5% delay 5ms" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
steps: | ||
- command: "system-test/testnet-automation.sh" | ||
label: "Colo - CPU Only - Partial Loss 3 Partitions" | ||
env: | ||
UPLOAD_RESULTS_TO_SLACK: "true" | ||
CLOUD_PROVIDER: "colo" | ||
TESTNET_TAG: "colo-perf-cpu-only" | ||
NUMBER_OF_VALIDATOR_NODES: 4 | ||
ENABLE_GPU: "false" | ||
NUMBER_OF_CLIENT_NODES: 2 | ||
CLIENT_OPTIONS: "bench-tps=2=--tx_count 15000 --thread-batch-sleep-ms 250" | ||
ADDITIONAL_FLAGS: "" | ||
APPLY_PARTITIONS: "true" | ||
NETEM_CONFIG_FILE: "system-test/netem-configs/partial-loss-three-partitions" | ||
PARTITION_ACTIVE_DURATION: 30 | ||
PARTITION_INACTIVE_DURATION: 30 | ||
PARTITION_ITERATION_COUNT: 5 | ||
agents: | ||
- "queue=colo-deploy" |
19 changes: 19 additions & 0 deletions
19
system-test/partition-testcases/colo-partition-long-sanity-test.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
steps: | ||
- command: "system-test/testnet-automation.sh" | ||
label: "Colo - CPU Only - Partial Loss 3 Partitions" | ||
env: | ||
UPLOAD_RESULTS_TO_SLACK: "true" | ||
CLOUD_PROVIDER: "colo" | ||
TESTNET_TAG: "colo-perf-cpu-only" | ||
NUMBER_OF_VALIDATOR_NODES: 4 | ||
ENABLE_GPU: "false" | ||
NUMBER_OF_CLIENT_NODES: 1 | ||
CLIENT_OPTIONS: "bench-tps=1=--tx_count 15000 --thread-batch-sleep-ms 250" | ||
ADDITIONAL_FLAGS: "" | ||
APPLY_PARTITIONS: "true" | ||
NETEM_CONFIG_FILE: "system-test/netem-configs/partial-loss-three-partitions" | ||
PARTITION_ACTIVE_DURATION: 60 | ||
PARTITION_INACTIVE_DURATION: 60 | ||
PARTITION_ITERATION_COUNT: 10 | ||
agents: | ||
- "queue=colo-deploy" |
19 changes: 19 additions & 0 deletions
19
system-test/partition-testcases/colo-partition-sanity-test.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
steps: | ||
- command: "system-test/testnet-automation.sh" | ||
label: "Colo - CPU Only - Partial Loss 3 Partitions" | ||
env: | ||
UPLOAD_RESULTS_TO_SLACK: "true" | ||
CLOUD_PROVIDER: "colo" | ||
TESTNET_TAG: "colo-perf-cpu-only" | ||
NUMBER_OF_VALIDATOR_NODES: 4 | ||
ENABLE_GPU: "false" | ||
NUMBER_OF_CLIENT_NODES: 1 | ||
CLIENT_OPTIONS: "bench-tps=1=--tx_count 15000 --thread-batch-sleep-ms 250" | ||
ADDITIONAL_FLAGS: "" | ||
APPLY_PARTITIONS: "true" | ||
NETEM_CONFIG_FILE: "system-test/netem-configs/partial-loss-three-partitions" | ||
PARTITION_ACTIVE_DURATION: 30 | ||
PARTITION_INACTIVE_DURATION: 30 | ||
PARTITION_ITERATION_COUNT: 2 | ||
agents: | ||
- "queue=colo-deploy" |
22 changes: 22 additions & 0 deletions
22
system-test/partition-testcases/gce-5-node-3-partition.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
steps: | ||
- command: "system-test/testnet-automation.sh" | ||
label: "GCE - CPU Only 5 Node - Partial Loss 3 Partitions" | ||
env: | ||
UPLOAD_RESULTS_TO_SLACK: "true" | ||
CLOUD_PROVIDER: "gce" | ||
TESTNET_TAG: "gce-perf-cpu-only" | ||
NUMBER_OF_VALIDATOR_NODES: 5 | ||
ENABLE_GPU: "false" | ||
VALIDATOR_NODE_MACHINE_TYPE: "--machine-type n1-standard-16" | ||
NUMBER_OF_CLIENT_NODES: 2 | ||
CLIENT_OPTIONS: "bench-tps=2=--tx_count 15000 --thread-batch-sleep-ms 250" | ||
TESTNET_ZONES: "us-west1-a" | ||
USE_PUBLIC_IP_ADDRESSES: "true" | ||
ADDITIONAL_FLAGS: "" | ||
APPLY_PARTITIONS: "true" | ||
NETEM_CONFIG_FILE: "system-test/netem-configs/partial-loss-three-partitions" | ||
PARTITION_ACTIVE_DURATION: 30 | ||
PARTITION_INACTIVE_DURATION: 30 | ||
PARTITION_ITERATION_COUNT: 5 | ||
agents: | ||
- "queue=testnet-deploy" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.