Actions
action #67081
closedopenqa-clone-job does not download the asset `HDD_1` when a job has `HDD_1` and `PUBLISH_HDD_1`
Status:
Closed
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
2020-05-20
Due date:
% Done:
0%
Estimated time:
Description
When using openqa-clone-job to clone a job to my local environment, the job always failed with HDD_1 handling Cannot find HDD_1 asset
.
Here is an example:
clone of: https://openqa.suse.de/tests/4258704
linux-jths:~ # openqa-clone-job --from http://openqa.suse.de --host http://10.67.19.103 4258704
downloading
http://openqa.suse.de/tests/4258704/asset/other/runtest-files-sle-12-SP5-x86_64-4.12.14-212.1.gd51ffe9-Server-DVD-Incidents-Kernel@64bit-with-ltp.qcow2.tar.gz
to
/var/lib/openqa/factory/other/runtest-files-sle-12-SP5-x86_64-4.12.14-212.1.gd51ffe9-Server-DVD-Incidents-Kernel@64bit-with-ltp.qcow2.tar.gz
downloading
http://openqa.suse.de/tests/4258704/asset/iso/SLE-12-SP5-Server-DVD-x86_64-GM-DVD1.iso
to
/var/lib/openqa/factory/iso/SLE-12-SP5-Server-DVD-x86_64-GM-DVD1.iso
Created job #76: sle-12-SP5-Server-DVD-Incidents-Kernel-x86_64-Build4.12.14-212.1.gd51ffe9-install_ltp+sle+Server-DVD-Incidents-Kernel@64bit -> http://10.67.19.103/t76
It did not download the asset specified by HDD_1
.
The reason is that when the code in CloneJob.pm
checks the ASSET is specified by PUBLISH_HDD_1
, it will skip all this kind of asset. As a result, HDD_1
is skipped.
Actions