Bug 1770211

Summary: hackbench - fix calculations and don't run on nodes without available cpus
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: rteval-2.14-26.el8 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    

Description John Kacur 2019-11-08 13:54:31 UTC
loads/hackbench: Fix number of jobs calculation
    
    Number of hackbench jobs are calculated w.r.t. the number of CPUs the
    load is allowed to run on. When restricting such CPU mask by specifying
    a cpulist and int to str check is however wrongly performed and this
    causes the calculation to return 0 (making hackbench failing to start).
    
    Fix it by performing a conversion to string before comparing against the
    cpulist.


    loads/hackbench: Don't run on nodes with no CPUs available
    
    When cpulist is specified it might happen that some of the available
    nodes don't have cpus on which hackbench can run.
    
    Filter them out.

Comment 7 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