action #94735
closedcoordination #58184: [saga][epic][use case] full version control awareness within openQA
coordination #94750: [epic] Support needles from git-cloned or separate repo if casedir points to a git-repo
needles not found in `needles` subdirectory when CASEDIR is a git repository
Description
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 aneedles
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)
Updated by okurz almost 4 years ago
- Category set to Regressions/Crashes
- Target version set to Ready
- Parent task set to #94750
Updated by ilausuch over 3 years ago
- Description updated (diff)
- Category changed from Regressions/Crashes to Feature requests
Updated by mkittler over 3 years ago
- Category changed from Feature requests to Regressions/Crashes
Updated by mkittler over 3 years ago
- Category changed from Regressions/Crashes to Feature requests
Updated by livdywan over 3 years ago
- Due date set to 2021-08-06
- Status changed from New to Feedback
- Assignee set to mkittler
Updated by okurz over 3 years ago
- Copied to action #97112: Support relative needle directories together with tests checked out from git added