Bug 2069187

Summary: Internal testsuite for lscpu failed on aarch64
Product: Red Hat Enterprise Linux 8 Reporter: Radka Brychtova <rskvaril>
Component: util-linuxAssignee: Karel Zak <kzak>
Status: CLOSED ERRATA QA Contact: Radka Brychtova <rskvaril>
Severity: low Docs Contact:
Priority: unspecified    
Version: 8.6Keywords: Triaged
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: util-linux-2.32.1-36.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-08 10:54:48 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:

Description Radka Brychtova 2022-03-28 12:42:08 UTC
Description of problem:
Internal testsuite failed in lscpu part on aarch64. The test need to be fixed or at least set the fails as KNOWN-FAILED


Version-Release number of selected component (if applicable):
util-linux-2.32.1-35.el8

How reproducible:
always

Steps to Reproduce:
1. run internal testsuite on aarch64
2.
3.

Actual results:
                : ppc-qemu                    ... FAILED (lscpu/lscpu-ppc-qemu)
                : ppc64-POWER7-64cpu          ... FAILED (lscpu/lscpu-ppc64-POWER7-64cpu)
                : ppc64-POWER7                ... FAILED (lscpu/lscpu-ppc64-POWER7)
                : s390-kvm                    ... FAILED (lscpu/lscpu-s390-kvm)
                : s390-lpar-drawer            ... FAILED (lscpu/lscpu-s390-lpar-drawer)
                : s390-lpar                   ... FAILED (lscpu/lscpu-s390-lpar)
                : s390-nested-virt            ... FAILED (lscpu/lscpu-s390-nested-virt)
                : s390-zvm                    ... FAILED (lscpu/lscpu-s390-zvm)
                : sparc64                     ... FAILED (lscpu/lscpu-sparc64)
                : vbox-win                    ... FAILED (lscpu/lscpu-vbox-win)
                : x86_64-64cpu                ... FAILED (lscpu/lscpu-x86_64-64cpu)
                : x86_64-dell_e4310           ... FAILED (lscpu/lscpu-x86_64-dell_e4310)
           ... FAILED (13 from 13 sub-tests) 

Expected results:
tests pass or at least set as KNOWN FAILED

Additional info:

Comment 1 Karel Zak 2022-07-12 10:16:21 UTC
We need to skip some operations in lscpu when executed against /proc and /sys snapshots (e.g. is_fallback_to_cluster(), etc.).

Comment 11 errata-xmlrpc 2022-11-08 10:54:48 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 (util-linux bug fix and enhancement update), 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-2022:7783