Your message dated Wed, 04 Dec 2019 21:20:01 +0000
with message-id <e1icc41-000cy1...@fasolo.debian.org>
and subject line Bug#945328: fixed in pyzmq 17.1.2-4
has caused the Debian Bug report #945328,
regarding pyzmq ftbfs in unstable
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.)


-- 
945328: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=945328
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:pyzmq
Version: 17.1.2-3
Severity: serious
Tags: sid bullseye patch
User: debian-pyt...@lists.debian.org
Usertags: python3.8

pyzmq ftbfs in unstable, needing a patch from 18.1.  Please could you also relax
some timing conditions for tests seen on non-amd64 architectures?

patches at
https://patches.ubuntu.com/p/pyzmq/pyzmq_17.1.2-3ubuntu5.patch

[..]
=================================== FAILURES ===================================
__________________ TestAsyncIOSocket.test_recv_json_cancelled __________________

self = <zmq.tests.asyncio._test_asyncio.TestAsyncIOSocket
testMethod=test_recv_json_cancelled>

    def test_recv_json_cancelled(self):
        @asyncio.coroutine
        def test():
            a, b = self.create_bound_pair(zmq.PUSH, zmq.PULL)
            f = b.recv_json()
            assert not f.done()
            f.cancel()
            # cycle eventloop to allow cancel events to fire
            yield from asyncio.sleep(0)
            obj = dict(a=5)
            yield from a.send_json(obj)
            with pytest.raises(CancelledError):
                recvd = yield from f
            assert f.done()
            # give it a chance to incorrectly consume the event
            events = yield from b.poll(timeout=5)
            assert events
            yield from asyncio.sleep(0)
            # make sure cancelled recv didn't eat up event
            f = b.recv_json()
            recvd = yield from asyncio.wait_for(f, timeout=5)
            assert recvd == obj
>       self.loop.run_until_complete(test())

zmq/tests/asyncio/_test_asyncio.py:152:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <_UnixSelectorEventLoop running=False closed=True debug=False>
future = <Task cancelled name='Task-10'
coro=<TestAsyncIOSocket.test_recv_json_cancelled.<locals>.test() done, defined
at
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/zmq/tests/asyncio/_test_asyncio.py:131>>

    def run_until_complete(self, future):
        """Run until the Future is done.

        If the argument is a coroutine, it is wrapped in a Task.

        WARNING: It would be disastrous to call run_until_complete()
        with the same coroutine twice -- it would wrap it in two
        different Tasks and that can't be good.

        Return the Future's result, or raise its exception.
        """
        self._check_closed()

        new_task = not futures.isfuture(future)
        future = tasks.ensure_future(future, loop=self)
        if new_task:
            # An exception is raised if the future didn't complete, so there
            # is no need to log the "destroy pending task" message
            future._log_destroy_pending = False

        future.add_done_callback(_run_until_complete_cb)
        try:
            self.run_forever()
        except:
            if new_task and future.done() and not future.cancelled():
                # The coroutine raised a BaseException. Consume the exception
                # to not log a warning, the caller doesn't have access to the
                # local task.
                future.exception()
            raise
        finally:
            future.remove_done_callback(_run_until_complete_cb)
        if not future.done():
            raise RuntimeError('Event loop stopped before Future completed.')

>       return future.result()
E       asyncio.exceptions.CancelledError
[..]
======== 1 failed, 232 passed, 11 skipped, 88 warnings in 33.62 seconds ========
Task was destroyed but it is pending!
task: <Task pending name='Task-40' coro=<AsyncioAuthenticator.__handle_zap()
done, defined at
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build/zmq/auth/asyncio/__init__.py:25>
wait_for=<Future cancelled>>
E: pybuild pybuild:341: test: plugin distutils failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.8/build; python3.8 -m pytest -v
--ignore=zmq/tests/test_auth.py --ignore=zmq/tests/test_security.py
dh_auto_test: pybuild --test --test-pytest -i python{version} -p "3.8 3.7"
--test-pytest returned exit code 13
make[1]: *** [debian/rules:42: override_dh_auto_test] Error 255

--- End Message ---
--- Begin Message ---
Source: pyzmq
Source-Version: 17.1.2-4

We believe that the bug you reported is fixed in the latest version of
pyzmq, 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 945...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gordon Ball <gor...@chronitis.net> (supplier of updated pyzmq 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: Wed, 04 Dec 2019 20:24:19 +0000
Source: pyzmq
Architecture: source
Version: 17.1.2-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team 
<python-modules-t...@lists.alioth.debian.org>
Changed-By: Gordon Ball <gor...@chronitis.net>
Closes: 945328
Changes:
 pyzmq (17.1.2-4) unstable; urgency=medium
 .
   * Team upload.
   * Apply patches from 17.1.2-3ubuntu5 to fix FTBFS (closes: #945328)
     - d/p/ThreadAuthenticator-race.patch: fix a race condition that causes
       test_curve_user_id to fail intermittently [Michael Hudson-Doyle]
     - d/p/bump-poll-timeout-auth-test.patch: increase poll timeout 1 -> 2
       seconds for slow architectures [Andreas Hasenack]
     - d/p/python3.8.diff: compatibility fix for asyncio tests in python3.8 due
       to changes in the underlying python exceptions [Matthias Klose]
Checksums-Sha1:
 ee6f9262b23ebdec738a93ea275a02c1375d8bea 2996 pyzmq_17.1.2-4.dsc
 24f0639f08748a4c18f9ff255a33ddd189222124 10776 pyzmq_17.1.2-4.debian.tar.xz
 a58e388e192b15b1afd95959c69a3f2cb86e916a 11150 pyzmq_17.1.2-4_amd64.buildinfo
Checksums-Sha256:
 e44aff088a627c97db4a7044c97505ad178d5156031d86e40b0e7fc20582f109 2996 
pyzmq_17.1.2-4.dsc
 838bd5b14569b9d61a4d466eefbe4d7cee6e6e03f3da676a2d05db472ac31591 10776 
pyzmq_17.1.2-4.debian.tar.xz
 bec1a06a8350a884afb2056ccb17645e883d54d6c430f0303a8ef59b8ad77a61 11150 
pyzmq_17.1.2-4_amd64.buildinfo
Files:
 d33cc92af7ed0a2a0e24d08dc4222f2f 2996 python optional pyzmq_17.1.2-4.dsc
 45503da5e62ad88f3f51a3095b7a6bcf 10776 python optional 
pyzmq_17.1.2-4.debian.tar.xz
 153be0962e19abd4bbed706f21b6cead 11150 python optional 
pyzmq_17.1.2-4_amd64.buildinfo

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

iQIzBAEBCgAdFiEE6PwpXIa418BJ+Xuno12v+60p6N4FAl3oHYgACgkQo12v+60p
6N6aKQ//eSoUU4Tt3lzmRWIl9R9xDr5TaJ6lfROVQ/Eh88mhWi3NO0vbs0Ztcfzr
CdWxFyvIOC/VSxyYXBrVm/sXYWbBCCt/q/JH/aT9BvJNSrOyDLCWNVsM3ZrLyRPp
gzzBf9mYFR2ph6QNIMqCWnF1WQgW0FPjbhrrkht5QhAzqJrAI+9yQNsi3ZizJlP/
RhWOCPZuAft4xA6vv54OBgGMqx6Mj4NLcYV9Po30rBOIIx3U5UNcaVJk4SOsqV5s
z/vnxSuZKEbS0vV0I3dWSx/dJwHYgeq5f3vI66fr6bf7Kmce3ByAOzjQTVTmShMD
22GHffqwPMr66yGa0PLPoWaJLbJpWynXtZz3t6k2mhHsvWdIx5rnAtZ/lvilHQ3j
34SCydTujieQlGycuU5/r/ttrHNZCCsCQJ3M5lI3hHIVAegK+eYxs6MW5zGbnyEN
mqIpAQp4sBx5+0YL+m+FliRpnTpkJt6nRtUovhOC25+TcU0fd9Lt676yXTVPmzKD
Rw6VVlEenZjTlHit0jdraygoy9MyXH7KcmQmL+hF0Jst4US/c8QBk8DOvB2c3lfM
mmjWbTQyjhQDCKbu/FylsXR6+ALcXWD6aQCRblwCkqWVM0aQufIUT6hiF+amhHd4
SwwWGyaJUyJC8Ot+L6KT+4uWBG+b/Mt9t4W9KM1YSuidlXHIuJQ=
=KuBY
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to