Project

General

Profile

Actions

action #166664

closed

coordination #127031: [saga][epic] openQA for SUSE customers

coordination #130414: [epic] Improved code coverage in os-autoinst

[beginner][os-autoinst][CI] Unhandled output in t/23-baseclass.t size:S

Added by okurz 4 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
2024-09-11
Due date:
% Done:

0%

Estimated time:

Description

Motivation

https://github.com/os-autoinst/os-autoinst/actions/runs/10636102041/job/29487175257 as well as other CI job invocations of os-autoinst show the problem of unhandled output. We want to have a clean TAP output with all output from tested application code to be captured:

3: Can't exec "ffmpeg": No such file or directory at /opt/backend/baseclass.pm line 347.
3: [16:38:52] t/23-baseclass.t ......................... ok     3273 ms ( 0.04 usr  0.01 sys +  2.74 cusr  0.27 csys =  3.06 CPU)

Acceptance criteria

  • AC1: No unhandled output from t/23-baseclass.t

Suggestions

  • Call prove -I. t/23-baseclass.t locally to reproduce
  • Check which part of the code triggers the output, e.g. by checking the output of prove -v ...
  • Surround calls with according output capture code as we already have in many other cases, likely even in the same test module.

Related issues 2 (0 open2 closed)

Copied from openQA Project (public) - action #166661: [beginner][os-autoinst][CI] Unhandled output in t/20-openqa-isotovideo-utils.t size:SResolvedjbaier_cz2024-09-11

Actions
Copied to openQA Project (public) - action #166667: [beginner][os-autoinst][CI] Unhandled output in t/26-video_stream.t size:SResolvedjbaier_cz2024-09-11

Actions
Actions

Also available in: Atom PDF