Project

General

Profile

Actions

action #75388

open

coordination #102906: [saga][epic] Increased stability of tests with less "known failures", known incompletes handled automatically within openQA

coordination #102909: [epic] Prevent more incompletes already within os-autoinst or openQA

Explicit error feedback to test reviewers on wrong test API usage

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

Status:
Workable
Priority:
Low
Assignee:
-
Category:
Feature requests
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Motivation

In cases like #73231 there is a "die" message pointing to what unexpected situation was encountered but it is not clear to unexperienced test reviewers who needs to act on this, if it is a test maintainer or an instance admin or openQA developer. We should provide clear error feedback on wrong test API usage and distinguish from other error cases

Acceptance criteria

  • AC1: The "reason" field in openQA jobs makes it clear to readers if the test API was used in a wrong way, e.g. as in the case of #73231
  • AC2: os-autoinst contribution documentation explains how wrong test API usage can be distinguished from other error cases

Suggestions

  • Research existing "die" messages in os-autoinst
  • Explore how these die messages are displayed in openQA
  • Find a way to distinguish, e.g. a clear prefix in os-autoinst or exception vs. generic "die", custom die handler, etc.
  • Extend os-autoinst contribution documentation with hints or guidelines what to use in which case

Related issues 1 (0 open1 closed)

Copied from openQA Project (public) - action #73231: [microos]job incompletes with auto_review:"backend died: Virtio terminal and svirt serial terminal do not support send_key. Use"Resolvedggardet_arm2020-10-12

Actions
Actions

Also available in: Atom PDF