Open Gene-Lo opened 4 years ago
After we re-test perf_events_test.py in Rhel8.2 with Avocado (Version: 80), it shows similar fail:
【SOL log】 ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ (1/1) perf_events_test.py:Perf_subsystem.test: FAIL: There are 14 test(s) failure, please check the job.log (327.44 s) RESULTS : PASS 0 | ERROR 0 | FAIL 1 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0 ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑
【JOB log】 ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ (...... SKIP ......) DEBUG| [stdout] + tests/attr_fields/exclusive DEBUG| [stdout] Testing exclusive eventsets... FAILED (...... SKIP ......) DEBUG| [stdout] + tests/ioctl/ioctl_4_period DEBUG| [stdout] Testing ioctl(PERF_EVENT_IOC_PERIOD)... FAILED DEBUG| [stdout] + tests/ioctl/ioctl_5_set_output DEBUG| [stdout] Testing PERF_EVENT_IOC_SET_OUTPUT ioctl... FAILED (...... SKIP ......) DEBUG| [stdout] + tests/ioctl/ioctl_8_set_bpf DEBUG| [stdout] Cannot open /sys/kernel/tracing/kprobe_events! DEBUG| [stdout] You may want to: mount -t tracefs nodev /sys/kernel/tracing DEBUG| [stdout] Testing PERF_EVENT_IOC_SET_BPF ioctl... FAILED (...... SKIP ......) DEBUG| [stdout] + tests/ioctl/ioctl_10_query_bpf DEBUG| [stdout] Cannot open /sys/kernel/tracing/kprobe_events! DEBUG| [stdout] You may want to: mount -t tracefs nodev /sys/kernel/tracing DEBUG| [stdout] Testing PERF_EVENT_IOC_QUERY_BPF ioctl... FAILED DEBUG| [stdout] + tests/ioctl/ioctl_11_modify_attributes DEBUG| [stderr] ioctl didn't work Bad file descriptor DEBUG| [stdout] Testing ioctl(PERF_EVENT_IOC_MODIFY_ATTRIBUTES)... FAILED DEBUG| [stdout] DEBUG| [stdout] Checking perf_event prctl calls DEBUG| [stdout] + tests/prctl/prctl DEBUG| [stdout] Testing prctl()... FAILED (...... SKIP ......) DEBUG| [stdout] + tests/error_returns/einval DEBUG| [stdout] Testing EINVAL generation... FAILED (...... SKIP ......) DEBUG| [stdout] + tests/error_returns/eperm DEBUG| [stdout] Testing EPERM generation... FAILED (...... SKIP ......) DEBUG| [stdout] + tests/record_sample/sample_regs_user DEBUG| [stdout] + tests/record_sample/sample_stack_user DEBUG| [stdout] Testing PERF_SAMPLE_STACK_USER... FAILED (...... SKIP ......) DEBUG| [stdout] Checking OpenMP support DEBUG| [stdout] + tests/openmp/openmp_test DEBUG| [stdout] Testing OpenMP results... FAILED DEBUG| [stdout] + tests/openmp/openmp_overflow DEBUG| [stdout] Testing OpenMP overflow results... FAILED ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑ 【Test log】 20200812-Distro-perf_events_test-job.log
【Configuration】
[Rhel8.2 Kernel] 4.18.0-193.14.3.el8_2.ppc64le
[FW config] BMC: op940.00.mih-5-0-g86f9791c2 PNOR: OP9-v2.4-4.37-prod
[HW config] CPU DD2.3 20core 2 Micron (MTA18ASF2G72PZ-2G9E1) 16G 16 Samsung PM985 960GB 1 PSU ACBEL 2000w 2 Broadcom 9300-8i SAS/SATA HBA PCIe Gen3 x8 LP @ slot5
【Test Result】 After run perf_events_test.py in Rhel8.1 with Avocado(version:77.0), it shows "FAIL: There are 15 test(s) failure, please check the job.log”. After re-test it by manual, the result is similar. Test-logs of running perf_events_test.py are like below:
《SOL-log》 (1/1) perf_events_test.py:Perf_subsystem.test: FAIL: There are 15 test(s) failure, please check the job.log (194.32 s) RESULTS : PASS 0 | ERROR 0 | FAIL 1 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
《job-log》
Checking generalized events tests/generalized_events/l1-dcache-stores Testing "L1-dcache-stores" generalized event... FAILED Checking basic perf_event functionality tests/attr_fields/exclusive Testing exclusive eventsets... FAILED tests/flags/flags_fd_output Testing PERF_FLAG_FD_OUTPUT flag... KNOWN KERNEL BUG Checking perf_event ioctl calls tests/ioctl/ioctl_4_period Testing ioctl(PERF_EVENT_IOC_PERIOD)... FAILED + tests/ioctl/ioctl_5_set_output Testing PERF_EVENT_IOC_SET_OUTPUT ioctl... FAILED tests/ioctl/ioctl_8_set_bpf Cannot open /sys/kernel/tracing/kprobe_events! You may want to: mount -t tracefs nodev /sys/kernel/tracing Testing PERF_EVENT_IOC_SET_BPF ioctl... FAILED tests/ioctl/ioctl_10_query_bpf Cannot open /sys/kernel/tracing/kprobe_events! You may want to: mount -t tracefs nodev /sys/kernel/tracing Testing PERF_EVENT_IOC_QUERY_BPF ioctl... FAILED tests/ioctl/ioctl_11_modify_attributes ioctl didn't work Bad file descriptor Testing ioctl(PERF_EVENT_IOC_MODIFY_ATTRIBUTES)... FAILED Checking perf_event prctl calls tests/prctl/prctl Testing prctl()... FAILED Checking error returns tests/error_returns/einval Testing EINVAL generation... FAILED tests/error_returns/eperm Testing EPERM generation... FAILED Checking mmap record sample functionality tests/record_sample/sample_regs_user ./run_tests.sh: line 366: 17318 Segmentation fault (core dumped) $TESTS_DIR/record_sample/sample_regs_user tests/record_sample/sample_stack_user Testing PERF_SAMPLE_STACK_USER... FAILED Checking OpenMP support tests/openmp/openmp_test Testing OpenMP results... FAILED tests/openmp/openmp_overflow Testing OpenMP overflow results... FAILED 【Expect Result】 After run perf_events_test.py, it should show PASS.
【Test Steps】 Run perf_events_test.py via cmd "avocado run perf_events_test.py"
【Configuration】 [Rhel8.1 Kernel] 4.18.0-147.5.1.el8_1.ppc64le
[FW configuration] BMC: op940.00.mih-5-0-g86f9791c2 PNOR: OP9-v2.4-4.37-prod
[HW configuration] CPU DD2.3 20core 2 Hynix (HMA82GR7CJR4N-VKT3/F) 16G 16 Seagate Jaguar 400GB 2 PSU ACBEL 2000w 2
【Test log】: job-log & Manual-Test-log Test.log.zip