** Description changed:

  [SRU Justification]
  
  Impact: This is a follow-up to the SRU done via bug #2106115. We need to
  backport that change to allow kernel with different fan map values to be
  handled by the same ip tool. Right now only one value is hard coded into
  the user-space tool. When doing the fix I thought it would be good to
  have an indication when things would fall back to the original default.
  Unfortunately printing to stdout was not a good idea.
  
  Fix: This update just moves the additional output from stdout to stderr.
  Which prevents breaking things which parse the stdout output.
  
  Testplan: Check whether netplan.io ADT testing is good with the updated
  iproute2.
+ 
+ Where problems could occur: All the changes from the initial SRU and the
+ follow-up adjust the use of the vxlan link type for ubuntu-fan. This is
+ where potential problems would be visible. Any other usage is
+ unaffected.
  
  ---
  
  netplan.io is showing new autopkgtest failures in Questing, when testing
  against the following packages. Which seems to be related to changed
  output text of those packages.
  
  - iproute2/6.14.0-1ubuntu2
  and
  - ethtool/1:6.14.1-1
  
  Specifically:
  942s ======================================================================
  942s FAIL: test_link_offloading 
(__main__.TestNetworkManager.test_link_offloading)
  942s ----------------------------------------------------------------------
  942s Traceback (most recent call last):
  942s   File 
"/tmp/autopkgtest.urTG2T/build.w51/src/tests/integration/ethernets.py", line 
331, in test_link_offloading
  942s     self.assertIn(b'tcp-segmentation-offload: off', out)
  942s     ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  942s AssertionError: b'tcp-segmentation-offload: off' not found in b'Features 
for eth42:\nrx-checksumming: off\ntx-checksumming: off\n\ttx-checksum-ipv4: off 
[fixed]\n\ttx-checksum-ip-generic: off\n\ttx-checksum-ipv6: off 
[fixed]\n\ttx-checksum-fcoe-crc: off [fixed]\n\ttx-checksum-sctp: 
off\nscatter-gather: on\n\ttx-scatter-gather: on\n\ttx-scatter-gather-fraglist: 
on\ntcp-segmentation-offload: on\n\ttx-tcp-segmentation: 
off\n\ttx-tcp-ecn-segmentation: off [requested 
on]\n\ttx-tcp-mangleid-segmentation: off [requested 
on]\n\ttx-tcp6-segmentation: off\n\ttx-tcp-accecn-segmentation: 
on\ngeneric-segmentation-offload: off\ngeneric-receive-offload: 
off\nlarge-receive-offload: off [fixed]\nrx-vlan-offload: on\ntx-vlan-offload: 
on\nntuple-filters: off [fixed]\nreceive-hashing: off [fixed]\nhighdma: 
on\nrx-vlan-filter: off [fixed]\nvlan-challenged: off [fixed]\ntx-gso-robust: 
off [fixed]\ntx-fcoe-segmentation: off [fixed]\ntx-gre-segmentation: 
on\ntx-gre-csum-segmentation: on\ntx-ipxip4-segmentation: 
on\ntx-ipxip6-segmentation: on\ntx-udp_tnl-segmentation: 
on\ntx-udp_tnl-csum-segmentation: on\ntx-gso-partial: off 
[fixed]\ntx-tunnel-remcsum-segmentation: off [fixed]\ntx-sctp-segmentation: 
on\ntx-esp-segmentation: off [fixed]\ntx-udp-segmentation: off [requested 
on]\ntx-gso-list: on\ntx-nocache-copy: off\nloopback: off [fixed]\nrx-fcs: off 
[fixed]\nrx-all: off [fixed]\ntx-vlan-stag-hw-insert: 
on\nrx-vlan-stag-hw-parse: on\nrx-vlan-stag-filter: off 
[fixed]\nl2-fwd-offload: off [fixed]\nhw-tc-offload: off 
[fixed]\nesp-hw-offload: off [fixed]\nesp-tx-csum-hw-offload: off 
[fixed]\nrx-udp_tunnel-port-offload: off [fixed]\ntls-hw-tx-offload: off 
[fixed]\ntls-hw-rx-offload: off [fixed]\nrx-gro-hw: off [fixed]\ntls-hw-record: 
off [fixed]\nrx-gro-list: off\nmacsec-hw-offload: off 
[fixed]\nrx-udp-gro-forwarding: off\nhsr-tag-ins-offload: off 
[fixed]\nhsr-tag-rm-offload: off [fixed]\nhsr-fwd-offload: off 
[fixed]\nhsr-dup-offload: off [fixed]\n'
  942s
  942s ======================================================================
  942s FAIL: test_link_offloading (__main__.TestNetworkd.test_link_offloading)
  942s ----------------------------------------------------------------------
  942s Traceback (most recent call last):
  942s   File 
"/tmp/autopkgtest.urTG2T/build.w51/src/tests/integration/ethernets.py", line 
331, in test_link_offloading
  942s     self.assertIn(b'tcp-segmentation-offload: off', out)
  942s     ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  942s AssertionError: b'tcp-segmentation-offload: off' not found in b'Features 
for eth42:\nrx-checksumming: off\ntx-checksumming: off\n\ttx-checksum-ipv4: off 
[fixed]\n\ttx-checksum-ip-generic: off\n\ttx-checksum-ipv6: off 
[fixed]\n\ttx-checksum-fcoe-crc: off [fixed]\n\ttx-checksum-sctp: 
off\nscatter-gather: on\n\ttx-scatter-gather: on\n\ttx-scatter-gather-fraglist: 
on\ntcp-segmentation-offload: on\n\ttx-tcp-segmentation: 
off\n\ttx-tcp-ecn-segmentation: off [requested 
on]\n\ttx-tcp-mangleid-segmentation: off [requested 
on]\n\ttx-tcp6-segmentation: off\n\ttx-tcp-accecn-segmentation: 
on\ngeneric-segmentation-offload: off\ngeneric-receive-offload: 
off\nlarge-receive-offload: off [fixed]\nrx-vlan-offload: on\ntx-vlan-offload: 
on\nntuple-filters: off [fixed]\nreceive-hashing: off [fixed]\nhighdma: 
on\nrx-vlan-filter: off [fixed]\nvlan-challenged: off [fixed]\ntx-gso-robust: 
off [fixed]\ntx-fcoe-segmentation: off [fixed]\ntx-gre-segmentation: 
on\ntx-gre-csum-segmentation: on\ntx-ipxip4-segmentation: 
on\ntx-ipxip6-segmentation: on\ntx-udp_tnl-segmentation: 
on\ntx-udp_tnl-csum-segmentation: on\ntx-gso-partial: off 
[fixed]\ntx-tunnel-remcsum-segmentation: off [fixed]\ntx-sctp-segmentation: 
on\ntx-esp-segmentation: off [fixed]\ntx-udp-segmentation: off [requested 
on]\ntx-gso-list: on\ntx-nocache-copy: off\nloopback: off [fixed]\nrx-fcs: off 
[fixed]\nrx-all: off [fixed]\ntx-vlan-stag-hw-insert: 
on\nrx-vlan-stag-hw-parse: on\nrx-vlan-stag-filter: off 
[fixed]\nl2-fwd-offload: off [fixed]\nhw-tc-offload: off 
[fixed]\nesp-hw-offload: off [fixed]\nesp-tx-csum-hw-offload: off 
[fixed]\nrx-udp_tunnel-port-offload: off [fixed]\ntls-hw-tx-offload: off 
[fixed]\ntls-hw-rx-offload: off [fixed]\nrx-gro-hw: off [fixed]\ntls-hw-record: 
off [fixed]\nrx-gro-list: off\nmacsec-hw-offload: off 
[fixed]\nrx-udp-gro-forwarding: off\nhsr-tag-ins-offload: off 
[fixed]\nhsr-tag-rm-offload: off [fixed]\nhsr-fwd-offload: off 
[fixed]\nhsr-dup-offload: off [fixed]\n'
  
  And
  
  3191s ======================================================================
  3191s FAIL: test_tunnel_vxlan (__main__.TestNetworkManager.test_tunnel_vxlan)
  3191s ----------------------------------------------------------------------
  3191s Traceback (most recent call last):
  3191s   File 
"/tmp/autopkgtest.u7PNnf/build.Hzu/src/tests/integration/tunnels.py", line 274, 
in test_tunnel_vxlan
  3191s     self.assert_iface('vx0', ['vxlan ', ' id 1337 ', ' group 224.0.0.5 
',
  3191s     
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  3191s                               ' local 10.10.10.42 ', ' srcport 4000 
4200 ',
  3191s                               
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  3191s                               ' dev %s ' % self.dev_e_client,
  3191s                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  3191s                               ' dstport 4567 ', ' rsc ', ' l2miss ',
  3191s                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  3191s                               ' l3miss ', ' ttl 64 ', ' ageing 100 '])
  3191s                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  3191s   File 
"/tmp/autopkgtest.u7PNnf/build.Hzu/src/tests/integration/base.py", line 335, in 
assert_iface
  3191s     self.assertRegex(out, r, out)
  3191s     ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  3191s AssertionError: Regex didn't match: ' local 10.10.10.42 ' not found in 
'60: vx0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue state 
UNKNOWN group default qlen 1000\n    link/ether 3a:1c:6a:fc:72:ba brd 
ff:ff:ff:ff:ff:ff promiscuity 0 allmulti 0 minmtu 68 maxmtu 65535 \n    vxlan 
id 1337 group 224.0.0.5 info: Using default fan map value (34)\nlocal 
10.10.10.42 dev eth42 srcport 4000 4200 dstport 4567 ttl 64 ageing 100 
nolearning rsc l2miss l3miss numtxqueues 1 numrxqueues 1 gso_max_size 65536 
gso_max_segs 65535 tso_max_size 524280 tso_max_segs 65535 gro_max_size 65536 
gso_ipv4_max_size 65536 gro_ipv4_max_size 65536 \n    inet6 
fe80::381c:6aff:fefc:72ba/64 scope link proto kernel_ll \n       valid_lft 
forever preferred_lft forever\n' : 60: vx0: <BROADCAST,MULTICAST,UP,LOWER_UP> 
mtu 1450 qdisc noqueue state UNKNOWN group default qlen 1000
  3191s     link/ether 3a:1c:6a:fc:72:ba brd ff:ff:ff:ff:ff:ff promiscuity 0 
allmulti 0 minmtu 68 maxmtu 65535
  3191s     vxlan id 1337 group 224.0.0.5 info: Using default fan map value (34)
  3191s local 10.10.10.42 dev eth42 srcport 4000 4200 dstport 4567 ttl 64 
ageing 100 nolearning rsc l2miss l3miss numtxqueues 1 numrxqueues 1 
gso_max_size 65536 gso_max_segs 65535 tso_max_size 524280 tso_max_segs 65535 
gro_max_size 65536 gso_ipv4_max_size 65536 gro_ipv4_max_size 65536
  3191s     inet6 fe80::381c:6aff:fefc:72ba/64 scope link proto kernel_ll
  3191s        valid_lft forever preferred_lft forever
  3191s
  3191s
  3191s ======================================================================
  3191s FAIL: test_tunnel_vxlan (__main__.TestNetworkd.test_tunnel_vxlan)
  3191s ----------------------------------------------------------------------
  3191s Traceback (most recent call last):
  3191s   File 
"/tmp/autopkgtest.u7PNnf/build.Hzu/src/tests/integration/tunnels.py", line 274, 
in test_tunnel_vxlan
  3191s     self.assert_iface('vx0', ['vxlan ', ' id 1337 ', ' group 224.0.0.5 
',
  3191s     
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  3191s                               ' local 10.10.10.42 ', ' srcport 4000 
4200 ',
  3191s                               
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  3191s                               ' dev %s ' % self.dev_e_client,
  3191s                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  3191s                               ' dstport 4567 ', ' rsc ', ' l2miss ',
  3191s                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  3191s                               ' l3miss ', ' ttl 64 ', ' ageing 100 '])
  3191s                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  3191s   File 
"/tmp/autopkgtest.u7PNnf/build.Hzu/src/tests/integration/base.py", line 335, in 
assert_iface
  3191s     self.assertRegex(out, r, out)
  3191s     ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  3191s AssertionError: Regex didn't match: ' local 10.10.10.42 ' not found in 
'137: vx0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue state 
UNKNOWN group default qlen 1000\n    link/ether da:c7:b2:42:52:5f brd 
ff:ff:ff:ff:ff:ff promiscuity 0 allmulti 0 minmtu 68 maxmtu 65535 \n    vxlan 
id 1337 group 224.0.0.5 info: Using default fan map value (34)\nlocal 
10.10.10.42 dev eth42 srcport 4000 4200 dstport 4567 ttl 64 ageing 100 
nolearning rsc l2miss l3miss udp_zero_csum6_tx udp_zero_csum6_rx remcsum_tx 
remcsum_rx numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535 
tso_max_size 524280 tso_max_segs 65535 gro_max_size 65536 gso_ipv4_max_size 
65536 gro_ipv4_max_size 65536 \n    inet6 fe80::d8c7:b2ff:fe42:525f/64 scope 
link proto kernel_ll \n       valid_lft forever preferred_lft forever\n' : 137: 
vx0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue state UNKNOWN 
group default qlen 1000
  3191s     link/ether da:c7:b2:42:52:5f brd ff:ff:ff:ff:ff:ff promiscuity 0 
allmulti 0 minmtu 68 maxmtu 65535
  3191s     vxlan id 1337 group 224.0.0.5 info: Using default fan map value (34)
  3191s local 10.10.10.42 dev eth42 srcport 4000 4200 dstport 4567 ttl 64 
ageing 100 nolearning rsc l2miss l3miss udp_zero_csum6_tx udp_zero_csum6_rx 
remcsum_tx remcsum_rx numtxqueues 1 numrxqueues 1 gso_max_size 65536 
gso_max_segs 65535 tso_max_size 524280 tso_max_segs 65535 gro_max_size 65536 
gso_ipv4_max_size 65536 gro_ipv4_max_size 65536
  3191s     inet6 fe80::d8c7:b2ff:fe42:525f/64 scope link proto kernel_ll
  3191s        valid_lft forever preferred_lft forever

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

Title:
  autopkgtest failures against iproute2/6.14.0-1ubuntu2 (FAN) and
  ethtool/1:6.14.1-1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ethtool/+bug/2115790/+subscriptions


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

Reply via email to