Project

General

Profile

Actions

action #59330

closed

"needledir not found: .*null/": openqa-clone-custom-git-refspec fails setting NEEDLES_DIR=null with new os-autoinst or openQA

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

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
2019-11-12
Due date:
% Done:

0%

Estimated time:

Description

Observation

[12/11/2019 09:49:47] <guillaume_g> okurz: jobs from openqa-clone-custom-git-refspec are failing with: needledir not found: /var/lib/openqa/pool/13/null (check vars.json?) at /usr/lib/os-autoinst/needle.pm line 336.
[12/11/2019 09:49:52] <guillaume_g> okurz: is it known?
[12/11/2019 09:50:30] <guillaume_g> okurz: Not sure why there is NEEDLES_DIR null value
[12/11/2019 09:51:10] <okurz> guillaume_g: no, that is not known. I suspect https://github.com/os-autoinst/os-autoinst/pull/1234 . can you state since when this happened?
[12/11/2019 09:51:11] <|Anna|> Github project os-autoinst/os-autoinst pull request#1234: "Remove PRJDIR, support loading needles from working directory", created on 2019-10-18, status: closed on 2019-11-08, https://github.com/os-autoinst/os-autoinst/pull/1234
[12/11/2019 09:52:05] <guillaume_g> okurz: It happened this morning. IIRC, last week it was ok.
[12/11/2019 09:52:47] <okurz> guillaume_g: can you show me the job that you created?
[12/11/2019 09:53:02] <okurz> https://openqa.opensuse.org/tests/1083297 I assume
[12/11/2019 09:53:51] <guillaume_g> okurz: indeed
[12/11/2019 09:53:52] <okurz> I will try to rollback aarch64.o.o and check if this fixes it
[12/11/2019 09:54:31] <guillaume_g> okurz: we will loose the send_key fix then ;)
[12/11/2019 09:54:41] <okurz> not necessarily, let me see
[12/11/2019 09:55:54] <okurz> guillaume_g: can you tell me which original job you cloned?
[12/11/2019 09:57:21] <guillaume_g> okurz: it was https://openqa.opensuse.org/tests/1081556 originaly

Related issues 1 (1 open0 closed)

Copied from openQA Project - action #56789: New needles from git repository not working with openqa-clone-custom-git-refspecNew2019-09-11

Actions
Actions #1

Updated by okurz over 4 years ago

  • Copied from action #56789: New needles from git repository not working with openqa-clone-custom-git-refspec added
Actions #2

Updated by okurz over 4 years ago

  • Status changed from New to In Progress

It seems that recent changes to os-autoinst and/or openQA cause the needles dir to not be computed at all. This causes the vars.json file parsing within openqa-clone-custom-git-refspec to return "null".

Actions #3

Updated by okurz over 4 years ago

so I tried to fix it within the tests but now https://openqa.opensuse.org/tests/1083311/file/autoinst-log.txt fails with " Ignoring needle dir specified via NEEDLES_DIR because it is not within the current working directory. needledir not found: os-autoinst-distri-opensuse/products/opensuse/needles". So for now I recommend to merge a revert with https://github.com/os-autoinst/os-autoinst/pull/1264

As an alternative maybe we can just get rid of the check for needles dir outside the "current working directory", see https://github.com/os-autoinst/os-autoinst/pull/1265 with the verification run https://openqa.opensuse.org/tests/1083314 combined with a change in the clone script: https://github.com/os-autoinst/openQA/pull/2475

Actions #4

Updated by okurz over 4 years ago

  • Status changed from In Progress to Feedback

os-autoinst change merged.

Actions #5

Updated by okurz over 4 years ago

  • Status changed from Feedback to Resolved

both merged

Actions #6

Updated by okurz over 4 years ago

  • Subject changed from openqa-clone-custom-git-refspec fails setting NEEDLES_DIR=null with new os-autoinst or openQA to "needledir not found: .*null/": openqa-clone-custom-git-refspec fails setting NEEDLES_DIR=null with new os-autoinst or openQA
Actions

Also available in: Atom PDF