ftrace test in ubuntu_kernel_selftests will timeout randomly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
linux (Ubuntu) |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
Bionic |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
Disco |
Won't Fix
|
Undecided
|
Po-Hsu Lin | ||
Eoan |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
Focal |
Fix Released
|
Undecided
|
Po-Hsu Lin |
Bug Description
== SRU Justification ==
A new timeout feature was added to kselftests in commit 852c8cbf
(selftests/
However the ftrace test will take much longer than 45 seconds to run,
thus you will see it failed with:
not ok 1 selftests: ftrace: ftracetest # TIMEOUT
== Fix ==
* 9fab89cc (tracing/selftests: Turn off timeout setting)
This patch will turn off the timeout setting for the ftrace test.
It can be cherry-picked into B/D/E/F, we don't run this test in X so it
can be skipped.
Note that we don't have 852c8cbf in B/D, but I think it's still OK to
fix them as the change is really small, and if they got that patch in
the future we don't need to look back on this.
== Test ==
Patch tested directly on KVM nodes. It works as expected.
== Regression Potential ==
Low, trivial change limited to testing tools.
== Original Bug Report ==
Issue found on Eoan
this test will timeout quite randomly before the test can complete:
1st attempt:
# [23] ftrace - function trace on module [PASS]
# [24] ftrace - function profiling#
not ok 1 selftests: ftrace: ftracetest # TIMEOUT
2nd attemp:
# [31] Kprobe dynamic event - adding and removing [PASS]
# [32] Kprobe dynamic event - busy event check#
not ok 1 selftests: ftrace: ftracetest # TIMEOUT
3rd attempt:
# [35] Kprobe event string type argument [PASS]
# [36] Kprobe event symbol argument#
not ok 1 selftests: ftrace: ftracetest # TIMEOUT
ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: linux-image-
ProcVersionSign
Uname: Linux 5.3.0-40-generic x86_64
AlsaDevices:
total 0
crw-rw---- 1 root audio 116, 1 Feb 21 09:05 seq
crw-rw---- 1 root audio 116, 33 Feb 21 09:05 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
ApportVersion: 2.20.11-0ubuntu8.2
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
Date: Fri Feb 21 09:09:06 2020
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
Lsusb: Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: QEMU Standard PC (i440FX + PIIX, 1996)
PciMultimedia:
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=C.UTF-8
SHELL=/bin/bash
ProcFB: 0 cirrusdrmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.183.4
RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/01/2014
dmi.bios.vendor: SeaBIOS
dmi.bios.version: 1.10.2-1ubuntu1
dmi.chassis.type: 1
dmi.chassis.vendor: QEMU
dmi.chassis.
dmi.modalias: dmi:bvnSeaBIOS:
dmi.product.name: Standard PC (i440FX + PIIX, 1996)
dmi.product.
dmi.sys.vendor: QEMU
CVE References
tags: | added: aws azure |
tags: | added: 5.3 |
tags: | added: kqa-blocker |
Changed in linux (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Eoan): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Disco): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Disco): | |
status: | Fix Committed → Won't Fix |
This change was made by a bot.