Project

General

Profile

action #94735

Updated by ilausuch almost 3 years ago

## Observation 

 openQA does not appear to take the `needles` subdirectory into account for loading needles when `CASEDIR` is a git repository. 

 ## Steps to reproduce 
 * Clone a job and set `CASEDIR` to a git repository with a `needles` subdirectory in that git repository 
 * If the `needles` subdirectory contains needles not present on the instance, then openQA will not find them. 

 ## Workaround 

 Setting `NEEDLES_DIR` to `CASEDIR` works around that problem. Setting `NEEDLES_DIR` to `needles/` on the other hand does not work. 

 


 Example failure: https://openqa.opensuse.org/tests/1806254 (-> failed) 

 cloned with `NEEDLES_DIR='needles/'`: https://openqa.opensuse.org/tests/1806460 (-> failed) 

 cloned with `NEEDLES_DIR='https://github.com/dcermak/kiwi-functional-tests#basic_functional_test'`: https://openqa.opensuse.org/tests/1806588 (-> passed) 

 ## Suggestions 
 * Be careful (see comment https://progress.opensuse.org/issues/94735#note-3)

Back