Actions
action #151522
closedopenqa-clone-job succeeds even when assets are missing size:M
Description
Observation¶
OpenQA UI shows:
Result: incomplete, finished 3 minutes ago (0)
Reason: asset failure: Cannot find HDD_1 asset hdd/opensuse-Tumbleweed-x86_64-20231027-textmode@64bit.qcow2!
Scheduled product: job has not been created by posting an ISO
openqa-clone-job says:
openqa-instance:/var/lib/openqa/share/tests/opensuse # openqa-clone-job --skip-deps --from https://openqa.opensuse.org/tests/3682089 SYS_PARAM_CHECK_TEST=https://github.com/josegomezr/sys-param-check
Cloning parents of opensuse-Tumbleweed-DVD-x86_64-Build20231027-sys-param-check@64bit
downloading
https://openqa.opensuse.org/tests/3682089/asset/other/openSUSE-Tumbleweed-DVD-x86_64-Snapshot20231027-Media.iso.sha256
to
/var/lib/openqa/share/factory/other/openSUSE-Tumbleweed-DVD-x86_64-Snapshot20231027-Media.iso.sha256
1 job has been created:
- opensuse-Tumbleweed-DVD-x86_64-Build20231027-sys-param-check@64bit -> http://localhost/tests/638
I did not pass --ignore-missing-assets
to the invocation, yet it did not fail.
Acceptance criteria¶
- AC1: Missing assets are reported as early as possible (ideally by openqa-clone-job, that likely already works and this likely just comes down to AC2)
- AC2: When using
--skip-deps
to skip chained parents the HDD image is attempted to be downloaded (like when--skip-chained-deps
is used)
Suggestions¶
- Find out if openqa-clone-job even knows about that assets (e.g. if they got cleaned up in the meantime)
- Have a look how
--ignore-missing-assets
is implemented and why the clone command didn't fail even without passing this parameter - Maybe improve documentation for the various --skip options and mention asset download behavior
Files
Actions