Insert test_bpf module will report 4 failures for ubuntu_bpf_jit on X s390x
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
linux (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Xenial |
Fix Released
|
Medium
|
Po-Hsu Lin | ||
Disco |
Fix Released
|
Medium
|
Unassigned |
Bug Description
== SRU Justification ==
In the ubuntu_bpf_jit test, it will insert the test_bpf module to perform the test. There will be 4 failures reported on s390x instances by the test, 3 of them were simply because they cannot be jited on s390x:
* test_bpf: #243 BPF_MAXINSNS: Ctx heavy transformations FAIL to prog_create err=-524 len=4096
* test_bpf: #244 BPF_MAXINSNS: Call heavy transformations FAIL to prog_create err=-524 len=4096
* test_bpf: #249 BPF_MAXINSNS: ld_abs+
(For another failure "ld_abs+
== Fix ==
* 3203c901 (test_bpf: flag tests that cannot be jited on s390)
Only Xenial needs this patch, and it needs to be backported to Xenial
as some test case does not exist.
== Test ==
Test kernel could be found here:
https:/
The test will be marked as pass with the patched kernel:
test_bpf: #243 BPF_MAXINSNS: Ctx heavy transformations PASS
test_bpf: #244 BPF_MAXINSNS: Call heavy transformations PASS
test_bpf: #249 BPF_MAXINSNS: ld_abs+
== Regression Potential ==
Low, change limited to the test_bpf module itself and specific to s390x, no impact to real functions.
== Original Bug Report ==
After the test_bpf insert issue for Xenial was fixed in bug 1765698
But it looks like the s390x needs some extra work.
$ sudo modprobe test_bpf
modprobe: ERROR: could not insert 'test_bpf': Invalid argument
4 tests failed here:
test_bpf: #243 BPF_MAXINSNS: Ctx heavy transformations FAIL to prog_create err=-524 len=4096
test_bpf: #244 BPF_MAXINSNS: Call heavy transformations FAIL to prog_create err=-524 len=4096
test_bpf: #249 BPF_MAXINSNS: ld_abs+
test_bpf: #250 BPF_MAXINSNS: ld_abs+
Complete test result:
https:/
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-
ProcVersionSign
Uname: Linux 4.4.0-123-generic s390x
NonfreeKernelMo
AlsaDevices: Error: command ['ls', '-l', '/dev/snd/'] failed with exit code 2: ls: cannot access '/dev/snd/': No such file or directory
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.20.1-0ubuntu2.16
Architecture: s390x
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
Date: Wed May 2 03:45:22 2018
HibernationDevice: RESUME=
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
Lsusb: Error: command ['lsusb'] failed with exit code 1:
PciMultimedia:
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB: Error: [Errno 2] No such file or directory: '/proc/fb'
ProcKernelCmdLine: root=UUID=
RelatedPackageV
linux-
linux-
linux-firmware 1.157.17
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
CVE References
Changed in linux (Ubuntu Xenial): | |
status: | New → Triaged |
Changed in linux (Ubuntu): | |
status: | Confirmed → Triaged |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Xenial): | |
importance: | Undecided → Medium |
tags: | added: kernel-da-key |
summary: |
- Unable to insert test_bpf module on Xenial s390x + Unable to insert test_bpf module for ubuntu_bpf_jit on Xenial s390x |
summary: |
- Unable to insert test_bpf module for ubuntu_bpf_jit on Xenial s390x + Unable to insert test_bpf module for ubuntu_bpf_jit s390x |
tags: | added: cscc |
Changed in ubuntu-kernel-tests: | |
status: | Confirmed → Triaged |
tags: | added: sru-20200106 |
tags: | added: sru-20200217 |
Changed in linux (Ubuntu Xenial): | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
Changed in ubuntu-kernel-tests: | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
description: | updated |
tags: | added: sru-20200316 |
Changed in linux (Ubuntu Xenial): | |
status: | Confirmed → In Progress |
Changed in ubuntu-kernel-tests: | |
status: | Triaged → In Progress |
Changed in linux (Ubuntu): | |
status: | Confirmed → Fix Released |
description: | updated |
description: | updated |
description: | updated |
Changed in linux (Ubuntu Xenial): | |
status: | In Progress → Fix Committed |
Changed in ubuntu-kernel-tests: | |
status: | In Progress → Fix Released |
This change was made by a bot.