On Thu, Apr 09, 2020 at 10:42:23AM +0200, Paolo Pisati wrote:
test_maps fails consistently on x86-64 5.4.y (5.4.31 and defconfig + tools/testing/selftests/bpf/config in this case) and dumps this output:
~/linux/tools/testing/selftests/bpf$ sudo ./test_maps libbpf: Error loading BTF: Invalid argument(22) libbpf: magic: 0xeb9f libbpf: Error loading .BTF into kernel: -22. libbpf: Error loading BTF: Invalid argument(22) libbpf: magic: 0xeb9f
libbpf: Error loading .BTF into kernel: -22. Failed to load SK_SKB verdict prog
I've been trying to reproduce on the latest bpf tree and couldn't. Does it reproduce for you on the latest?