[Pkg-postgresql-public] Bug#908522: python-dateutil breaks patroni autopkgtest

Paul Gevers elbrus at debian.org
Mon Sep 10 20:13:12 BST 2018


Source: python-dateutil, patroni
Control: found -1 python-dateutil/2.7.3-1
Control: found -1 patroni/1.4.4-2
X-Debbugs-CC: debian-ci at lists.debian.org
User: debian-ci at lists.debian.org
Usertags: breaks needs-update

Dear maintainers,

With a recent upload of python-dateutil the autopkgtest of patroni fails
in testing when that autopkgtest is run with the binary packages of
python-dateutil from unstable. It passes when run with only packages
from testing. I copied some of the output at the bottom of this report.

Currently this regression is contributing to the delay of the migration
of python-dateutil to testing [1]. Due to the nature of this issue, I
filed this bug report against both packages. Can you please investigate
the situation and reassign the bug to the right package? If needed,
please change the bug's severity.

For reference of the patroni maintainers, bug 907718: "RRULE UNTIL
values must be specified in UTC when DTSTART is timezone-aware" already
exist against the python-dateutils package with multiple affected
packages and multiple bugs blocking the "fix". I can't judge from the
error logging if this is at all related.

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

Paul

[1] https://qa.debian.org/excuses.php?package=python-dateutil

https://ci.debian.net/data/autopkgtest/testing/amd64/p/patroni/967658/log.gz

=================================== FAILURES
===================================
_____________________ TestPostgresql.test_wait_for_startup
_____________________

self = <test_postgresql.TestPostgresql testMethod=test_wait_for_startup>

    def test_wait_for_startup(self):
        state = {'sleeps': 0, 'num_rejects': 0, 'final_return': 0}

        def increment_sleeps(*args):
            print("Sleep")
            state['sleeps'] += 1

        def isready_return(*args):
            ret = 1 if state['sleeps'] < state['num_rejects'] else
state['final_return']
            print("Isready {0} {1}".format(ret, state))
            return ret

        def time_in_state(*args):
            return state['sleeps']

        with patch('subprocess.call', side_effect=isready_return):
            with patch('time.sleep', side_effect=increment_sleeps):
                self.p.time_in_state = Mock(side_effect=time_in_state)

                self.p._state = 'stopped'
                self.assertTrue(self.p.wait_for_startup())
>               self.assertEquals(state['sleeps'], 0)
E               AssertionError: 114 != 0

tests/test_postgresql.py:812: AssertionError

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-postgresql-public/attachments/20180910/501f0ec8/attachment.sig>


More information about the pkg-postgresql-public mailing list