Project

General

Profile

Actions

action #99378

closed

openqa-clone-custom-git-refspec trigger a job with incorrect needles directory in remote worker.

Added by dawei_pang over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
2021-09-28
Due date:
% Done:

0%

Estimated time:
16.00 h

Description

Our openQA webUI is located at http://10.67.129.4, and its worker is located at worker1.qa1.suse.asia.
An example of this issue: http://10.67.129.4/tests/38362
When running command like “openqa-clone-custom-git-refspec https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/13036 http://10.67.129.4/tests/37319”, I find the job running in worker1 automatically create a needles link in pool directory, pointing to /var/lib/openqa/share/tests/sle/products/sle/needles, that causes the job loaded 0 needles, when I manually change the needles link point to /var/lib/openqa/cache/10.67.129.4/tests/sle/products/sle/needles, the job can successfully load thousands of needles.
By the way, this openQA can run test cases triggered by openqa-cli without any error.

Actions #1

Updated by okurz over 2 years ago

  • Target version set to future
Actions #2

Updated by Xiaojing_liu over 2 years ago

  • Status changed from New to Feedback
  • Target version deleted (future)
Actions #3

Updated by Xiaojing_liu over 2 years ago

  • Target version set to future
Actions #4

Updated by Xiaojing_liu over 2 years ago

  • Status changed from Feedback to Resolved

Checked a job triggered by openqa-clone-custom-git-refspec on OSD, the needles directory is symlinked to the cache directory:

lrwxrwxrwx  1 _openqa-worker nogroup   67 Oct 11 10:09 needles -> /var/lib/openqa/cache/openqa.suse.de/tests/sle/products/sle/needles
drwxr-xr-x 14 _openqa-worker nogroup 4.0K Oct 11 10:09 os-autoinst-distri-opensuse
Actions #5

Updated by Xiaojing_liu over 2 years ago

  • Estimated time set to 16.00 h
Actions

Also available in: Atom PDF