[Kernel-packages] [Bug 1923113] Re: mem-on-off-test from memory-hotplug in ubuntu_kernel_selftests fails with blocked task on B/F/G/H

2022-09-09 Thread Cory Todd
Observed in 2022.08.29/focal/linux-fips/5.4.0-1061.69

** Tags added: sru-20220829

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1923113

Title:
  mem-on-off-test from memory-hotplug in ubuntu_kernel_selftests fails
  with blocked task on B/F/G/H

Status in ubuntu-kernel-tests:
  Triaged
Status in linux package in Ubuntu:
  Incomplete
Status in linux source package in Bionic:
  Incomplete

Bug description:
  mem-on-off-test from memory-hotplug fails with timeout and blocked
  task, although visible is also invalid argument/unexpected success on
  Bionic 4.15.0-141.145

  This is not a regression as it happened on 4.15.0-139.143 too, though
  passed all tests on 4.15.0-140.144.

  This same test is reported as failing, though with different output
  on: lp:1897764 and lp:1891003

  ---
  03/26 11:09:12 DEBUG| utils:0116| Running 'sudo sh -c 'echo 1 > 
/proc/sys/net/ipv4/conf/all/accept_local''
  03/26 11:09:12 DEBUG| utils:0116| Running 'sudo make -C 
linux/tools/testing/selftests TARGETS=memory-hotplug run_tests'
  03/26 11:09:12 DEBUG| utils:0153| [stdout] make: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests'
  03/26 11:09:12 DEBUG| utils:0153| [stdout] make[1]: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/memory-hotplug'
  03/26 11:09:12 DEBUG| utils:0153| [stdout] make[1]: Nothing to be done 
for 'all'.
  03/26 11:09:12 DEBUG| utils:0153| [stdout] make[1]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/memory-hotplug'
  03/26 11:09:12 DEBUG| utils:0153| [stdout] make[1]: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/memory-hotplug'
  03/26 11:09:12 DEBUG| utils:0153| [stdout] ./mem-on-off-test.sh -r 2 && 
echo "selftests: memory-hotplug [PASS]" || echo "selftests: memory-hotplug 
[FAIL]"
  03/26 11:09:12 DEBUG| utils:0153| [stdout] Test scope: 2% hotplug memory
  03/26 11:09:16 DEBUG| utils:0153| [stdout] online all 
hot-pluggable memory in offline state:
  03/26 11:09:16 DEBUG| utils:0153| [stdout] SKIPPED - no 
hot-pluggable memory in offline state
  03/26 11:09:20 DEBUG| utils:0153| [stdout] offline 2% 
hot-pluggable memory in online state
  03/26 11:09:20 DEBUG| utils:0153| [stdout] trying to offline 15 
out of 748 memory block(s):
  03/26 11:09:23 DEBUG| utils:0153| [stdout] online->offline memory10
  03/26 11:09:24 DEBUG| utils:0153| [stdout] online->offline memory100
  03/26 11:09:24 DEBUG| utils:0153| [stdout] online->offline memory101
  03/26 11:09:24 DEBUG| utils:0153| [stdout] online->offline memory102
  03/26 11:09:24 DEBUG| utils:0153| [stdout] online->offline memory103
  03/26 11:09:24 DEBUG| utils:0153| [stdout] online->offline memory104
  03/26 11:09:24 DEBUG| utils:0153| [stdout] online->offline memory105
  03/26 11:09:24 DEBUG| utils:0153| [stdout] online->offline memory106
  03/26 11:09:24 DEBUG| utils:0153| [stdout] online->offline memory107
  03/26 11:09:24 DEBUG| utils:0153| [stdout] online->offline memory108
  03/26 11:09:24 DEBUG| utils:0153| [stdout] online->offline memory109
  03/26 11:09:24 DEBUG| utils:0153| [stdout] online->offline memory11
  03/26 11:09:24 DEBUG| utils:0153| [stdout] online->offline memory110
  03/26 11:09:24 DEBUG| utils:0153| [stdout] online->offline memory111
  03/26 11:09:24 DEBUG| utils:0153| [stdout] online->offline memory112
  03/26 11:09:28 DEBUG| utils:0153| [stdout] online all 
hot-pluggable memory in offline state:
  03/26 11:09:32 DEBUG| utils:0153| [stdout] offline->online memory10
  03/26 11:09:32 DEBUG| utils:0153| [stdout] offline->online memory100
  03/26 11:09:32 DEBUG| utils:0153| [stdout] offline->online memory101
  03/26 11:09:32 DEBUG| utils:0153| [stdout] offline->online memory102
  03/26 11:09:32 DEBUG| utils:0153| [stdout] offline->online memory103
  03/26 11:09:32 DEBUG| utils:0153| [stdout] offline->online memory104
  03/26 11:09:32 DEBUG| utils:0153| [stdout] offline->online memory105
  03/26 11:09:32 DEBUG| utils:0153| [stdout] offline->online memory106
  03/26 11:09:32 DEBUG| utils:0153| [stdout] offline->online memory107
  03/26 11:09:32 DEBUG| utils:0153| [stdout] offline->online memory108
  03/26 11:09:32 DEBUG| utils:0153| [stdout] offline->online memory109
  03/26 11:09:32 DEBUG| utils:0153| [stdout] offline->online memory11
  03/26 11:09:33 DEBUG| utils:0153| [stdout] offline->online memory110
  03/26 11:09:33 DEBUG| utils:0153| [stdout] offline->online memory111
  03/26 11:09:33 DEBUG| utils:0153| [stdout] 

[Kernel-packages] [Bug 1923113] Re: mem-on-off-test from memory-hotplug in ubuntu_kernel_selftests fails with blocked task on B/F/G/H

2021-08-10 Thread Krzysztof Kozlowski
** Also affects: linux (Ubuntu)
   Importance: Undecided
   Status: New

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

** Description changed:

  mem-on-off-test from memory-hotplug fails with timeout and blocked task,
  although visible is also invalid argument/unexpected success on Bionic
  4.15.0-141.145
  
  This is not a regression as it happened on 4.15.0-139.143 too, though
  passed all tests on 4.15.0-140.144.
  
  This same test is reported as failing, though with different output on:
+ lp:1897764 and lp:1891003
  
- https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1897764
- https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1891003
- 
+ ---
  03/26 11:09:12 DEBUG| utils:0116| Running 'sudo sh -c 'echo 1 > 
/proc/sys/net/ipv4/conf/all/accept_local''
  03/26 11:09:12 DEBUG| utils:0116| Running 'sudo make -C 
linux/tools/testing/selftests TARGETS=memory-hotplug run_tests'
  03/26 11:09:12 DEBUG| utils:0153| [stdout] make: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests'
  03/26 11:09:12 DEBUG| utils:0153| [stdout] make[1]: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/memory-hotplug'
  03/26 11:09:12 DEBUG| utils:0153| [stdout] make[1]: Nothing to be done 
for 'all'.
  03/26 11:09:12 DEBUG| utils:0153| [stdout] make[1]: Leaving directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/memory-hotplug'
  03/26 11:09:12 DEBUG| utils:0153| [stdout] make[1]: Entering directory 
'/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/memory-hotplug'
  03/26 11:09:12 DEBUG| utils:0153| [stdout] ./mem-on-off-test.sh -r 2 && 
echo "selftests: memory-hotplug [PASS]" || echo "selftests: memory-hotplug 
[FAIL]"
  03/26 11:09:12 DEBUG| utils:0153| [stdout] Test scope: 2% hotplug memory
  03/26 11:09:16 DEBUG| utils:0153| [stdout] online all 
hot-pluggable memory in offline state:
  03/26 11:09:16 DEBUG| utils:0153| [stdout] SKIPPED - no 
hot-pluggable memory in offline state
  03/26 11:09:20 DEBUG| utils:0153| [stdout] offline 2% 
hot-pluggable memory in online state
  03/26 11:09:20 DEBUG| utils:0153| [stdout] trying to offline 15 
out of 748 memory block(s):
  03/26 11:09:23 DEBUG| utils:0153| [stdout] online->offline memory10
  03/26 11:09:24 DEBUG| utils:0153| [stdout] online->offline memory100
  03/26 11:09:24 DEBUG| utils:0153| [stdout] online->offline memory101
  03/26 11:09:24 DEBUG| utils:0153| [stdout] online->offline memory102
  03/26 11:09:24 DEBUG| utils:0153| [stdout] online->offline memory103
  03/26 11:09:24 DEBUG| utils:0153| [stdout] online->offline memory104
  03/26 11:09:24 DEBUG| utils:0153| [stdout] online->offline memory105
  03/26 11:09:24 DEBUG| utils:0153| [stdout] online->offline memory106
  03/26 11:09:24 DEBUG| utils:0153| [stdout] online->offline memory107
  03/26 11:09:24 DEBUG| utils:0153| [stdout] online->offline memory108
  03/26 11:09:24 DEBUG| utils:0153| [stdout] online->offline memory109
  03/26 11:09:24 DEBUG| utils:0153| [stdout] online->offline memory11
  03/26 11:09:24 DEBUG| utils:0153| [stdout] online->offline memory110
  03/26 11:09:24 DEBUG| utils:0153| [stdout] online->offline memory111
  03/26 11:09:24 DEBUG| utils:0153| [stdout] online->offline memory112
  03/26 11:09:28 DEBUG| utils:0153| [stdout] online all 
hot-pluggable memory in offline state:
  03/26 11:09:32 DEBUG| utils:0153| [stdout] offline->online memory10
  03/26 11:09:32 DEBUG| utils:0153| [stdout] offline->online memory100
  03/26 11:09:32 DEBUG| utils:0153| [stdout] offline->online memory101
  03/26 11:09:32 DEBUG| utils:0153| [stdout] offline->online memory102
  03/26 11:09:32 DEBUG| utils:0153| [stdout] offline->online memory103
  03/26 11:09:32 DEBUG| utils:0153| [stdout] offline->online memory104
  03/26 11:09:32 DEBUG| utils:0153| [stdout] offline->online memory105
  03/26 11:09:32 DEBUG| utils:0153| [stdout] offline->online memory106
  03/26 11:09:32 DEBUG| utils:0153| [stdout] offline->online memory107
  03/26 11:09:32 DEBUG| utils:0153| [stdout] offline->online memory108
  03/26 11:09:32 DEBUG| utils:0153| [stdout] offline->online memory109
  03/26 11:09:32 DEBUG| utils:0153| [stdout] offline->online memory11
  03/26 11:09:33 DEBUG| utils:0153| [stdout] offline->online memory110
  03/26 11:09:33 DEBUG| utils:0153| [stdout] offline->online memory111
  03/26 11:09:33 DEBUG| utils:0153| [stdout] offline->online memory112
  03/26 11:09:33 DEBUG| utils:0153| [stdout] Test with memory 
notifier error injection
  03/26 11:09:37 ERROR| utils:0153| [stderr] ./mem-on-off-test.sh: line 
263: echo: