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.

Author vstinner
Recipients pitrou, vstinner
Date 2011-03-31.13:25:16
SpamBayes Score 3.8192022e-07
Marked as misclassified No
Message-id <>
Result on "x86 FreeBSD 7.2 custom":
[148/354] test_fileinput
[149/354] test_subprocess
[36645 refs]
[36645 refs]
[36647 refs]
[44034 refs]
Current thread 0x28401040:
  File "/usr/home/db3l/buildarea/custom.bolen-freebsd7/build/Lib/", line 1282 in _execute_child
  File "/usr/home/db3l/buildarea/custom.bolen-freebsd7/build/Lib/", line 766 in __init__
  File "/usr/home/db3l/buildarea/custom.bolen-freebsd7/build/Lib/test/", line 687 in test_leaking_fds_on_error
  File "/usr/home/db3l/buildarea/custom.bolen-freebsd7/build/Lib/unittest/", line 387 in _executeTestPart
  File "/usr/home/db3l/buildarea/custom.bolen-freebsd7/build/Lib/unittest/", line 442 in run
  File "/usr/home/db3l/buildarea/custom.bolen-freebsd7/build/Lib/unittest/", line 494 in __call__
  File "/usr/home/db3l/buildarea/custom.bolen-freebsd7/build/Lib/unittest/", line 105 in run
  File "/usr/home/db3l/buildarea/custom.bolen-freebsd7/build/Lib/unittest/", line 67 in __call__
  File "/usr/home/db3l/buildarea/custom.bolen-freebsd7/build/Lib/unittest/", line 105 in run
  File "/usr/home/db3l/buildarea/custom.bolen-freebsd7/build/Lib/unittest/", line 67 in __call__
  File "/usr/home/db3l/buildarea/custom.bolen-freebsd7/build/Lib/test/", line 1078 in run
  File "/usr/home/db3l/buildarea/custom.bolen-freebsd7/build/Lib/test/", line 1166 in _run_suite
  File "/usr/home/db3l/buildarea/custom.bolen-freebsd7/build/Lib/test/", line 1192 in run_unittest
  File "/usr/home/db3l/buildarea/custom.bolen-freebsd7/build/Lib/test/", line 1607 in test_main
  File "./Lib/test/", line 1029 in runtest_inner
  File "./Lib/test/", line 823 in runtest
  File "./Lib/test/", line 649 in main
  File "./Lib/test/", line 1604 in <module>
program finished with exit code 1

So test_subprocess does timeout (5 min) because of test_leaking_fds_on_error, it may be related to #8052. subprocess.MAXFD=655000 on FreeBSD: create a subprocess requires to call close() system calls 655,000 times and test_leaking_fds_on_error() creates 1024 subprocesses.

There is something interesting in this output: the test uses a subprocess and we only have the traceback of the parent. It may be nice to have the trace of the child process. It might be possible by sending a signal to the child process (but how can we get the list of the child processes in a C signal handler?).
Date User Action Args
2011-03-31 13:25:21vstinnersetrecipients: + vstinner, pitrou
2011-03-31 13:25:21vstinnersetmessageid: <>
2011-03-31 13:25:17vstinnerlinkissue11727 messages
2011-03-31 13:25:17vstinnercreate