net:fib_rule_tests.sh in ubuntu_kselftests_net fails on Noble

Bug #2066332 reported by Masahiro Yamada
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
In Progress
Critical
Masahiro Yamada
linux (Ubuntu)
Status tracked in Oracular
Noble
Fix Committed
Medium
Masahiro Yamada
Oracular
In Progress
Medium
Masahiro Yamada

Bug Description

In our SRU cycles, all Noble kernels fail in the aforementioned kselftests:

      11238 20:50:51 DEBUG| [stdout] # Cannot open network namespace "testns": No such file or directory

This error is caused by the local fix added in 2019:
"UBUNTU: SAUCE: selftests: net: fix "from" match test in fib_rule_tests.sh"

It was no longer necessary because a similar fix was applied in upstream:
d1abf388604f ("selftests: fib_rule_tests: enable forwarding before ipv4 from/iif test")

However, such a Ubuntu-local commit is often blindly carried over to future releases because nobody re-evaluates whether it is still needed or not.

Now, it is causing a real issue on Noble kselftests.

  $ linux/tools/testing/selftests/net$ sudo ./fib_rule_tests.sh
  Cannot open network namespace "testns": No such file or directory

The reason for the failure is obvious; there is no such a namespace since the upstream commit 6c0ee7b4d69d ("selftests/net: convert fib_rule_tests.sh to run it in unique namespace").

Reverting the outdated commit fixes this failure.

Changed in ubuntu-kernel-tests:
importance: Undecided → Critical
Revision history for this message
Masahiro Yamada (myamada) wrote :
tags: added: patch
Po-Hsu Lin (cypressyew)
Changed in ubuntu-kernel-tests:
status: New → In Progress
Changed in linux (Ubuntu Oracular):
status: New → In Progress
Changed in linux (Ubuntu Noble):
status: New → In Progress
Changed in ubuntu-kernel-tests:
assignee: nobody → Masahiro Yamada (myamada)
Changed in linux (Ubuntu Noble):
assignee: nobody → Masahiro Yamada (myamada)
Changed in linux (Ubuntu Oracular):
assignee: nobody → Masahiro Yamada (myamada)
Stefan Bader (smb)
Changed in linux (Ubuntu Oracular):
importance: Undecided → Medium
Changed in linux (Ubuntu Noble):
importance: Undecided → Medium
status: In Progress → Fix Committed
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux/6.8.0-38.38 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-noble-linux' to 'verification-done-noble-linux'. If the problem still exists, change the tag 'verification-needed-noble-linux' to 'verification-failed-noble-linux'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-noble-linux-v2 verification-needed-noble-linux
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.