From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 086BF2BE02A for ; Tue, 10 Mar 2026 10:25:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773138313; cv=none; b=SqpdVFmSgDc9Cd6/GqCc+GvIEtIl6dbCCwk4N3LfkxO2WQEvYCjZAvMeNv0QSq4bwWgxfeWFQBL2WRtyjymXoSSZgq6RGJqwrCPttMvvDXK2u8m/kpsTdODw/NYXljSowTerq1MZBXbTBNvjtYGFQAL8kVj/hVCpoPsFJE5w+l4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773138313; c=relaxed/simple; bh=BcllYohSosVXAOwPeyG8BIqIYSsJvRwMBolFaVeHID4=; h=Mime-Version:Content-Type:Date:Message-Id:To:From:Subject:Cc: References:In-Reply-To; b=rcGMQ7jgcNkWnQ8OrcQbiqNe7A5ux9ccBNS+6pMJXozKLujNtM9gJLDXidKY+bq6hAqp301AMmnj01ASzRvMB7OHDiWko3Jt7nXvHgs3z8D4yFt80b1mAkAlUQS2xGmcBVqwmduYdACIXwdjUf3UPUgPv4RqL0VjIA5vqDZ/z2Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b=DykwKsdx; arc=none smtp.client-ip=209.85.128.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="DykwKsdx" Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-4838c15e3cbso115663595e9.3 for ; Tue, 10 Mar 2026 03:25:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1773138310; x=1773743110; darn=vger.kernel.org; h=in-reply-to:references:cc:subject:from:to:message-id:date :content-transfer-encoding:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=BcllYohSosVXAOwPeyG8BIqIYSsJvRwMBolFaVeHID4=; b=DykwKsdxC56pkC/bg6cDs1LQ0bCL29uiBXvN5qMrrmq54O7Zb/OsX9kcy3JuVN2uG5 1BcZj99joCT2P0wHmambAT/qxbhjykt4unZD09EmyLUIXYf7EsgT2OJge6BATtM5mQ1F ZJiCMweEeVqJ++FpHFTNLnWREibQnRXZai3I1vd2QeS7RqHDnNq5eiH8iBEMafh3rSJx PUWGJS/7eUia+r9knyF2fiKcud/hKZ3fTV6FlRBBMDtQnlCiFkjIMKobCGzT5WsY4KUw zpblCNUBLw1+oaMlunrjsR2W1ZqXKlhemmKvD40eLN+a6326xm5udhnYQvXuJ9Opr0Nc qm9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1773138310; x=1773743110; h=in-reply-to:references:cc:subject:from:to:message-id:date :content-transfer-encoding:mime-version:x-gm-gg:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=BcllYohSosVXAOwPeyG8BIqIYSsJvRwMBolFaVeHID4=; b=cpm3xnF9KyXNwYsLx7EKs2iss67mj5Ns+wt1kTghunLdypMM5P4Jttc0LrmC5+Gl3+ yZgO4tT8QkIfQXECZtYqKyZS2Kq8wIwhVTj1z4hAh/RfRvqnD5Al6yRve2V6aLZ6bO/7 eURDKxEDvyDZUmkim+NrDa3VanQvklX4DFEBzIDPObSlMfJKNK12nWVF/jbADFV6gcN8 asV+9ZONmd6jXUrvWXIFrT574sB7yKJzRr11/MRyP9i23NPVkD3mDeo23FN/GK3ErIuM /EFMStMDbZQ9HYXRWBOPgJXRbnwt/n0YVP0sIZETaoMW7MANc9jRBu+DB3xfuYAJ7e/8 hMdg== X-Forwarded-Encrypted: i=1; AJvYcCVYS6sixYKx+xgzwc5CvBsVnSs+YeWwRvn6ACzD5GkaPacoP+DdDqf9HFASdJN8BJi5oyAnxUhe+gsm3sQ=@vger.kernel.org X-Gm-Message-State: AOJu0Ywqtua9/4QlvZFa8V2Rf/fOstQ4/5XYOMPLiOrU0+6nRltvCkU9 p1FpDfsV8AV6qHJC4kQnHuQkrJZuQYe4B4eLAX6epZK3mRi9FdZftwdeqxmTs+POSRY= X-Gm-Gg: ATEYQzxhB+8V6jpMtJyVXCX5mXFZa4Xt3mM9JmstlOzR33SNwdalJzZDVkKs93CGAP3 1jYqd/TYgnVWLhG2qj2vboUuEfc2pmTK2xBO1asv3CtSj8UWS/Y/1cAJaOZ8/lkCDT7EjQ8lq1D nqUYKYpAkPsJ4Wo/CFWZwQnnKdkVG63upKYGQdCgh4STooASPMPhPuNGAMXGNDz/oxuJjIkGJZ4 ABd0zqjv2bT9MErVlfsI85+eyhzxNrvgW5GpS9wIyS9WaUr0Qc1+I2Ys7hQHgcPFymotoHeCwXf +MwhZ60QbUTZBTUL4wpGbIUZTYpYN3stglFARNlHDTn+KDu+QPfkF4A2vHuVaYQmlmO14bEaOjM yiXJkWq0PMOq0lc4CLWGttvBQori9eZpoiWHCNw9pTyO+oKW+DH2sJLmN528Pm37mYuB0On2weT eiduzJd7xBnA== X-Received: by 2002:a05:600c:1911:b0:485:3949:e5c6 with SMTP id 5b1f17b1804b1-4853949e773mr134523455e9.3.1773138310281; Tue, 10 Mar 2026 03:25:10 -0700 (PDT) Received: from localhost ([189.99.238.164]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-2be4f984cf5sm13798494eec.33.2026.03.10.03.25.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Mar 2026 03:25:09 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Tue, 10 Mar 2026 07:25:06 -0300 Message-Id: To: "Steven Rostedt" , =?utf-8?b?UmljYXJkbyBCLiBNYXJsacOocmU=?= From: =?utf-8?b?UmljYXJkbyBCLiBNYXJsacOocmU=?= Subject: Re: [PATCH 7/9] ktest: Add PRE_KTEST_DIE for PRE_KTEST failures Cc: "John Hawley" , "Andrea Righi" , "Marcos Paulo de Souza" , "Matthieu Baerts" , "Fernando Fernandez Mancera" , "Pedro Falcato" , , "Steven Rostedt" X-Mailer: aerc 0.21.0-120-g22b95d38161f References: <20260307-ktest-fixes-v1-0-565d412f4925@suse.com> <20260307-ktest-fixes-v1-7-565d412f4925@suse.com> <20260309110040.2bf3dffc@gandalf.local.home> In-Reply-To: <20260309110040.2bf3dffc@gandalf.local.home> On Mon Mar 9, 2026 at 12:00 PM -03, Steven Rostedt wrote: > On Sat, 07 Mar 2026 19:08:02 -0300 > Ricardo B. Marli=C3=A8re wrote: > >> PRE_KTEST runs before the first test, but its return status is currently >> ignored. A failing setup hook can leave the rest of the run executing in= a >> partially initialized environment. >>=20 >> Add PRE_KTEST_DIE so PRE_KTEST can fail the run in the same way >> PRE_BUILD_DIE and PRE_TEST_DIE already can. Keep the default behavior >> unchanged when the new option is not set. > > Thank you for keeping the previous behavior. My PRE_KTEST usually apply > patches that don't always apply, and yes, I depend on it "not dying" on > failure. Which is probably why that was the way it worked, as the reason = I > created that option was to apply patches before testing. I figured this behavior had to be there for a reason :) Thanks for reviewing/testing btw ! > > -- Steve