cpu_hotplug test failed due to Permission denied

Bug #1814232 reported by Po-Hsu Lin on 2019-02-01
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Po-Hsu Lin
linux-azure-edge (Ubuntu)

Bug Description

Node: Standard_D11_v2
Kernel: 4.18.0-1008.8~18.04.1

 TAP version 13
 selftests: cpu-hotplug: cpu-on-off-test.sh
 pid 9047's current affinity mask: 3
 pid 9047's new affinity mask: 1
 CPU online/offline summary:
 present_cpus = 0-1 present_max = 1
 Cpus in online state: 0-1
 Cpus in offline state: 2-127
 Limited scope test: one hotplug cpu
 (leaves cpu in the original state):
 online to offline to online: cpu 1
19. 01/30 19:57:02 ERROR| utils:0153| [stderr] ./cpu-on-off-test.sh: line 96: /sys/devices/system/cpu/cpu1/online: Permission denied
20. 01/30 19:57:02 ERROR| utils:0153| [stderr] offline_cpu_expect_success 1: unexpected fail
 not ok 1..1 selftests: cpu-hotplug: cpu-on-off-test.sh [FAIL]

Po-Hsu Lin (cypressyew) on 2019-02-01
affects: linux-azure (Ubuntu) → linux-azure-edge (Ubuntu)
summary: - cpu_hot_plug test failed due to Permission denied
+ cpu_hotplug test failed due to Permission denied
Po-Hsu Lin (cypressyew) wrote :

This will need to CONFIG_HOTPLUG_CPU=y, which was not set on Azure kernel.

Will try to fix this upstream.

Changed in ubuntu-kernel-tests:
assignee: nobody → Po-Hsu Lin (cypressyew)
status: New → In Progress
Po-Hsu Lin (cypressyew) wrote :

BTW, the CONFIG_HOTPLUG_CPU for azure was disabled in bug 1776293

Po-Hsu Lin (cypressyew) wrote :
Po-Hsu Lin (cypressyew) on 2019-09-16
tags: added: azure ubuntu-kernel-selftests
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers