icmp_redirect.sh in net from ubuntu_kernel_selftests failed on F-OEM-5.6 / F-OEM-5.10 / F-OEM-5.13 / F / G / H
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
Groovy |
Won't Fix
|
Undecided
|
Po-Hsu Lin | ||
Hirsute |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
linux-oem-5.10 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
Groovy |
Invalid
|
Undecided
|
Unassigned | ||
Hirsute |
Invalid
|
Undecided
|
Unassigned | ||
linux-oem-5.13 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Po-Hsu Lin | ||
Groovy |
Invalid
|
Undecided
|
Unassigned | ||
Hirsute |
Invalid
|
Undecided
|
Unassigned | ||
linux-oem-5.6 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Won't Fix
|
Undecided
|
Po-Hsu Lin | ||
Groovy |
Invalid
|
Undecided
|
Unassigned | ||
Hirsute |
Invalid
|
Undecided
|
Unassigned |
Bug Description
[Impact]
The IPv6: mtu exception plus redirect test in icmp_redirect.sh test
from kselftest/net is expected to fail due to a known bug in the
IPv6 logic.
When trying to run this test you will see this sub test fail with:
TEST: IPv6: mtu exception plus redirect [FAIL]
and thus causing non-zero return value for this script.
[Fix]
* 0a36a75c681880 selftests: icmp_redirect: support expected failures
This fix can be cherry-picked into all affected series. And it has
already landed on Unstable, test passed with Impish 5.13.
Although we have this script in Focal kernel as well, but it's not
being executed at all. This is another issue that will be dealt in
a different bug report.
[Test]
Run the patched icmp_redirect.sh test manually in
tools/testing/
and the return value of this script will be 0:
$ sudo ./icmp_redirect.sh
....
#######
Routing with nexthop objects and VRF
#######
TEST: IPv6: mtu exception plus redirect [XFAIL]
Tests passed: 36
Tests failed: 0
Tests xfailed: 4
$ echo $?
0
[Where problems could occur]
Change limited to testing tool, not affecting actual kernel
functionality. The only possible issue that I can think of is that
as this script is no longer complaining about this failure, people
might forgot there is such an issue exist in ipv6.
[Original Bug Report]
Issue found on Focal 5.6.0-1011.11-oem
ubuntu@
#######
Legacy routing
#######
TEST: IPv4: redirect exception [ OK ]
TEST: IPv6: redirect exception [ OK ]
TEST: IPv4: redirect exception plus mtu [ OK ]
TEST: IPv6: redirect exception plus mtu [ OK ]
TEST: IPv4: routing reset [ OK ]
TEST: IPv6: routing reset [ OK ]
TEST: IPv4: mtu exception [ OK ]
TEST: IPv6: mtu exception [ OK ]
TEST: IPv4: mtu exception plus redirect [ OK ]
TEST: IPv6: mtu exception plus redirect [FAIL]
#######
Legacy routing with VRF
#######
TEST: IPv4: redirect exception [ OK ]
TEST: IPv6: redirect exception [ OK ]
TEST: IPv4: redirect exception plus mtu [ OK ]
TEST: IPv6: redirect exception plus mtu [ OK ]
TEST: IPv4: routing reset [ OK ]
TEST: IPv6: routing reset [ OK ]
TEST: IPv4: mtu exception [ OK ]
TEST: IPv6: mtu exception [ OK ]
TEST: IPv4: mtu exception plus redirect [ OK ]
TEST: IPv6: mtu exception plus redirect [FAIL]
#######
Routing with nexthop objects
#######
TEST: IPv4: redirect exception [ OK ]
TEST: IPv6: redirect exception [ OK ]
TEST: IPv4: redirect exception plus mtu [ OK ]
TEST: IPv6: redirect exception plus mtu [ OK ]
TEST: IPv4: routing reset [ OK ]
TEST: IPv6: routing reset [ OK ]
TEST: IPv4: mtu exception [ OK ]
TEST: IPv6: mtu exception [ OK ]
TEST: IPv4: mtu exception plus redirect [ OK ]
TEST: IPv6: mtu exception plus redirect [FAIL]
#######
Routing with nexthop objects and VRF
#######
TEST: IPv4: redirect exception [ OK ]
TEST: IPv6: redirect exception [ OK ]
TEST: IPv4: redirect exception plus mtu [ OK ]
TEST: IPv6: redirect exception plus mtu [ OK ]
TEST: IPv4: routing reset [ OK ]
TEST: IPv6: routing reset [ OK ]
TEST: IPv4: mtu exception [ OK ]
TEST: IPv6: mtu exception [ OK ]
TEST: IPv4: mtu exception plus redirect [ OK ]
TEST: IPv6: mtu exception plus redirect [FAIL]
Tests passed: 36
Tests failed: 4
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-
ProcVersionSign
Uname: Linux 5.6.0-1011-oem x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckR
Date: Tue May 26 05:26:50 2020
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=C.UTF-8
SHELL=/bin/bash
SourcePackage: linux-signed-
UpgradeStatus: No upgrade log present (probably fresh install)
CVE References
tags: | added: kqa-blocker |
tags: | added: sru-20200629 |
Changed in linux (Ubuntu Groovy): | |
status: | New → Confirmed |
Changed in linux-signed-oem-5.6 (Ubuntu Groovy): | |
status: | New → Invalid |
Changed in linux (Ubuntu Focal): | |
status: | New → Invalid |
Changed in linux-signed-oem-5.6 (Ubuntu Focal): | |
status: | New → Confirmed |
tags: | added: oracle |
tags: | added: sru-20210315 |
tags: | added: hwe |
tags: | added: sru-20210412 |
tags: | added: oem-5.6 |
tags: | added: 5.11 sru-20210510 |
tags: | added: impish |
description: | updated |
description: | updated |
Changed in linux-oem-5.10 (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Groovy): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Hirsute): | |
status: | In Progress → Fix Committed |
Changed in linux-oem-5.13 (Ubuntu Focal): | |
status: | Fix Committed → Fix Released |
Changed in linux-oem-5.6 (Ubuntu Focal): | |
status: | In Progress → Won't Fix |
Changed in ubuntu-kernel-tests: | |
status: | In Progress → Fix Released |
This can be found in AWS 5.8.0-1010.10 as well.