Verified on a KVM node / bare-metal with disco selftests: net: run_netsocktests ======================================== -------------------- running socket test -------------------- [PASS] ok 1..7 selftests: net: run_netsocktests [PASS]
It's not failing so the exit 1 was not triggered. But if you tweak the source code to make the socket program return a non-zero failure, this can be verified. selftests: net: run_netsocktests ======================================== -------------------- running socket test -------------------- [FAIL] not ok 1..7 selftests: net: run_netsocktests [FAIL] Therefore marking this as verified on Disco. ** Tags removed: verification-needed-disco ** Tags added: verification-done-disco -- 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/1825777 Title: False positive test result in run_netsocktests from net in ubuntu_kernel_selftest Status in linux package in Ubuntu: In Progress Status in linux source package in Xenial: Fix Released Status in linux source package in Bionic: Fix Released Status in linux source package in Cosmic: Fix Released Status in linux source package in Disco: Fix Released Bug description: == SRU Justification == The run_netsocktests from net in ubuntu_kernel_selftest will be marked as passed regardless the actual test result from the ./socket: selftests: net: run_netsocktests ======================================== -------------------- running socket test -------------------- [FAIL] ok 1..6 selftests: net: run_netsocktests [PASS] This is because the test script itself has been successfully executed, and make it return 0. == Fix == 30c04d79 (selftests/net: correct the return value for run_netsocktests) This can be cherry-picked into all of our kernels. == Test == Patch tested and submitted to the upstream. == Regression Potential == Changes limit to the testing tool, and it's is expected to see failures from this test in the future. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1825777/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp