action #99378
closedopenqa-clone-custom-git-refspec trigger a job with incorrect needles directory in remote worker.
0%
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.
Updated by Xiaojing_liu over 3 years ago
- Status changed from New to Feedback
- Target version deleted (
future)
Updated by Xiaojing_liu about 3 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