Message138803
Duh, don't know what I was thinking: the syscall is not restarted
(even though ERESTARTSYS is displayed by strace): the real problem is
that the 3s timeout to communicate is not enough, because spawning a
new interpreter can take a long time (Antoine created an issue some
time ago about the high number of syscalls per import). If it takes
more than 1s, the test will fail.
Also, I guess it's worst on FreeBSD because subprocess.Popen uses
close_fds=True by default, and FreeBSD has a huge default
_SC_OPEN_MAX.
I've attached a patch passing close_fds=False to spawn_python, and
running the test only once, because otherwise this would require a
timeout quite large. |
|
Date |
User |
Action |
Args |
2011-06-21 21:05:57 | neologix | set | recipients:
+ neologix, pitrou, vstinner, python-dev |
2011-06-21 21:05:56 | neologix | link | issue12363 messages |
2011-06-21 21:05:56 | neologix | create | |
|