** Description changed:

+ [Impact]
+ The IPv6: mtu exception plus redirect test in icmp_redirect.sh test from 
kselftest/net is expected to fail due to an unfixed 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]
+ 
+ [Fix]
+ * 0a36a75c681880 selftests: icmp_redirect: support expected failures
+ 
+ This fix can be cherry-picked into all affected series.
+ 
+ [Test]
+ Run the patched icmp_redirect.sh test manually in 
tools/testing/selftests/net, this sub-test will be marked as XFAIL, 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 real 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@rizzo:~/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net$
  sudo ./icmp_redirect.sh
  
  ###########################################################################
  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-5.6.0-1011-oem 5.6.0-1011.11
  ProcVersionSignature: User Name 5.6.0-1011.11-oem 5.6.14
  Uname: Linux 5.6.0-1011-oem x86_64
  ApportVersion: 2.20.11-0ubuntu27
  Architecture: amd64
  CasperMD5CheckResult: skip
  Date: Tue May 26 05:26:50 2020
  ProcEnviron:
-  TERM=xterm-256color
-  PATH=(custom, no user)
-  XDG_RUNTIME_DIR=<set>
-  LANG=C.UTF-8
-  SHELL=/bin/bash
+  TERM=xterm-256color
+  PATH=(custom, no user)
+  XDG_RUNTIME_DIR=<set>
+  LANG=C.UTF-8
+  SHELL=/bin/bash
  SourcePackage: linux-signed-oem-5.6
  UpgradeStatus: No upgrade log present (probably fresh install)

** Description changed:

  [Impact]
  The IPv6: mtu exception plus redirect test in icmp_redirect.sh test from 
kselftest/net is expected to fail due to an unfixed 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]
+ 
+ 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.
  
  [Test]
  Run the patched icmp_redirect.sh test manually in 
tools/testing/selftests/net, this sub-test will be marked as XFAIL, 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 real 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@rizzo:~/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net$
  sudo ./icmp_redirect.sh
  
  ###########################################################################
  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-5.6.0-1011-oem 5.6.0-1011.11
  ProcVersionSignature: User Name 5.6.0-1011.11-oem 5.6.14
  Uname: Linux 5.6.0-1011-oem x86_64
  ApportVersion: 2.20.11-0ubuntu27
  Architecture: amd64
  CasperMD5CheckResult: skip
  Date: Tue May 26 05:26:50 2020
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=C.UTF-8
   SHELL=/bin/bash
  SourcePackage: linux-signed-oem-5.6
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1880645

Title:
  icmp_redirect.sh in net from ubuntu_kernel_selftests failed on
  F-OEM-5.6 / G / H

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to