Project

General

Profile

Actions

action #90302

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

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

Remote openQA worker fails to run tests from openqa-clone-custom-git-refspec due to differing paths

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

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
2021-03-18
Due date:
% Done:

0%

Estimated time:
4.00 h

Description

Observation

See the original issue in #67723 for details:

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

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

  • Ensure the involved workers are using relative paths, see #90290 and #90293
  • Crosscheck if issue is fixed
Actions #1

Updated by okurz over 3 years ago

  • Status changed from Blocked to Workable
  • Assignee deleted (okurz)

with both #90290 and #90293 resolved we can check for the original problem if that still exists.

Actions #2

Updated by okurz over 3 years ago

  • Tracker changed from coordination to action
Actions #3

Updated by mkittler over 3 years ago

It would be great to have steps to reproduce and not just links to broken jobs.

Actions #4

Updated by okurz over 3 years ago

I agree. But so far we simply do not have such steps formalized. Welcome to reality ;)

Actions #5

Updated by Xiaojing_liu over 3 years ago

  • Status changed from Workable to In Progress
  • Assignee set to Xiaojing_liu
Actions #6

Updated by openqa_review over 3 years ago

  • Due date set to 2021-05-04

Setting due date based on mean cycle time of SUSE QE Tools

Actions #7

Updated by Xiaojing_liu over 3 years ago

I did a test following this comment: https://progress.opensuse.org/issues/67723#note-12 on o3.

barry:~/:[0]# openqa-clone-custom-git-refspec https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/12349 https://openqa.opensuse.org/tests/1701892 WORKER_CLASS=aws
Created job #1706385: opensuse-15.3-DVD-aarch64-Build134.1-kde@aarch64 -> https://openqa.opensuse.org/t1706385

The source job 1701892 was run on worker openqa-aarch64:2. This worker is enabled cache service and using a relative path. The cloned job is run on ip-172-25-5-39:2, and the setting NEEDLE_DIR was opensuse/products/opensuse/needles.

I also did a test in my local: http://10.67.19.157/tests/531. This new job is run on a local worker that isn't enabled cache. The source job http://10.67.19.157/tests/530 was run on a remote worker which is enabled cache service. Both of the workers are enabled relative path.

So could we consider this remote worker issue has been fixed?

Actions #8

Updated by okurz over 3 years ago

  • Status changed from In Progress to Resolved

Yes! Thank you

Actions #9

Updated by Xiaojing_liu over 3 years ago

  • Estimated time set to 4.00 h
Actions #10

Updated by okurz over 3 years ago

  • Due date deleted (2021-05-04)
Actions

Also available in: Atom PDF