Project

General

Profile

action #12246

Updated by szarate over 7 years ago

## observation 
 As stated by fcrozat in https://bugzilla.suse.com/show_bug.cgi?id=983425 the linked openQA job has no X-related log files 

 ## problem 
 maxlin found out that curl fails to upload command 'curl --form upload=@/tmp/loadavg --form upname=first_boot-loadavg http://10.0.2.2:20013/pkeE1q3bP_Bw8ogL/uploadlog/loadavg' 
 reason for that is so far unknown 

 As curl is being used on the SUT to communicate with isotovideo, one can think that for some reason, it was impossible for the SUT to stablish a communication channel to upload via curl.  

 ## suggestion 
 * If an upload of a file fails, retry (e.g. up to 7 times), because the isotovideo can just be busy 
 * Ensure events are logged into autoinst-log.txt 
 * Optional: try even harder on autoinst-log.txt because we need to know the other errors from there 


 ## further details 
 okurz looked into os-autoinst/commands.pm . In there there is `upload_file` but I don't know how to properly reproduce the issue to test it accordingly. [This comment](https://progress.opensuse.org/issues/12246#note-5) explains a bit more

Back