** Description changed:

- Issue found on 5.6.0-1011.11-oem
+ [Impact]
+ The incorrect cleanup() in fib_nexthop_multiprefix.sh will cause failure
+ to this script even if the test itself has passed.
  
- It looks like the test has passed, however the return value is 1:
- 
ubuntu@rizzo:~/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net$
 sudo ./fib_nexthop_multiprefix.sh
+ $ sudo ./fib_nexthop_multiprefix.sh
  TEST: IPv4: host 0 to host 1, mtu 1300                              [ OK ]
  TEST: IPv6: host 0 to host 1, mtu 1300                              [ OK ]
  
  TEST: IPv4: host 0 to host 2, mtu 1350                              [ OK ]
  TEST: IPv6: host 0 to host 2, mtu 1350                              [ OK ]
  
  TEST: IPv4: host 0 to host 3, mtu 1400                              [ OK ]
  TEST: IPv6: host 0 to host 3, mtu 1400                              [ OK ]
  
  TEST: IPv4: host 0 to host 1, mtu 1300                              [ OK ]
  TEST: IPv6: host 0 to host 1, mtu 1300                              [ OK ]
  
  TEST: IPv4: host 0 to host 2, mtu 1350                              [ OK ]
  TEST: IPv6: host 0 to host 2, mtu 1350                              [ OK ]
  
  TEST: IPv4: host 0 to host 3, mtu 1400                              [ OK ]
  TEST: IPv6: host 0 to host 3, mtu 1400                              [ OK ]
- 
ubuntu@rizzo:~/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/net$
 echo $?
+ $ echo $?
  1
+ 
+ [Fix]
+ * 651149f6037675 ("selftests: fib_nexthop_multiprefix: fix cleanup() netns
+ deletion")
+ 
+ This has already been applied to all the other generic kernels via stable
+ update (bug 1891063)
+ 
+ [Test case]
+ Run this script and the return value will be 0
+ 
+ [Where problems could occur]
+ As it's just fixing the cleanup to make it match with setup(), it's
+ unlikely to see bad things to happen here.
  
  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 06:14:47 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)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1880648

Title:
  fib_nexthop_multiprefix.sh from net in ubuntu_kernel_selftests failed
  on F-OEM-5.6

Status in ubuntu-kernel-tests:
  In Progress
Status in linux-oem-5.6 package in Ubuntu:
  Invalid
Status in linux-oem-5.6 source package in Focal:
  In Progress

Bug description:
  [Impact]
  The incorrect cleanup() in fib_nexthop_multiprefix.sh will cause failure
  to this script even if the test itself has passed.

  $ sudo ./fib_nexthop_multiprefix.sh
  TEST: IPv4: host 0 to host 1, mtu 1300                              [ OK ]
  TEST: IPv6: host 0 to host 1, mtu 1300                              [ OK ]

  TEST: IPv4: host 0 to host 2, mtu 1350                              [ OK ]
  TEST: IPv6: host 0 to host 2, mtu 1350                              [ OK ]

  TEST: IPv4: host 0 to host 3, mtu 1400                              [ OK ]
  TEST: IPv6: host 0 to host 3, mtu 1400                              [ OK ]

  TEST: IPv4: host 0 to host 1, mtu 1300                              [ OK ]
  TEST: IPv6: host 0 to host 1, mtu 1300                              [ OK ]

  TEST: IPv4: host 0 to host 2, mtu 1350                              [ OK ]
  TEST: IPv6: host 0 to host 2, mtu 1350                              [ OK ]

  TEST: IPv4: host 0 to host 3, mtu 1400                              [ OK ]
  TEST: IPv6: host 0 to host 3, mtu 1400                              [ OK ]
  $ echo $?
  1

  [Fix]
  * 651149f6037675 ("selftests: fib_nexthop_multiprefix: fix cleanup() netns
  deletion")

  This has already been applied to all the other generic kernels via stable
  update (bug 1891063)

  [Test case]
  Run this script and the return value will be 0

  [Where problems could occur]
  As it's just fixing the cleanup to make it match with setup(), it's
  unlikely to see bad things to happen here.

  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 06:14:47 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)

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to