Project

General

Profile

Actions

coordination #67723

closed

coordination #58184: [saga][epic][use case] full version control awareness within openQA

coordination #80372: [epic] Cleanup vars.json as initial information container between openQA worker and isotovideo

[epic] Remote openQA worker fails to run tests from openqa-clone-custom-git-refspec

Added by ggardet_arm almost 4 years ago. Updated about 3 years ago.

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

100%

Estimated time:
(Total: 24.00 h)

Description

Observation

Remote openQA worker fails to run tests from openqa-clone-custom-git-refspec, see: https://openqa.opensuse.org/tests/1287895

needles_dir not found: /var/lib/openqa/pool/2/os-autoinst-distri-opensuse/var/lib/openqa/cache/openqa1-opensuse/tests/opensuse/products/opensuse/needles (check vars.json?) at /usr/lib/os-autoinst/needle.pm line 330, <$fh> line 20.
[2020-06-04T09:10:50.934 UTC] [debug] terminating command server 19004 because test execution ended through exception
[2020-06-04T09:10:51.935 UTC] [debug] done with command server
18926: EXIT 1

Is there anything to setup?

Motivation

As a user of remote openQA worker instances I want to be able to use openqa-clone-custom-git-refspec as well

Acceptance criteria

  • AC1: openqa-clone-custom-git-refspec creates jobs with valid CASEDIR and valid NEEDLES_DIR if source job is a "remote worker"
  • AC2: openqa-clone-custom-git-refspec still creates jobs that find tests from specified git hash and needles for other workers

Suggestions

  • Croscheck the command line with which openqa-clone-job would be or is called within openqa-clone-custom-git-refspec in case of normal workers or the affected machines
  • As it seems that the paths given to openqa-clone-job seem valid also check how openQA internally handles paths to generate the obviously wrong path like "/var/lib/openqa/pool/2/os-autoinst-distri-opensuse/var/lib/openqa/cache/openqa1-opensuse/tests/opensuse/products/opensuse/needles"
  • Either apply fix in openQA side or openqa-clone-custom-git-refspec

Subtasks 3 (0 open3 closed)

action #90290: Relative paths for CASEDIR and others as default to be not bound to specific workersResolvedokurz2021-03-18

Actions
action #90293: Optional relative paths for CASEDIR and others to be not bound to specific workersResolvedXiaojing_liu2021-03-18

Actions
action #90302: Remote openQA worker fails to run tests from openqa-clone-custom-git-refspec due to differing pathsResolvedXiaojing_liu2021-03-18

Actions

Related issues 3 (0 open3 closed)

Related to openQA Project - action #66658: Fail to use openqa-clone-custom-git-refspec to trigger a job which is also triggered by this scriptResolvedXiaojing_liu2020-05-09

Actions
Related to openQA Project - action #88482: Two absolute paths concatenated to form a default needle dir when PRODUCT_DIR/needles doesn't existResolvedXiaojing_liu2021-02-08

Actions
Related to openQA Tests - action #89990: Error on tests/kernel/run_ltp.pm: Can't locate sle/tests/kernel/run_ltp.pmResolvedokurz2021-03-12

Actions
Actions

Also available in: Atom PDF