Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modify 24x7 based on pvr value #2662

Merged
merged 1 commit into from
Sep 5, 2023

Conversation

disgoel
Copy link
Contributor

@disgoel disgoel commented Jun 14, 2023

in P9 compat mode test fails with below error as events are written based on pvr version
'perf unable to recognize it has invalid event'
patch modifies the test to use pvr values instead of power processor version

avocado run perf_24x7_hardware_counters.py --max-parallel-tasks=1
JOB ID     : 57b0d143a6d99b18bf90f2a997cb0a4ac8bd0ae9
JOB LOG    : /home/avocado-fvt-wrapper/results/job-2023-06-12T10.32-57b0d14/job.log
 (01/11) perf_24x7_hardware_counters.py:EliminateDomainSuffix.test_display_domain_indices_in_sysfs: STARTED
 (01/11) perf_24x7_hardware_counters.py:EliminateDomainSuffix.test_display_domain_indices_in_sysfs: PASS (66.50 s)
 (02/11) perf_24x7_hardware_counters.py:EliminateDomainSuffix.test_event_phys_core_param: STARTED
 (02/11) perf_24x7_hardware_counters.py:EliminateDomainSuffix.test_event_phys_core_param: CANCEL: HPM_0THRD_NON_IDLE_CCYC__PHYS_CORE not found (20.52 s)
 (03/11) perf_24x7_hardware_counters.py:EliminateDomainSuffix.test_event_wo_domain_param: STARTED
 (03/11) perf_24x7_hardware_counters.py:EliminateDomainSuffix.test_event_wo_domain_param: PASS (1.60 s)
 (04/11) perf_24x7_hardware_counters.py:EliminateDomainSuffix.test_event_w_domain_param: STARTED
 (04/11) perf_24x7_hardware_counters.py:EliminateDomainSuffix.test_event_w_domain_param: PASS (2.65 s)
 (05/11) perf_24x7_hardware_counters.py:EliminateDomainSuffix.test_check_domain_not_existing: STARTED
 (05/11) perf_24x7_hardware_counters.py:EliminateDomainSuffix.test_check_domain_not_existing: PASS (2.61 s)
 (06/11) perf_24x7_hardware_counters.py:EliminateDomainSuffix.test_check_all_domains: STARTED
 (06/11) perf_24x7_hardware_counters.py:EliminateDomainSuffix.test_check_all_domains: PASS (6.85 s)
 (07/11) perf_24x7_hardware_counters.py:EliminateDomainSuffix.test_event_w_chip_param: STARTED
 (07/11) perf_24x7_hardware_counters.py:EliminateDomainSuffix.test_event_w_chip_param: PASS (1.57 s)
 (08/11) perf_24x7_hardware_counters.py:EliminateDomainSuffix.test_event_wo_chip_param: STARTED
 (08/11) perf_24x7_hardware_counters.py:EliminateDomainSuffix.test_event_wo_chip_param: PASS (1.64 s)
 (09/11) perf_24x7_hardware_counters.py:EliminateDomainSuffix.test_domain_chip_offset: STARTED
 (09/11) perf_24x7_hardware_counters.py:EliminateDomainSuffix.test_domain_chip_offset: PASS (102.07 s)
 (10/11) perf_24x7_hardware_counters.py:EliminateDomainSuffix.test_event_helper_phys_core: STARTED
 (10/11) perf_24x7_hardware_counters.py:EliminateDomainSuffix.test_event_helper_phys_core: PASS (1.63 s)
 (11/11) perf_24x7_hardware_counters.py:EliminateDomainSuffix.test_event_helper_vcpu: STARTED
 (11/11) perf_24x7_hardware_counters.py:EliminateDomainSuffix.test_event_helper_vcpu: PASS (1.69 s)
RESULTS    : PASS 10 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 1
JOB HTML   : /home/avocado-fvt-wrapper/results/job-2023-06-12T10.32-57b0d14/results.html
JOB TIME   : 341.88 s

job.log

Copy link
Contributor

@nasastry nasastry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank You.

in P9 compat mode test fails with below error as events are
written based on pvr
'perf unable to recognize it has invalid event'
patch modifies the test to use pvr values instead of
power processor version

Signed-off-by: Disha Goel <[email protected]>
@PraveenPenguin PraveenPenguin changed the title modify 24x7 based on pvr value [Don't merge as utils need to be merged]modify 24x7 based on pvr value Aug 30, 2023
@PraveenPenguin PraveenPenguin changed the title [Don't merge as utils need to be merged]modify 24x7 based on pvr value modify 24x7 based on pvr value Sep 5, 2023
@PraveenPenguin PraveenPenguin merged commit f16b04e into avocado-framework-tests:master Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants