kselftests_net.net:test_bpf.sh fails on ppc64el

Bug #2072994 reported by Manuel Diewald
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned

Bug Description

test_bpf: #81 ALU_MOVSX | BPF_B jited:1 ret 2 != 1 (0x2 != 0x1)FAIL (1 times)
test_bpf: #82 ALU_MOVSX | BPF_H jited:1 ret 2 != 1 (0x2 != 0x1)FAIL (1 times)
test_bpf: #83 ALU64_MOVSX | BPF_B jited:1 ret 2 != 1 (0x2 != 0x1)FAIL (1 times)
test_bpf: #84 ALU64_MOVSX | BPF_H jited:1 ret 2 != 1 (0x2 != 0x1)FAIL (1 times)
test_bpf: #85 ALU64_MOVSX | BPF_W jited:1 ret 2 != 1 (0x2 != 0x1)FAIL (1 times)

...

test_bpf: #164 ALU_SDIV_X: -6 / 2 = -3 jited:1 ret 2147483645 != -3 (0x7ffffffd != 0xfffffffd)FAIL (1 times)
test_bpf: #165 ALU_SDIV_K: -6 / 2 = -3 jited:1 ret 2147483645 != -3 (0x7ffffffd != 0xfffffffd)FAIL (1 times)
test_bpf: #168 ALU_SMOD_X: -7 % 2 = -1 jited:1 ret 1 != -1 (0x1 != 0xffffffff)FAIL (1 times)
test_bpf: #169 ALU_SMOD_K: -7 % 2 = -1 jited:1 ret 1 != -1 (0x1 != 0xffffffff)FAIL (1 times)
test_bpf: #170 ALU64_SMOD_X: -7 % 2 = -1 jited:1 ret 1 != -1 (0x1 != 0xffffffff)FAIL (1 times)
test_bpf: #171 ALU64_SMOD_K: -7 % 2 = -1 jited:1 ret 1 != -1 (0x1 != 0xffffffff)FAIL (1 times)

...

test_bpf: #312 BSWAP 16: 0x0123456789abcdef -> 0xefcd
eBPF filter opcode 00d7 (@2) unsupported
FAIL to select_runtime err=-524
test_bpf: #313 BSWAP 32: 0x0123456789abcdef -> 0xefcdab89
eBPF filter opcode 00d7 (@2) unsupported
FAIL to select_runtime err=-524
test_bpf: #314 BSWAP 64: 0x0123456789abcdef -> 0x67452301
eBPF filter opcode 00d7 (@2) unsupported
FAIL to select_runtime err=-524
test_bpf: #315 BSWAP 64: 0x0123456789abcdef >> 32 -> 0xefcdab89
eBPF filter opcode 00d7 (@2) unsupported
FAIL to select_runtime err=-524
test_bpf: #316 BSWAP 16: 0xfedcba9876543210 -> 0x1032
eBPF filter opcode 00d7 (@2) unsupported
FAIL to select_runtime err=-524
test_bpf: #317 BSWAP 32: 0xfedcba9876543210 -> 0x10325476
eBPF filter opcode 00d7 (@2) unsupported
FAIL to select_runtime err=-524
test_bpf: #318 BSWAP 64: 0xfedcba9876543210 -> 0x98badcfe
eBPF filter opcode 00d7 (@2) unsupported
FAIL to select_runtime err=-524
test_bpf: #319 BSWAP 64: 0xfedcba9876543210 >> 32 -> 0x10325476
eBPF filter opcode 00d7 (@2) unsupported
FAIL to select_runtime err=-524

...

test_bpf: #343 BPF_LDX_MEMSX | BPF_B
eBPF filter opcode 0091 (@5) unsupported
FAIL to select_runtime err=-524
test_bpf: #344 BPF_LDX_MEMSX | BPF_H
eBPF filter opcode 0089 (@5) unsupported
FAIL to select_runtime err=-524
test_bpf: #345 BPF_LDX_MEMSX | BPF_W
FAIL to select_runtime err=-524

...

test_bpf: #489 JMP32_JA: Unconditional jump: if (true) return 1
FAIL to select_runtime err=-524

...

test_bpf: Summary: 1026 PASSED, 23 FAILED, [1025/1025 JIT'ed]

Observed on metal ppc64el instances for noble:linux in s2024.06.10. The issue is present since we started testing noble in SRU cycle 2024.04.29 at least.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.