Re: [PATCH bpf-next v2] selftests/bpf: use auto-dependencies for test objects

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

 



On Friday, July 12th, 2024 at 8:26 AM, Daniel Borkmann <daniel@xxxxxxxxxxxxx> wrote:

[...]

> Looks like BPF CI trips over this and various tests are failing :
> 
> https://github.com/kernel-patches/bpf/actions/runs/9902529566/job/27356664649
> 
> [...]
> Tests exit status: 1
> Notice: Success: 538/3821, Skipped: 62, Failed: 5
> Error: #66 core_reloc
> Error: #66/4 core_reloc/flavors
> Error: #66/4 core_reloc/flavors
> run_core_reloc_tests:FAIL:btf_src_file unexpected error: -1 (errno 2)
> Error: #66/5 core_reloc/flavors__err_wrong_name
> Error: #66/5 core_reloc/flavors__err_wrong_name
> run_core_reloc_tests:FAIL:btf_src_file unexpected error: -1 (errno 2)
> Error: #66/6 core_reloc/nesting
> Error: #66/6 core_reloc/nesting
> run_core_reloc_tests:FAIL:btf_src_file unexpected error: -1 (errno 2)
> Error: #66/7 core_reloc/nesting___anon_embed
> Error: #66/8 core_reloc/nesting___struct_union_mixup
> Error: #66/9 core_reloc/nesting___extra_nesting
> [...]

I've made a mistake when I removed $(TRUNNER_BPF_OBJS) as a
prerequisite for $(TRUNNER_TEST_OBJS:.o=.d)

I assumed it is covered by:

  $(TRUNNER_BPF_SKELS): %.skel.h: %.bpf.o $(BPFTOOL) | $(TRUNNER_OUTPUT)

Apparently there are .bpf.o files for which skels are not generated,
yet they are used in tests.

Fixed in v3.







[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