[issue20599] test_cleanup() of test_builtin failed

2014-03-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3d5154fa8413 by Serhiy Storchaka in branch '3.4': Try to fix test_cleanup (issue #20599). http://hg.python.org/cpython/rev/3d5154fa8413 New changeset c978dffb95ac by Victor Stinner in branch '3.4': Issue #20599: Force ASCII encoding for stdout in te

[issue20599] test_cleanup() of test_builtin failed

2014-02-13 Thread STINNER Victor
STINNER Victor added the comment: > This is probably is missing LD_LIBRARY_PATH environment variable. >> Fatal Python error: Failed to initialize Windows random API (CryptoGen) >Oh, it remembers me that Windows requires some environment variables to start, >otherwise it fails badly. Ok, I fille

[issue20599] test_cleanup() of test_builtin failed

2014-02-13 Thread STINNER Victor
STINNER Victor added the comment: > Shared object "libpython3.4dm.so.1" not found, required by "python" This is probably is missing LD_LIBRARY_PATH environment variable. > Fatal Python error: Failed to initialize Windows random API (CryptoGen) Oh, it remembers me that Windows requires some env

[issue20599] test_cleanup() of test_builtin failed

2014-02-13 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- Removed message: http://bugs.python.org/msg211136 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue20599] test_cleanup() of test_builtin failed

2014-02-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: And yet one failure on FreeBSD. http://buildbot.python.org/all/builders/AMD64%20FreeBSD%2010.0%203.x/builds/1724/steps/test/logs/stdio == FAIL: test_cleanup (test.test_builtin.ShutdownTest) -

[issue20599] test_cleanup() of test_builtin failed

2014-02-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 488ccbee6ee6 by Victor Stinner in branch 'default': Issue #20599: Don't clear environment in test_cleanup() of test_builtin http://hg.python.org/cpython/rev/488ccbee6ee6 -- ___ Python tracker

[issue20599] test_cleanup() of test_builtin failed

2014-02-13 Thread STINNER Victor
STINNER Victor added the comment: Another failure: http://buildbot.python.org/all/builders/AMD64%20FreeBSD%2010.0%203.x/builds/1724/steps/test/logs/stdio == FAIL: test_cleanup (test.test_builtin.ShutdownTest) --

[issue20599] test_cleanup() of test_builtin failed

2014-02-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > I (hope I) fixed the test, but in fact, the test showed another bug: print() > cannot be used during Python exit in destructor. It means for example that > Python may not be able to display errors at exit. print() can be used during Python exit in destruct

[issue20599] test_cleanup() of test_builtin failed

2014-02-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: May be setting PYTHONHASHSEED will silence this error. But I afraid there is a real bug in initialization on Windows. -- ___ Python tracker _

[issue20599] test_cleanup() of test_builtin failed

2014-02-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Now test fails with mystical error. http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.x/builds/4074/steps/test/logs/stdio http://buildbot.python.org/all/builders/x86%20Windows%20Server%202008%20%5BSB%5D%203.x/builds/2312/steps/test/logs/stdio

[issue20599] test_cleanup() of test_builtin failed

2014-02-12 Thread STINNER Victor
STINNER Victor added the comment: > Sorry, issue20599_ascii_ioencoding.patch doesn't fix the issue. Sorry again, I didn't read issue20599_ascii_ioencoding.patch carefully: it doesn't make sense to use the isolated mode and to set a Python environment variable (PYTHONIOENCODING). The purpose of

[issue20599] test_cleanup() of test_builtin failed

2014-02-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 10ea3125d7b8 by Victor Stinner in branch 'default': Issue #20599: Force ASCII encoding for stdout in test_cleanup() of test_builtin http://hg.python.org/cpython/rev/10ea3125d7b8 -- ___ Python tracker

[issue20599] test_cleanup() of test_builtin failed

2014-02-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What if use "-u" flag? "utf-8" or "utf_8" encoding? -- ___ Python tracker ___ ___ Python-bugs-list

[issue20599] test_cleanup() of test_builtin failed

2014-02-12 Thread STINNER Victor
STINNER Victor added the comment: Sorry, issue20599_ascii_ioencoding.patch doesn't fix the issue. (I also tested issue20599_ascii_ioencoding.patch + flush=True for print, it still fails sometimes.) -- ___ Python tracker

[issue20599] test_cleanup() of test_builtin failed

2014-02-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Ah, thank you for your hint Victor. This patch should fix the issue. -- Added file: http://bugs.python.org/file34058/issue20599_ascii_ioencoding.patch ___ Python tracker

[issue20599] test_cleanup() of test_builtin failed

2014-02-12 Thread STINNER Victor
STINNER Victor added the comment: > It is possible that adding flush=True in print() will solve the issue. I tried. It does not fix the issue. Hint: On Windows, sys.stdout.encoding is a codec implemented in pure Python (ex: cp850). You should try to reproduce the issue on Linux using PYTHONIO

[issue20599] test_cleanup() of test_builtin failed

2014-02-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Failed builtbots: http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.x/builds/4072/steps/test/logs/stdio http://buildbot.python.org/all/builders/x86%20XP-4%203.x/builds/10154/steps/test/logs/stdio http://buildbot.python.org/all/builders/x86%20W

[issue20599] test_cleanup() of test_builtin failed

2014-02-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7ecee9e0dc58 by Serhiy Storchaka in branch 'default': Try to fix test_cleanup (issue #20599). http://hg.python.org/cpython/rev/7ecee9e0dc58 -- nosy: +python-dev ___ Python tracker

[issue20599] test_cleanup() of test_builtin failed

2014-02-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Unfortunately I can't reproduce this failure. We should look at how often this happens on buildbots. It is possible that adding flush=True in print() will solve the issue. -- components: +Tests keywords: +patch type: -> behavior Added file: http://b

[issue20599] test_cleanup() of test_builtin failed

2014-02-11 Thread STINNER Victor
STINNER Victor added the comment: It's probably linked to recent changes from issue #19255. -- nosy: +pitrou ___ Python tracker ___ __

[issue20599] test_cleanup() of test_builtin failed

2014-02-11 Thread STINNER Victor
New submission from STINNER Victor: http://buildbot.python.org/all/builders/x86%20XP-4%203.x/builds/10150/steps/test/logs/stdio == FAIL: test_cleanup (test.test_builtin.ShutdownTest) -