Project

General

Profile

action #108503

Collect and prominently display warnings from autoinst.log

Added by tinita about 1 year ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Feature requests
Target version:
Start date:
2016-02-10
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Motivation

We recently look into the autoinst.log of a failed job, and saw many different perl warnings (mostly "use of uninitialized value") that were actually unrelated to the failure.

It's hard to find a "real" problem in the log because of that.

Sometimes the warnings happen because of the test code, and sometimes it's code in os-autoinst that could actually be improved.

We should show the warnings in a prominent way in the UI, but also collect them in a way that allows us to search for all jobs with warnings to analyze them from time to time

Acceptance Criteria

AC1: Perl Warnings are prominently shown in the web ui
AC2: We have possibility to search for all (recent) jobs with warnings to analyze them

Suggestions

  • At the end of the job, parse autoinst.log for perl warnings and collect them in a seperate file
  • Highlight this file in the Log tab of the job

Related issues

Related to openQA Infrastructure - action #108266: grenache: script_run() commands randomly time out since server room moveNew2022-03-14

Copied from openQA Project - action #10704: Make warnings in tests fatalNew2016-02-10

History

#1 Updated by tinita about 1 year ago

#2 Updated by tinita about 1 year ago

  • Related to action #108266: grenache: script_run() commands randomly time out since server room move added

Also available in: Atom PDF