Project

General

Custom queries

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 4 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
#1

Updated by okurz almost 4 years ago

  • Category set to Regressions/Crashes
  • Target version set to Ready
  • Parent task set to #94750
#4

Updated by ilausuch over 3 years ago

  • Description updated (diff)
  • Category changed from Regressions/Crashes to Feature requests
#5

Updated by mkittler over 3 years ago

  • Category changed from Feature requests to Regressions/Crashes
#6

Updated by mkittler over 3 years ago

  • Category changed from Regressions/Crashes to Feature requests
#7

Updated by livdywan over 3 years ago

  • Due date set to 2021-08-06
  • Status changed from New to Feedback
  • Assignee set to mkittler
#11

Updated by livdywan over 3 years ago

  • Due date changed from 2021-08-06 to 2021-08-13
#14

Updated by okurz over 3 years ago

  • Copied to action #97112: Support relative needle directories together with tests checked out from git added
#17

Updated by okurz over 3 years ago

  • Status changed from Feedback to Resolved
#19

Updated by okurz over 3 years ago

  • Due date deleted (2021-08-13)
Actions

Also available in: Atom PDF