cpu-hotplug test in ubuntu_kernel_selftest always return 0 on Xenial
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
linux (Ubuntu) |
Invalid
|
Undecided
|
Po-Hsu Lin | ||
Xenial |
Fix Released
|
Undecided
|
Po-Hsu Lin |
Bug Description
== SRU Justification ==
This cpu-hotplug test will always return PASSED even if there are some failures there:
$ sudo make -C linux/tools/
make: Entering directory '/home/
for TARGET in cpu-hotplug; do \
make -C $TARGET; \
done;
make[1]: Entering directory '/home/
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/
for TARGET in cpu-hotplug; do \
make -C $TARGET run_tests; \
done;
make[1]: Entering directory '/home/
pid 25001's current affinity mask: 3
pid 25001's new affinity mask: 1
CPU online/offline summary:
Cpus in online state: 0-1
Cpus in offline state: 2
Limited scope test: one hotplug cpu
(leaves cpu in the original state):
online to offline to online: cpu 1
offline to online to offline: cpu 2
./cpu-on-
online_
./cpu-on-
offline_
selftests: cpu-on-off-test.sh [PASS]
make[1]: Leaving directory '/home/
make: Leaving directory '/home/
== Fixes ==
8fe6e53a8ed5f0 (selftests/
For newer releases, they already have this patch.
For Trusty and older release, they will need more work to get this patch.
== Regression Potential ==
None, fix for testing tools.
For Trusty, it's missing another 20 commits to reach 8fe6e53:
4813d2e736 (tools: memory-hotplug fix unexpected operator error)
ddddda9bc4 (tools: selftests - create a separate hotplug target for full range test)
a88cc108f6 (lib: Export interval_tree)
93e9ef83f4 (test: add minimal module for verification testing)
3e2a4c183a (test: check copy_to/from_user boundary validation)
64a8946b44 (net: filter: BPF testsuite)
7069a97a14 (selftests/net: move test out of Makefile into a shell script)
3c25fa14f0 (selftests/user: move test out of Makefile into a shell script)
24fe831c17 (tools/
0a8adf5847 (test: add firmware_class loader test)
6e68e6c5e4 (ftracetest: Initial commit for ftracetest)
4f5ce5e8d7 (selftests: add memfd_create() + sealing tests)
c9b26b81af (syscalls: add selftest for execveat(2))
3ce51050fa (selftest: size: Add size test for Linux kernel) backport with context arrangement
87b2d44026 (selftests: add memfd/sealing page-pinning tests)
498b473af9 (tools: selftests: fix build issue with make kselftests target)
ce6a144a0d (selftests/memfd: Run test on all architectures)
5e29a9105b (selftests: Introduce minimal shared logic for running tests)
cc16782169 (selftests: change cpu on-off-test.sh name to be unique)
8c749ce93e (selftests: create test-specific kconfig fragments)
8fe6e53a8e (selftests/
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-
ProcVersionSign
Uname: Linux 4.4.0-141-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.18
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.
CurrentDmesg:
Date: Mon Dec 24 04:08:18 2018
HibernationDevice: RESUME=
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
Lspci:
Lsusb: Error: command ['lsusb'] failed with exit code 1:
PciMultimedia:
ProcFB: Error: [Errno 2] No such file or directory: '/proc/fb'
ProcKernelCmdLine: root=UUID=
RelatedPackageV
linux-
linux-
linux-firmware 1.157.21
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in linux (Ubuntu): | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
Changed in ubuntu-kernel-tests: | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
status: | New → In Progress |
Changed in linux (Ubuntu): | |
status: | Incomplete → In Progress |
description: | updated |
description: | updated |
summary: |
- cpu_hot_plug test in ubuntu_kernel_selftest always return 0 on Xenial + cpu-hotplug test in ubuntu_kernel_selftest always return 0 on Xenial |
Changed in linux (Ubuntu Xenial): | |
status: | New → In Progress |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
Changed in linux (Ubuntu): | |
status: | In Progress → Invalid |
Changed in linux (Ubuntu Xenial): | |
status: | In Progress → Fix Committed |
Changed in ubuntu-kernel-tests: | |
status: | In Progress → Fix Released |
tags: | added: cscc |
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 1809699
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.