Project

General

Profile

action #14066

Better hint for 'missing needles'

Added by dimstar about 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
2016-10-05
Due date:
% Done:

100%

Estimated time:
Difficulty:

Description

Reference test: https://openqa.opensuse.org/tests/276937/file/autoinst-log.txt

Error message in there: Could not open image /var/lib/openqa/share/tests/opensuse/products/opensuse/needles/inst-overview-kde-leap422-20160507.png

This issue generally happens when somebody is cleaning up needles (either using the admin interface or with a regular pullrequest deleting a needle)
Any test that is already running and that has the needle registered will fail with a high likelihood once this needle would be a candidate.

At a minimum this kind of error needs a better explanation to the user (that there was nothing he did wrong), better yet, the test would auto-trigger for this

and best of all: removing needles would be a queue action; running tests should still have access to the files, but new jobs would no longer be allowed to register a needle (and use it). Maybe with an additional tag 'TAGGED-FOR-REMOVAL' which gets auto-unregistered on start of a test. Then a needle that was tagged for like 24 hours with can be definitively be deleted (no test should run for that long after all)

History

#1 Updated by okurz about 6 years ago

"… better yet, the test would auto-trigger for this" should not be necessary as the needle is not there and will not influence the test in a different way the next time. os-autoinst just needs to handle this case gracefully.

#2 Updated by dheidler about 6 years ago

  • Status changed from New to In Progress
  • Assignee set to dheidler

#4 Updated by dheidler about 6 years ago

  • % Done changed from 0 to 90

#5 Updated by dheidler about 6 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 90 to 100

Merged.

Also available in: Atom PDF