[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#947621: comitup: autopkgtest regression: 'NoneType' object has no attribute 'Reset'



Source: comitup
Version: 1.9-2
X-Debbugs-CC: debian-ci@lists.debian.org
Severity: serious
User: debian-ci@lists.debian.org
Usertags: regression

Dear maintainers,

With a recent upload of comitup the autopkgtest of comitup fails in
testing when that autopkgtest is run with the binary packages of comitup
from unstable. It passes when run with only packages from testing. In
tabular form:
                       pass            fail
comitup                from testing    1.9-2
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration to testing [1]. Can
you please investigate the situation and fix it? If needed, please
change the bug's severity.

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul
PS: your arm64 test also fails, but that is no regression. You want to
fix that as well:
E   NotADirectoryError: [Errno 20] Not a directory:
'/sys/class/net/bonding_masters/phy80211/name'


[1] https://qa.debian.org/excuses.php?package=comitup

https://ci.debian.net/data/autopkgtest/testing/amd64/c/comitup/3790339/log.gz

=================================== FAILURES
===================================
__________________________ test_avahi_establish_group
__________________________

avahi_fxt = None

    def test_avahi_establish_group(avahi_fxt):
        old_group = mdns.group
        mdns.establish_group()
>       assert mdns.group != old_group
E       AssertionError: assert <Mock id='140568182843280'> != <Mock
id='140568182843280'>
E        +  where <Mock id='140568182843280'> = mdns.group

test/test_mdns.py:35: AssertionError
___________________________ test_avahi_clear_entries
___________________________

avahi_fxt = None

    @patch('comitup.mdns.establish_group', Mock())
    def test_avahi_clear_entries(avahi_fxt):
        isempty = Mock(return_value=False)
        mdns.group = Mock()
        mdns.group.IsEmpty = isempty

        mdns.clear_entries()

        assert isempty.called
>       assert mdns.group.Reset.called
E       AttributeError: 'NoneType' object has no attribute 'Reset'


Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: