mem-on-off-test from memory-hotplug fails with 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. Possible flakey test.
This same test is reported as failing, though with different output on [LP#1897764](https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/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] 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: write error: Invalid argument 03/26 11:09:41 ERROR| utils:0153| [stderr] online_memory_expect_fail 13: unexpected success 03/26 11:09:41 ERROR| utils:0153| [stderr] online_memory_expect_fail 164: unexpected success 03/26 11:09:41 ERROR| utils:0153| [stderr] online_memory_expect_fail 185: unexpected success 03/26 11:09:41 ERROR| utils:0153| [stderr] online_memory_expect_fail 202: unexpected success 03/26 11:09:41 ERROR| utils:0153| [stderr] online_memory_expect_fail 24: unexpected success 03/26 11:09:41 ERROR| utils:0153| [stderr] online_memory_expect_fail 267: unexpected success 03/26 11:09:41 ERROR| utils:0153| [stderr] online_memory_expect_fail 321: unexpected success 03/26 11:09:42 ERROR| utils:0153| [stderr] online_memory_expect_fail 395: unexpected success 03/26 11:09:42 ERROR| utils:0153| [stderr] online_memory_expect_fail 403: unexpected success 03/26 11:09:42 ERROR| utils:0153| [stderr] online_memory_expect_fail 410: unexpected success 03/26 11:09:42 ERROR| utils:0153| [stderr] online_memory_expect_fail 457: unexpected success 03/26 11:09:42 ERROR| utils:0153| [stderr] online_memory_expect_fail 464: unexpected success 03/26 11:09:42 ERROR| utils:0153| [stderr] online_memory_expect_fail 50: unexpected success 03/26 11:09:42 ERROR| utils:0153| [stderr] online_memory_expect_fail 577: unexpected success 03/26 11:09:42 ERROR| utils:0153| [stderr] online_memory_expect_fail 594: unexpected success 03/26 11:09:42 ERROR| utils:0153| [stderr] online_memory_expect_fail 596: unexpected success 03/26 11:09:46 ERROR| utils:0153| [stderr] ./mem-on-off-test.sh: line 279: echo: write error: Invalid argument 03/26 11:09:50 ERROR| utils:0153| [stderr] offline_memory_expect_fail 10: unexpected success 03/26 11:09:50 ERROR| utils:0153| [stderr] offline_memory_expect_fail 100: unexpected success 03/26 11:09:50 ERROR| utils:0153| [stderr] offline_memory_expect_fail 101: unexpected success 03/26 11:09:50 ERROR| utils:0153| [stderr] offline_memory_expect_fail 102: unexpected success 03/26 11:09:50 ERROR| utils:0153| [stderr] offline_memory_expect_fail 103: unexpected success 03/26 11:09:50 ERROR| utils:0153| [stderr] offline_memory_expect_fail 104: unexpected success 03/26 11:09:50 ERROR| utils:0153| [stderr] offline_memory_expect_fail 105: unexpected success 03/26 11:09:50 ERROR| utils:0153| [stderr] offline_memory_expect_fail 106: unexpected success 03/26 11:09:50 ERROR| utils:0153| [stderr] offline_memory_expect_fail 107: unexpected success 03/26 11:09:50 ERROR| utils:0153| [stderr] offline_memory_expect_fail 108: unexpected success 03/26 11:09:50 ERROR| utils:0153| [stderr] offline_memory_expect_fail 109: unexpected success
mem-on-off-test from memory-hotplug fails with 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. Possible flakey test.
This same test is reported as failing, though with different output on [LP#1897764](https:/ /bugs.launchpad .net/ubuntu- kernel- tests/+ bug/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'' testing/ selftests TARGETS= memory- hotplug run_tests' ubuntu/ autotest/ client/ tmp/ubuntu_ kernel_ selftests/ src/linux/ tools/testing/ selftests' ubuntu/ autotest/ client/ tmp/ubuntu_ kernel_ selftests/ src/linux/ tools/testing/ selftests/ memory- hotplug' ubuntu/ autotest/ client/ tmp/ubuntu_ kernel_ selftests/ src/linux/ tools/testing/ selftests/ memory- hotplug' ubuntu/ autotest/ client/ tmp/ubuntu_ kernel_ selftests/ src/linux/ tools/testing/ selftests/ memory- hotplug' off-test. sh -r 2 && echo "selftests: memory-hotplug [PASS]" || echo "selftests: memory-hotplug [FAIL]" off-test. sh: line 263: echo: write error: Invalid argument memory_ expect_ fail 13: unexpected success memory_ expect_ fail 164: unexpected success memory_ expect_ fail 185: unexpected success memory_ expect_ fail 202: unexpected success memory_ expect_ fail 24: unexpected success memory_ expect_ fail 267: unexpected success memory_ expect_ fail 321: unexpected success memory_ expect_ fail 395: unexpected success memory_ expect_ fail 403: unexpected success memory_ expect_ fail 410: unexpected success memory_ expect_ fail 457: unexpected success memory_ expect_ fail 464: unexpected success memory_ expect_ fail 50: unexpected success memory_ expect_ fail 577: unexpected success memory_ expect_ fail 594: unexpected success memory_ expect_ fail 596: unexpected success off-test. sh: line 279: echo: write error: Invalid argument memory_ expect_ fail 10: unexpected success memory_ expect_ fail 100: unexpected success memory_ expect_ fail 101: unexpected success memory_ expect_ fail 102: unexpected success memory_ expect_ fail 103: unexpected success memory_ expect_ fail 104: unexpected success memory_ expect_ fail 105: unexpected success memory_ expect_ fail 106: unexpected success memory_ expect_ fail 107: unexpected success memory_ expect_ fail 108: unexpected success memory_ expect_ fail 109: unexpected success
03/26 11:09:12 DEBUG| utils:0116| Running 'sudo make -C linux/tools/
03/26 11:09:12 DEBUG| utils:0153| [stdout] make: Entering directory '/home/
03/26 11:09:12 DEBUG| utils:0153| [stdout] make[1]: Entering directory '/home/
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/
03/26 11:09:12 DEBUG| utils:0153| [stdout] make[1]: Entering directory '/home/
03/26 11:09:12 DEBUG| utils:0153| [stdout] ./mem-on-
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-
03/26 11:09:41 ERROR| utils:0153| [stderr] online_
03/26 11:09:41 ERROR| utils:0153| [stderr] online_
03/26 11:09:41 ERROR| utils:0153| [stderr] online_
03/26 11:09:41 ERROR| utils:0153| [stderr] online_
03/26 11:09:41 ERROR| utils:0153| [stderr] online_
03/26 11:09:41 ERROR| utils:0153| [stderr] online_
03/26 11:09:41 ERROR| utils:0153| [stderr] online_
03/26 11:09:42 ERROR| utils:0153| [stderr] online_
03/26 11:09:42 ERROR| utils:0153| [stderr] online_
03/26 11:09:42 ERROR| utils:0153| [stderr] online_
03/26 11:09:42 ERROR| utils:0153| [stderr] online_
03/26 11:09:42 ERROR| utils:0153| [stderr] online_
03/26 11:09:42 ERROR| utils:0153| [stderr] online_
03/26 11:09:42 ERROR| utils:0153| [stderr] online_
03/26 11:09:42 ERROR| utils:0153| [stderr] online_
03/26 11:09:42 ERROR| utils:0153| [stderr] online_
03/26 11:09:46 ERROR| utils:0153| [stderr] ./mem-on-
03/26 11:09:50 ERROR| utils:0153| [stderr] offline_
03/26 11:09:50 ERROR| utils:0153| [stderr] offline_
03/26 11:09:50 ERROR| utils:0153| [stderr] offline_
03/26 11:09:50 ERROR| utils:0153| [stderr] offline_
03/26 11:09:50 ERROR| utils:0153| [stderr] offline_
03/26 11:09:50 ERROR| utils:0153| [stderr] offline_
03/26 11:09:50 ERROR| utils:0153| [stderr] offline_
03/26 11:09:50 ERROR| utils:0153| [stderr] offline_
03/26 11:09:50 ERROR| utils:0153| [stderr] offline_
03/26 11:09:50 ERROR| utils:0153| [stderr] offline_
03/26 11:09:50 ERROR| utils:0153| [stderr] offline_