[issue25122] test_eintr randomly fails on FreeBSD

2015-10-11 Thread STINNER Victor
STINNER Victor added the comment: We should remove it, but test_eintr still hangs randomly on freebsd. -- ___ Python tracker ___

[issue25122] test_eintr randomly fails on FreeBSD

2015-09-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3184c43627f5 by Victor Stinner in branch '3.5': Issue #25122: test_eintr: the FreeBSD fix will be released in FreeBSD 10.3 https://hg.python.org/cpython/rev/3184c43627f5 -- ___ Python tracker

[issue25122] test_eintr randomly fails on FreeBSD

2015-09-18 Thread STINNER Victor
STINNER Victor added the comment: test_eintr should now be fixed in Python 3.5 and 3.6: I skipped the test_open() and test_os_open() tests of test_eintr on FreeBSD. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue25122] test_eintr randomly fails on FreeBSD

2015-09-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 90722634f211 by Victor Stinner in branch 'default': Issue #25122: Fix test_eintr.test_open() on FreeBSD https://hg.python.org/cpython/rev/90722634f211 New changeset f347ea4391f3 by Victor Stinner in branch '3.5': Issue #25122: sync test_eintr with

[issue25122] test_eintr randomly fails on FreeBSD

2015-09-16 Thread STINNER Victor
STINNER Victor added the comment: More debug traces: test_open (__main__.SocketEINTRTest) ... try to open '@test_57236_tmp' fifo for writing, pid 57236 try to open '@test_57236_tmp' fifo for reading, pid 57305, ppid 57236 '@test_57236_tmp' fifo opened for reading and closed, pid 57305, ppid

[issue25122] test_eintr randomly fails on FreeBSD

2015-09-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 30bc256f2346 by Victor Stinner in branch 'default': Issue #25122: add debug traces to test_eintr.test_open() https://hg.python.org/cpython/rev/30bc256f2346 -- ___ Python tracker

[issue25122] test_eintr randomly fails on FreeBSD

2015-09-16 Thread STINNER Victor
STINNER Victor added the comment: Syscalls traced by truss. Parent process: 1436: unlink("fifo_5950861521") ERR#2 'No such file or directory' 1436: open("fifo_5950861521",O_WRONLY|O_CLOEXEC,00) ERR#4 'Interrupted system call' 1436:

[issue25122] test_eintr randomly fails on FreeBSD

2015-09-16 Thread STINNER Victor
STINNER Victor added the comment: Ok, I got the first interesting result thanks to my enhancements of test_eintr: [383/398/1] test_eintr test_read (__main__.OSEINTRTest) ... ok test_wait (__main__.OSEINTRTest) ... ok test_wait3 (__main__.OSEINTRTest) ... ok test_wait4 (__main__.OSEINTRTest) ...

[issue25122] test_eintr randomly fails on FreeBSD

2015-09-16 Thread STINNER Victor
STINNER Victor added the comment: Ok, I'm now quite sure that it's a bug in the FreeBSD kernel or in the BSD C library. The C library ignores EINTR: if the close() syscalls fails with EINTR, the C close() function returns a success. When the close() syscall fails with EINTR, the test hangs.

[issue25122] test_eintr randomly fails on FreeBSD

2015-09-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5388fa98f7a3 by Victor Stinner in branch 'default': Issue #25122: optimize test_eintr https://hg.python.org/cpython/rev/5388fa98f7a3 -- ___ Python tracker

[issue25122] test_eintr randomly fails on FreeBSD

2015-09-15 Thread STINNER Victor
New submission from STINNER Victor: I'm unable to reproduce the hang. It's probably a race condition since sometimes the test pass. It may depend on the system load, the number of CPU cores, and other factors. I tried to use faulthandler.dump_traceback_later() in the changeset ebccac60b9e7,

[issue25122] test_eintr randomly fails on FreeBSD

2015-09-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 24dbca4e746c by Victor Stinner in branch 'default': Issue #25122: test_eintr: don't redirect stdout to stderr https://hg.python.org/cpython/rev/24dbca4e746c -- ___ Python tracker

[issue25122] test_eintr randomly fails on FreeBSD

2015-09-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset edbc35d8babb by Victor Stinner in branch 'default': Issue #25122: Fix test_eintr, kill child process on error https://hg.python.org/cpython/rev/edbc35d8babb -- ___ Python tracker

[issue25122] test_eintr randomly fails on FreeBSD

2015-09-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3d9164aecc6f by Victor Stinner in branch 'default': Issue #25122: try to debug test_eintr hang on FreeBSD https://hg.python.org/cpython/rev/3d9164aecc6f -- nosy: +python-dev ___ Python tracker