Bug 1730034 - rteval triggers exception and prints traceback on bare-metal
Summary: rteval triggers exception and prints traceback on bare-metal
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: rteval
Version: 7.8
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: 7.8
Assignee: John Kacur
QA Contact: Qiao Zhao
Depends On:
Blocks: 1672377 1715542 1766879
TreeView+ depends on / blocked
Reported: 2019-07-15 16:07 UTC by Nitesh Narayan Lal
Modified: 2020-03-31 20:03 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1766879 (view as bug list)
Last Closed: 2020-03-31 20:03:03 UTC
Target Upstream Version:

Attachments (Terms of Use)
pass node argument as string to Popen in hackbench.py (2.25 KB, patch)
2019-12-05 12:24 UTC, John Kacur
no flags Details | Diff

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:1118 0 None None None 2020-03-31 20:03:15 UTC

Description Nitesh Narayan Lal 2019-07-15 16:07:35 UTC
Description of problem:
rteval triggers exception and prints a traceback while running on bare-metal.

Version-Release number of selected component (if applicable):
rteval: 2.14-12.el7
kernel: 3.10.0-1040.rt56.999.el7.x86_64

How reproducible:

Steps to Reproduce:
1. Install kernel-rt and rteval. 
2. Execute "rteval --onlyload --duration=1m --verbose"
3. Check the console output.

Actual results:
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/threading.py", line 812, in __bootstrap_inner
  File "/usr/lib/python2.7/site-packages/rteval/modules/__init__.py", line 195, in run
    raise RuntimeError()

Expected results:
rteval starts and doesn't print any traceback.

Additional info:

Comment 6 John Kacur 2019-12-03 18:46:07 UTC
The problem is caused by missing software requires needed to compile the kernel which is done by kcompile.py to put a stress / load on the machine while measuring real-time performances.

This is a safe change even now, since the only change is to the spec file in the form of Requires

Comment 15 John Kacur 2019-12-05 12:23:00 UTC
it seems that we need to ensure that the node argument to Popen is passed as a string here as well.

Comment 16 John Kacur 2019-12-05 12:24:41 UTC
Created attachment 1642350 [details]
pass node argument as string to Popen in hackbench.py

Comment 22 errata-xmlrpc 2020-03-31 20:03:03 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.