[Python-modules-team] Bug#947712: autopkgtest regressions in python-dbusmock with newer network-manager 1.22.2-1

Thomas Haller thaller at redhat.com
Thu Jan 9 09:00:56 GMT 2020


On Wed, 2020-01-08 at 23:40 +0100, Martin Pitt wrote:
> Hello Michael and Thomas,
> 
> Michael Biebl [2020-01-08 19:42 +0100]:
> > > 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'
> 
> Note that this may look similar to the recent StateReason issue fixed
> in
> https://github.com/martinpitt/python-dbusmock/commit/bd51d9108e08
> but it's different.

Hi,

To me it seems not different and I think this commit is missing.

See https://salsa.debian.org/python-team/modules/python-dbusmock/blob/master/dbusmock/templates/networkmanager.py#L281
which lacks commit bd51d9108e087e5b3327f8c67bc58b503d7f9915

(although, I am not clear which python-dbusmock version Michael was
using exactly. However, bd51d9108e087e5b3327f8c67bc58b503d7f9915 is not
yet part of any python-dbusmock release, so that sounds plausible to be
the issue).


best,
Thomas

> 
> python-dbusmock upstream runs tests against Fedora rawhide as well,
> and I just
> restarted a run against latest rawhide:
> https://travis-ci.org/martinpitt/python-dbusmock/jobs/628460969
> this succeeds against NetworkManager-1:1.22.2-1.fc32.x86_64, i. e.
> the same NM
> upstream version that up uploaded into Debian.
> 
> As per 
> https://ci.debian.net/packages/p/python-dbusmock/unstable/amd64/ the
> first failure happened in
> https://ci.debian.net/data/packages/unstable/amd64/p/python-dbusmock/3694572.log
> against NM 1.22.0, while the last successful run was against 1.20.8.
> 
> I'll investigate this more closely tomorrow. Right now my sid schroot
> is rather
> broken due to some weirdness with gnupg disappearing from the
> archive.
> 
> Thanks,
> 
> Martin
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20200109/720b7635/attachment.sig>


More information about the Python-modules-team mailing list