Project

General

Profile

action #95995

Updated by okurz over 3 years ago

## Motivation 
 In this test run https://openqa.opensuse.org/tests/1857293#step/openqa_webui/33 the is a problem. Seems that the server is not responsive 

 ~~~ 
 # Test died: command 'while ! [ -f nohup.out ]; do sleep 1 ; done && grep -qP "Listening at.*(127.0.0.1|localhost)" <(tail -f -n0 nohup.out) ' timed out at openqa//tests/install/openqa_webui.pm line 68. 
 ~~~ 

 https://openqa.opensuse.org/tests/1857293/logfile?filename=openqa_webui-openqa_nohup_out.txt shows 

 ``` 
 [warn] [AssetPack] Unable to download https://cdnjs.cloudflare.com/ajax/libs/chosen/1.7.0/chosen.css: Connect timeout 
 Could not find input asset "https://cdnjs.cloudflare.com/ajax/libs/chosen/1.7.0/chosen.css". at /usr/lib/perl5/vendor_perl/5.32.1/Mojolicious/Plugin/AssetPack.pm line 172. 
 ``` 

 which *maybe* is causing the problem, maybe not. 

 ## Acceptance Criteria 
 * **AC 1**: The above timeout does not appear After apply a solution this error doesn't appears again in at least 10 consecutive rounds 

 ## Suggestions 
 * Crosscheck in a passed test if the asset connect timeout warning also shows up to prevent us following a "red herring" 
 * Check if the above download URL from asset definitions can work 
 * Try to reproduce locally as well as use https://progress.opensuse.org/projects/openqatests/wiki/Wiki#Statistical-investigation to get statistics of failures 
 * Prevent timeout either on low-level, e.g. asset preparation or high-level, e.g. retry within the openQA-in-openQA tests

Back