Bug 1777048

Summary: TypeError: expected str, bytes or os.PathLike object, not int
Product: Red Hat Enterprise Linux 8 Reporter: John Kacur <jkacur>
Component: rtevalAssignee: John Kacur <jkacur>
Status: CLOSED ERRATA QA Contact: Mike Stowell <mstowell>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.2CC: bhu, mstowell, qzhao, rt-maint
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-28 15:29:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1722609    
Attachments:
Description Flags
in hackbench, node must be a string and not an int for Popen none

Description John Kacur 2019-11-26 20:02:49 UTC
Note, the problem is seen on realtime-02.khw2.lab.eng.bos.redhat.com
and is not seen everywhere

rteval --duration=1m
got system topology: 2 node system (10 cores per node)
rteval run on 4.18.0-151.rt13.8.el8.x86_64 started at Tue Nov 26 14:42:18 2019
started 2 loads on 20 cores  with 2 numa nodes
started measurement threads on 20 cores
Run duration: 60.0 seconds
Exception in thread hackbench:
Traceback (most recent call last):
  File "/usr/lib64/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.6/site-packages/rteval/modules/__init__.py", line 188, in run
    self._WorkloadTask()
  File "/usr/lib/python3.6/site-packages/rteval/modules/loads/hackbench.py", line 147, in _WorkloadTask
    self.tasks[n] = self.__starton(n)
  File "/usr/lib/python3.6/site-packages/rteval/modules/loads/hackbench.py", line 134, in __starton
    stderr=self.__err)
  File "/usr/lib64/python3.6/subprocess.py", line 729, in __init__
    restore_signals, start_new_session)
  File "/usr/lib64/python3.6/subprocess.py", line 1295, in _execute_child
    restore_signals, start_new_session, preexec_fn)
TypeError: expected str, bytes or os.PathLike object, not int

Comment 1 Qiao Zhao 2019-11-27 01:09:30 UTC
Hi John,

Looks like this problem similar with https://bugzilla.redhat.com/show_bug.cgi?id=1766879,
can you help to check and we can close one if they are same.

- Qiao

Comment 2 John Kacur 2019-12-02 11:05:28 UTC
(In reply to Qiao Zhao from comment #1)
> Hi John,
> 
> Looks like this problem similar with
> https://bugzilla.redhat.com/show_bug.cgi?id=1766879,
> can you help to check and we can close one if they are same.
> 
> - Qiao

The traceback is quite different, so I will treat this as two separate bugs for now

Comment 3 John Kacur 2019-12-02 12:15:56 UTC
Created attachment 1641362 [details]
in hackbench, node must be a string and not an int for Popen

Comment 8 errata-xmlrpc 2020-04-28 15:29:01 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.

https://access.redhat.com/errata/RHBA-2020:1571