From nobody Wed Jun 17 05:12:32 2026 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 2974B2D592C for ; Wed, 22 Apr 2026 19:56:09 +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=1776887771; cv=none; b=ij3tWy/nShNhR53LLD6c06m//AV8saXKwd3dacx7W9wwTU8PxUlxMbxtV/Ql4kF/wPsM4iDVYx2MeroLaBBxW0S369NkWMS6TaEaeyDR/9Mr9FF3ysAvWdrP54KeoFUfrHsPkbLOtc+5MG8wBa+sT0mqLpyWdGjC4bhllwwuPFI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776887771; c=relaxed/simple; bh=TcChyVafRz27uJqlB5qtu3rObMkLkAGnyDPz2+Zz3gk=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=V0tJNtEjlA1Lyx6JWudhsFJ6DzzbU0wLWegBUa0SVqkIGJzxAsEQm1aW5Ygo0UZ8AglMN/VCV0od+7lYMMCHvB1EY4GUKOC5XBYD+vAXMb2B4kV7kELxV0IGacsCxyv8uHEhDJat8DhU+LtNzfeZDW1VJfL5dfHDQrkaJLhBwOA= 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 omf19.hostedemail.com (lb01a-stub [10.200.18.249]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 259F81C0042; Wed, 22 Apr 2026 19:56:03 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: rostedt@goodmis.org) by omf19.hostedemail.com (Postfix) with ESMTPA id 9901A2002B; Wed, 22 Apr 2026 19:56:01 +0000 (UTC) Date: Wed, 22 Apr 2026 15:56:02 -0400 From: Steven Rostedt To: Linus Torvalds Cc: LKML , John 'Warthog9' Hawley Subject: [GIT PULL] ktest: Updates for 7.1 Message-ID: <20260422155602.26ef7c68@gandalf.local.home> 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-Transfer-Encoding: quoted-printable X-Stat-Signature: nqdrgmfaeooxramceex34x793w1598wq X-Rspamd-Server: rspamout08 X-Rspamd-Queue-Id: 9901A2002B X-Session-Marker: 726F737465647440676F6F646D69732E6F7267 X-Session-ID: U2FsdGVkX19cqnBviJBJzcGNOxKkrii2FvWmDgA9mAY= X-HE-Tag: 1776887761-871144 X-HE-Meta: U2FsdGVkX18kD2c8Izf6X/O4Q7l32CLWJ5Wae0bf6fa6tveZvSNsllc9mXm0sAH1+Ao3ZzAGRi5kO3IvlUclawsfJLKcB8Z7YP3+gYwAykVMZw7uWzTpYrqy2wUbiTSqZVukKKEnyDcRs7BHrrm4V79ov27II+DBg46DB4uKK98a/IH9I//tFvwa80ESjzjDd6g+W1K6rdyOoTmf/tizoSzcJQtBwRpdwhJYv0OGghVfXi+0p+4yRJWL3fH9Qw5mY8AY5hcVccQ7dQY8sBnF0rT04yYgT2U+mZPe9WQYjpAhEI8I55bMP4CmRPvVsOKTEqDCTRHvoQy0lxRwizzqZRo378UP4Jdg Content-Type: text/plain; charset="utf-8" Linus, ktest updates for v7.1: - Fix month in date timestamp used to create failure directories On failure, a directory is created to store the logs and config file to analyze the failure. The Perl function localtime is used to create the data timestamp of the directory. The month passed back from that function starts at 0 and not 1, but the timestamp used does not account for that. Thus for April 20, 2026, the timestamp of 20260320 is used, instead of 20260420. - Save the logfile to the failure directory Just the test log is saved to the directory on failure, but there's useful information in the full logfile that can be helpful to analyzing the failure. Save the logfile as well. Please pull the latest ktest-v7.1-2 tree, which can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-ktest.git ktest-v7.1-2 Tag SHA1: 283ba465c80c5d6c3d6e9dce8cd621be8652a2d5 Head SHA1: 932cdaf3e273a2727e77af97f79f12577174c5a0 Steven Rostedt (2): ktest: Fix the month in the name of the failure directory ktest: Add logfile to failure directory ---- tools/testing/ktest/ktest.pl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) --------------------------- diff --git a/tools/testing/ktest/ktest.pl b/tools/testing/ktest/ktest.pl index 112f9ca2444b..f94ed2e98887 100755 --- a/tools/testing/ktest/ktest.pl +++ b/tools/testing/ktest/ktest.pl @@ -1855,7 +1855,7 @@ sub save_logs { my ($result, $basedir) =3D @_; my @t =3D localtime; my $date =3D sprintf "%04d%02d%02d%02d%02d%02d", - 1900+$t[5],$t[4],$t[3],$t[2],$t[1],$t[0]; + 1900+$t[5],$t[4]+1,$t[3],$t[2],$t[1],$t[0]; =20 my $type =3D $build_type; if ($type =3D~ /useconfig/) { @@ -1878,6 +1878,12 @@ sub save_logs { "testlog" =3D> $testlog, ); =20 + if (defined($opt{"LOG_FILE"})) { + if (-f $opt{"LOG_FILE"}) { + cp $opt{"LOG_FILE"}, "$dir/logfile"; + } + } + while (my ($name, $source) =3D each(%files)) { if (-f "$source") { cp "$source", "$dir/$name" or