Project

General

Profile

Actions

action #64857

closed

coordination #39719: [saga][epic] Detection of "known failures" for stable tests, easy test results review and easy tracking of known issues

coordination #62420: [epic] Distinguish all types of incompletes

Put single-line error messages into incomplete reason for "died"

Added by okurz about 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Feature requests
Target version:
-
Start date:
2020-03-26
Due date:
% Done:

0%

Estimated time:

Description

Motivation

See #62420#note-17 . In case of incompletes with reason "died" we already put the message "terminated prematurely, see log output for details". Also we output the logs from autoinst-log.txt directly on the "Details" tab when there are no module results. For single simple error messages, e.g. especially single-line error strings from the backend, we should put that string into the reason instead of "see log output for details" to make the error information more easily accessible to both the web UI users as well as readable over API.

Acceptance criteria

  • AC1: Single line error messages from the backend are put in reason and accessible over job API as well as web UI
  • AC2: In case the error is not obvious or for multi-line error messages the reason is still "died: terminated prematurely, see log output for details"

Suggestions

  • Research how error messages are created by os-autoinst backends, e.g. qemu
  • If necessary put error message not only in autoinst-log.txt but accessible to openQA, e.g. in one of the json files read by openQA
  • in openQA where we write "died: terminated prematurely, see log output for details" evaluate the length of error messages: if nr_of_lines == 1 then put in reason, else still use "died: terminated prematurely, see log output for details"

Related issues 1 (0 open1 closed)

Blocks openQA Project - action #64884: Distinguish test contributor errors from unexpected backend crashesResolvedmkittler2020-03-26

Actions
Actions

Also available in: Atom PDF