New submission from STINNER Victor:

The following test of test_asyncio failed once. I didn't check if it failed 
more than once on this buildbot.

The cleanup code is not safe, it should handle errors correctly, so following 
tests would not fail.

http://buildbot.python.org/all/builders/x86%20Gentoo%20Non-Debug%203.x/builds/5421/steps/test/logs/stdio

======================================================================
ERROR: test_close (test.test_asyncio.test_unix_events.FastChildWatcherTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/var/lib/buildslave/3.x.murray-gentoo-wide/build/Lib/asyncio/unix_events.py", 
line 662, in _do_waitpid_all
    callback, args = self._callbacks.pop(pid)
KeyError: 7673

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File 
"/var/lib/buildslave/3.x.murray-gentoo-wide/build/Lib/test/test_asyncio/test_unix_events.py",
 line 723, in setUp
    self.watcher = self.create_watcher(self.loop)
  File 
"/var/lib/buildslave/3.x.murray-gentoo-wide/build/Lib/test/test_asyncio/test_unix_events.py",
 line 1466, in create_watcher
    return unix_events.FastChildWatcher(loop)
  File 
"/var/lib/buildslave/3.x.murray-gentoo-wide/build/Lib/asyncio/unix_events.py", 
line 596, in __init__
    super().__init__(loop)
  File 
"/var/lib/buildslave/3.x.murray-gentoo-wide/build/Lib/asyncio/unix_events.py", 
line 474, in __init__
    self.set_loop(loop)
  File 
"/var/lib/buildslave/3.x.murray-gentoo-wide/build/Lib/asyncio/unix_events.py", 
line 498, in set_loop
    self._do_waitpid_all()
  File 
"/var/lib/buildslave/3.x.murray-gentoo-wide/build/Lib/asyncio/unix_events.py", 
line 665, in _do_waitpid_all
    with self._lock:
AttributeError: 'FastChildWatcher' object has no attribute '_lock'


Following tests fail like that:

======================================================================
FAIL: test_create_watcher 
(test.test_asyncio.test_unix_events.FastChildWatcherTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/var/lib/buildslave/3.x.murray-gentoo-wide/build/Lib/test/test_asyncio/test_unix_events.py",
 line 718, in setUp
    assert ChildWatcherTestsMixin.instance is None
AssertionError

----------
messages: 202727
nosy: gvanrossum, haypo
priority: normal
severity: normal
status: open
title: ERROR: test_close 
(test.test_asyncio.test_unix_events.FastChildWatcherTests)
versions: Python 3.4

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19566>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to