Project

General

Profile

Actions

action #128930

closed

[os-autoinst][CI] Unhandled output in t/17-basetest.t size:S

Added by okurz over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
2023-05-08
Due date:
2023-05-26
% Done:

0%

Estimated time:

Description

Observation

https://github.com/os-autoinst/os-autoinst/actions/runs/4914662226/jobs/8776218028?pr=2309#step:3:623

[11:42:34] ./t/16-send_with_fd.t ...................... ok     1329 ms ( 0.00 usr  0.00 sys +  1.17 cusr  0.16 csys =  1.33 CPU)
7: [2023-05-08T11:42:35.731401Z] [debug] [pid:2195] >>> basetest::verify_sound_image: found foundneedle, similarity 100.00 @ 1/2
7: [2023-05-08T11:42:35.737473Z] [debug] [pid:2195] >>> basetest::verify_sound_image: failed to find /opt/t/data/frame2.ppm
7: [2023-05-08T11:42:35.742099Z] [debug] [pid:2195] >>> basetest::verify_sound_image: failed to find /opt/t/data/frame2.ppm
7: [2023-05-08T11:42:35.748855Z] [info] [pid:2195] ::: basetest::runtest: # Test died: test failure at ./t/17-basetest.t line 519.
7:   
7: [2023-05-08T11:42:35.749315Z] [debug] [pid:2195] ignoring previously logged failure via developer mode
7: [2023-05-08T11:42:35.749433Z] [debug] [pid:2195] ||| finished basetest unknown (runtime: 0 s)
7: [11:42:37] ./t/17-basetest.t .......................... ok     2634 ms ( 0.02 usr  0.00 sys +  2.49 cusr  0.14 csys =  2.65 CPU)

Acceptance criteria

  • AC1: There is no output between the "... ok" lines

Suggestions

  • Same as in many other places use Test::Output or similar methods to explicitly catch and check for expected output, hiding it from non-verbose output
Actions

Also available in: Atom PDF