From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 241BE3F7AA0 for ; Wed, 18 Mar 2026 20:01:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=216.40.44.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773864088; cv=none; b=pw3xb2tIsbBXESHyvZ2mChc+CraoPBmuCFCZNKHq/2XJu8u0kmKYc0JzT3QELopuZ9gy+MJD4ZlSkOBzpPUNDFhu07tHbFc1bTeNehBXmjhqM4lhxCZ9hnK2h1NifP+wDhe31EHl825eMwLsIxOM1E9yFje8FwyLurcqPrXxFQU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773864088; c=relaxed/simple; bh=Zg34wjsRHCxZDtO5kD/5WwU1M5XFHAKKNMYbxPkHCbc=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=jw/vssy4zMLICXN8anjBMIBcGSFwbfGNgY5R+JssjZy3LNWA+sdKyyDfW0DSfzV9SbwtvID8ccZyXmCCjE/wJBCjJfZ2kl48/a0FE6pRk1c305bgkohXGeNYuyjkXr0TFh1gBZn7cbUy61xJqs0m4GqVl5llnF3IaUpPx8/E/10= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=goodmis.org; spf=pass smtp.mailfrom=goodmis.org; arc=none smtp.client-ip=216.40.44.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=goodmis.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=goodmis.org Received: from omf04.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id E2A181601A2; Wed, 18 Mar 2026 20:01:25 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: rostedt@goodmis.org) by omf04.hostedemail.com (Postfix) with ESMTPA id 5E2F920023; Wed, 18 Mar 2026 20:01:24 +0000 (UTC) Date: Wed, 18 Mar 2026 16:01:52 -0400 From: Steven Rostedt To: "Ricardo B. =?UTF-8?B?TWFybGnDqHJl?=" Cc: John Hawley , linux-kernel@vger.kernel.org Subject: Re: [PATCH] ktest: Store failure logs also in fatal paths Message-ID: <20260318160152.6ad2a3c5@gandalf.local.home> In-Reply-To: <20260318-ktest-fixes-v1-1-9dd94d46d84c@suse.com> References: <20260318-ktest-fixes-v1-1-9dd94d46d84c@suse.com> X-Mailer: Claws Mail 3.20.0git84 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 5E2F920023 X-Stat-Signature: rnjc4n97f4fss3xxn44r7k571c4bck8h X-Rspamd-Server: rspamout03 X-Session-Marker: 726F737465647440676F6F646D69732E6F7267 X-Session-ID: U2FsdGVkX1/a9BsYmrH5afG9sT3NlXjBDOtZMYH3omM= X-HE-Tag: 1773864084-932315 X-HE-Meta: U2FsdGVkX1/MhXOTlzKAxs2kn92CEpE4enpD36xhdEQuu8OMj6dOt71PwmVFZA6MoW2QV8yZ+t54qinLqN03ZfmBdVgxOkO0TslCiwB5cFSTn59JWldaLG2fcieUgjmnDehbiPRk4l5upGcBAjiJvuXDqUnaWdv2lvBqBYEMbWssU1d4+oLAptx7b/2WhtV8hyGHzsHbk1W3JlRWpXDAOMhx5jz6F6Kpyxl92EcJDYinGU652IcUD6Ly8u2Ogo5YDWJus7tX1w4SizCulHBH4qOlXGv1In1mu2QdVuGfEtnXQd7ui61zlaCOG3QflAMZg8UyR/ROpP1N/2NBzUYtZhhq6Aow601pwEMZK1tLKuXOSFVD+qPpgURWb1Yn2WXT On Wed, 18 Mar 2026 16:00:43 -0300 Ricardo B. Marli=C3=A8re wrote: > STORE_FAILURES was only saved from fail(), so paths that reached dodie() > could exit without preserving failure logs. >=20 > That includes fatal hook paths such as: >=20 > POST_BUILD_DIE =3D 1 >=20 > and ordinary failures when: >=20 > DIE_ON_FAILURE =3D 1 >=20 > Call save_logs("fail", ...) from dodie() too so fatal failures keep the > same STORE_FAILURES artifacts as non-fatal fail() paths. >=20 > Signed-off-by: Ricardo B. Marli=C3=A8re Applied, pending testing. Thanks! -- Steve