Showing content from http://mail.python.org/pipermail/python-dev/attachments/20110105/9ce1d33f/attachment-0001.html below:
<div class="gmail_quote">On Wed, Jan 5, 2011 at 17:47, Terry Reedy <span dir="ltr"><<a href="mailto:tjreedy@udel.edu">tjreedy@udel.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
To test Brett's test running instruction, I ran<br>
python -m test # not ./Python!<br>
in a Command Prompt window<br>
---<br>
Microsoft Windows XP [Version 5.1.2600]<br>
<br>
== CPython 3.2b2 (r32b2:87398, Dec 19 2010, 22:51:00)<br>
[MSC v.1500 32 bit (Intel)]<br>
== Windows-XP-5.1.2600-SP3 little-endian<br>
== c:\docume~1\terry\locals~1\temp\test_python_3528<br>
[ 1/351] test_grammar<br>
...<br>
[ 10/351] test___all__<br>
Warning -- os.environ was modified by test___all__<br>
[ 11/351] test___future__<br>
...<br>
[ 37/351] test_capi<br>
<br>
Window hangs, can only close.<br>
Error popup says "python.exe has encountered a problem..."<br>
at 000a03f7 in python32.dll<br>
<br>
RUN 2, same command, I get<br>
[ 37/351] test_capi<br>
test test_capi failed -- Traceback (most recent call last):<br>
File "C:\Programs\Python32\lib\test\test_capi.py", line 50, in test_no_FatalEr<br>
ror_infinite_loop<br>
b'Fatal Python error:'<br>
AssertionError: b"Fatal Python error: PyThreadState_Get: no current thread\r\n\r<br>
\nThis application has requested the Runtime to terminate it in an unusual way.\<br>
nPlease contact the application's support team for more information." != b'Fatal<br>
Python error: PyThreadState_Get: no current thread'<br>
<br>
and it continued on with test_cfgparser, etc, so crashing rather than mere failure is intermitant.<br>
<br>
BUT process then stopped (hung, no error popup) at<br>
[ 67/351] test_concurrent_futures<br>
Traceback (most recent call last):<br>
File "<string>", line 1, in <module><br>
File "C:\Programs\Python32\lib\multiprocessing\forking.py", line 369, in main<br>
prepare(preparation_data)<br>
File "C:\Programs\Python32\lib\multiprocessing\forking.py", line 477, in prepa<br>
re<br>
assert main_name not in sys.modules, main_name<br>
AssertionError: __main__<br>
<br>
RUN 3<br>
python -m test -x test_capi test_concurrent_futures<br>
<br>
went further, more failed tests, then process started repeatedly (hundred of times) outputting<br>
<br>
assert main_name not in sys.modules, main_name<br>
AssertionError: __main__<br>
Traceback (most recent call last):<br>
File "<string>", line 1, in <module><br>
File "C:\Programs\Python32\lib\multiprocessing\forking.py", line 369, in main<br>
prepare(preparation_data)<br>
File "C:\Programs\Python32\lib\multiprocessing\forking.py", line 477,<br>
<br>
Occasionally a new test would start in between this stuff. It ended with test_sax. I cannot say when it began because the volume overfilled the output buffer.<br>
<br>
[306/349] test_ttk_guionly # and test_tk<br>
test_ttk_guionly skipped -- ttk not available: Can't find a usable init.tcl in t<br>
he following directories:<br>
C:/Programs/Python32/lib/tcl8.5 C:/Programs/lib/tcl8.5 C:/lib/tcl8.5 C:/Prog<br>
rams/library C:/library C:/tcl8.5.9/library C:/tcl8.5.9/library<br>
This probably means that Tcl wasn't installed properly.<br>
<br>
Funny, IDLE works fine. In any case, I did a standard install from the distributed installer.<br>
<br>
Something is definitely not ready for final release. The final mishmash:<br>
<br>
[349/349] test_zlib<br>
295 tests OK.<br>
11 tests failed:<br>
test_datetime test_difflib.bak test_ftplib test_lib2to3<br>
test_multiprocessing test_os.bak test_pep277 test_pkgutil<br>
test_posixpath test_runpy test_tcl<br>
2 tests altered the execution environment:<br>
test___all__ test_site<br>
41 tests skipped:<br>
test_codecmaps_cn test_codecmaps_hk test_codecmaps_jp<br>
test_codecmaps_kr test_codecmaps_tw test_crypt test_curses<br>
test_dbm_gnu test_dbm_ndbm test_epoll test_fcntl test_fork1<br>
test_gdb test_grp test_ioctl test_kqueue test_largefile test_nis<br>
test_openpty test_ossaudiodev test_pipes test_poll test_posix<br>
test_pty test_pwd test_readline test_resource test_smtpnet<br>
test_socketserver test_syslog test_threadsignals test_timeout<br>
test_tk test_ttk_guionly test_urllib2net test_urllibnet test_wait3<br>
test_wait4 test_winsound test_xmlrpc_net test_zipfile64<br>
4 skips unexpected on win32:<br>
test_gdb test_readline test_tk test_ttk_guionly<br>
Traceback (most recent call last):<br>
File "C:\Programs\Python32\lib\test\support.py", line 468, in temp_cwd<br>
yield os.getcwd()<br>
File "C:\Programs\Python32\lib\test\__main__.py", line 13, in <module><br>
regrtest.main()<br>
File "C:\Programs\Python32\lib\test\regrtest.py", line 704, in main<br>
sys.exit(len(bad) > 0 or interrupted)<br>
SystemExit: True<br>
<br>
During handling of the above exception, another exception occurred:<br>
<br>
Traceback (most recent call last):<br>
File "C:\Programs\Python32\lib\runpy.py", line 160, in _run_module_as_main<br>
"__main__", fname, loader, pkg_name)<br>
File "C:\Programs\Python32\lib\runpy.py", line 73, in _run_code<br>
exec(code, run_globals)<br>
File "C:\Programs\Python32\lib\test\__main__.py", line 13, in <module><br>
regrtest.main()<br>
File "C:\Programs\Python32\lib\contextlib.py", line 46, in __exit__<br>
self.gen.throw(type, value, traceback)<br>
File "C:\Programs\Python32\lib\test\support.py", line 472, in temp_cwd<br>
rmtree(name)<br>
File "C:\Programs\Python32\lib\test\support.py", line 198, in rmtree<br>
shutil.rmtree(path)<br>
File "C:\Programs\Python32\lib\shutil.py", line 287, in rmtree<br>
onerror(os.rmdir, path, sys.exc_info())<br>
File "C:\Programs\Python32\lib\shutil.py", line 285, in rmtree<br>
os.rmdir(path)<br>
WindowsError: [Error 32] The process cannot access the file because it is being<br>
used by another process: 'c:\\docume~1\\terry\\locals~1\\temp\\test_python_2372'<br>
<br>
Traceback (most recent call last):<br>
File "C:\Programs\Python32\lib\multiprocessing\util.py", line 261, in _run_fin<br>
alizers<br>
finalizer()<br>
File "C:\Programs\Python32\lib\multiprocessing\util.py", line 200, in __call__<br>
<br>
res = self._callback(*self._args, **self._kwargs)<br>
File "C:\Programs\Python32\lib\multiprocessing\pool.py", line 492, in _termina<br>
te_pool<br>
p.terminate()<br>
File "C:\Programs\Python32\lib\multiprocessing\process.py", line 137, in termi<br>
nate<br>
self._popen.terminate()<br>
AttributeError: 'NoneType' object has no attribute 'terminate'<br>
<br>
C:\Programs\Python32>Traceback (most recent call last):<br>
File "<string>", line 1, in <module><br>
File "C:\Programs\Python32\lib\multiprocessing\forking.py", line 368, in main<br>
preparation_data = load(from_parent)<br>
EOFError<br><font color="#888888">
<br>
-- <br>
Terry Jan Reedy</font></blockquote><div><br></div><div><a href="http://bugs.python.org/issue9116">http://bugs.python.org/issue9116</a> covers this issue.</div><div><br></div><div>The reason it doesn't fail on any of the build slaves is because they modify a registry value for Windows Error Reporting to not display the pop-up window, or at least mine does. I think I got the idea from one of the other Windows build slave maintainers.</div>
</div>
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4