Actions
action #152392
closedWhy does the investigation diff show PRJDIR value "/var/lib/openqa/cache/openqa.suse.de" vs. "/var/lib/openqa/share" when both should use the cache service? size:M
Description
Observation¶
https://openqa.suse.de/tests/13018864#investigation shows
in "diff_to_last_good"
- "PRJDIR" : "/var/lib/openqa/cache/openqa.suse.de",
+ "PRJDIR" : "/var/lib/openqa/share",
…
- "WORKER_HOSTNAME" : "worker38.oqa.prg2.suse.org",
+ "WORKER_HOSTNAME" : "worker39.oqa.prg2.suse.org",
so a difference in PRJDIR as if worker38 would use the cache service and worker39 would not despite both machines having the cache service enabled.
Acceptence Criteria¶
- AC1: It is known and documented what PRJDIR does
- AC2: Use of the cache service is confirmed to work for reading the test distribution data
Expected result¶
- There should be no diff in PRJDIR
Suggestions¶
- Confirm where PRJDIR is set, and what updates it later
- Restarting workers might reset it to the default value
- Is it correct to use PRJDIR to enable the cache?
- DONE isotovideo probably doesn't care about this folder -> confirmed, there is no reference to PRJDIR (or even just "prj" case-insensitive) in current os-autoinst
- Remove FIXME's from code
- Remove note about "compatibility for older os-autoinst" versions https://github.com/os-autoinst/openQA/blob/master/lib/OpenQA/Worker/Engines/isotovideo.pm if the last version of os-autoinst is from some years ago -> confirmed to be deletable, last references was deleted in "commit 9eb2f564, Author: Marius Kittler mkittler@suse.de, Date: Thu Oct 17 19:05:00 2019 +0200" so old enough
- https://github.com/os-autoinst/openQA/blob/master/lib/OpenQA/Worker/Engines/isotovideo.pm#L215
Actions