From 54e317e1e69cc6b238b44f0a5c3cecd43bff42e1 Mon Sep 17 00:00:00 2001 From: Paige Rubendall Date: Thu, 25 Jan 2024 12:36:20 -0500 Subject: [PATCH] adding tmp report file Signed-off-by: Paige Rubendall --- container-scenarios/prow_run.sh | 3 ++- cpu-hog/prow_run.sh | 2 +- io-hog/prow_run.sh | 3 ++- memory-hog/prow_run.sh | 3 ++- namespace-scenarios/prow_run.sh | 2 +- network-chaos/prow_run.sh | 3 ++- node-disruptions/prow_run.sh | 2 +- pod-scenarios/prow_run.sh | 2 +- power-outage/prow_run.sh | 7 ++++--- pvc-scenario/prow_run.sh | 2 +- time-scenarios/prow_run.sh | 2 +- 11 files changed, 18 insertions(+), 13 deletions(-) diff --git a/container-scenarios/prow_run.sh b/container-scenarios/prow_run.sh index 72fdedd..5899a47 100755 --- a/container-scenarios/prow_run.sh +++ b/container-scenarios/prow_run.sh @@ -27,4 +27,5 @@ envsubst < config.yaml.template > /tmp/container_scenario_config.yaml # Run Kraken cat /tmp/container_scenario_config.yaml cat /tmp/container_scenario.yaml -python3.9 $krkn_loc/run_kraken.py --config=/tmp/container_scenario_config.yaml +python3.9 $krkn_loc/run_kraken.py --config=/tmp/container_scenario_config.yaml -o /tmp/report.out + diff --git a/cpu-hog/prow_run.sh b/cpu-hog/prow_run.sh index d6a6d02..1cfd592 100644 --- a/cpu-hog/prow_run.sh +++ b/cpu-hog/prow_run.sh @@ -36,4 +36,4 @@ envsubst < config.yaml.template > /tmp/cpu_hog_config.yaml # Run Kraken cat /tmp/cpu_hog_config.yaml cat $SCENARIO_FOLDER/input.yaml -python3.9 $krkn_loc/run_kraken.py --config=/tmp/cpu_hog_config.yaml +python3.9 $krkn_loc/run_kraken.py --config=/tmp/cpu_hog_config.yaml -o /tmp/report.out diff --git a/io-hog/prow_run.sh b/io-hog/prow_run.sh index a86c43c..94472d2 100644 --- a/io-hog/prow_run.sh +++ b/io-hog/prow_run.sh @@ -36,4 +36,5 @@ envsubst < config.yaml.template > /tmp/io_hog_config.yaml # Run Kraken cat /tmp/io_hog_config.yaml cat $SCENARIO_FOLDER/input.yaml -python3.9 $krkn_loc/run_kraken.py --config=/tmp/io_hog_config.yaml +python3.9 $krkn_loc/run_kraken.py --config=/tmp/io_hog_config.yaml -o /tmp/report.out + diff --git a/memory-hog/prow_run.sh b/memory-hog/prow_run.sh index 13fb5ed..3998345 100755 --- a/memory-hog/prow_run.sh +++ b/memory-hog/prow_run.sh @@ -36,4 +36,5 @@ envsubst < config.yaml.template > /tmp/memory_hog_config.yaml # Run Kraken cat /tmp/memory_hog_config.yaml cat $SCENARIO_FOLDER/input.yaml -python3.9 $krkn_loc/run_kraken.py --config=/tmp/memory_hog_config.yaml +python3.9 $krkn_loc/run_kraken.py --config=/tmp/memory_hog_config.yaml -o /tmp/report.out + diff --git a/namespace-scenarios/prow_run.sh b/namespace-scenarios/prow_run.sh index 6a196bd..51d64be 100755 --- a/namespace-scenarios/prow_run.sh +++ b/namespace-scenarios/prow_run.sh @@ -25,4 +25,4 @@ envsubst < config.yaml.template > /tmp/service_disruption_config.yaml # Run Kraken cat /tmp/service_disruption_config.yaml cat /tmp/service_disruption_scenario.yaml -python3.9 $krkn_loc/run_kraken.py --config=/tmp/service_disruption_config.yaml +python3.9 $krkn_loc/run_kraken.py --config=/tmp/service_disruption_config.yaml -o /tmp/report.out diff --git a/network-chaos/prow_run.sh b/network-chaos/prow_run.sh index 63e5dcd..9fa9fee 100755 --- a/network-chaos/prow_run.sh +++ b/network-chaos/prow_run.sh @@ -34,4 +34,5 @@ envsubst < config.yaml.template > /tmp/network_chaos_config.yaml cat /tmp/network_chaos_config.yaml cat /tmp/network_chaos.yaml -python3.9 $krn_loc/run_kraken.py --config=/tmp/network_chaos_config.yaml +python3.9 $krn_loc/run_kraken.py --config=/tmp/network_chaos_config.yaml -o /tmp/report.out + diff --git a/node-disruptions/prow_run.sh b/node-disruptions/prow_run.sh index c402abe..532ba5e 100644 --- a/node-disruptions/prow_run.sh +++ b/node-disruptions/prow_run.sh @@ -35,4 +35,4 @@ envsubst < config.yaml.template > /tmp/node_scenario_config.yaml # Run Kraken cat /tmp/node_scenario.yaml cat /tmp/node_scenario_config.yaml -python3.9 $krkn_loc/run_kraken.py --config=/tmp/node_scenario_config.yaml +python3.9 $krkn_loc/run_kraken.py --config=/tmp/node_scenario_config.yaml -o /tmp/report.out diff --git a/pod-scenarios/prow_run.sh b/pod-scenarios/prow_run.sh index 9d36e39..0c5f0cc 100755 --- a/pod-scenarios/prow_run.sh +++ b/pod-scenarios/prow_run.sh @@ -30,4 +30,4 @@ envsubst < config.yaml.template > /tmp/pod_scenario_config.yaml cat /tmp/pod_scenario_config.yaml cat /tmp/pod_scenario.yaml -python3.9 $krn_loc/run_kraken.py --config=/tmp/pod_scenario_config.yaml +python3.9 $krn_loc/run_kraken.py --config=/tmp/pod_scenario_config.yaml -o /tmp/report.out diff --git a/power-outage/prow_run.sh b/power-outage/prow_run.sh index c7d4eb2..ad2083f 100644 --- a/power-outage/prow_run.sh +++ b/power-outage/prow_run.sh @@ -19,9 +19,10 @@ oc version # Substitute config with environment vars defined envsubst < power-outages/shutdown_scenario.yaml.template > /tmp/power_outage_scenario.yaml export SCENARIO_FILE=/tmp/power_outage_scenario.yaml -envsubst < config.yaml.template > power_outage_config.yaml +envsubst < config.yaml.template > /tmp/power_outage_config.yaml # Run Kraken cat /tmp/power_outage_scenario.yaml -cat power_outage_config.yaml -python3.9 /root/kraken/run_kraken.py --config=power_outage_config.yaml +cat /tmp/power_outage_config.yaml +python3.9 /root/kraken/run_kraken.py --config=/tmp/power_outage_config.yaml -o /tmp/report.out + diff --git a/pvc-scenario/prow_run.sh b/pvc-scenario/prow_run.sh index b5d6652..8505d54 100755 --- a/pvc-scenario/prow_run.sh +++ b/pvc-scenario/prow_run.sh @@ -26,5 +26,5 @@ envsubst < config.yaml.template > /tmp/pvc_scenario_config.yaml # Run Kraken cat /tmp/pvc_scenario_config.yaml cat /tmp/pvc_scenario.yaml -python3.9 $krkn_loc/run_kraken.py --config=/tmp/pvc_scenario_config.yaml 2>&1 +python3.9 $krkn_loc/run_kraken.py --config=/tmp/pvc_scenario_config.yaml -o /tmp/report.out 2>&1 diff --git a/time-scenarios/prow_run.sh b/time-scenarios/prow_run.sh index e1568f9..bc8d96f 100755 --- a/time-scenarios/prow_run.sh +++ b/time-scenarios/prow_run.sh @@ -25,4 +25,4 @@ envsubst < config.yaml.template > /tmp/time_scenario_config.yaml # Run Kraken cat /tmp/time_scenario_config.yaml cat /tmp/time_scenario.yaml -python3.9 $krkn_loc/run_kraken.py --config=/tmp/time_scenario_config.yaml +python3.9 $krkn_loc/run_kraken.py --config=/tmp/time_scenario_config.yaml -o /tmp/report.out