False positive test result in run_netsocktests from net in ubuntu_kernel_selftest
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
Xenial |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
Bionic |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
Cosmic |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
Disco |
Fix Released
|
Undecided
|
Po-Hsu Lin |
Bug Description
== SRU Justification ==
The run_netsocktests from net in ubuntu_
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.
Changed in linux (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
description: | updated |
tags: | added: bionic cosmic disco xenial |
description: | updated |
description: | updated |
tags: | added: eoan |
Changed in linux (Ubuntu Xenial): | |
status: | New → Fix Committed |
Changed in linux (Ubuntu Bionic): | |
status: | New → Fix Committed |
Changed in linux (Ubuntu Cosmic): | |
status: | New → Fix Committed |
Changed in linux (Ubuntu Disco): | |
status: | New → Fix Committed |
Changed in linux (Ubuntu Disco): | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
Changed in linux (Ubuntu Bionic): | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
Changed in linux (Ubuntu Xenial): | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
no longer affects: | linux (Ubuntu Eoan) |
Changed in linux (Ubuntu Cosmic): | |
assignee: | nobody → Po-Hsu Lin (cypressyew) |
https:/ /github. com/torvalds/ linux/commit/ 30c04d796b693e2 2405c38e9b78e9a 364e4c77e6