Project

General

Profile

Actions

action #12246

closed

[tools]upload of log files can fail sometimes (was: https://openqa.suse.de/tests/412464 has no X-related log files)

Added by okurz almost 8 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
Regressions/Crashes
Target version:
-
Start date:
2016-06-07
Due date:
% Done:

0%

Estimated time:

Description

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 explains a bit more


Related issues 3 (0 open3 closed)

Related to openQA Tests - action #14068: [tools] Gather more system information and logs in case of boot/reboot times outResolvedokurz2016-09-23

Actions
Related to openQA Project - action #13876: Error 502: Bad gateway on uploadingResolvedkraih2016-09-23

Actions
Has duplicate openQA Tests - action #14104: [Build 2162] test fails to upload logs in time in https://openqa.suse.de/tests/603376#step/logs/1Rejectedokurz2016-10-07

Actions
Actions

Also available in: Atom PDF