diff --git a/system-test/automation_utils.sh b/system-test/automation_utils.sh index ad2d261e4..0b4046abe 100755 --- a/system-test/automation_utils.sh +++ b/system-test/automation_utils.sh @@ -292,6 +292,52 @@ EOF "$SLACK_WEBHOOK_URL" } +function upload_results_to_discord() { + echo --- Uploading results to Discord Performance Results App + + if [[ -z $DISCORD_WEBHOOK_URL ]] ; then + echo "DISCORD_WEBHOOK_URL undefined" + exit 1 + fi + + [[ -n $BUILDKITE_MESSAGE ]] || BUILDKITE_MESSAGE="Message not defined" + + COMMIT=$(git rev-parse HEAD) + COMMIT_BUTTON_TEXT="$(echo "$COMMIT" | head -c 8)" + COMMIT_URL="https://github.com/solana-labs/solana/commit/${COMMIT}" + + if [[ -n $BUILDKITE_BUILD_URL ]] ; then + BUILD_BUTTON_TEXT="Build Kite Job" + else + BUILD_BUTTON_TEXT="Build URL not defined" + BUILDKITE_BUILD_URL="https://buildkite.com/solana-labs/" + fi + + GRAFANA_URL="https://internal-metrics.solana.com:3000/d/monitor-${CHANNEL:-edge}/cluster-telemetry-${CHANNEL:-edge}?var-testnet=${TESTNET_TAG:-testnet-automation}&from=${TESTNET_START_UNIX_MSECS:-0}&to=${TESTNET_FINISH_UNIX_MSECS:-0}" + + [[ -n $RESULT_DETAILS ]] || RESULT_DETAILS="Undefined" + SANITIZED_RESULT=${RESULT_DETAILS//$'\n'/"\n"} + + [[ -n $TEST_CONFIGURATION ]] || TEST_CONFIGURATION="Undefined" + + curl "$DISCORD_WEBHOOK_URL" \ + -X POST \ + -H "Content-Type: application/json" \ + -d @- <) | [$BUILD_BUTTON_TEXT](<$BUILDKITE_BUILD_URL>) | [Grafana](<$GRAFANA_URL>)\n\ +Test Configuration:\n\ +\`\`\`$TEST_CONFIGURATION\`\`\`\n\ +Result Details:\n\ +\`\`\`$SANITIZED_RESULT\`\`\`\n\ +" +} +EOF +} + function get_net_launch_software_version_launch_args() { declare channel="${1?}" declare artifact_basename="${2?}" diff --git a/system-test/deprecated-testcases/colo-cpu-only-perf.yml b/system-test/deprecated-testcases/colo-cpu-only-perf.yml index 67ca84453..a79560ddf 100755 --- a/system-test/deprecated-testcases/colo-cpu-only-perf.yml +++ b/system-test/deprecated-testcases/colo-cpu-only-perf.yml @@ -3,6 +3,7 @@ steps: label: "COLO performance testnet CPU only" env: UPLOAD_RESULTS_TO_SLACK: "true" + UPLOAD_RESULTS_TO_DISCORD: "true" CLOUD_PROVIDER: "colo" TESTNET_TAG: "colo-perf-cpu-only" ENABLE_GPU: "false" diff --git a/system-test/deprecated-testcases/colo-gpu-perf-high-txcount.yml b/system-test/deprecated-testcases/colo-gpu-perf-high-txcount.yml index 87b37ec6e..1ff020f4e 100755 --- a/system-test/deprecated-testcases/colo-gpu-perf-high-txcount.yml +++ b/system-test/deprecated-testcases/colo-gpu-perf-high-txcount.yml @@ -3,6 +3,7 @@ steps: label: "COLO performance testnet GPU enabled - High Tx Count" env: UPLOAD_RESULTS_TO_SLACK: "true" + UPLOAD_RESULTS_TO_DISCORD: "true" CLOUD_PROVIDER: "colo" TESTNET_TAG: "colo-perf-gpu-enabled" ENABLE_GPU: "true" diff --git a/system-test/deprecated-testcases/colo-gpu-perf.yml b/system-test/deprecated-testcases/colo-gpu-perf.yml index 84d5620da..b7ffc1789 100755 --- a/system-test/deprecated-testcases/colo-gpu-perf.yml +++ b/system-test/deprecated-testcases/colo-gpu-perf.yml @@ -3,6 +3,7 @@ steps: label: "COLO performance testnet GPU enabled" env: UPLOAD_RESULTS_TO_SLACK: "true" + UPLOAD_RESULTS_TO_DISCORD: "true" CLOUD_PROVIDER: "colo" TESTNET_TAG: "colo-perf-gpu-enabled" ENABLE_GPU: "true" diff --git a/system-test/deprecated-testcases/gce-gpu-perf-100-node.yml b/system-test/deprecated-testcases/gce-gpu-perf-100-node.yml index 077b165bc..0fe9a1cfa 100755 --- a/system-test/deprecated-testcases/gce-gpu-perf-100-node.yml +++ b/system-test/deprecated-testcases/gce-gpu-perf-100-node.yml @@ -3,6 +3,7 @@ steps: label: "GCE - GPU Enabled 100 Nodes" env: UPLOAD_RESULTS_TO_SLACK: "true" + UPLOAD_RESULTS_TO_DISCORD: "true" CLOUD_PROVIDER: "gce" TESTNET_TAG: "gce-perf-gpu-enabled" TEST_DURATION_SECONDS: 600 diff --git a/system-test/partition-testcases/colo-3-partition.yml b/system-test/partition-testcases/colo-3-partition.yml index a7637b53e..2255ebb43 100755 --- a/system-test/partition-testcases/colo-3-partition.yml +++ b/system-test/partition-testcases/colo-3-partition.yml @@ -3,6 +3,7 @@ steps: label: "Colo - CPU Only - Partial Loss 3 Partitions" env: UPLOAD_RESULTS_TO_SLACK: "true" + UPLOAD_RESULTS_TO_DISCORD: "true" CLOUD_PROVIDER: "colo" TESTNET_TAG: "colo-perf-cpu-only" NUMBER_OF_VALIDATOR_NODES: 2 diff --git a/system-test/partition-testcases/colo-partition-2-1-test.yml b/system-test/partition-testcases/colo-partition-2-1-test.yml index 8a1a54a90..ae875d92a 100644 --- a/system-test/partition-testcases/colo-partition-2-1-test.yml +++ b/system-test/partition-testcases/colo-partition-2-1-test.yml @@ -3,6 +3,7 @@ steps: label: "Colo - CPU Only - Complete Loss 2 - 1 Partition" env: UPLOAD_RESULTS_TO_SLACK: "true" + UPLOAD_RESULTS_TO_DISCORD: "true" CLOUD_PROVIDER: "colo" TESTNET_TAG: "colo-perf-cpu-only" NUMBER_OF_VALIDATOR_NODES: 2 diff --git a/system-test/partition-testcases/colo-partition-long-sanity-test.yml b/system-test/partition-testcases/colo-partition-long-sanity-test.yml index 994ef389d..dbf82694c 100755 --- a/system-test/partition-testcases/colo-partition-long-sanity-test.yml +++ b/system-test/partition-testcases/colo-partition-long-sanity-test.yml @@ -3,6 +3,7 @@ steps: label: "Colo - CPU Only - Partial Loss 3 Partitions" env: UPLOAD_RESULTS_TO_SLACK: "true" + UPLOAD_RESULTS_TO_DISCORD: "true" CLOUD_PROVIDER: "colo" TESTNET_TAG: "colo-perf-cpu-only" NUMBER_OF_VALIDATOR_NODES: 2 diff --git a/system-test/partition-testcases/colo-partition-no-superminority-test.yml b/system-test/partition-testcases/colo-partition-no-superminority-test.yml index 58380eca2..a3ccb0ac7 100644 --- a/system-test/partition-testcases/colo-partition-no-superminority-test.yml +++ b/system-test/partition-testcases/colo-partition-no-superminority-test.yml @@ -3,6 +3,7 @@ steps: label: "Colo - CPU Only - Complete Loss 4 Partitions" env: UPLOAD_RESULTS_TO_SLACK: "true" + UPLOAD_RESULTS_TO_DISCORD: "true" CLOUD_PROVIDER: "colo" TESTNET_TAG: "colo-perf-cpu-only" NUMBER_OF_VALIDATOR_NODES: 2 diff --git a/system-test/partition-testcases/colo-partition-once-then-stabilize.yml b/system-test/partition-testcases/colo-partition-once-then-stabilize.yml index 7b867e145..0e187bcc8 100755 --- a/system-test/partition-testcases/colo-partition-once-then-stabilize.yml +++ b/system-test/partition-testcases/colo-partition-once-then-stabilize.yml @@ -3,6 +3,7 @@ steps: label: "Colo - CPU Only - 1 minute partition then 5 minute stabilization" env: UPLOAD_RESULTS_TO_SLACK: "true" + UPLOAD_RESULTS_TO_DISCORD: "true" CLOUD_PROVIDER: "colo" TESTNET_TAG: "colo-perf-cpu-only" NUMBER_OF_VALIDATOR_NODES: 2 diff --git a/system-test/partition-testcases/gce-5-node-3-partition.yml b/system-test/partition-testcases/gce-5-node-3-partition.yml index cc72ccde3..bbae39019 100755 --- a/system-test/partition-testcases/gce-5-node-3-partition.yml +++ b/system-test/partition-testcases/gce-5-node-3-partition.yml @@ -3,6 +3,7 @@ steps: label: "GCE - CPU Only 5 Node - Partial Loss 3 Partitions" env: UPLOAD_RESULTS_TO_SLACK: "true" + UPLOAD_RESULTS_TO_DISCORD: "true" CLOUD_PROVIDER: "gce" TESTNET_TAG: "gce-perf-cpu-only" NUMBER_OF_VALIDATOR_NODES: 5 diff --git a/system-test/partition-testcases/gce-5-node-single-region-2-partitions.yml b/system-test/partition-testcases/gce-5-node-single-region-2-partitions.yml index fdc5356a8..0c62c9f8d 100755 --- a/system-test/partition-testcases/gce-5-node-single-region-2-partitions.yml +++ b/system-test/partition-testcases/gce-5-node-single-region-2-partitions.yml @@ -3,6 +3,7 @@ steps: label: "GCE - 2 even partitions with full loss" env: UPLOAD_RESULTS_TO_SLACK: "true" + UPLOAD_RESULTS_TO_DISCORD: "true" CLOUD_PROVIDER: "gce" TESTNET_TAG: "gce-perf-cpu-only" NUMBER_OF_VALIDATOR_NODES: 5 diff --git a/system-test/partition-testcases/gce-partition-once-then-stabilize.yml b/system-test/partition-testcases/gce-partition-once-then-stabilize.yml index 2a867c73b..ec435def2 100755 --- a/system-test/partition-testcases/gce-partition-once-then-stabilize.yml +++ b/system-test/partition-testcases/gce-partition-once-then-stabilize.yml @@ -3,6 +3,7 @@ steps: label: "GCE - CPU Only - 1 minute partition then 5 minute stabilization" env: UPLOAD_RESULTS_TO_SLACK: "true" + UPLOAD_RESULTS_TO_DISCORD: "true" CLOUD_PROVIDER: "gce" TESTNET_TAG: "gce-perf-cpu-only" NUMBER_OF_VALIDATOR_NODES: 5 diff --git a/system-test/partition-testcases/gce-partition-recovery.yml b/system-test/partition-testcases/gce-partition-recovery.yml index 2b6f0cbce..f0c1630cb 100755 --- a/system-test/partition-testcases/gce-partition-recovery.yml +++ b/system-test/partition-testcases/gce-partition-recovery.yml @@ -3,6 +3,7 @@ steps: label: "Partition recovery on GCE" env: UPLOAD_RESULTS_TO_SLACK: "true" + UPLOAD_RESULTS_TO_DISCORD: "true" CLOUD_PROVIDER: "gce" ENABLE_GPU: "false" NUMBER_OF_VALIDATOR_NODES: 9 diff --git a/system-test/partition-testcases/gce-partition-with-offline.yml b/system-test/partition-testcases/gce-partition-with-offline.yml index ae51c47ad..982481a89 100755 --- a/system-test/partition-testcases/gce-partition-with-offline.yml +++ b/system-test/partition-testcases/gce-partition-with-offline.yml @@ -3,6 +3,7 @@ steps: label: "GCE - CPU Only 5 Node - 20% network offline with 2 partitions" env: UPLOAD_RESULTS_TO_SLACK: "true" + UPLOAD_RESULTS_TO_DISCORD: "true" CLOUD_PROVIDER: "gce" TESTNET_TAG: "gce-perf-cpu-only" NUMBER_OF_VALIDATOR_NODES: 4 diff --git a/system-test/performance-testcases/aws-cpu-only-perf-10-node.yml b/system-test/performance-testcases/aws-cpu-only-perf-10-node.yml index 5bc23ead5..bca50aa6c 100755 --- a/system-test/performance-testcases/aws-cpu-only-perf-10-node.yml +++ b/system-test/performance-testcases/aws-cpu-only-perf-10-node.yml @@ -3,6 +3,7 @@ steps: label: "AWS - CPU Only 10 Node" env: UPLOAD_RESULTS_TO_SLACK: "true" + UPLOAD_RESULTS_TO_DISCORD: "true" CLOUD_PROVIDER: "ec2" TESTNET_TAG: "aws-perf-cpu-only" TEST_DURATION_SECONDS: 600 diff --git a/system-test/performance-testcases/aws-cpu-only-perf-5-node.yml b/system-test/performance-testcases/aws-cpu-only-perf-5-node.yml index 7085eacf7..cc9ac48f4 100755 --- a/system-test/performance-testcases/aws-cpu-only-perf-5-node.yml +++ b/system-test/performance-testcases/aws-cpu-only-perf-5-node.yml @@ -3,6 +3,7 @@ steps: label: "AWS - CPU Only 5 Node" env: UPLOAD_RESULTS_TO_SLACK: "true" + UPLOAD_RESULTS_TO_DISCORD: "true" CLOUD_PROVIDER: "ec2" TESTNET_TAG: "aws-perf-cpu-only" TEST_DURATION_SECONDS: 600 diff --git a/system-test/performance-testcases/azure-cpu-only-perf-5-node.yml b/system-test/performance-testcases/azure-cpu-only-perf-5-node.yml index f7bcbc9af..a8fc529ce 100755 --- a/system-test/performance-testcases/azure-cpu-only-perf-5-node.yml +++ b/system-test/performance-testcases/azure-cpu-only-perf-5-node.yml @@ -3,6 +3,7 @@ steps: label: "Azure - CPU Only 5 Node" env: UPLOAD_RESULTS_TO_SLACK: "true" + UPLOAD_RESULTS_TO_DISCORD: "true" CLOUD_PROVIDER: "azure" TESTNET_TAG: "azure-perf-cpu-only" TEST_DURATION_SECONDS: 600 diff --git a/system-test/performance-testcases/colo-cpu-only-perf-4-val-1-client.yml b/system-test/performance-testcases/colo-cpu-only-perf-4-val-1-client.yml index b79a17749..8be728fb9 100755 --- a/system-test/performance-testcases/colo-cpu-only-perf-4-val-1-client.yml +++ b/system-test/performance-testcases/colo-cpu-only-perf-4-val-1-client.yml @@ -3,6 +3,7 @@ steps: label: "COLO performance testnet CPU only (reduced validator and client count)" env: UPLOAD_RESULTS_TO_SLACK: "true" + UPLOAD_RESULTS_TO_DISCORD: "true" CLOUD_PROVIDER: "colo" TESTNET_TAG: "colo-perf-cpu-only" ENABLE_GPU: "false" diff --git a/system-test/performance-testcases/colo-gpu-perf-4-val-1-client.yml b/system-test/performance-testcases/colo-gpu-perf-4-val-1-client.yml index fec68017c..196e8dc9b 100755 --- a/system-test/performance-testcases/colo-gpu-perf-4-val-1-client.yml +++ b/system-test/performance-testcases/colo-gpu-perf-4-val-1-client.yml @@ -3,6 +3,7 @@ steps: label: "COLO performance testnet GPU enabled (reduced validator and client count)" env: UPLOAD_RESULTS_TO_SLACK: "true" + UPLOAD_RESULTS_TO_DISCORD: "true" CLOUD_PROVIDER: "colo" TESTNET_TAG: "colo-perf-gpu-enabled" ENABLE_GPU: "true" diff --git a/system-test/performance-testcases/colo-gpu-perf-high-txcount-4-val-1-client.yml b/system-test/performance-testcases/colo-gpu-perf-high-txcount-4-val-1-client.yml index 468629028..933068a46 100755 --- a/system-test/performance-testcases/colo-gpu-perf-high-txcount-4-val-1-client.yml +++ b/system-test/performance-testcases/colo-gpu-perf-high-txcount-4-val-1-client.yml @@ -3,6 +3,7 @@ steps: label: "COLO performance testnet GPU enabled - High Tx Count (reduced validator and client count)" env: UPLOAD_RESULTS_TO_SLACK: "true" + UPLOAD_RESULTS_TO_DISCORD: "true" CLOUD_PROVIDER: "colo" TESTNET_TAG: "colo-perf-gpu-enabled" ENABLE_GPU: "true" diff --git a/system-test/performance-testcases/gce-cpu-only-perf-10-node.yml b/system-test/performance-testcases/gce-cpu-only-perf-10-node.yml index e08a552ab..bb8c8a795 100755 --- a/system-test/performance-testcases/gce-cpu-only-perf-10-node.yml +++ b/system-test/performance-testcases/gce-cpu-only-perf-10-node.yml @@ -3,6 +3,7 @@ steps: label: "GCE performance testnets CPU ONLY" env: UPLOAD_RESULTS_TO_SLACK: "true" + UPLOAD_RESULTS_TO_DISCORD: "true" CLOUD_PROVIDER: "gce" TESTNET_TAG: "gce-perf-cpu-only" TEST_DURATION_SECONDS: 600 diff --git a/system-test/performance-testcases/gce-cpu-only-perf-5-node-single-region.yml b/system-test/performance-testcases/gce-cpu-only-perf-5-node-single-region.yml index 92a398387..388ddba62 100755 --- a/system-test/performance-testcases/gce-cpu-only-perf-5-node-single-region.yml +++ b/system-test/performance-testcases/gce-cpu-only-perf-5-node-single-region.yml @@ -3,6 +3,7 @@ steps: label: "GCE - CPU Only 5 Node Single Zone" env: UPLOAD_RESULTS_TO_SLACK: "true" + UPLOAD_RESULTS_TO_DISCORD: "true" CLOUD_PROVIDER: "gce" TESTNET_TAG: "gce-perf-cpu-only" TEST_DURATION_SECONDS: 600 diff --git a/system-test/performance-testcases/gce-cpu-only-perf-5-node.yml b/system-test/performance-testcases/gce-cpu-only-perf-5-node.yml index 20c54f189..f0ece2fd6 100755 --- a/system-test/performance-testcases/gce-cpu-only-perf-5-node.yml +++ b/system-test/performance-testcases/gce-cpu-only-perf-5-node.yml @@ -3,6 +3,7 @@ steps: label: "GCE - CPU Only 5 Node" env: UPLOAD_RESULTS_TO_SLACK: "true" + UPLOAD_RESULTS_TO_DISCORD: "true" CLOUD_PROVIDER: "gce" TESTNET_TAG: "gce-perf-cpu-only" TEST_DURATION_SECONDS: 600 diff --git a/system-test/performance-testcases/gce-gpu-perf-10-node-single-region.yml b/system-test/performance-testcases/gce-gpu-perf-10-node-single-region.yml index 71903e6e5..f1416a71c 100755 --- a/system-test/performance-testcases/gce-gpu-perf-10-node-single-region.yml +++ b/system-test/performance-testcases/gce-gpu-perf-10-node-single-region.yml @@ -3,6 +3,7 @@ steps: label: "GCE - GPU Enabled 10 Nodes" env: UPLOAD_RESULTS_TO_SLACK: "true" + UPLOAD_RESULTS_TO_DISCORD: "true" CLOUD_PROVIDER: "gce" TESTNET_TAG: "gce-perf-gpu-enabled" TEST_DURATION_SECONDS: 600 diff --git a/system-test/performance-testcases/gce-gpu-perf-10-node.yml b/system-test/performance-testcases/gce-gpu-perf-10-node.yml index 9ce070c85..a158c43aa 100755 --- a/system-test/performance-testcases/gce-gpu-perf-10-node.yml +++ b/system-test/performance-testcases/gce-gpu-perf-10-node.yml @@ -3,6 +3,7 @@ steps: label: "GCE - GPU Enabled 10 Nodes" env: UPLOAD_RESULTS_TO_SLACK: "true" + UPLOAD_RESULTS_TO_DISCORD: "true" CLOUD_PROVIDER: "gce" TESTNET_TAG: "gce-perf-gpu-enabled" TEST_DURATION_SECONDS: 600 diff --git a/system-test/performance-testcases/gce-gpu-perf-25-node-single-region.yml b/system-test/performance-testcases/gce-gpu-perf-25-node-single-region.yml index 785e0a2f5..234271db9 100755 --- a/system-test/performance-testcases/gce-gpu-perf-25-node-single-region.yml +++ b/system-test/performance-testcases/gce-gpu-perf-25-node-single-region.yml @@ -3,6 +3,7 @@ steps: label: "GCE - GPU Enabled 25 Nodes" env: UPLOAD_RESULTS_TO_SLACK: "true" + UPLOAD_RESULTS_TO_DISCORD: "true" CLOUD_PROVIDER: "gce" TESTNET_TAG: "gce-perf-gpu-enabled" TEST_DURATION_SECONDS: 600 diff --git a/system-test/performance-testcases/gce-gpu-perf-25-node.yml b/system-test/performance-testcases/gce-gpu-perf-25-node.yml index d538c59bd..8e23c5df3 100755 --- a/system-test/performance-testcases/gce-gpu-perf-25-node.yml +++ b/system-test/performance-testcases/gce-gpu-perf-25-node.yml @@ -3,6 +3,7 @@ steps: label: "GCE - GPU Enabled 25 Nodes" env: UPLOAD_RESULTS_TO_SLACK: "true" + UPLOAD_RESULTS_TO_DISCORD: "true" CLOUD_PROVIDER: "gce" TESTNET_TAG: "gce-perf-gpu-enabled" TEST_DURATION_SECONDS: 600 diff --git a/system-test/performance-testcases/gce-gpu-perf-5-node-single-region.yml b/system-test/performance-testcases/gce-gpu-perf-5-node-single-region.yml index 1e19f62ec..6909f5ce5 100755 --- a/system-test/performance-testcases/gce-gpu-perf-5-node-single-region.yml +++ b/system-test/performance-testcases/gce-gpu-perf-5-node-single-region.yml @@ -3,6 +3,7 @@ steps: label: "GCE - GPU Enabled 5 Nodes" env: UPLOAD_RESULTS_TO_SLACK: "true" + UPLOAD_RESULTS_TO_DISCORD: "true" CLOUD_PROVIDER: "gce" TESTNET_TAG: "gce-perf-gpu-enabled" TEST_DURATION_SECONDS: 600 diff --git a/system-test/performance-testcases/gce-gpu-perf-5-node.yml b/system-test/performance-testcases/gce-gpu-perf-5-node.yml index 61073fe2d..e65ec69b4 100755 --- a/system-test/performance-testcases/gce-gpu-perf-5-node.yml +++ b/system-test/performance-testcases/gce-gpu-perf-5-node.yml @@ -3,6 +3,7 @@ steps: label: "GCE - GPU Enabled 5 Nodes" env: UPLOAD_RESULTS_TO_SLACK: "true" + UPLOAD_RESULTS_TO_DISCORD: "true" CLOUD_PROVIDER: "gce" TESTNET_TAG: "gce-perf-gpu-enabled" TEST_DURATION_SECONDS: 600 diff --git a/system-test/performance-testcases/gce-gpu-perf-50-node-single-region.yml b/system-test/performance-testcases/gce-gpu-perf-50-node-single-region.yml index 5d9550b0f..f36097a25 100755 --- a/system-test/performance-testcases/gce-gpu-perf-50-node-single-region.yml +++ b/system-test/performance-testcases/gce-gpu-perf-50-node-single-region.yml @@ -3,6 +3,7 @@ steps: label: "GCE - GPU Enabled 50 Nodes" env: UPLOAD_RESULTS_TO_SLACK: "true" + UPLOAD_RESULTS_TO_DISCORD: "true" CLOUD_PROVIDER: "gce" TESTNET_TAG: "gce-perf-gpu-enabled" TEST_DURATION_SECONDS: 600 diff --git a/system-test/performance-testcases/gce-gpu-perf-50-node.yml b/system-test/performance-testcases/gce-gpu-perf-50-node.yml index 559241275..bec916762 100755 --- a/system-test/performance-testcases/gce-gpu-perf-50-node.yml +++ b/system-test/performance-testcases/gce-gpu-perf-50-node.yml @@ -3,6 +3,7 @@ steps: label: "GCE - GPU Enabled 50 Nodes" env: UPLOAD_RESULTS_TO_SLACK: "true" + UPLOAD_RESULTS_TO_DISCORD: "true" CLOUD_PROVIDER: "gce" TESTNET_TAG: "gce-perf-gpu-enabled" TEST_DURATION_SECONDS: 600 diff --git a/system-test/sanity-testcases/colo-cpu-only-quick-sanity-test.yml b/system-test/sanity-testcases/colo-cpu-only-quick-sanity-test.yml index 2c4918510..12b127b2c 100755 --- a/system-test/sanity-testcases/colo-cpu-only-quick-sanity-test.yml +++ b/system-test/sanity-testcases/colo-cpu-only-quick-sanity-test.yml @@ -3,6 +3,7 @@ steps: label: "SANITY - Short duration Colo perf sanity. 1 val, 1 client, CPU-only." env: UPLOAD_RESULTS_TO_SLACK: "true" + UPLOAD_RESULTS_TO_DISCORD: "true" CLOUD_PROVIDER: "colo" TESTNET_TAG: "colo-perf-cpu-only" ENABLE_GPU: "false" diff --git a/system-test/sanity-testcases/colo-partition-sanity-test.yml b/system-test/sanity-testcases/colo-partition-sanity-test.yml index cfb40721a..3610dc8c1 100755 --- a/system-test/sanity-testcases/colo-partition-sanity-test.yml +++ b/system-test/sanity-testcases/colo-partition-sanity-test.yml @@ -3,6 +3,7 @@ steps: label: "SANITY TEST - Colo - CPU Only - Partial Loss 3 Partitions" env: UPLOAD_RESULTS_TO_SLACK: "true" + UPLOAD_RESULTS_TO_DISCORD: "true" CLOUD_PROVIDER: "colo" TESTNET_TAG: "colo-perf-cpu-only" NUMBER_OF_VALIDATOR_NODES: 2 diff --git a/system-test/stability-testcases/colo-long-duration-cpu-only-perf.yml b/system-test/stability-testcases/colo-long-duration-cpu-only-perf.yml index 3006a0eb7..2dc0af943 100755 --- a/system-test/stability-testcases/colo-long-duration-cpu-only-perf.yml +++ b/system-test/stability-testcases/colo-long-duration-cpu-only-perf.yml @@ -3,6 +3,7 @@ steps: label: "COLO 1 hour performance & stability CPU only" env: UPLOAD_RESULTS_TO_SLACK: "true" + UPLOAD_RESULTS_TO_DISCORD: "true" CLOUD_PROVIDER: "colo" TESTNET_TAG: "colo-perf-cpu-only" ENABLE_GPU: "false" diff --git a/system-test/stability-testcases/colo-long-duration-gpu-perf.yml b/system-test/stability-testcases/colo-long-duration-gpu-perf.yml index 008e1a53b..c5f0c1af5 100755 --- a/system-test/stability-testcases/colo-long-duration-gpu-perf.yml +++ b/system-test/stability-testcases/colo-long-duration-gpu-perf.yml @@ -3,6 +3,7 @@ steps: label: "COLO 1 hour performance & stability GPU enabled" env: UPLOAD_RESULTS_TO_SLACK: "true" + UPLOAD_RESULTS_TO_DISCORD: "true" CLOUD_PROVIDER: "colo" TESTNET_TAG: "colo-perf-gpu-enabled" ENABLE_GPU: "true" diff --git a/system-test/stability-testcases/gce-perf-stability-5-node-single-region.yml b/system-test/stability-testcases/gce-perf-stability-5-node-single-region.yml index 150fb2a96..140839994 100755 --- a/system-test/stability-testcases/gce-perf-stability-5-node-single-region.yml +++ b/system-test/stability-testcases/gce-perf-stability-5-node-single-region.yml @@ -3,6 +3,7 @@ steps: label: "GCE - 1 hour perf stability" env: UPLOAD_RESULTS_TO_SLACK: "true" + UPLOAD_RESULTS_TO_DISCORD: "true" CLOUD_PROVIDER: "gce" TESTNET_TAG: "gce-perf-cpu-only" TEST_DURATION_SECONDS: 3600 diff --git a/system-test/stability-testcases/gce-stability-5-node.yml b/system-test/stability-testcases/gce-stability-5-node.yml index ff71010c6..3302caeec 100755 --- a/system-test/stability-testcases/gce-stability-5-node.yml +++ b/system-test/stability-testcases/gce-stability-5-node.yml @@ -3,6 +3,7 @@ steps: label: "GCE - 8 hour Stability - 5 Node" env: UPLOAD_RESULTS_TO_SLACK: "true" + UPLOAD_RESULTS_TO_DISCORD: "true" CLOUD_PROVIDER: "gce" TESTNET_TAG: "gce-stability" TEST_DURATION_SECONDS: 28800 diff --git a/system-test/stake-operations-testcases/offline_stake_colo.yml b/system-test/stake-operations-testcases/offline_stake_colo.yml index 0ed17907c..df4737a1b 100755 --- a/system-test/stake-operations-testcases/offline_stake_colo.yml +++ b/system-test/stake-operations-testcases/offline_stake_colo.yml @@ -3,6 +3,7 @@ steps: label: "Running Offline Stake Operations Tests on Colo" env: UPLOAD_RESULTS_TO_SLACK: "true" + UPLOAD_RESULTS_TO_DISCORD: "true" CLOUD_PROVIDER: "colo" ENABLE_GPU: "false" TEST_DURATION_SECONDS: 30 diff --git a/system-test/stake-operations-testcases/offline_stake_gce.yml b/system-test/stake-operations-testcases/offline_stake_gce.yml index 39030f073..3efbef776 100755 --- a/system-test/stake-operations-testcases/offline_stake_gce.yml +++ b/system-test/stake-operations-testcases/offline_stake_gce.yml @@ -3,6 +3,7 @@ steps: label: "Running Offline Stake Operations Tests on GCE" env: UPLOAD_RESULTS_TO_SLACK: "true" + UPLOAD_RESULTS_TO_DISCORD: "true" CLOUD_PROVIDER: "gce" ENABLE_GPU: "false" TEST_DURATION_SECONDS: 30 diff --git a/system-test/testnet-automation.sh b/system-test/testnet-automation.sh index 00426e18d..ec0844679 100755 --- a/system-test/testnet-automation.sh +++ b/system-test/testnet-automation.sh @@ -22,6 +22,9 @@ $*" upload_results_to_slack fi + if [[ "$UPLOAD_RESULTS_TO_DISCORD" = "true" ]]; then + upload_results_to_discord + fi ( execution_step "Collecting Logfiles from Nodes"