Project

General

Profile

Actions

action #177778

closed

Ensure openqa-clone-custom-git-refspec works fine with git-only test distributions like os-autoinst-distri-openQA

Added by jbaier_cz about 2 months ago. Updated about 2 months ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Regressions/Crashes
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Motivation

See error report by Martchus aka. mkittler in https://github.com/os-autoinst/os-autoinst-distri-openQA/pull/177#issuecomment-2180542666, also spotted quite recently in https://openqa.opensuse.org/tests/4880482.

Calling openqa-clone-custom-git-refspec https://github.com/os-autoinst/os-autoinst-distri-openQA/tree/reproducer https://openqa.opensuse.org/tests/4880477 will set wrong NEEDLES_DIR resulting in a test failure (see the test above).

Acceptance criteria

  • AC1: openqa-clone-custom-git-refspec https://github.com/os-autoinst/os-autoinst-distri-openQA/tree/<id> https://openqa.opensuse.org/tests/<test_id> yields passing openQA job without needing to set any needles URL specifically for <id> pointing to any PR in that repo and <test_id> pointing to any openQA-in-openQA job. Look up one of those from https://openqa.opensuse.org/group_overview/24
  • AC2: Specifying NEEDLES_DIR as additional argument has precedence
  • AC3: osado can still pass when triggered with openqa-clone-custom-git-refspec which do not use the git URL in their CASEDIR or NEEDLES_DIR without needing explict mentions of NEEDLES_DIR

Suggestions

Workaround

  • openqa-clone-custom-git-refspec https://github.com/os-autoinst/os-autoinst-distri-openQA/tree/reproducer https://openqa.opensuse.org/tests/4880477 NEEDLES_DIR=https://github.com/os-autoinst/os-autoinst-needles-openQA.git

Related issues 1 (0 open1 closed)

Copied from openQA Project (public) - action #162632: Ensure openqa-clone-custom-git-refspec works fine with git-only test distributions like os-autoinst-distri-openQA size:MResolvedybonatakis2024-06-20

Actions
Actions

Also available in: Atom PDF