RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1777048 - TypeError: expected str, bytes or os.PathLike object, not int
Summary: TypeError: expected str, bytes or os.PathLike object, not int
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: rteval
Version: 8.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.2
Assignee: John Kacur
QA Contact: Mike Stowell
URL:
Whiteboard:
Depends On:
Blocks: 1722609
TreeView+ depends on / blocked
 
Reported: 2019-11-26 20:02 UTC by John Kacur
Modified: 2020-04-28 15:29 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-28 15:29:01 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)
in hackbench, node must be a string and not an int for Popen (2.25 KB, patch)
2019-12-02 12:15 UTC, John Kacur
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:1571 0 None None None 2020-04-28 15:29:18 UTC

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


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