[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-03 Thread STINNER Victor
STINNER Victor added the comment: > Well, if needed I can create one but looks like it is going be an obsoleted > OS soon :/ I dislike the idea of making Python codes to support Solaris, since Solaris vendor doesn't support it anymore... Moreover, it's closed source, and most core devs

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-03 Thread STINNER Victor
STINNER Victor added the comment: New changeset 0961dbdea2a449fc5b7d77610d6d10e6036fbdf3 by Victor Stinner in branch '3.7': bpo-40140: test_builtin.PtyTests registers SIGHUP handler (GH-19314) (GH-19316) (GH-19318)

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: > There is no more Solaris buildbot. Solaris 11.4 will be likely the last > release: Oracle no longer supports Solaris. Well, if needed I can create one but looks like it is going be an obsoleted OS soon :/ --

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread STINNER Victor
STINNER Victor added the comment: I close the issue, it's now fixed in 3.8 and master (and I'm working on a 3.7 backport: PR 19318). Thanks Batuhan for the bug report. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18683 pull_request: https://github.com/python/cpython/pull/19318 ___ Python tracker ___

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 745bd91bab8e57c52d63a2d541465551d7551f78 by Victor Stinner in branch '3.8': bpo-40140: test_builtin.PtyTests registers SIGHUP handler (GH-19314) (GH-19316) https://github.com/python/cpython/commit/745bd91bab8e57c52d63a2d541465551d7551f78

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread STINNER Victor
STINNER Victor added the comment: > Victor, PR 19314 works perfectly. Thanks for testing Batuhan ;-) By the way, Solaris is no longer officially supported by Python: https://pythondev.readthedocs.io/platforms.html#best-effort-and-unofficial-platforms There is no more Solaris buildbot.

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18681 pull_request: https://github.com/python/cpython/pull/19316 ___ Python tracker ___

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset 7a51a7e19f0143f75f8fc9ff68f93ed40937aec6 by Victor Stinner in branch 'master': bpo-40140: test_builtin.PtyTests registers SIGHUP handler (GH-19314) https://github.com/python/cpython/commit/7a51a7e19f0143f75f8fc9ff68f93ed40937aec6 --

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: Victor, PR 19314 works perfectly. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread STINNER Victor
STINNER Victor added the comment: Batuhan: Ok, now please test PR 19314 which registers a signal handler for SIGHUP. It should fix the issue for Solaris. Moreover, I also includes the fix for AIX (bpo-40155). -- ___ Python tracker

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: isidentical@gcc-solaris11:~/cpython$ ./python -m test test_builtin -m test_input_no_stdout_fileno -F -j10 -v == CPython 3.9.0a5+ (heads/master:dc4e965, Apr 2 2020, 23:53:26) [GCC 5.5.0] == Solaris-2.11-sun4u-sparc-32bit big-endian == cwd:

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +18679 pull_request: https://github.com/python/cpython/pull/19314 ___ Python tracker ___

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread STINNER Victor
STINNER Victor added the comment: > I tested with both PR 19312 and PR 19308 and I still have the same crash Which test is causing the issue? Does it still crash if you comment test_input_no_stdout_fileno()? Try to rename it "Xtest_input_no_stdout_fileno" to skip it. What if you only run

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: I tested with both PR 19312 and PR 19308 and I still have the same crash 0:00:00 load avg: 0.80 Run tests in parallel using 2 child processes 0:00:01 load avg: 0.79 [1/1/1] test_builtin crashed (Exit code -1) --

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread STINNER Victor
STINNER Victor added the comment: Batuhan: Can you please test if PR 19312 fix the issue for you on Solaris? -- ___ Python tracker ___

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +18676 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19312 ___ Python tracker ___

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: isidentical@gcc-solaris11:~$ cpython/python Python 3.9.0a5+ (heads/master:98ff332, Apr 2 2020, 01:20:22) [GCC 5.5.0] on sunos5 Type "help", "copyright", "credits" or "license" for more information. >>> import signal >>> signal.SIGSEGV >>> signal.SIGHUP

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread STINNER Victor
STINNER Victor added the comment: > "crashing" as in the test result but not segfaulting > 0:00:01 load avg: 1.70 [1/1/1] test_builtin crashed (Exit code -1) What is the signal 1 on Solaris? On Linux, it's SIGHUP, not SIGSEGV: $ python3 Python 3.7.6 (default, Jan 30 2020, 09:44:41) >>>

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: > I am understanding "crashing" as "segfaulting" "crashing" as in the test result but not segfaulting 0:00:00 load avg: 1.71 Run tests in parallel using 2 child processes 0:00:01 load avg: 1.70 [1/1/1] test_builtin crashed (Exit code -1) --

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: The ulimit results with infinity and this happens on the current master. -- ___ Python tracker ___

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-02 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-40155: "AIX: test_builtin.test_input_no_stdout_fileno() hangs". -- ___ Python tracker ___

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-01 Thread STINNER Victor
STINNER Victor added the comment: > 0:00:01 load avg: 1.70 [1/1/1] test_builtin crashed (Exit code -1) Exit code -1 looks like a process killed by SIGHUP. Which commit did you try? Can you please check that you tested with my commit 16d75675d2ad2454f6dfbf333c94e6237df36018? --

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-01 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I am understanding "crashing" as "segfaulting" -- ___ Python tracker ___ ___

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-01 Thread STINNER Victor
STINNER Victor added the comment: I modified recently the test: (1) commit 278c1e159c970da6cd6683d18c6211f5118674cc -os.waitpid(pid, 0) +support.wait_process(pid, exitcode=0) (2) commit 16d75675d2ad2454f6dfbf333c94e6237df36018 Close the fd *after* calling

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-01 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Try making bigger the stack size (with ulimit -s ... or similar) -- nosy: +pablogsal ___ Python tracker ___

[issue40140] test_builtin crashes when runned in parallel mode on solaris

2020-04-01 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : test_builting works on serial run 0:00:00 load avg: 2.38 Run tests sequentially 0:00:00 load avg: 2.38 [1/1] test_builtin == Tests result: SUCCESS == 1 test OK. Total duration: 1.3 sec Tests result: SUCCESS but with more then one processes, it crashes