Re: [PATCH bpf-next v1 4/4] selftests/bpf: Test accessing struct_ops this pointer in timer callback

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 9, 2025 at 5:42 PM <bot+bpf-ci@xxxxxxxxxx> wrote:
>
> Dear patch submitter,
>
> CI has tested the following submission:
> Status:     FAILURE
> Name:       [bpf-next,v1,4/4] selftests/bpf: Test accessing struct_ops this pointer in timer callback
> Patchwork:  https://patchwork.kernel.org/project/netdevbpf/list/?series=970053&state=*
> Matrix:     https://github.com/kernel-patches/bpf/actions/runs/15547147788
>
> Failed jobs:
> test_progs-aarch64-gcc-14: https://github.com/kernel-patches/bpf/actions/runs/15547147788/job/43771213307
> test_progs_cpuv4-aarch64-gcc-14: https://github.com/kernel-patches/bpf/actions/runs/15547147788/job/43771213280
> test_progs_no_alu32-aarch64-gcc-14: https://github.com/kernel-patches/bpf/actions/runs/15547147788/job/43771213268
> test_progs-s390x-gcc-14: https://github.com/kernel-patches/bpf/actions/runs/15547147788/job/43771045529
> test_progs_cpuv4-s390x-gcc-14: https://github.com/kernel-patches/bpf/actions/runs/15547147788/job/43771045522
> test_progs_no_alu32-s390x-gcc-14: https://github.com/kernel-patches/bpf/actions/runs/15547147788/job/43771045519
>
> First test_progs failure (test_progs-aarch64-gcc-14):
> #409 struct_ops_this_ptr
> tester_init:PASS:tester_log_buf 0 nsec
> process_subtest:PASS:obj_open_mem 0 nsec
> process_subtest:PASS:specs_alloc 0 nsec
> #409/1 struct_ops_this_ptr/test1
> run_subtest:PASS:obj_open_mem 0 nsec
> libbpf: prog 'test1': BPF program load failed: -EACCES
> libbpf: prog 'test1': failed to load: -EACCES
> libbpf: failed to load object 'struct_ops_this_ptr'
> run_subtest:FAIL:unexpected_load_failure unexpected error: -13 (errno 13)
> VERIFIER LOG:
> =============
> Private stack not supported by jit

The selftests failed to pass CI since bpf_testmod_ops3 is using
private stack. I will change selftests to be based on other struct_ops
in bpf_testmod.c

> processed 0 insns (limit 1000000) max_states_per_insn 0 total_states 0 peak_states 0 mark_read 0
> =============
> #409/2 struct_ops_this_ptr/syscall_this_ptr
> run_subtest:PASS:obj_open_mem 0 nsec
> libbpf: prog 'test1': BPF program load failed: -EACCES
> libbpf: prog 'test1': -- BEGIN PROG LOAD LOG --
> Private stack not supported by jit
> processed 0 insns (limit 1000000) max_states_per_insn 0 total_states 0 peak_states 0 mark_read 0
> -- END PROG LOAD LOG --
> libbpf: prog 'test1': failed to load: -EACCES
> libbpf: failed to load object 'struct_ops_this_ptr'
> run_subtest:FAIL:unexpected_load_failure unexpected error: -13 (errno 13)
> VERIFIER LOG:
> =============
> =============
> #409/3 struct_ops_this_ptr/struct_ops_this_ptr_in_timer
> libbpf: prog 'test1': BPF program load failed: -EACCES
> libbpf: prog 'test1': -- BEGIN PROG LOAD LOG --
> Private stack not supported by jit
> processed 0 insns (limit 1000000) max_states_per_insn 0 total_states 0 peak_states 0 mark_read 0
> -- END PROG LOAD LOG --
> libbpf: prog 'test1': failed to load: -EACCES
> libbpf: failed to load object 'struct_ops_this_ptr_in_timer'
> libbpf: failed to load BPF skeleton 'struct_ops_this_ptr_in_timer': -EACCES
> test_struct_ops_this_ptr_in_timer_common:FAIL:skel_open_and_load unexpected error: -13
> #409/4 struct_ops_this_ptr/struct_ops_this_ptr_in_timer_after_detach
> libbpf: prog 'test1': BPF program load failed: -EACCES
> libbpf: prog 'test1': -- BEGIN PROG LOAD LOG --
> Private stack not supported by jit
> processed 0 insns (limit 1000000) max_states_per_insn 0 total_states 0 peak_states 0 mark_read 0
> -- END PROG LOAD LOG --
> libbpf: prog 'test1': failed to load: -EACCES
> libbpf: failed to load object 'struct_ops_this_ptr_in_timer'
> libbpf: failed to load BPF skeleton 'struct_ops_this_ptr_in_timer': -EACCES
> test_struct_ops_this_ptr_in_timer_common:FAIL:skel_open_and_load unexpected error: -13
>
>
> Please note: this email is coming from an unmonitored mailbox. If you have
> questions or feedback, please reach out to the Meta Kernel CI team at
> kernel-ci@xxxxxxxx.





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux