Actions
action #43511
closed[functional][u] Asset cache does not support ASSET_ assets
Status:
Resolved
Priority:
Normal
Assignee:
Category:
Feature requests
Target version:
SUSE QA (private) - Milestone 23
Start date:
2018-11-07
Due date:
% Done:
0%
Estimated time:
Description
Observation¶
In job this job there's an extra asset being defined, and Gru has already code to handle "external downloads" however the caching does not handle these, causing the job to die.
ASSET_1_URL https://w3.nue.suse.com/~slindomansilla/tmp/bootloader_poo40670.pm
SCHEDULE bootloader_poo40670,tests/installation/welcome
error on bootloader_poo40670.pm: Can't locate ../../../pool/1/bootloader_poo40670.pm in @INC (you may need to install the ..::..::..::pool::1::bootloader_poo40670 module) (@INC contains: ../../../pool/1 /var/lib/openqa/cache/tests/sle/lib /var/lib/openqa/pool/1/blib/arch /var/lib/openqa/pool/1/blib/lib /usr/lib/os-autoinst /usr/lib/perl5/site_perl/5.18.2/ppc64le-linux-thread-multi /usr/lib/perl5/site_perl/5.18.2 /usr/lib/perl5/vendor_perl/5.18.2/ppc64le-linux-thread-multi /usr/lib/perl5/vendor_perl/5.18.2 /usr/lib/perl5/5.18.2/ppc64le-linux-thread-multi /usr/lib/perl5/5.18.2 /usr/lib/perl5/site_perl .) at (eval 739) line 1.
In a more optimal scenario, the webUI shows a list of assets to download, and the cache just takes care of said list, except the repos.
Acceptance criteria¶
- AC1: A job scheduled with a downloadable override test module can run successfully on osd
Suggestions¶
- Hook into the detect_asset_keys method of OpenQA::Worker::Engines::isotovideo and add handling for the ASSET_*_URL.
Actions