net:fcnal-test.sh 'nettest' command not found on F/K
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Fix Released
|
Undecided
|
Luke Nowakowski-Krijger | ||
linux (Ubuntu) |
Fix Released
|
Undecided
|
Luke Nowakowski-Krijger | ||
Focal |
Fix Released
|
Medium
|
Unassigned | ||
Kinetic |
Fix Released
|
Medium
|
Unassigned |
Bug Description
On Focal and Kinetic the fcnal-test.sh does not run because it reports that 'nettest' command not found; skipping tests
This is due to the nettest binary not being found in the path and skipping the tests, but it is built and exists in the net directory where the tests are run.
There are also other tests in selftests/net that are skipped due to the binary being missing.
There is a patch upstream "selftests/net: Find nettest in current directory" (bd5e1e42826f18
-------
[Impact]
fcnal-test.sh in selftests/net gets skipped with 'nettest' command not found
because its looking for the nettest binary in the path and not in the
current directory where the binary is built and run from.
There are also other tests in net that are skipped due to this binary
not being found.
[Fix]
Add the current directory to the path and check again.
This patch exists in Jammy through a stable update but hasn't made it to
the other upstream-stable trees yet, but might as well get the patch in
our other trees to enable this test to run.
[Backport]
For focal patch skip the pmtu.sh file as nettest is not run there and is
not checked. Also minor context adjustments on return variable.
[Potential regression]
None. Just enabling the tests to run.
[Tests]
Verified tests are now not skipped and run.
description: | updated |
tags: | added: 5.19 5.4 focal kinetic sru-20230130 ubuntu-kernel-selftests |
description: | updated |
description: | updated |
Changed in linux (Ubuntu Focal): | |
status: | Incomplete → In Progress |
Changed in linux (Ubuntu Kinetic): | |
status: | Incomplete → In Progress |
Changed in linux (Ubuntu): | |
assignee: | nobody → Luke Nowakowski-Krijger (lukenow) |
description: | updated |
Changed in ubuntu-kernel-tests: | |
status: | New → In Progress |
assignee: | nobody → Luke Nowakowski-Krijger (lukenow) |
Changed in linux (Ubuntu Kinetic): | |
importance: | Undecided → Medium |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Focal): | |
importance: | Undecided → Medium |
status: | In Progress → Fix Committed |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 2006391
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.