[Pkg-utopia-maintainers] Bug#947712: autopkgtest regressions in python-dbusmock with newer network-manager 1.22.2-1

Michael Biebl biebl at debian.org
Sun Dec 29 12:35:35 GMT 2019


Package: network-manager, python-dbusmock
Version: 1.22.2-1
Severity: serious

The latest update of network-manager causes an autopkgtest regression in
python-dbusmock.

https://ci.debian.net/data/autopkgtest/testing/amd64/p/python-dbusmock/3793816/log.gz

======================================================================
FAIL: test_eth_and_wifi (__main__.TestNetworkManager)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_networkmanager.py", line 138, in test_eth_and_wifi
    self.assertRegex(out, r'eth0.*\sdisconnected')
AssertionError: Regex didn't match: 'eth0.*\\sdisconnected' not found in 'DEVICE  TYPE      STATE    CONNECTION \neth0    ethernet  unknown  --         \nwlan0   wifi      unknown  --         \n'

======================================================================
FAIL: test_one_eth_connected (__main__.TestNetworkManager)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_networkmanager.py", line 115, in test_one_eth_connected
    self.assertRegex(out, r'eth0.*\sconnected')
AssertionError: Regex didn't match: 'eth0.*\\sconnected' not found in 'DEVICE  TYPE      STATE    CONNECTION \neth0    ethernet  unknown  --         \n'

======================================================================
FAIL: test_one_eth_disconnected (__main__.TestNetworkManager)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_networkmanager.py", line 109, in test_one_eth_disconnected
    self.assertRegex(out, r'eth0.*\sdisconnected')
AssertionError: Regex didn't match: 'eth0.*\\sdisconnected' not found in 'DEVICE  TYPE      STATE    CONNECTION \neth0    ethernet  unknown  --         \n'

======================================================================
FAIL: test_one_wifi_with_accesspoints (__main__.TestNetworkManager)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_networkmanager.py", line 155, in test_one_wifi_with_accesspoints
    self.assertRegex(out, r'wlan0.*\sconnected')
AssertionError: Regex didn't match: 'wlan0.*\\sconnected' not found in 'DEVICE  TYPE  STATE    CONNECTION \nwlan0   wifi  unknown  --         \n'

======================================================================
FAIL: test_remove_connection (__main__.TestNetworkManager)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_networkmanager.py", line 349, in test_remove_connection
    self.assertRegex(self.read_device(), r'wlan0.*\sdisconnected')
AssertionError: Regex didn't match: 'wlan0.*\\sdisconnected' not found in 'DEVICE  TYPE  STATE    CONNECTION \nwlan0   wifi  unknown  --         \n'

======================================================================
FAIL: test_two_eth (__main__.TestNetworkManager)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_networkmanager.py", line 123, in test_two_eth
    self.assertRegex(out, r'eth0.*\sdisconnected')
AssertionError: Regex didn't match: 'eth0.*\\sdisconnected' not found in 'DEVICE  TYPE      STATE    CONNECTION \neth0    ethernet  unknown  --         \neth1    ethernet  unknown  --         \n'

======================================================================
FAIL: test_two_wifi_with_accesspoints (__main__.TestNetworkManager)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_networkmanager.py", line 179, in test_two_wifi_with_accesspoints
    self.assertRegex(out, r'wlan0.*\sconnected')
AssertionError: Regex didn't match: 'wlan0.*\\sconnected' not found in 'DEVICE  TYPE  STATE    CONNECTION \nwlan0   wifi  unknown  --         \nwlan1   wifi  unknown  --         \n'

======================================================================
FAIL: test_wifi_without_access_points (__main__.TestNetworkManager)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_networkmanager.py", line 130, in test_wifi_without_access_points
    self.assertRegex(out, r'wlan0.*\sconnected')
AssertionError: Regex didn't match: 'wlan0.*\\sconnected' not found in 'DEVICE  TYPE  STATE    CONNECTION \nwlan0   wifi  unknown  --         \n'

----------------------------------------------------------------------
Ran 18 tests in 2.971s


Martin, could you have a look if this is a bug in python-dbusmock or a
real regression in NetworkManager.

Regards,
Michael



-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.3.0-3-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_WARN
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages network-manager depends on:
ii  adduser                3.118
ii  dbus                   1.12.16-2
ii  init-system-helpers    1.57
ii  libaudit1              1:2.8.5-2+b1
ii  libbluetooth3          5.50-1+b1
ii  libc6                  2.29-6
ii  libcurl3-gnutls        7.67.0-2
ii  libglib2.0-0           2.62.3-2
ii  libgnutls30            3.6.11.1-2
ii  libjansson4            2.12-1
ii  libmm-glib0            1.10.4-0.1
ii  libndp0                1.6-1+b1
ii  libnewt0.52            0.52.21-4
ii  libnm0                 1.22.2-1
ii  libpam-systemd         244-3
ii  libpolkit-agent-1-0    0.105-26
ii  libpolkit-gobject-1-0  0.105-26
ii  libpsl5                0.20.2-2
ii  libreadline8           8.0-3
ii  libselinux1            3.0-1
ii  libsystemd0            244-3
ii  libteamdctl0           1.29-1
ii  libudev1               244-3
ii  libuuid1               2.34-0.1
ii  policykit-1            0.105-26
ii  udev                   244-3
ii  wpasupplicant          2:2.9-3+b1

Versions of packages network-manager recommends:
ii  crda                         3.18-1
ii  dnsmasq-base [dnsmasq-base]  2.80-1.1
ii  iptables                     1.8.4-1
pn  modemmanager                 <none>
ii  ppp                          2.4.7-2+4.1+b1

Versions of packages network-manager suggests:
ii  isc-dhcp-client  4.4.1-2
pn  libteam-utils    <none>

-- Configuration Files:
/etc/NetworkManager/NetworkManager.conf changed [not included]
/etc/init.d/network-manager changed [not included]

-- no debconf information



More information about the Pkg-utopia-maintainers mailing list