← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2025758] Re: cpuhotplug:cpuhotplug02 fails on lunar:linux-aws with cpuhotplug:cpuhotplug02

 

For Xenial openstack ARM64 instance, this test has failed since 4.4.0-259 (s2024.08.05).
Older kernels <= 4.4.0-258 (s2024.07.08) passed with:

 INFO: Test start time: Wed Aug  7 14:03:01 UTC 2024
 COMMAND:    /opt/ltp/bin/ltp-pan -q  -e -S   -a 13105     -n 13105  -f /tmp/ltp-CDegA0gnTg/alltests -l /dev/null  -C /dev/null -T /dev/null
 LOG File: /dev/null
 FAILED COMMAND File: /dev/null
 TCONF COMMAND File: /dev/null
 Running tests.......
 Name:   cpuhotplug02
 Date:   Wed Aug  7 14:03:01 UTC 2024
 Desc:   What happens to a process when its CPU is offlined?
 
 CPU is 1
 cpuhotplug02 1 TPASS: turned off CPU 1, process migrated to     CPU   0
 INFO: ltp-pan reported all tests PASS
 LTP Version: 20230929-609-g3fc2d1b
 INFO: Test end time: Wed Aug  7 14:03:13 UTC 2024


So I have it tested manually with -250 and -258, but now none of them are working with the cpuhotplug02 test.
The failure occurs when trying to put cpu1 back online (something like `echo 1 | sudo tee /sys/devices/system/cpu/cpu1`)
[   28.158920] LTP: starting cpuhotplug02 (cpuhotplug02.sh -c 1 -l 1)
[   33.201872] IRQ5 no longer affine to CPU1
[   33.201934] IRQ39 no longer affine to CPU1
[   33.201937] select_fallback_rq: 15 callbacks suppressed
[   33.201938] process 1584 (cpuhotplug_do_s) no longer affine to cpu1
[   33.201960] CPU1: shutdown
[   33.201967] psci: CPU1 killed (polled 0 ms)
[   33.257957] CPU features: CPU1: missing arm64_hwcaps : COMPAT_HWCAP2_SHA2
[   34.257771] CPU1: failed to come online

To reproduce this manually, just simply offline / online cpu1.

I am not sure why it's working with -258 and older kernels in our test history. 
(they're all tested with the same LTP version)

** Tags added: 4.4 arm64 sru-s20240805 sru-s20240902 xenial

-- 
You received this bug notification because you are a member of Canonical
Platform QA Team, which is subscribed to ubuntu-kernel-tests.
https://bugs.launchpad.net/bugs/2025758

Title:
  cpuhotplug:cpuhotplug02 fails on lunar:linux-aws with
  cpuhotplug:cpuhotplug02

Status in ubuntu-kernel-tests:
  New

Bug description:
  lunar:linux-aws-1007

  CPU is 1
  /opt/ltp/testcases/bin/cpuhotplug02.sh: 78: echo: echo: I/O error
  cpuhotplug02 1 TBROK: CPU1 cannot be onlined
  INFO: ltp-pan reported some tests FAIL

  
  It failed on c3.xlarge, c4.large, x1e.large.
  Other instances trigger an early bailout and same thing happened on previous versions:
  system doesn't have required CPU hotplug support because no_cpu < 2 and the test is not actually run.

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



References