New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.7: test_threading hangs on Solaris #49364
Comments
On two machines I have seen test_threading hang in ... The attached file contains the output of running ./apy/bin/python2.5 ./apy/lib/python2.5/test/regrtest.py -v test_threading on the problematic machines. It is necessary to kill one of the subprocesses to force forward andreask 26601 26552 0 12:13:50 pts/1 0:00 ./apy/bin/python2.5 And I usually kill the bottom most process. |
I can confirm the same exact issue exists in python2.6 on: Killing the bottom process worked for me as well |
Platform: Solaris 5.8 sparc make test reported back the following on the initial test:
test test_threading failed -- Traceback (most recent call last):
File
"/tools/webapps/local/src/Python-2.6.2/Lib/test/test_threading.py", line
419, in test_3_join_in_forked_from_thread
self._run_and_join(script)
File
"/tools/webapps/local/src/Python-2.6.2/Lib/test/test_threading.py", line
355, in _run_and_join
self.assertEqual(data, "end of main\nend of thread\n")
AssertionError: '' != 'end of main\nend of thread\n' Same type of issue further on in the testing: test_1_join_on_shutdown (test.test_threading.ThreadJoinOnShutdown) ... ok $ ps -ef | grep -i 'python'
xuserx 24669 17424 0 11:36:01 pts/18 5:44 ./python -E -tt
./Lib/test/regrtest.py -l
xuserx 27539 27528 0 12:00:29 pts/18 0:00
/tools/webapps/local/src/Python-2.6.2/python -c if 1: import
sys, o
xuserx 27528 24669 0 12:00:28 pts/18 0:00
/tools/webapps/local/src/Python-2.6.2/python -c if 1: import
sys, o
xuserx 27660 29318 0 12:07:16 pts/18 0:00 grep -i python
$ kill 27539
<test continues then reports:>
test_3_join_in_forked_from_thread
(test.test_threading.ThreadJoinOnShutdown) ... FAIL ====================================================================== Traceback (most recent call last):
File
"/tools/webapps/local/src/Python-2.6.2/Lib/test/test_threading.py", line
419, in test_3_join_in_forked_from_thread
self._run_and_join(script)
File
"/tools/webapps/local/src/Python-2.6.2/Lib/test/test_threading.py", line
355, in _run_and_join
self.assertEqual(data, "end of main\nend of thread\n")
AssertionError: '' != 'end of main\nend of thread\n' I'll keep digging and see if I can find a solution, but know that while |
FWIW it hangs on Solaris 9 also (sparc + x86) |
Still an issue in 2.7 or 3.1/2? |
Yes, this problem persists on Solaris 9 (SPARC) even with Python 2.7.1. ssahmed@blade:[~]$ ps -ef|grep -i python I was able to workaround the problem by killing the bottom-most process in the list. |
Hmm. |
I'm closing. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: