[SRU][J/N/Q][PATCH 0/3] ubuntu_kselftests_net/rtnetlink.sh fails on multiple kernels
Alessio Faina
alessio.faina at canonical.com
Fri Dec 12 11:14:50 UTC 2025
https://bugs.launchpad.net/bugs/1893921
https://bugs.launchpad.net/bugs/2012859
https://bugs.launchpad.net/bugs/2031531
https://bugs.launchpad.net/bugs/2039280
https://bugs.launchpad.net/bugs/2096976
[ Impact ]
The rtnetlink.sh script from the kernel selftests are failing when running
on a Big Endian machine.
For Noble, another issue was happening (LP #2031531) where the
"address proto IPv[4/6]" tests were failing.
[ Fix ]
* Jammy, Noble, Questing *
The selected path to fix this issue is to modify the order of each key element
in a way where the final parsing receives the keys inverted, thus
correctly passing the test.
* Noble only *
A couple of upstream upstream patches were applied
* cherry-picked 8ee60f9c41fb01440e8a8f97127869c9b1978362 from upstream
* cherry-picked f77064586026df2acbab0631df237d4147350983 from upstream
* cherry-picked 621bc5f2bd7efb4c8b9080fd5e9a97510e51bd75 from upstream
[ Test plan ]
For Jammy, Noble and Questing the patched script has been run on a s390
cloudprov instance, amd64 instance and a local amd64 lxd instance.
The selected kernels installed
The script was run directly on a machine as following:
------------------------------------------------------------------------
root at ubuntu-noble:~/selftests/net# ./rtnetlink.sh
PASS: policy routing
PASS: route get
PASS: preferred_lft addresses have expired
PASS: promote_secondaries complete
PASS: tc htb hierarchy
PASS: gre tunnel endpoint
PASS: gretap
PASS: ip6gretap
PASS: erspan
PASS: ip6erspan
PASS: bridge setup
PASS: ipv6 addrlabel
PASS: set ifalias ff631fdc-064a-42ab-8c53-dcb7d89e98ac for test-dummy0
PASS: vrf
PASS: vxlan
PASS: fou
PASS: macsec
PASS: ipsec
PASS: ipsec_offload
PASS: bridge fdb get
PASS: neigh get
------------------------------------------------------------------------
As shown in the previous block, no issues where observed.
[ Regression potential ]
No regression are expected as the patch effects only a testing script.
[ Notes ]
If accepted, I'm planning to push the SAUCE patch upstream as well, as
the mainline kernel doesn't have the fix for Big Endian machines.
--
2.43.0
More information about the kernel-team
mailing list