Merge ~canonical-kernel-team/+git/autotest-client-tests:kevinbecker/rteval-noble into ~canonical-kernel-team/+git/autotest-client-tests:master

Proposed by Kevin Becker
Status: Merged
Merge reported by: Po-Hsu Lin
Merged at revision: 2e843836ea421df90a466736b8224a4a2345901b
Proposed branch: ~canonical-kernel-team/+git/autotest-client-tests:kevinbecker/rteval-noble
Merge into: ~canonical-kernel-team/+git/autotest-client-tests:master
Diff against target: 22 lines (+4/-1)
1 file modified
rteval/rteval.py (+4/-1)
Reviewer Review Type Date Requested Status
Po-Hsu Lin Approve
Francis Ginther Pending
Sean Feole Pending
Canonical Kernel Team Pending
Review via email: mp+464201@code.launchpad.net

Commit message

UBUNTU: SAUCE: Fixes for running rteval on noble

Signed-off-by: Kevin Becker <email address hidden>

To post a comment you must log in.
Revision history for this message
Kevin Becker (kevinbecker) wrote :

Tested these changes on Starlow with jammy and noble.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Since this rteval test will be tested with realtime kernel on J/N only and it's been tested already, +1 on this.

review: Approve
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Applied and pushed. Thanks.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/rteval/rteval.py b/rteval/rteval.py
2index de0b277..15c9b2a 100644
3--- a/rteval/rteval.py
4+++ b/rteval/rteval.py
5@@ -26,7 +26,6 @@ class rteval(test.test):
6 'build-essential',
7 'git',
8 'libnuma-dev',
9- 'python3-distutils',
10 'python3-dmidecode',
11 'python3-lxml',
12 'python3-ethtool',
13@@ -131,6 +130,10 @@ class rteval(test.test):
14
15 xml_root = ET.fromstring(results_string)
16 maximum_tag = xml_root.find(".//maximum")
17+
18+ if maximum_tag is None:
19+ raise error.TestError('FAIL: Max latency not found.')
20+
21 latency = maximum_tag.text
22 print("Maximum latency: "+latency+"us")
23

Subscribers

People subscribed via source and target branches

to all changes: