[15:48:27][root@168.mr1370_220926_1234.el9.ppc64le]# './test_progs -t ringbuf' test_ringbuf:PASS:skel_open 0 nsec test_ringbuf:FAIL:skel_load skeleton load failed #119 ringbuf:FAIL #120 ringbuf_multi:OK All error logs: #119 ringbuf:FAIL test_ringbuf:PASS:skel_open 0 nsec test_ringbuf:FAIL:skel_load skeleton load failed Summary: 1/0 PASSED, 0 SKIPPED, 1 FAILED :: [ FAIL ] :: Command './test_progs -t ringbuf' (Expected 0, got 1, score 33) [15:48:27][root@168.mr1370_220926_1234.el9.ppc64le]# './test_progs -vv -t ringbuf' bpf_testmod.ko is already unloaded. Loading bpf_testmod.ko... Successfully loaded bpf_testmod.ko. test_ringbuf:PASS:skel_open 0 nsec test_ringbuf:FAIL:skel_load skeleton load failed #119 ringbuf:FAIL libbpf: loading object 'test_ringbuf_multi' from buffer libbpf: elf: section(2) .symtab, size 456, link 1, flags 0, type=2 libbpf: elf: section(3) tp/syscalls/sys_enter_getpgid, size 416, link 0, flags 6, type=1 libbpf: sec 'tp/syscalls/sys_enter_getpgid': found program 'test_ringbuf' at insn offset 0 (0 bytes), code size 52 insns (416 bytes) libbpf: elf: section(4) license, size 4, link 0, flags 3, type=1 libbpf: license of test_ringbuf_multi is GPL libbpf: elf: section(5) .maps, size 96, link 0, flags 3, type=1 libbpf: elf: section(6) .bss, size 40, link 0, flags 3, type=8 libbpf: elf: section(7) .reltp/syscalls/sys_enter_getpgid, size 128, link 2, flags 40, type=9 libbpf: elf: section(8) .rel.maps, size 48, link 2, flags 40, type=9 libbpf: elf: section(9) .BTF, size 1685, link 0, flags 0, type=1 libbpf: elf: section(10) .BTF.ext, size 416, link 0, flags 0, type=1 libbpf: looking for externs among 19 symbols... libbpf: collected 0 externs total libbpf: map 'ringbuf1': at sec_idx 5, offset 0. libbpf: map 'ringbuf1': found type = 27. libbpf: map 'ringbuf2': at sec_idx 5, offset 8. libbpf: map 'ringbuf2': found type = 27. libbpf: map 'ringbuf_arr': at sec_idx 5, offset 16. libbpf: map 'ringbuf_arr': found type = 12. libbpf: map 'ringbuf_arr': found key [2], sz = 4. libbpf: map 'ringbuf_arr': found max_entries = 4. libbpf: map 'ringbuf_arr': found inner map definition. libbpf: map 'ringbuf_arr.inner': found type = 27. libbpf: map 'ringbuf_hash': at sec_idx 5, offset 64. libbpf: map 'ringbuf_hash': found type = 13. libbpf: map 'ringbuf_hash': found key [2], sz = 4. libbpf: map 'ringbuf_hash': found max_entries = 1. libbpf: map 'ringbuf_hash': found inner map definition. libbpf: map 'ringbuf_hash.inner': found type = 27. libbpf: map 'test_rin.bss' (global data): at sec_idx 6, offset 0, flags 400. libbpf: map 4 is "test_rin.bss" libbpf: sec '.reltp/syscalls/sys_enter_getpgid': collecting relocation for section(3) 'tp/syscalls/sys_enter_getpgid' libbpf: sec '.reltp/syscalls/sys_enter_getpgid': relo #0: insn #2 against 'pid' libbpf: prog 'test_ringbuf': found data map 4 (test_rin.bss, sec 6, off 0) for insn 2 libbpf: sec '.reltp/syscalls/sys_enter_getpgid': relo #1: insn #7 against 'ringbuf_arr' libbpf: prog 'test_ringbuf': found map 2 (ringbuf_arr, sec 5, off 16) for insn #7 libbpf: sec '.reltp/syscalls/sys_enter_getpgid': relo #2: insn #9 against 'target_ring' libbpf: prog 'test_ringbuf': found data map 4 (test_rin.bss, sec 6, off 0) for insn 9 libbpf: sec '.reltp/syscalls/sys_enter_getpgid': relo #3: insn #13 against 'skipped' libbpf: prog 'test_ringbuf': found data map 4 (test_rin.bss, sec 6, off 0) for insn 13 libbpf: sec '.reltp/syscalls/sys_enter_getpgid': relo #4: insn #22 against 'dropped' libbpf: prog 'test_ringbuf': found data map 4 (test_rin.bss, sec 6, off 0) for insn 22 libbpf: sec '.reltp/syscalls/sys_enter_getpgid': relo #5: insn #29 against 'pid' libbpf: prog 'test_ringbuf': found data map 4 (test_rin.bss, sec 6, off 0) for insn 29 libbpf: sec '.reltp/syscalls/sys_enter_getpgid': relo #6: insn #37 against 'value' libbpf: prog 'test_ringbuf': found data map 4 (test_rin.bss, sec 6, off 0) for insn 37 libbpf: sec '.reltp/syscalls/sys_enter_getpgid': relo #7: insn #41 against 'total' libbpf: prog 'test_ringbuf': found data map 4 (test_rin.bss, sec 6, off 0) for insn 41 libbpf: .maps relo #0: for 16 value 0 rel->r_offset 40 name 193 ('ringbuf1') libbpf: .maps relo #0: map 'ringbuf_arr' slot [0] points to map 'ringbuf1' libbpf: .maps relo #1: for 17 value 8 rel->r_offset 56 name 202 ('ringbuf2') libbpf: .maps relo #1: map 'ringbuf_arr' slot [2] points to map 'ringbuf2' libbpf: .maps relo #2: for 16 value 0 rel->r_offset 88 name 193 ('ringbuf1') libbpf: .maps relo #2: map 'ringbuf_hash' slot [0] points to map 'ringbuf1' test_ringbuf_multi:PASS:skel_open 0 nsec test_ringbuf_multi:PASS:bpf_map__set_max_entries 0 nsec test_ringbuf_multi:PASS:bpf_map__set_max_entries 0 nsec test_ringbuf_multi:PASS:bpf_map__set_max_entries 0 nsec test_ringbuf_multi:PASS:bpf_map_create 0 nsec test_ringbuf_multi:PASS:bpf_map__set_inner_map_fd 0 nsec libbpf: map 'ringbuf1': created successfully, fd=6 libbpf: map 'ringbuf2': created successfully, fd=7 libbpf: map 'ringbuf_arr': created successfully, fd=9 libbpf: map 'ringbuf_arr': slot [0] set to map 'ringbuf1' fd=6 libbpf: map 'ringbuf_arr': slot [2] set to map 'ringbuf2' fd=7 libbpf: map 'ringbuf_hash': created successfully, fd=8 libbpf: map 'ringbuf_hash': slot [0] set to map 'ringbuf1' fd=6 libbpf: map 'test_rin.bss': created successfully, fd=10 test_ringbuf_multi:PASS:skel_load 0 nsec test_ringbuf_multi:PASS:ringbuf_create 0 nsec test_ringbuf_multi:PASS:ringbuf_add 0 nsec test_ringbuf_multi:PASS:skel_attach 0 nsec process_sample:PASS:sample1_ring 0 nsec process_sample:PASS:sample1_value 0 nsec process_sample:PASS:sample2_ring 0 nsec process_sample:PASS:sample2_value 0 nsec test_ringbuf_multi:PASS:poll_res 0 nsec test_ringbuf_multi:PASS:extra_samples 0 nsec test_ringbuf_multi:PASS:err_dropped 0 nsec test_ringbuf_multi:PASS:err_skipped 0 nsec test_ringbuf_multi:PASS:err_total 0 nsec #120 ringbuf_multi:OK All error logs: #119 ringbuf:FAIL Summary: 1/0 PASSED, 0 SKIPPED, 1 FAILED Successfully unloaded bpf_testmod.ko. :: [ FAIL ] :: Command './test_progs -vv -t ringbuf' (Expected 0, got 1, score 33) [15:48:28][root@168.mr1370_220926_1234.el9.ppc64le]# './test_progs-no_alu32 -t ringbuf' test_ringbuf:PASS:skel_open 0 nsec test_ringbuf:FAIL:skel_load skeleton load failed #119 ringbuf:FAIL #120 ringbuf_multi:OK All error logs: #119 ringbuf:FAIL test_ringbuf:PASS:skel_open 0 nsec test_ringbuf:FAIL:skel_load skeleton load failed Summary: 1/0 PASSED, 0 SKIPPED, 1 FAILED :: [ FAIL ] :: Command './test_progs-no_alu32 -t ringbuf' (Expected 0, got 1, score 33) === Dmesg result === :: [ FAIL ] :: Test '119..224 selftests: bpf_test_progs:ringbuf [FAIL]'