← Back to team overview

canonical-ubuntu-qa team mailing list archive

[Bug 2066332] Re: net:fib_rule_tests.sh in ubuntu_kselftests_net fails on Noble

 

** Tags added: patch

-- 
You received this bug notification because you are a member of Canonical
Platform QA Team, which is subscribed to ubuntu-kernel-tests.
https://bugs.launchpad.net/bugs/2066332

Title:
  net:fib_rule_tests.sh in ubuntu_kselftests_net fails on Noble

Status in ubuntu-kernel-tests:
  New
Status in linux package in Ubuntu:
  New
Status in linux source package in Noble:
  New
Status in linux source package in Oracular:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/2066332/+subscriptions



References