action #33946
closedIso image of Parent Job is downloaded even if "--skip-deps" property is specified while cloning Child Job
0%
Description
Steps to reproduce:
- Start cloning any Job that is linked to Parent one with "--skip-deps" property (e.g. wicked_basic: OpenSUSE Tumbleweed > {build_number} > wicked_basic );
- Wait until the cloning process will be finished;
- Focus on the output in Terminal and check what the files were downloaded.
Expected result:
Only ".qcow2" image is downloading.
Actual result:
Both ".iso" and ".qcow2" images are downloaded, though ".iso" is not required for starting Child Job, as an appropriate ".qcow2" image contains all the required data.
Please, see the screenshot for more details.
NOTE: The same issue is reproduced while cloning Child Job with the "--skip-chained-deps".
Files
Updated by okurz over 6 years ago
- Related to action #34783: Don't let jobs incomplete if mandatory resources are missing added
Updated by okurz almost 5 years ago
- Due date set to 2019-11-12
- Status changed from New to Feedback
- Assignee set to okurz
- Target version set to Current Sprint
The ISO image is downloaded because it also belongs to the child job, e.g. take a look on the extra_tests_in_textmode scenario that boots a qcow image provided by a parent but the settings specify both ISO and HDD. Having the ISO also does make a difference, e.g. it might be configured to be used as a repo source within openSUSE/SLE. What we can try to do is to override the ISO with ISO=
when we do not need it. Or should be try to automatically delete ISO when HDD is specified? Then we would need to still foresee a way to specify an ISO if one really wants to. I favor the first option. Let me see if we can already override ISO in the test settings in https://openqa.opensuse.org/tests/latest?arch=x86_64&distri=opensuse&flavor=DVD&machine=64bit&test=yast2_ui_devel&version=Tumbleweed which is in "Development: Tumbleweed" anyway. So I added ISO=
in "yast2_ui_devel" in https://openqa.opensuse.org/admin/test_suites and will wait for the next TW snapshot.
EDIT: https://openqa.opensuse.org/tests/1077392#settings still shows the ISO. I assume we need to overwrite with +ISO=
. Done that, waiting for next build.
EDIT: 2019-11-13: yast2_ui_devel is nearly never triggered as it relies on yast2_ncurses. Trying with different scenario
openqa-clone-job --skip-chained-deps --within-instance https://openqa.opensuse.org 1083960 _GROUP=0 BUILD= TEST=okurz_poo33946_gnuhealth ISO=
Created job #1084352: opensuse-Tumbleweed-DVD-x86_64-Build20191112-gnuhealth@64bit -> https://openqa.opensuse.org/t1084352
The job passed and cloning that one does only trigger a download of the needed qcow image, no ISO image. I made that change live now on the test suite "gnuhealth".
Updated by okurz almost 5 years ago
- Copied to action #59394: [qe-core][functional] Overwrite empty ISO variable everywhere where not needed, i.e. `+ISO=`, to prevent useless ISO downloading and storage added
Updated by okurz almost 5 years ago
- Copied to action #59397: Make openQA less "iso" centric added