** Description changed:
- 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)
+ [ 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
+ # 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
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1896448/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs