Re: [PATCH v2] ci: improve logging of unit tests runs

Aaron Conole
2026-01-20T13:19:26Z

Bruce Richardson <bruce.richardson@intel.com> writes:

> To help track down issues reported by CI test runs, add some additional
> meson flags to the run of the fast-tests:
>
> --no-stdsplit:
> keep the stdout and stderr output interleaved, rather
> than separated in the logs, to make following what is happening during
> a test run easier.
> --print-errorlogs:
> when an error with a unit test does occur, output to the terminal the
> last N lines of output. This allows us to see inline what may have
> failed without always needing to check log files.
>
> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
> ---
> V2: Drop max-lines flag, since it's only introduced in very recent meson
> versions.
> ---

Thanks for working on this. I guess when we bump our meson support
version we could re-introduce the max-lines flag (looks like it was
added in 1.5.0 based on reading the notes).

Acked-by: Aaron Conole <aconole@redhat.com>

CC'ing Patrick and the CI list - just in case any of the labs have any
special processing when they pull error logs.