Bug 2217078 - components/pcp/tests/testPCP FAILED
Summary: components/pcp/tests/testPCP FAILED
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: papi
Version: 9.3
Hardware: aarch64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: William Cohen
QA Contact: qe-baseos-tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-23 19:14 UTC by QI Fuli
Modified: 2023-06-29 09:21 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-06-28 15:37:04 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-160635 0 None None None 2023-06-23 19:15:27 UTC

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.


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