This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: test_future_exception_never_retrieved() of test_asyncio fails on AMD64 Debian root 3.x
Type: Stage:
Components: asyncio, Tests Versions: Python 3.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: gvanrossum, python-dev, vstinner, yselivanov
Priority: normal Keywords: buildbot

Created on 2014-07-07 21:26 by vstinner, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (4)
msg222521 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2014-07-07 21:26
http://buildbot.python.org/all/builders/AMD64%20Debian%20root%203.x/builds/915/steps/test/logs/stdio

======================================================================
FAIL: test_future_exception_never_retrieved (test.test_asyncio.test_futures.FutureTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/unittest/mock.py", line 1152, in patched
    return func(*args, **keywargs)
  File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/test_asyncio/test_futures.py", line 329, in test_future_exception_never_retrieved
    m_log.error.assert_called_once_with(mock.ANY, exc_info=exc_info)
  File "/root/buildarea/3.x.angelico-debian-amd64/build/Lib/unittest/mock.py", line 797, in assert_called_once_with
    raise AssertionError(msg)
AssertionError: Expected 'error' to be called once. Called 3 times.
msg222522 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2014-07-07 21:33
Oh, this failure is probably a side effect of new logs emited by test_asyncio because of #21163. The issue #21163 has a pending patch which is waiting for a review ;-)
msg222523 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2014-07-07 21:36
> The issue #21163 has a pending patch which is waiting for a review ;-)

Oops, wrong: I already commited the part of the patch which was correct, but wait() and gather() have no updated patch yet.
msg222700 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2014-07-10 20:36
New changeset f13cde63ca73 by Victor Stinner in branch '3.4':
asyncio: sync with Tulip
http://hg.python.org/cpython/rev/f13cde63ca73

New changeset a67adfaf670b by Victor Stinner in branch 'default':
(Merge 3.4) asyncio: sync with Tulip
http://hg.python.org/cpython/rev/a67adfaf670b
History
Date User Action Args
2022-04-11 14:58:05adminsetgithub: 66135
2014-07-11 14:38:46vstinnersetstatus: open -> closed
resolution: fixed
2014-07-10 20:36:52python-devsetnosy: + python-dev
messages: + msg222700
2014-07-07 21:36:32vstinnersetmessages: + msg222523
2014-07-07 21:33:55vstinnersetmessages: + msg222522
2014-07-07 21:26:34vstinnercreate