Skip to content

Test fails on RHEL/Rocky 9 #154

@hratcliffe

Description

@hratcliffe

Installing the current main fails to pass one of the tests with error

lbnl_ps.nhc...failed 94/116
TEST FAILED:  CPU time utilization for root-owned process >= 60m:  Got "0" but expected "1" 

System is Rocky 9, but I don't think this matters as it looks like a logic bug.

The check around line 197 in scripts/lbnl_ps.nhc does not check whether a specific owner has been set and thus ignores the root process even if OWNER is explicitly root, which looks like a bug as I'd expect this to take precedence.

Attached is a patch which fixes this, assuming that the expected order is 'specific owner' > 'all users = false' > 'ignore root'

nhcfix.patch

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions