Remove unused check_ProcessorCompatMode function.
Improve test_write_sysfs_events function by adding write access test for root user as well and add fail condition if permission denied not found.
avocado run --max-parallel-tasks=1 perf_pmu.py
JOB ID : 7ddbe4e1d0cb2227098654d18c880eb5453e6754
JOB LOG : /home/avocado-fvt-wrapper/results/job-2024-09-03T14.13-7ddbe4e/job.log
(01/10) perf_pmu.py:PerfBasic.test_config_PMU_sysfs: STARTED
(01/10) perf_pmu.py:PerfBasic.test_config_PMU_sysfs: CANCEL: CONFIG_PMU_SYSFS not set. (0.03 s)
(02/10) perf_pmu.py:PerfBasic.test_config_PPC_RTAS: STARTED
(02/10) perf_pmu.py:PerfBasic.test_config_PPC_RTAS: PASS (0.42 s)
(03/10) perf_pmu.py:PerfBasic.test_cpu_event_count: STARTED
(03/10) perf_pmu.py:PerfBasic.test_cpu_event_count: PASS (0.03 s)
(04/10) perf_pmu.py:PerfBasic.test_write_sysfs_events: STARTED
(04/10) perf_pmu.py:PerfBasic.test_write_sysfs_events: PASS (0.18 s)
(05/10) perf_pmu.py:PerfBasic.test_caps_feat: STARTED
(05/10) perf_pmu.py:PerfBasic.test_caps_feat: PASS (0.03 s)
(06/10) perf_pmu.py:PerfBasic.test_hv_24x7_event_count: STARTED
(06/10) perf_pmu.py:PerfBasic.test_hv_24x7_event_count: PASS (0.03 s)
(07/10) perf_pmu.py:PerfBasic.test_imc_event_count: STARTED
(07/10) perf_pmu.py:PerfBasic.test_imc_event_count: SKIP: This test is for PowerNV
(08/10) perf_pmu.py:PerfBasic.test_thread_event_count: STARTED
(08/10) perf_pmu.py:PerfBasic.test_thread_event_count: SKIP: This test is for PowerNV
(09/10) perf_pmu.py:PerfBasic.test_nest_cpumask: STARTED
(09/10) perf_pmu.py:PerfBasic.test_nest_cpumask: SKIP: This test is for PowerNV
(10/10) perf_pmu.py:PerfBasic.test_core_cpumask: STARTED
(10/10) perf_pmu.py:PerfBasic.test_core_cpumask: SKIP: This test is for PowerNV
RESULTS : PASS 5 | ERROR 0 | FAIL 0 | SKIP 4 | WARN 0 | INTERRUPT 0 | CANCEL 1
JOB HTML : /home/avocado-fvt-wrapper/results/job-2024-09-03T14.13-7ddbe4e/results.html
JOB TIME : 47.98 s
Remove unused check_ProcessorCompatMode function. Improve test_write_sysfs_events function by adding write access test for root user as well and add fail condition if permission denied not found.