Your message dated Mon, 19 Sep 2022 23:29:14 +0000
with message-id <e1oaqcq-0010cw...@fasolo.debian.org>
and subject line Bug#1019152: fixed in python-bonsai 1.5.0+ds-2
has caused the Debian Bug report #1019152,
regarding python-bonsai: flaky autopkgtest on armhf and armel: timeout too 
short?
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1019152: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1019152
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-bonsai
Version: 1.3.0+ds-3
Severity: serious
User: debian...@lists.debian.org
Usertags: flaky

Dear maintainer(s),

I looked at the results of the autopkgtest of your package. I noticed that it regularly fails on armel and armhf.

Because the unstable-to-testing migration software now blocks on
regressions in testing, flaky tests, i.e. tests that flip between
passing and failing without changes to the list of installed packages,
are causing people unrelated to your package to spend time on these
tests.

Don't hesitate to reach out if you need help and some more information
from our infrastructure.

Paul


https://ci.debian.net/data/autopkgtest/testing/armel/p/python-bonsai/24971339/log.gz

=================================== FAILURES =================================== __________________________________ test_open ___________________________________

client = <bonsai.ldapclient.LDAPClient object at 0xf50191a8>

    def test_open(client):
        """ Test opening the pool. """
        pool = ConnectionPool(client, minconn=5)
>       pool.open()

tests/test_pool.py:35:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3/dist-packages/bonsai/pool.py:70: in open
    self._idles.add(self._client.connect(self._kwargs))
/usr/lib/python3/dist-packages/bonsai/ldapclient.py:675: in connect
    return LDAPConnection(self).open(timeout)
/usr/lib/python3/dist-packages/bonsai/ldapconnection.py:297: in open
    return super().open(timeout)
/usr/lib/python3/dist-packages/bonsai/ldapconnection.py:53: in open
    return self._evaluate(super().open(), timeout)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <bonsai.ldapconnection.LDAPConnection object at 0xf50e35d8>, msg_id = -1
timeout = None

def _evaluate(self, msg_id: int, timeout: Optional[float] = None) -> Any:
        """
        It returns the result of the LDAP operation.

        :param int msg_id: the ID of the LDAP operation.
        :param float timeout: time limit in seconds for the operation.
        :return: the result of the operation.
        """
>       return self.get_result(msg_id, timeout)
E       bonsai.errors.TimeoutError: Timed out. (0xFFFB [-5])

/usr/lib/python3/dist-packages/bonsai/ldapconnection.py:246: TimeoutError
___________________________________ test_get ___________________________________

self = <bonsai.pool.ConnectionPool object at 0xf5012e08>

    def get(self):
        """
        Get a connection from the connection pool.

        :raises EmptyPool: when the pool is empty.
        :raises ClosedPool: when the method is called on a closed pool.
        :return: an LDAP connection object.
        """
        if self._closed:
            raise ClosedPool("The pool is closed.")
        try:
>           conn = self._idles.pop()
E           KeyError: 'pop from an empty set'

/usr/lib/python3/dist-packages/bonsai/pool.py:84: KeyError

During handling of the above exception, another exception occurred:

client = <bonsai.ldapclient.LDAPClient object at 0xf50191a8>

    def test_get(client):
        """ Test getting a connection from the pool. """
        pool = ConnectionPool(client, minconn=1, maxconn=2)
        with pytest.raises(ClosedPool):
            _ = pool.get()
        pool.open()
        assert pool.max_connection == 2
        assert pool.idle_connection == 1
        assert pool.shared_connection == 0
        conn1 = pool.get()
        assert conn1 is not None
        assert conn1.closed == False
        assert pool.idle_connection == 0
        assert pool.shared_connection == 1
>       conn2 = pool.get()

tests/test_pool.py:66:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3/dist-packages/bonsai/pool.py:87: in get
    conn = self._client.connect(self._kwargs)
/usr/lib/python3/dist-packages/bonsai/ldapclient.py:675: in connect
    return LDAPConnection(self).open(timeout)
/usr/lib/python3/dist-packages/bonsai/ldapconnection.py:297: in open
    return super().open(timeout)
/usr/lib/python3/dist-packages/bonsai/ldapconnection.py:53: in open
    return self._evaluate(super().open(), timeout)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <bonsai.ldapconnection.LDAPConnection object at 0xf5045d48>, msg_id = -1
timeout = None

def _evaluate(self, msg_id: int, timeout: Optional[float] = None) -> Any:
        """
        It returns the result of the LDAP operation.

        :param int msg_id: the ID of the LDAP operation.
        :param float timeout: time limit in seconds for the operation.
        :return: the result of the operation.
        """
>       return self.get_result(msg_id, timeout)
E       bonsai.errors.TimeoutError: Timed out. (0xFFFB [-5])

/usr/lib/python3/dist-packages/bonsai/ldapconnection.py:246: TimeoutError
___________________________ test_threaded_pool_block ___________________________

client = <bonsai.ldapclient.LDAPClient object at 0xf50191a8>

    def test_threaded_pool_block(client):
        """ Test threaded pool blocks when it's empty. """
        sleep = 5
        pool = ThreadedConnectionPool(client, minconn=1, maxconn=1)
>       pool.open()

tests/test_pool.py:123:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3/dist-packages/bonsai/pool.py:238: in open
    super().open()
/usr/lib/python3/dist-packages/bonsai/pool.py:70: in open
    self._idles.add(self._client.connect(self._kwargs))
/usr/lib/python3/dist-packages/bonsai/ldapclient.py:675: in connect
    return LDAPConnection(self).open(timeout)
/usr/lib/python3/dist-packages/bonsai/ldapconnection.py:297: in open
    return super().open(timeout)
/usr/lib/python3/dist-packages/bonsai/ldapconnection.py:53: in open
    return self._evaluate(super().open(), timeout)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <bonsai.ldapconnection.LDAPConnection object at 0xf503e108>, msg_id = -1
timeout = None

def _evaluate(self, msg_id: int, timeout: Optional[float] = None) -> Any:
        """
        It returns the result of the LDAP operation.

        :param int msg_id: the ID of the LDAP operation.
        :param float timeout: time limit in seconds for the operation.
        :return: the result of the operation.
        """
>       return self.get_result(msg_id, timeout)
E       bonsai.errors.TimeoutError: Timed out. (0xFFFB [-5])

/usr/lib/python3/dist-packages/bonsai/ldapconnection.py:246: TimeoutError
=============================== warnings summary ===============================

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: python-bonsai
Source-Version: 1.5.0+ds-2
Done: Robin Jarry <ro...@jarry.cc>

We believe that the bug you reported is fixed in the latest version of
python-bonsai, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1019...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Robin Jarry <ro...@jarry.cc> (supplier of updated python-bonsai package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 20 Sep 2022 00:30:35 +0200
Source: python-bonsai
Architecture: source
Version: 1.5.0+ds-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Robin Jarry <ro...@jarry.cc>
Closes: 1019152
Changes:
 python-bonsai (1.5.0+ds-2) unstable; urgency=medium
 .
   * Disable autopkgtests on armhf and armel (Closes: #1019152)
Checksums-Sha1:
 8c84177e1f3d8c2eae387fd13831e9528a6a3f1d 1899 python-bonsai_1.5.0+ds-2.dsc
 eb965c28db6ef25760846165fb92d6aa6eb3bfff 5724 
python-bonsai_1.5.0+ds-2.debian.tar.xz
 d9477c2c6f4918c659f1309f604b47f895443ac3 8122 
python-bonsai_1.5.0+ds-2_source.buildinfo
Checksums-Sha256:
 c05aebe783d577e47095b277481431197f489aee99c61919d3c4f3b6295ea675 1899 
python-bonsai_1.5.0+ds-2.dsc
 f6610377a558366e28d328eb182845311b1c385080c45f9eaa928555fabfcf4d 5724 
python-bonsai_1.5.0+ds-2.debian.tar.xz
 902dd85411784f5bfc0c4e9a84b6c67a153175dc2d56fb43871d77c75d9ceadb 8122 
python-bonsai_1.5.0+ds-2_source.buildinfo
Files:
 b84922f0483cf1f29f6eab6267b734e8 1899 python optional 
python-bonsai_1.5.0+ds-2.dsc
 d1e3440cda41330c7b79f58c0edb43c0 5724 python optional 
python-bonsai_1.5.0+ds-2.debian.tar.xz
 64932a31279eac7ce60c9f1e9b47594d 8122 python optional 
python-bonsai_1.5.0+ds-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iIUEARYKAC0WIQTYtqmQfDq3IEKLYGhicY4NZm/DNQUCYyjt0A8ccm9iaW5AamFy
cnkuY2MACgkQYnGODWZvwzXEiQEA3uUKCXPgw9jP+5tedwONZ/d4jaIdRRSH3kFm
tfFJVagA/0FQ8MEUA/2XiiXXpOZgkGqRouW8lLNZOwgDNPtbbpYO
=Z7id
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to