[issue32252] test_regrtest leaves a test_python_* directory in TEMPDIR

2019-06-21 Thread STINNER Victor
STINNER Victor added the comment: This issue has been fixed in a more generic way: when using -jN, child processes reuse the temporary directory of the main process, and then main process ensures that the temporary directory is always removed: commit 3c93153f7db5dd9b06f229e61978fd9199b3c097

[issue32252] test_regrtest leaves a test_python_* directory in TEMPDIR

2017-12-11 Thread STINNER Victor
STINNER Victor added the comment: New changeset 71d8f36eb450cdbc4b5397e25f6f3f5d676aca79 by Victor Stinner (Miss Islington (bot)) in branch '3.6': bpo-32252: Fix faulthandler_suppress_crash_report() (GH-4794) (#4795) https://github.com/python/cpython/commit/71d8f36eb450cdbc4b5397e25f6f3f5d676a

[issue32252] test_regrtest leaves a test_python_* directory in TEMPDIR

2017-12-11 Thread STINNER Victor
STINNER Victor added the comment: New changeset 48d4dd974f0c8d47c54990eedd322b96b19c60ec by Victor Stinner in branch 'master': bpo-32252: Fix faulthandler_suppress_crash_report() (#4794) https://github.com/python/cpython/commit/48d4dd974f0c8d47c54990eedd322b96b19c60ec -- ___

[issue32252] test_regrtest leaves a test_python_* directory in TEMPDIR

2017-12-11 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +4694 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue32252] test_regrtest leaves a test_python_* directory in TEMPDIR

2017-12-11 Thread STINNER Victor
STINNER Victor added the comment: > * No core dump must be written, Python is supposed to disable that My bad. It's an obvious bug that was missed before because regrtest creates a temporary directory to run tests and then remove it. I wrote the PR 4794 to fix faulthandler. -- _

[issue32252] test_regrtest leaves a test_python_* directory in TEMPDIR

2017-12-11 Thread STINNER Victor
STINNER Victor added the comment: > Maybe it just does not remove it because the test crashed ? Ah, you're right :-) -- ___ Python tracker ___

[issue32252] test_regrtest leaves a test_python_* directory in TEMPDIR

2017-12-11 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +4693 stage: needs patch -> patch review ___ Python tracker ___ ___ Pyt

[issue32252] test_regrtest leaves a test_python_* directory in TEMPDIR

2017-12-11 Thread Xavier de Gaye
Xavier de Gaye added the comment: > So running test_regrtest creates build/test_python_816/ but fails to remove > it because it contains a core dump: core-python.11.816. Not sure that it is because it contains a core file. Maybe it just does not remove it because the test crashed ? -

[issue32252] test_regrtest leaves a test_python_* directory in TEMPDIR

2017-12-11 Thread Xavier de Gaye
Xavier de Gaye added the comment: > Ah! I misunderstood the bug report. I was looking for a ENV_FAILED failure, > but no, regrtest fails to remove its temporary directory but no warning is > emitted in this case. Yes :-) -- ___ Python tracker

[issue32252] test_regrtest leaves a test_python_* directory in TEMPDIR

2017-12-11 Thread Xavier de Gaye
Xavier de Gaye added the comment: What is now the content of the 'build/' subdirectory of the source tree ? -- ___ Python tracker ___ __

[issue32252] test_regrtest leaves a test_python_* directory in TEMPDIR

2017-12-11 Thread STINNER Victor
STINNER Victor added the comment: Ah! I misunderstood the bug report. I was looking for a ENV_FAILED failure, but no, regrtest fails to remove its temporary directory but no warning is emitted in this case. vstinner@apu$ ls -d build/test_python_*; ./python -m test test_regrtest -m test.test_

[issue32252] test_regrtest leaves a test_python_* directory in TEMPDIR

2017-12-11 Thread STINNER Victor
STINNER Victor added the comment: I'm unable to reproduce the issue on Fedora 27: vstinner@apu$ cat /proc/sys/kernel/core_pattern core-%e.%s vstinner@apu$ ulimit -c unlimited vstinner@apu$ ./python -m test test_regrtest Run tests sequentially 0:00:00 load avg: 0.70 [1/1] test_regrtest 1 test O

[issue32252] test_regrtest leaves a test_python_* directory in TEMPDIR

2017-12-09 Thread Xavier de Gaye
Xavier de Gaye added the comment: Oh it seems your Fedora 27 also uses systemd and uses the same configuration as archlinux, see https://wiki.archlinux.org/index.php/Core_dump. In that case according to this wiki your core dumps go to /var/lib/systemd/coredump and this may explain the differe

[issue32252] test_regrtest leaves a test_python_* directory in TEMPDIR

2017-12-09 Thread Xavier de Gaye
Xavier de Gaye added the comment: > Can you please explain how to reproduce the bug? (Which commands should I > type?) ./python -m test test_regrtest > What is your /proc/sys/kernel/core_pattern? $ cat /proc/sys/kernel/core_pattern core-%e.%s $ ulimit -c unlimited FWIW on archlinux (my plat

[issue32252] test_regrtest leaves a test_python_* directory in TEMPDIR

2017-12-08 Thread STINNER Victor
STINNER Victor added the comment: > After running test_regrtest in the source tree on linux, the build/ > subdirectory (i.e. test.libregrtest.main.TEMPDIR) contains a new > test_python_* directory that contains a core file when the core file size is > unlimited. Can you please explain how to

[issue32252] test_regrtest leaves a test_python_* directory in TEMPDIR

2017-12-08 Thread Xavier de Gaye
New submission from Xavier de Gaye : After running test_regrtest in the source tree on linux, the build/ subdirectory (i.e. test.libregrtest.main.TEMPDIR) contains a new test_python_* directory that contains a core file when the core file size is unlimited. I did not test on 3.6. -- c