Project

General

Profile

coordination #68794

[qe-core][functional][epic] rework postfail hooks

Added by szarate over 1 year ago. Updated 12 months ago.

Status:
New
Priority:
Normal
Assignee:
Category:
Refactor/Code Improvements
Target version:
-
Start date:
2020-03-31
Due date:
% Done:

100%

Estimated time:
(Total: 42.00 h)
Difficulty:

Description

From time to time, we end up having post fail hooks that take a long time, see kontact on live cd for instance:

[2020-06-19T07:53:36.894 CEST] [debug] ||| starting kontact tests/x11/kontact.pm
...
[2020-06-19T08:30:32.577 CEST] [debug] post_fail_hook failed: command 'curl --form upload=@problem_detection_logs.tar.xz --form upname=kontact-problem_detection_logs.tar.xz http://10.0.2.2:20103/H_2GxrpPuX6zL3oK/uploadlog/problem_detection_logs.tar.xz' timed out at /var/lib/openqa/cache/openqa1-opensuse/tests/opensuse/lib/opensusebasetest.pm line 212.

[2020-06-19T08:30:32.580 CEST] [debug] Loading a VM snapshot lastgood

If my math is right, that's 30 minutes spent on collecting logs, that for one instance could be greatly reduced by switching to serial terminal, and using scripts rather than typing all of the commands.

Other improvements would be needed, including making openQA display the time spent in a test, even if it fails, which we currently don't have.


Subtasks

action #65040: [sle][functiona][u] enhance post_fail_hook on OOM conditionResolveddheidler


Related issues

Related to openQA Tests - action #71602: [qe-core][functional][osd] default "gnome" test suite on osd has no video due to max_job_time above default which is only necessary in some casesWorkable2021-10-18

History

#1 Updated by szarate about 1 year ago

  • Related to action #65040: [sle][functiona][u] enhance post_fail_hook on OOM condition added

#2 Updated by szarate about 1 year ago

  • Related to deleted (action #65040: [sle][functiona][u] enhance post_fail_hook on OOM condition)

#3 Updated by szarate about 1 year ago

  • Related to action #71602: [qe-core][functional][osd] default "gnome" test suite on osd has no video due to max_job_time above default which is only necessary in some cases added

#4 Updated by szarate about 1 year ago

  • Tracker changed from action to coordination
  • Difficulty deleted (medium)

#6 Updated by tjyrinki_suse 12 months ago

  • Subject changed from [functional][u][epic] rework postfail hooks to [qe-core][functional][epic] rework postfail hooks

Also available in: Atom PDF