cpu_hotplug test failed because there is only 1 CPU
Bug #1812149 reported by
Po-Hsu Lin
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
New
|
Undecided
|
Unassigned |
Bug Description
On a KVM node, this test in the ubuntu_
selftests: cpu-on-off-test.sh
======
pid 479's current affinity mask: 1
pid 479's new affinity mask: 1
CPU online/offline summary:
skip all tests:: since there is only one cpu: 0
not ok 1..1 selftests: cpu-on-off-test.sh [FAIL]
Maybe we should not mark this as failed if it's skipped.
tags: | added: aws t2.small |
tags: | added: ubuntu-kernel-selftest |
tags: |
added: ubuntu-kernel-selftests removed: ubuntu-kernel-selftest |
To post a comment you must log in.
The script will return 4 if the test was skipped.
ksft_skip=4
if [[ "$online_cpus" = "$online_max" ]]; then
echo "$msg: since there is only one cpu: $online_cpus"
exit $ksft_skip
fi