olcf / olcf-test-harness

OLCF Test Harness
https://olcf.github.io/olcf-test-harness/
Other
12 stars 4 forks source link

Checkout mode silently failing #143

Closed hagertnl closed 11 months ago

hagertnl commented 1 year ago

I am currently looking at output like the following:

$ runtests.py -i rgt.inp --mode checkout
Using machine config: frontier.ini
Using machine config: frontier.ini
/lustre/orion/stf016/world-shared/mini_st_final/App
Overriding tasks in inputfile since CLI mode was provided
runmodecmd =  ['checkout']
self.__harness_task:  [['check_out_tests', None, None]]
reading harness config /sw/acceptance/olcf-test-harness/configs/frontier.ini
RGT_SUBMIT_ARGS is already set. Skipping.
RGT_PATH_TO_SSPACE is already set. Skipping.
RGT_SYSTEM_LOG_TAG is already set. Skipping.
Skipped 5, launched 0.

There's no debugging message as to why the tests were skipped and why the test repo was not cloned.

hagertnl commented 1 year ago

I've discovered the issue. Commit 6f46596ff1242e33f5d799f65815e41a261b4d09 introduced the check_paths function, which checks to make sure several required directories exist. However, as you can imagine, those directories don't exist yet when the mode is --checkout. So we need to fix this, as the checkout mode is now completely broken :)