Source: os-autoinst
Version: 5.1790145813.282ca444-1
Severity: serious
Justification: randomly fails to the point where it blocks other packages from 
migrating
Control: affects -1 + src:git

os-autoinst has a flaky autopkgtest. The failing case is named
"run-autopkgtest". An exmaple is
https://ci.debian.net/packages/o/os-autoinst/testing/s390x/77903971/#L7846
but I'm not sure how long that link works. On the surface, the test
suite succeeds, but autopkgtest treats it as a failure due to output on
stderr. Example:

    [2026-11-14T10:36:42.303891Z] [debug] [pid:5987] load of 
t/data/bootmenu.ref.png took 0.21 seconds

This is likely rooted in 
https://sources.debian.org/src/os-autoinst/5.1790145813.282ca444-1/needle.pm?hl=153#L153

    bmwqemu::diag(sprintf "load of $image_path took %.2f seconds", 
$watch->as_data()->{total_time}) if ($watch->as_data()->{total_time} > 0.1);

As it happens, s390x is slow enough to take longer than 0.1s to load
some of the images. As it loads several images, it only takes one image
to exceed that threshold to produce some stderr output and make the case
fail.

If that stderr output is expected, the case should declare

    Restrictions: allow-stderr

as documented in
https://people.debian.org/~eriberto/README.package-tests.html. If you
prefer not to set that restriction, that diagnostic likely needs to be
silenced in another way.

Helmut

Reply via email to