Project

General

Profile

Actions

action #94735

closed

coordination #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

Added by dancermak over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Feature requests
Target version:
Start date:
2021-06-25
Due date:
% Done:

0%

Estimated time:

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 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


Related issues 1 (0 open1 closed)

Copied to openQA Project (public) - action #97112: Support relative needle directories together with tests checked out from gitResolvedokurz

Actions
Actions

Also available in: Atom PDF