public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rteval] rawhide: Upgrade to rteval-3.12
@ 2026-07-27 20:04 John Kacur
0 siblings, 0 replies; only message in thread
From: John Kacur @ 2026-07-27 20:04 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rteval
Branch : rawhide
Commit : 93925782c4cee924cf0716417a7842bf7ab51750
Author : John Kacur <jkacur@redhat.com>
Date : 2026-07-27T16:04:09-04:00
Stats : +7/-119 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/rteval/c/93925782c4cee924cf0716417a7842bf7ab51750?branch=rawhide
Log:
Upgrade to rteval-3.12
Signed-off-by: John Kacur <jkacur@redhat.com>
---
diff --git a/.gitignore b/.gitignore
index 5166726..d564e8d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,4 @@
/rteval-3.9.tar.xz
/rteval-3.10.tar.xz
/rteval-3.11.tar.xz
+/rteval-3.12.tar.xz
diff --git a/rteval-cyclictest-Improve-handling-of-truncated-hist.patch b/rteval-cyclictest-Improve-handling-of-truncated-hist.patch
deleted file mode 100644
index e5842e5..0000000
--- a/rteval-cyclictest-Improve-handling-of-truncated-hist.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-From 3abdf7bf7b24d40e862b8df55e1925122e67b765 Mon Sep 17 00:00:00 2001
-From: John Kacur <jkacur@redhat.com>
-Date: Fri, 5 Jun 2026 16:11:25 -0400
-Subject: [PATCH 2/3] rteval: cyclictest: Improve handling of truncated
- histogram output
-
-When cyclictest is terminated with SIGINT during rteval shutdown, the
-output buffer may not be fully flushed, resulting in an incomplete
-final histogram line. This caused IndexError warnings when parsing.
-
-Changes:
-- Validate histogram lines have expected field count before parsing
- (1 index + numcores values) to skip incomplete lines early
-- Downgrade parsing error from WARN to DEBUG since incomplete output
- is expected during normal process termination
-- Calculate expected field count dynamically based on actual core count
-
-This eliminates confusing warnings during normal operation while still
-catching unexpected parsing issues in debug logs.
-
-Assisted-by: Claude Sonnet 4.5 <noreply@anthropic.com>
-Signed-off-by: John Kacur <jkacur@redhat.com>
----
- rteval/modules/measurement/cyclictest.py | 10 +++++++++-
- 1 file changed, 9 insertions(+), 1 deletion(-)
-
-diff --git a/rteval/modules/measurement/cyclictest.py b/rteval/modules/measurement/cyclictest.py
-index a120a552da11..a1bf0d2d7324 100644
---- a/rteval/modules/measurement/cyclictest.py
-+++ b/rteval/modules/measurement/cyclictest.py
-@@ -404,13 +404,21 @@ class Cyclictest(rtevalModulePrototype):
- self._log(Log.DEBUG, f"cyclictest: unexpected output: {line}")
- continue
-
-+ # Validate line has expected number of fields: 1 index + (cores * 1 value)
-+ expected_fields = 1 + self.__numcores
-+ if len(vals) < expected_fields:
-+ self._log(Log.DEBUG, f'Skipping incomplete histogram line at bucket {index} '
-+ f'({len(vals)} fields, expected {expected_fields})')
-+ continue
-+
- for i, core in enumerate(self.__cpus):
- try:
- self.__cyclicdata[core].bucket(index, int(vals[i+1]))
- self.__cyclicdata['system'].bucket(index, int(vals[i+1]))
- except (IndexError, ValueError) as e:
- # Handle partial output from cyclictest (can happen on SIGINT during cleanup)
-- self._log(Log.WARN, f"Error parsing cyclictest bucket data for core {core}: {e}")
-+ self._log(Log.DEBUG, f"Skipping incomplete bucket data for core {core} "
-+ f"(expected during process termination): {e}")
- continue
-
- # generate statistics for each RunData object
---
-2.54.0
-
diff --git a/rteval-timerlat-Improve-handling-of-truncated-histog.patch b/rteval-timerlat-Improve-handling-of-truncated-histog.patch
deleted file mode 100644
index 46006f3..0000000
--- a/rteval-timerlat-Improve-handling-of-truncated-histog.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-From 6b38190d2d66968b637dada5c8af9226ca8a7a5b Mon Sep 17 00:00:00 2001
-From: John Kacur <jkacur@redhat.com>
-Date: Fri, 5 Jun 2026 16:08:09 -0400
-Subject: [PATCH 3/3] rteval: timerlat: Improve handling of truncated histogram
- output
-
-When timerlat is terminated with SIGINT during rteval shutdown, the
-output buffer may not be fully flushed, resulting in an incomplete
-final histogram line. This caused IndexError warnings when parsing.
-
-Changes:
-- Validate histogram lines have expected field count before parsing
- (1 index + numcores * 3 values) to skip incomplete lines early
-- Downgrade parsing error from WARN to DEBUG since incomplete output
- is expected during normal process termination
-- Calculate expected field count dynamically based on actual core count
- instead of using magic number 49
-
-This eliminates confusing warnings during normal operation while still
-catching unexpected parsing issues in debug logs.
-
-Assisted-by: Claude Sonnet 4.5 <noreply@anthropic.com>
-Signed-off-by: John Kacur <jkacur@redhat.com>
----
- rteval/modules/measurement/timerlat.py | 10 +++++++++-
- 1 file changed, 9 insertions(+), 1 deletion(-)
-
-diff --git a/rteval/modules/measurement/timerlat.py b/rteval/modules/measurement/timerlat.py
-index a3219e216296..7f592ea697af 100644
---- a/rteval/modules/measurement/timerlat.py
-+++ b/rteval/modules/measurement/timerlat.py
-@@ -480,6 +480,13 @@ class Timerlat(rtevalModulePrototype):
- self._log(Log.DEBUG, f'timerlat: unexpected output: {line}')
- continue
-
-+ # Validate line has expected number of fields: 1 index + (cores * 3 values)
-+ expected_fields = 1 + self.__numcores * 3
-+ if len(vals) < expected_fields:
-+ self._log(Log.DEBUG, f'Skipping incomplete histogram line at bucket {index} '
-+ f'({len(vals)} fields, expected {expected_fields})')
-+ continue
-+
- for i, core in enumerate(self.__cpus):
- # There might not be a count on every cpu if tracing invoked
- try:
-@@ -495,7 +502,8 @@ class Timerlat(rtevalModulePrototype):
- int(vals[i*3+3]))
- except (IndexError, ValueError) as e:
- # Handle partial output from rtla (can happen on SIGINT during cleanup)
-- self._log(Log.WARN, f"Error parsing timerlat bucket data for core {core}: {e}")
-+ self._log(Log.DEBUG, f"Skipping incomplete bucket data for core {core} "
-+ f"(expected during process termination): {e}")
- continue
-
- # Generate statistics for each RunData object
---
-2.54.0
-
diff --git a/rteval.spec b/rteval.spec
index 848ef99..dd10178 100644
--- a/rteval.spec
+++ b/rteval.spec
@@ -1,6 +1,6 @@
Name: rteval
-Version: 3.11
-Release: 3%{?dist}
+Version: 3.12
+Release: 1%{?dist}
Summary: Utility to evaluate system suitability for RT Linux
Group: Development/Tools
@@ -9,8 +9,6 @@ URL: https://git.kernel.org/pub/scm/utils/rteval/rteval.git
Source0: https://www.kernel.org/pub/linux/utils/%{name}/%{name}-%{version}.tar.xz
# https://lore.kernel.org/linux-rt-users/20251126231223.100316-1-yselkowi@redhat.com/T/#u
Patch0: rteval-do-not-require-wheel-for-building.patch
-Patch2: rteval-cyclictest-Improve-handling-of-truncated-hist.patch
-Patch3: rteval-timerlat-Improve-handling-of-truncated-histog.patch
BuildRequires: python3-devel
Requires: python3-libxml2
@@ -83,6 +81,9 @@ install -m 0644 rteval.conf %{buildroot}%{_sysconfdir}/rteval.conf
%{_bindir}/rteval
%changelog
+* Mon Jul 27 2026 John Kacur <jkacur@redhat.com> - 3.12-1
+- Upgrade to rteval-3.12
+
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 3.11-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
diff --git a/sources b/sources
index 8814fbc..c782e58 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (rteval-3.11.tar.xz) = 555b01bdd37442fae68ac1c808945c3c786ceba86a5f248df955d6256e8078485cab8f660ba2c428e35a0cae95817db884bb81b57b7b839afe7b9f625234bc09
+SHA512 (rteval-3.12.tar.xz) = a5712647b830e8bdcd64370df0ac2a70df39410a2bf7d47c8c63f3bee5691f04a11e4a07625a29b545b6b868cbc86f90da163edb0a67141f8462b68a00c3fb52
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-27 20:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-27 20:04 [rpms/rteval] rawhide: Upgrade to rteval-3.12 John Kacur
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox