Project

General

Profile

action #43511

Updated by szarate over 5 years ago

## Observation 

 In job [this job](https://openqa.suse.de/tests/2238501#settings) 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. TBC

Back