Re: [PATCH] ktest: Store failure logs also in fatal paths
From: Steven Rostedt
Date: Wed Mar 18 2026 - 16:01:33 EST
On Wed, 18 Mar 2026 16:00:43 -0300
Ricardo B. Marlière <rbm@xxxxxxxx> wrote:
> STORE_FAILURES was only saved from fail(), so paths that reached dodie()
> could exit without preserving failure logs.
>
> That includes fatal hook paths such as:
>
> POST_BUILD_DIE = 1
>
> and ordinary failures when:
>
> DIE_ON_FAILURE = 1
>
> Call save_logs("fail", ...) from dodie() too so fatal failures keep the
> same STORE_FAILURES artifacts as non-fatal fail() paths.
>
> Signed-off-by: Ricardo B. Marlière <rbm@xxxxxxxx>
Applied, pending testing.
Thanks!
-- Steve