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 almost 3 years ago. Updated over 2 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 (1 open0 closed)

Copied to openQA Project - action #97112: Support relative needle directories together with tests checked out from gitNew

Actions
Actions

Also available in: Atom PDF