ubuntu_kernel_selftests.cpu-hotplug fails with Bionic on single processor systems
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
New
|
Undecided
|
Unassigned | ||
linux-aws (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Log from an ADT failure:
amd64: https:/
When the test system has only one available CPU, the cpu-on-off-test.sh script used to return success:
22:14:42 DEBUG| [stdout] selftests: cpu-on-off-test.sh
22:14:42 DEBUG| [stdout] =======
22:14:42 DEBUG| [stdout] pid 30673's current affinity mask: 1
22:14:42 DEBUG| [stdout] pid 30673's new affinity mask: 1
22:14:42 DEBUG| [stdout] CPU online/offline summary:
22:14:42 DEBUG| [stdout] skip all tests:: since there is only one cpu: 0
22:14:42 DEBUG| [stdout] ok 1..1 selftests: cpu-on-off-test.sh [PASS]
However, after the script from the source package started to be replaced to fix bug 1809439 (commit https:/
18:12:56 DEBUG| [stdout] selftests: cpu-on-off-test.sh
18:12:56 DEBUG| [stdout] =======
18:12:56 DEBUG| [stdout] pid 30620's current affinity mask: 1
18:12:56 DEBUG| [stdout] pid 30620's new affinity mask: 1
18:12:56 DEBUG| [stdout] CPU online/offline summary:
18:12:56 DEBUG| [stdout] skip all tests:: since there is only one cpu: 0
18:12:56 DEBUG| [stdout] not ok 1..1 selftests: cpu-on-off-test.sh [FAIL]
The failure is caused on Bionic by the fact that the new script returns ksft_skip=4 when the test cannot be performed, however this return code is not considered as SKIP on the older Kselftest framework, but as FAIL instead. For the same reason this also probably impacts older series as well.
tags: | added: kernel-adt-failure |
summary: |
- linux-aws 4.15.0-1033.35 ADT test failure with linux-aws 4.15.0-1033.35 + ubuntu_kernel_selftests.cpu-hotplug fails with Bionic on single + processor systems |
description: | updated |
Changed in linux-aws (Ubuntu): | |
status: | New → Invalid |