I think this might be a real regression in NM.

Netplan is testing something like this (which worked nicely in the past):
    mybond:
      parameters:
        mode: 802.3ad
        ad-select: bandwidth

Therefore, /sys/class/net/mybond/bonding/ad_select should actually
contain "bandwidth 1", not the default "stable 0" value.

Might be related to this?
https://github.com/NetworkManager/NetworkManager/commit/e064eb9d1361f5f17a092097807c452add8040bc

Same for learn-interval:
    mybond:
      parameters:
        mode: balance-tlb
        mii-monitor-interval: 5
        learn-packet-interval: 15

=> /sys/class/net/mybond/bonding/lp_interval should actually be "15"

** Changed in: netplan.io (Ubuntu)
       Status: Confirmed => Triaged

** Changed in: network-manager (Ubuntu)
   Importance: Undecided => High

** Changed in: netplan.io (Ubuntu)
   Importance: High => Undecided

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1987001

Title:
  netplan.io autopkgtest failures with NetworkManager 1.39.90

Status in netplan.io package in Ubuntu:
  Triaged
Status in network-manager package in Ubuntu:
  New

Bug description:
  netplan.io's autopkgtests are failing with NetworkManager 1.40 RC1
  (1.39.90).

  https://autopkgtest.ubuntu.com/packages/n/netplan.io/kinetic/amd64

  
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/nm-1-40/NEWS

  log excerpt:

  ======================================================================
  FAIL: test_bond_mode_8023ad_adselect (__main__.TestNetworkManager)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/tmp/autopkgtest.iNCkRv/build.oDI/src/tests/integration/bonds.py", 
line 147, in test_bond_mode_8023ad_adselect
      self.assertEqual(f.read().strip(), 'bandwidth 1')
  AssertionError: 'stable 0' != 'bandwidth 1'
  - stable 0
  + bandwidth 1

  
  ======================================================================
  FAIL: test_bond_mode_balance_tlb_learn_interval (__main__.TestNetworkManager)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/tmp/autopkgtest.iNCkRv/build.oDI/src/tests/integration/bonds.py", 
line 670, in test_bond_mode_balance_tlb_learn_interval
      self.assertEqual(f.read().strip(), '15')
  AssertionError: '1' != '15'
  - 1
  + 15
  ?  +

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/1987001/+subscriptions


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

Reply via email to