selftests/net/bpf - Failure in building bpf program on G/RISC-V (kernel 5.8)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Confirmed
|
Medium
|
Unassigned | ||
linux (Ubuntu) |
Confirmed
|
Medium
|
Unassigned | ||
Groovy |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I found the following failure in G/RISC-V, cycle sru-20210510 :
21:07:11 ERROR| [stderr] progs/test_
21:07:11 ERROR| [stderr] if (args->id != __NR_nanosleep)
21:07:11 ERROR| [stderr] ^
[...]
21:07:11 ERROR| [stderr] progs/test_
21:07:11 ERROR| [stderr] if (id != __NR_nanosleep)
21:07:11 ERROR| [stderr] ^
21:07:11 ERROR| [stderr] progs/test_
21:07:11 ERROR| [stderr] ts = (void *)PT_REGS_
21:07:11 ERROR| [stderr] ^
[...]
/home/ubuntu/
21:07:12 ERROR| [stderr] #define ___bpf_concat(a, b) a ## b
21:07:12 ERROR| [stderr] ^
21:07:12 ERROR| [stderr] <scratch space>:28:1: note: expanded from here
21:07:12 ERROR| [stderr] ___bpf_kprobe_args3
21:07:12 ERROR| [stderr] ^
21:07:12 ERROR| [stderr] /home/ubuntu/
21:07:12 ERROR| [stderr] ___bpf_
21:07:12 ERROR| [stderr] ^~~~~~~
21:07:12 ERROR| [stderr] 10 warnings and 3 errors generated.
21:07:12 ERROR| [stderr] llc: error: llc: <stdin>:1:1: error: expected top-level entity
21:07:12 ERROR| [stderr] BPF obj compilation failed
21:07:12 ERROR| [stderr] ^
21:07:12 ERROR| [stderr] make[1]: *** [Makefile:376: /home/ubuntu/
21:07:12 ERROR| [stderr] make: *** [Makefile:159: all] Error 2
21:07:12 ERROR| Exception escaping from test:
Traceback (most recent call last):
File "/home/
_call_
File "/home/
return func(*args, **dargs)
File "/home/
postprocess
File "/home/
self.
File "/home/
utils.
File "/home/
verbose=
File "/home/
"Command returned non-zero exit status")
CmdError: Command <make -C linux/tools/
* Command:
make -C linux/tools/
KDIR=
Exit status: 2
See more on the attachment
Changed in ubuntu-kernel-tests: | |
assignee: | nobody → Krzysztof Kozlowski (krzk) |
Changed in ubuntu-kernel-tests: | |
assignee: | Krzysztof Kozlowski (krzk) → nobody |
Hereby attached is the full test output.
Notice this is not a regression, it was observed in previous cycles (kernels 5.8.0-23.25 and 5.8.0-21.23). Also, the following LP seems related:
https:/ /bugs.launchpad .net/ubuntu- kernel- tests/+ bug/1894964