From 5978e2005dbf2a20bc311ce92fbb9309e3427c0c Mon Sep 17 00:00:00 2001 From: Naga Ravi Chaitanya Elluri Date: Thu, 11 Jul 2024 19:51:08 -0400 Subject: [PATCH] Run hog scenarios from the kraken dir This fixes the following issue: ``` File "/home/krkn/kraken/kraken/arcaflow_plugin/arcaflow_plugin.py", line 44, in build_args raise Exception( Exception: context folder for arcaflow workflow not found: /home/krkn/krkn-hub//home/krkn/kraken/scenarios/arcaflow/memory-hog ``` Signed-off-by: Naga Ravi Chaitanya Elluri --- cpu-hog/prow_run.sh | 3 ++- io-hog/prow_run.sh | 3 ++- memory-hog/prow_run.sh | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/cpu-hog/prow_run.sh b/cpu-hog/prow_run.sh index 2fafd57..4ddf74d 100644 --- a/cpu-hog/prow_run.sh +++ b/cpu-hog/prow_run.sh @@ -29,4 +29,5 @@ envsubst < config.yaml.template > $krkn_loc/cpu_hog_config.yaml # Run Kraken cat $krkn_loc/cpu_hog_config.yaml cat $SCENARIO_FOLDER/input.yaml -python3.9 $krkn_loc/run_kraken.py --config=$krkn_loc/cpu_hog_config.yaml -o /tmp/report.out +cd $krkn_loc +python3.9 run_kraken.py --config=cpu_hog_config.yaml -o /tmp/report.out diff --git a/io-hog/prow_run.sh b/io-hog/prow_run.sh index a86dc7f..b81083d 100644 --- a/io-hog/prow_run.sh +++ b/io-hog/prow_run.sh @@ -29,5 +29,6 @@ envsubst < config.yaml.template > $krkn_loc/io_hog_config.yaml # Run Kraken cat $krkn_loc/io_hog_config.yaml cat $SCENARIO_FOLDER/input.yaml -python3.9 $krkn_loc/run_kraken.py --config=$krkn_loc/io_hog_config.yaml -o /tmp/report.out +cd $krkn_loc +python3.9 run_kraken.py --config=io_hog_config.yaml -o /tmp/report.out diff --git a/memory-hog/prow_run.sh b/memory-hog/prow_run.sh index a7ae9ca..6a6ab82 100755 --- a/memory-hog/prow_run.sh +++ b/memory-hog/prow_run.sh @@ -29,5 +29,6 @@ envsubst < config.yaml.template > $krkn_loc/memory_hog_config.yaml # Run Kraken cat $krkn_loc/memory_hog_config.yaml cat $SCENARIO_FOLDER/input.yaml -python3.9 $krkn_loc/run_kraken.py --config=$krkn_loc/memory_hog_config.yaml -o /tmp/report.out +cd $krkn_loc +python3.9 run_kraken.py --config=memory_hog_config.yaml -o /tmp/report.out