Skip to content

Commit

Permalink
Run hog scenarios from the kraken dir
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
chaitanyaenr committed Jul 12, 2024
1 parent 0899e31 commit 5978e20
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion cpu-hog/prow_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 2 additions & 1 deletion io-hog/prow_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

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

0 comments on commit 5978e20

Please sign in to comment.