Public bug reported:

Test cpu-hotplug from ubuntu_kernel_selftests failed with bionic:linux-
azure-4.15 running on a Basic A2 with 2 cores (besides other instance
types):

selftests: cpu-on-off-test.sh
========================================
pid 28041's current affinity mask: 3
pid 28041'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: 0
Limited scope test: one hotplug cpu
(leaves cpu in the original state):
online to offline to online: cpu 1
not ok 1..1 selftests: cpu-on-off-test.sh [FAIL]
./cpu-on-off-test.sh: line 94: echo: write error: Device or resource busy
offline_cpu_expect_success 1: unexpected fail

http://10.246.72.46/4.15.0-1112.124~16.04.1-azure/xenial-linux-azure-
azure-
amd64-4.15.0-Basic_A2-ubuntu_kernel_selftests/ubuntu_kernel_selftests/results/ubuntu_kernel_selftests
.cpu-hotplug/debug/ubuntu_kernel_selftests.cpu-hotplug.DEBUG.html

The problem happens at "autotest-client-tests/ubuntu_kernel_selftests
/cpu-on-off-test.sh" when executing:

        echo 0 > $SYSFS/devices/system/cpu/cpu$1/online

** Affects: ubuntu-kernel-tests
     Importance: Undecided
         Status: New

** Affects: linux-azure (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: linux-azure-4.15 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: linux-azure (Ubuntu Trusty)
     Importance: Undecided
         Status: New

** Affects: linux-azure-4.15 (Ubuntu Trusty)
     Importance: Undecided
         Status: New

** Affects: linux-azure (Ubuntu Xenial)
     Importance: Undecided
         Status: New

** Affects: linux-azure-4.15 (Ubuntu Xenial)
     Importance: Undecided
         Status: New

** Affects: linux-azure (Ubuntu Bionic)
     Importance: Undecided
         Status: New

** Affects: linux-azure-4.15 (Ubuntu Bionic)
     Importance: Undecided
         Status: New


** Tags: 4.15 amd64 azure bionic kqa-blocker sru-20210315 trusty 
ubuntu-kernel-selftests xenial

** Also affects: linux-azure-4.15 (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: linux-azure-4.15 (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: linux-azure-4.15 (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: linux-azure-4.15 (Ubuntu Trusty)
   Importance: Undecided
       Status: New

** Also affects: linux-azure (Ubuntu)
   Importance: Undecided
       Status: New

** Tags added: 4.15 amd64 azure bionic kqa-blocker sru-20210315 trusty
ubuntu-kernel-selftests xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1923114

Title:
  ubuntu_kernel_selftests: ./cpu-on-off-test.sh: line 94: echo: write
  error: Device or resource busy

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1923114/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to