On Thu, Feb 6, 2025 at 6:21 PM Daniel Xu <dlxu@xxxxxxxx> wrote: > > Hi Jason, > > cc bpf@vger > > On 2/5/25 11:56 PM, Jason Xing wrote: > > On Thu, Feb 6, 2025 at 5:28 AM <bot+bpf-ci@xxxxxxxxxx> wrote: > >> Dear patch submitter, > >> > >> CI has tested the following submission: > >> Status: FAILURE > >> Name: [bpf-next,v1,0/2] selftests: fix two small compilation errors > >> Patchwork: https://patchwork.kernel.org/project/netdevbpf/list/?series=930276&state=* > >> Matrix: https://github.com/kernel-patches/bpf/actions/runs/13165816880 > >> > >> Failed jobs: > >> test_progs-aarch64-gcc: https://github.com/kernel-patches/bpf/actions/runs/13165816880/job/36746357575 > > I'm afraid this has nothing to do with the series? > > Traceback (most recent call last): > > 5288 File "/tmp/work/_actions/libbpf/ci/v3/run-vmtest/print_test_summary.py", > > line 85, in <module> > > 5289 json_summary = json.load(f) > > 5290 ^^^^^^^^^^^^ > > 5291 File "/usr/lib/python3.12/json/__init__.py", line 293, in load > > 5292 return loads(fp.read(), > > 5293 ^^^^^^^^^^^^^^^^ > > 5294 File "/usr/lib/python3.12/json/__init__.py", line 346, in loads > > 5295 return _default_decoder.decode(s) > > 5296 ^^^^^^^^^^^^^^^^^^^^^^^^^^ > > 5297 File "/usr/lib/python3.12/json/decoder.py", line 337, in decode > > 5298 obj, end = self.raw_decode(s, idx=_w(s, 0).end()) > > 5299 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > 5300 File "/usr/lib/python3.12/json/decoder.py", line 355, in raw_decode > > 5301 raise JSONDecodeError("Expecting value", s, err.value) from None > > 5302json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) > > 5303Error: Process completed with exit code 2 > > > > Am I missing something? > > If you expand the "test_progs" section right above that, you'll see: > > Caught signal #11! > Stack trace: > ./test_progs(crash_handler+0x34)[0xaaaad4e05bfc] > linux-vdso.so.1(__kernel_rt_sigreturn+0x0)[0xffff85106850] > ./test_progs(+0x45874)[0xaaaad4a25874] > ./test_progs(htab_lookup_elem+0x3c)[0xaaaad4a258e4] > ./test_progs(+0x45b74)[0xaaaad4a25b74] > ./test_progs(+0x4646c)[0xaaaad4a2646c] > ./test_progs(test_arena_htab+0x48)[0xaaaad4a264f4] > ./test_progs(+0x426258)[0xaaaad4e06258] > ./test_progs(main+0x694)[0xaaaad4e080a0] > /lib/aarch64-linux-gnu/libc.so.6(+0x284c4)[0xffff84eb84c4] > /lib/aarch64-linux-gnu/libc.so.6(__libc_start_main+0x98)[0xffff84eb8598] > ./test_progs(_start+0x30)[0xaaaad4a1faf0] > /tmp/work/_actions/libbpf/ci/v3/run-vmtest/run-bpf-selftests.sh: line > 26: 101 Segmentation fault ./${selftest} ${args} --json-summary > "${json_file}" > > The infra couldn't parse the stack as json (rightly so). Thanks for the reply. I'm surprised that this error is related to this series, really? Could you point out why these two patches cause the segfault please? Thanks, Jason