Skip to content

Commit

Permalink
adding tmp report file
Browse files Browse the repository at this point in the history
Signed-off-by: Paige Rubendall <[email protected]>
  • Loading branch information
paigerube14 authored and chaitanyaenr committed Jan 25, 2024
1 parent 0c7ee8f commit 54e317e
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 13 deletions.
3 changes: 2 additions & 1 deletion container-scenarios/prow_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

2 changes: 1 addition & 1 deletion cpu-hog/prow_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 2 additions & 1 deletion io-hog/prow_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

3 changes: 2 additions & 1 deletion memory-hog/prow_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

2 changes: 1 addition & 1 deletion namespace-scenarios/prow_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 2 additions & 1 deletion network-chaos/prow_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

2 changes: 1 addition & 1 deletion node-disruptions/prow_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion pod-scenarios/prow_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
7 changes: 4 additions & 3 deletions power-outage/prow_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

2 changes: 1 addition & 1 deletion pvc-scenario/prow_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

2 changes: 1 addition & 1 deletion time-scenarios/prow_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 54e317e

Please sign in to comment.