ld_abs+vlan_push/pop from test_bpf in ubuntu_bpf_jit will fail on X s390x

Bug #1868243 reported by Po-Hsu Lin
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned
linux (Ubuntu)
Invalid
Undecided
Unassigned
Xenial
Confirmed
Undecided
Unassigned

Bug Description

Issue separated from bug 1768452
The ubuntu_bpf_jit will report the following failure on Xenial s390x:
  * test_bpf: #250 BPF_MAXINSNS: ld_abs+vlan_push/pop FAIL to select_runtime err=-524

This test has been moved to the test_verifier test in bpf of kselftests:
https://github.com/torvalds/linux/commit/93731ef086cee90af594e62874bb98ae6d6eee91

"Remove all eBPF tests involving LD_ABS/LD_IND from test_bpf.ko. Reason
is that the eBPF tests from test_bpf module do not go via BPF verifier
and therefore any instruction rewrites from verifier cannot take place.

Therefore, move them into test_verifier which runs out of user space,
so that verfier can rewrite LD_ABS/LD_IND internally in upcoming patches.
It will have the same effect since runtime tests are also performed from
there. This also allows to finally unexport bpf_skb_vlan_{push,pop}_proto
and keep it internal to core kernel."

Po-Hsu Lin (cypressyew)
tags: added: 4.4 s390x sru-20200316 ubuntu-bpf-jit
tags: added: sru-20200106 sru-20200217
tags: added: xenial
Po-Hsu Lin (cypressyew)
description: updated
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1868243

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Changed in linux (Ubuntu Xenial):
status: New → Incomplete
Po-Hsu Lin (cypressyew)
tags: added: sru-20200427
Revision history for this message
Po-Hsu Lin (cypressyew) wrote : Re: ld_abs+vlan_push/pop from ubuntu_bpf_jit will fail on X s390x

This is also affecting the net test in ubuntu_kernel_selftests on s390x,
as it will try to insert that module for the test. (test_bpf.sh)

tags: added: sru-20200629 sru-20200720
tags: added: ubuntu-kernel-selftests
summary: - ld_abs+vlan_push/pop from ubuntu_bpf_jit will fail on X s390x
+ ld_abs+vlan_push/pop from test_bpf in ubuntu_bpf_jit will fail on X
+ s390x
Changed in linux (Ubuntu Xenial):
status: Incomplete → Confirmed
Changed in linux (Ubuntu):
status: Incomplete → Invalid
tags: added: sru-20210412
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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