[issue20495] test_read_pty_output() hangs on FreeBSD 7.2 buildbot

2014-03-16 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 2cf25865fc66 by Victor Stinner in branch '3.4':
Issue #20495: Skip test_read_pty_output() of test_asyncio on FreeBSD older than
http://hg.python.org/cpython/rev/2cf25865fc66

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20495] test_read_pty_output() hangs on FreeBSD 7.2 buildbot

2014-02-11 Thread STINNER Victor

Changes by STINNER Victor :


--
resolution:  -> fixed
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20495] test_read_pty_output() hangs on FreeBSD 7.2 buildbot

2014-02-11 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 2ba583191550 by Victor Stinner in branch 'default':
Issue #20495: Skip test_read_pty_output() of test_asyncio on FreeBSD older than
http://hg.python.org/cpython/rev/2ba583191550

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20495] test_read_pty_output() hangs on FreeBSD 7.2 buildbot

2014-02-11 Thread Guido van Rossum

Guido van Rossum added the comment:

LGTM

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20495] test_read_pty_output() hangs on FreeBSD 7.2 buildbot

2014-02-11 Thread STINNER Victor

STINNER Victor added the comment:

> I wonder if we just need to make a matrix of which OS versions and which 
> syscalls can handle PTYs correctly, and either put it in the docs or perhaps 
> even refuse to accept PTYs in add_reader/add_writer...

Right now, I think that we don't have enough data to decide on which OS and OS 
versions such error should be raised. But I agree that it would be nice to 
raise an error instead of hang, crash, or just behave badly.

Until that, here is a patch to skip the test on FreeBSD < 8.0.

The test hangs on FreeBSD 7.2, test_asyncio pass on FreeBSD 9. The FreeBSD 8 
buildbot is offline. test_asyncio is skipped on FreeBSD 6.4.

--
keywords: +patch
Added file: http://bugs.python.org/file34043/skip_read_pty_freebsd72.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20495] test_read_pty_output() hangs on FreeBSD 7.2 buildbot

2014-02-02 Thread Guido van Rossum

Guido van Rossum added the comment:

I guess this is not a total surprise given that OS X derives in some way from 
BSD...

I wonder if we just need to make a matrix of which OS versions and which 
syscalls can handle PTYs correctly, and either put it in the docs or perhaps 
even refuse to accept PTYs in add_reader/add_writer...

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20495] test_read_pty_output() hangs on FreeBSD 7.2 buildbot

2014-02-02 Thread STINNER Victor

New submission from STINNER Victor:

http://buildbot.python.org/all/builders/x86%20FreeBSD%207.2%203.x/builds/4969/steps/test/logs/stdio
---
[298/389/1] test_asyncio
Timeout (1:00:00)!
Current thread 0x28401040 (most recent call first):
  File 
"/usr/home/db3l/buildarea/3.x.bolen-freebsd7/build/Lib/asyncio/base_events.py", 
line 208 in time
  File 
"/usr/home/db3l/buildarea/3.x.bolen-freebsd7/build/Lib/asyncio/base_events.py", 
line 641 in _run_once
  File 
"/usr/home/db3l/buildarea/3.x.bolen-freebsd7/build/Lib/asyncio/base_events.py", 
line 154 in run_forever
  File 
"/usr/home/db3l/buildarea/3.x.bolen-freebsd7/build/Lib/asyncio/base_events.py", 
line 173 in run_until_complete
  File 
"/usr/home/db3l/buildarea/3.x.bolen-freebsd7/build/Lib/asyncio/test_utils.py", 
line 44 in run_briefly
  File 
"/usr/home/db3l/buildarea/3.x.bolen-freebsd7/build/Lib/asyncio/test_utils.py", 
line 59 in run_until
  File 
"/usr/home/db3l/buildarea/3.x.bolen-freebsd7/build/Lib/test/test_asyncio/test_events.py",
 line 979 in test_read_pty_output
...
---

FYI The test is now skipped on Mac OS X older than 10.6, the test on the kqueue 
selector is skipped on Mac OS X older than 10.9: issue #20472.

--
messages: 210072
nosy: gvanrossum, haypo, skrah
priority: normal
severity: normal
status: open
title: test_read_pty_output() hangs on FreeBSD 7.2 buildbot
versions: Python 3.4

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com