rtnetlink.sh from selftests/net is still failing on the 5.4 kernels in
Bionic, however the issues covered by this bug report are now fixed.

08:26:14 DEBUG| [stdout] # selftests: net: rtnetlink.sh
08:26:14 DEBUG| [stdout] # PASS: policy routing
08:26:14 DEBUG| [stdout] # PASS: route get
08:26:20 DEBUG| [stdout] # PASS: preferred_lft addresses have expired
08:26:21 DEBUG| [stdout] # PASS: promote_secondaries complete
08:26:21 DEBUG| [stdout] # PASS: tc htb hierarchy
08:26:21 DEBUG| [stdout] # PASS: gre tunnel endpoint
08:26:21 DEBUG| [stdout] # PASS: gretap
08:26:21 DEBUG| [stdout] # SKIP: ip6gretap: external mode: iproute2 too old
08:26:21 DEBUG| [stdout] # PASS: ip6gretap
08:26:22 DEBUG| [stdout] # PASS: erspan
08:26:22 DEBUG| [stdout] # SKIP: ip6erspan: external mode: iproute2 too old
08:26:22 DEBUG| [stdout] # PASS: ip6erspan
08:26:22 DEBUG| [stdout] # PASS: bridge setup
08:26:25 DEBUG| [stdout] # PASS: ipv6 addrlabel
08:26:25 DEBUG| [stdout] # PASS: set ifalias 
bb405219-54ca-4a70-a0c0-586320bfa917 for test-dummy0
08:26:25 DEBUG| [stdout] # PASS: vrf
08:26:25 DEBUG| [stdout] # FAIL: vxlan
08:26:25 DEBUG| [stdout] # PASS: fou
08:26:25 DEBUG| [stdout] # PASS: macsec
08:26:25 DEBUG| [stdout] # PASS: ipsec
08:28:27 DEBUG| [stdout] # PASS: ipsec_offload
08:28:27 DEBUG| [stdout] # SKIP: fdb get tests: iproute2 too old
08:28:27 DEBUG| [stdout] # SKIP: fdb get tests: iproute2 too old
08:28:27 DEBUG| [stdout] not ok 11 selftests: net: rtnetlink.sh # exit=1

** Tags removed: verification-needed-focal
** Tags added: verification-done-focal

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

Title:
  ip6gretap / erspan / ip6erspan in rtnetlink.sh from net of
  ubuntu_kernel_selftests failed on B-5.4-aws / B-5.4-gke / B-5.4-oracle
  / B-5.4-azure / B-5.4

Status in ubuntu-kernel-tests:
  In Progress
Status in linux package in Ubuntu:
  Invalid
Status in linux source package in Focal:
  Fix Committed

Bug description:
  [ Impact ]
  When running the net/rtnetlink.sh selftest from v5.4 on older Ubuntu releases 
(e.g. Bionic 18.04), some of the iproute2 CLI options are not available causing 
the testcase to fail.

  [ Fix ]
  SAUCE patch to detect whether some options not present on older iproute2 
versions are available, skipping or adapting the tests.

  [ Test ]
  Run net/rtnetlink.sh on 5.4 kernels with both Focal and Bionic userspace. The 
test should complete without introducing regressions on Focal and without 
breaking on Bionic.

  [ Where problems could occur ]
  If the checks for the available interfaces are not done correctly, we could 
end up having a smaller coverage on Focal or the tests would still break in 
Bionic.

  [ Original bug description ]
  Issue found on 5.4.0-1025.25~18.04.1, this issue was not spotted before 
fixing the false-negative return value of this rtnetlink.sh test (bug 1890136)

   # Usage: ... { ip6gre | ip6gretap | ip6erspan} [ remote ADDR ]
   # [ local ADDR ]
   # [ [i|o]seq ]
   # [ [i|o]key KEY ]
   # [ [i|o]csum ]
   # [ hoplimit TTL ]
   # [ encaplimit ELIM ]
   # [ tclass TCLASS ]
   # [ flowlabel FLOWLABEL ]
   # [ dscp inherit ]
   # [ fwmark MARK ]
   # [ dev PHYS_DEV ]
   # [ noencap ]
   # [ encap { fou | gue | none } ]
   # [ encap-sport PORT ]
   # [ encap-dport PORT ]
   # [ [no]encap-csum ]
   # [ [no]encap-csum6 ]
   # [ [no]encap-remcsum ]
   # [ erspan IDX ]
   #
   # Where: ADDR := IPV6_ADDRESS
   # TTL := { 0..255 } (default=64)
   # KEY := { DOTTED_QUAD | NUMBER }
   # ELIM := { none | 0..255 }(default=4)
   # TCLASS := { 0x0..0xff | inherit }
   # FLOWLABEL := { 0x0..0xfffff | inherit }
   # MARK := { 0x0..0xffffffff | inherit }
   # Cannot find device "ip6gretap00"
   # FAIL: ip6gretap

   # Usage: ... { gre | gretap | erspan } [ remote ADDR ]
   # [ local ADDR ]
   # [ [i|o]seq ]
   # [ [i|o]key KEY ]
   # [ [i|o]csum ]
   # [ ttl TTL ]
   # [ tos TOS ]
   # [ [no]pmtudisc ]
   # [ [no]ignore-df ]
   # [ dev PHYS_DEV ]
   # [ noencap ]
   # [ encap { fou | gue | none } ]
   # [ encap-sport PORT ]
   # [ encap-dport PORT ]
   # [ [no]encap-csum ]
   # [ [no]encap-csum6 ]
   # [ [no]encap-remcsum ]
   # [ external ]
   # [ fwmark MARK ]
   # [ erspan IDX ]
   #
   # Where: ADDR := { IP_ADDRESS | any }
   # TOS := { NUMBER | inherit }
   # TTL := { 1..255 | inherit }
   # KEY := { DOTTED_QUAD | NUMBER }
   # MARK := { 0x0..0xffffffff }
   # Cannot find device "erspan00"
   # Cannot find device "erspan00"
   # Cannot find device "erspan00"
   # Usage: ... { gre | gretap | erspan } [ remote ADDR ]
   # [ local ADDR ]
   # [ [i|o]seq ]
   # [ [i|o]key KEY ]
   # [ [i|o]csum ]
   # [ ttl TTL ]
   # [ tos TOS ]
   # [ [no]pmtudisc ]
   # [ [no]ignore-df ]
   # [ dev PHYS_DEV ]
   # [ noencap ]
   # [ encap { fou | gue | none } ]
   # [ encap-sport PORT ]
   # [ encap-dport PORT ]
   # [ [no]encap-csum ]
   # [ [no]encap-csum6 ]
   # [ [no]encap-remcsum ]
   # [ external ]
   # [ fwmark MARK ]
   # [ erspan IDX ]
   #
   # Where: ADDR := { IP_ADDRESS | any }
   # TOS := { NUMBER | inherit }
   # TTL := { 1..255 | inherit }
   # KEY := { DOTTED_QUAD | NUMBER }
   # MARK := { 0x0..0xffffffff }
   # Cannot find device "erspan00"
   # Cannot find device "erspan00"
   # Cannot find device "erspan00"
   # FAIL: erspan
   # Usage: ... { ip6gre | ip6gretap | ip6erspan} [ remote ADDR ]
   # [ local ADDR ]
   # [ [i|o]seq ]
   # [ [i|o]key KEY ]
   # [ [i|o]csum ]
   # [ hoplimit TTL ]
   # [ encaplimit ELIM ]
   # [ tclass TCLASS ]
   # [ flowlabel FLOWLABEL ]
   # [ dscp inherit ]
   # [ fwmark MARK ]
   # [ dev PHYS_DEV ]
   # [ noencap ]
   # [ encap { fou | gue | none } ]
   # [ encap-sport PORT ]
   # [ encap-dport PORT ]
   # [ [no]encap-csum ]
   # [ [no]encap-csum6 ]
   # [ [no]encap-remcsum ]
   # [ erspan IDX ]
   #
   # Where: ADDR := IPV6_ADDRESS
   # TTL := { 0..255 } (default=64)
   # KEY := { DOTTED_QUAD | NUMBER }
   # ELIM := { none | 0..255 }(default=4)
   # TCLASS := { 0x0..0xff | inherit }
   # FLOWLABEL := { 0x0..0xfffff | inherit }
   # MARK := { 0x0..0xffffffff | inherit }
   # Cannot find device "ip6erspan00"
   # Cannot find device "ip6erspan00"
   # Cannot find device "ip6erspan00"
   # Usage: ... { ip6gre | ip6gretap | ip6erspan} [ remote ADDR ]
   # [ local ADDR ]
   # [ [i|o]seq ]
   # [ [i|o]key KEY ]
   # [ [i|o]csum ]
   # [ hoplimit TTL ]
   # [ encaplimit ELIM ]
   # [ tclass TCLASS ]
   # [ flowlabel FLOWLABEL ]
   # [ dscp inherit ]
   # [ fwmark MARK ]
   # [ dev PHYS_DEV ]
   # [ noencap ]
   # [ encap { fou | gue | none } ]
   # [ encap-sport PORT ]
   # [ encap-dport PORT ]
   # [ [no]encap-csum ]
   # [ [no]encap-csum6 ]
   # [ [no]encap-remcsum ]
   # [ erspan IDX ]
   #
   # Where: ADDR := IPV6_ADDRESS
   # TTL := { 0..255 } (default=64)
   # KEY := { DOTTED_QUAD | NUMBER }
   # ELIM := { none | 0..255 }(default=4)
   # TCLASS := { 0x0..0xff | inherit }
   # FLOWLABEL := { 0x0..0xfffff | inherit }
   # MARK := { 0x0..0xffffffff | inherit }
   # Cannot find device "ip6erspan00"
   # Cannot find device "ip6erspan00"
   # Cannot find device "ip6erspan00"
   # Usage: ... { ip6gre | ip6gretap | ip6erspan} [ remote ADDR ]
   # [ local ADDR ]
   # [ [i|o]seq ]
   # [ [i|o]key KEY ]
   # [ [i|o]csum ]
   # [ hoplimit TTL ]
   # [ encaplimit ELIM ]
   # [ tclass TCLASS ]
   # [ flowlabel FLOWLABEL ]
   # [ dscp inherit ]
   # [ fwmark MARK ]
   # [ dev PHYS_DEV ]
   # [ noencap ]
   # [ encap { fou | gue | none } ]
   # [ encap-sport PORT ]
   # [ encap-dport PORT ]
   # [ [no]encap-csum ]
   # [ [no]encap-csum6 ]
   # [ [no]encap-remcsum ]
   # [ erspan IDX ]
   #
   # Where: ADDR := IPV6_ADDRESS
   # TTL := { 0..255 } (default=64)
   # KEY := { DOTTED_QUAD | NUMBER }
   # ELIM := { none | 0..255 }(default=4)
   # TCLASS := { 0x0..0xff | inherit }
   # FLOWLABEL := { 0x0..0xfffff | inherit }
   # MARK := { 0x0..0xffffffff | inherit }
   # Cannot find device "ip6erspan00"
   # FAIL: ip6erspan

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1896448/+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