Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 2217078

Summary: components/pcp/tests/testPCP FAILED
Product: Red Hat Enterprise Linux 9 Reporter: QI Fuli <fqi>
Component: papiAssignee: William Cohen <wcohen>
Status: CLOSED WONTFIX QA Contact: qe-baseos-tools-bugs
Severity: medium Docs Contact:
Priority: unspecified    
Version: 9.3CC: fqi, lkuprova, mcermak, mpetlan, ohudlick
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: aarch64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-06-28 15:37:04 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 QI Fuli 2023-06-23 19:14:54 UTC
Description of problem:
The components/pcp/tests/testPCP test failed even if the machine had PCP setup on it.
If the component is disabled, the test result should be "SKIPPED".

Version-Release number of selected component (if applicable):
papi-6.0.0-15.el9.aarch64

How reproducible:
everytime.

Steps to Reproduce:
1. dnf install papi-testsuite
2. cd /usr/share/papi
3. ./components/pcp/tests/testPCP

Actual results:
# ./components/pcp/tests/testPCP 
PAPI_Library_init run time =  271940.0 uS
Testing PCP Component with PAPI 6.0.0
Found PCP Component at id 11
PAPI_enum_cmp_event returned -17 [Component Index isn't set].
FAILED!!!
Line # 108 Error in PAPI_enum_cmp_event failed.
: Component Index isn't set
Some tests require special hardware, permissions, OS, compilers
or library versions. PAPI may still function perfectly on your 
system without the particular feature being tested here. 

Expected results:
SKIPPED

Additional info:
This issue can also be reproduced on x86_64 and it has been resolved on upstream.
https://github.com/icl-utk-edu/papi/commit/ae24b2c73f6f1026e4a38aabf76020c4c1ec6e9a

Comment 1 William Cohen 2023-06-28 15:37:04 UTC
Hi,

papi-testsuite is not package shipped in the RHEL distribution.  Fixing this will have no effect on the RHEL distribution. Closing this bug as it is in a subpackage that isn't shipped in the distribution.