#27086: running servers.tests hangs in parallel mode
-------------------------------+--------------------------------------
Reporter: cjerdonek | Owner: nobody
Type: Uncategorized | Status: closed
Component: Uncategorized | Version: master
Severity: Normal | Resolution: worksforme
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Comment (by cjerdonek):
I narrowed this down further to the following:
The hang happens when calling `urllib.request.urlopen()` inside
`LiveServerBase`. And digging further, inside CPython's request.py, the
hang happens when calling `_scproxy._get_proxies()`.
There seem to be known issues around `_scproxy` in CPython for Mac OS X
users. For example, see the following two issues in CPython's bug
tracker:
(1) Apple-supplied libsqlite3 on OS X is not fork safe; can cause
crashes:
http://bugs.python.org/issue27126
(See this comment, in particular:
http://bugs.python.org/issue27126#msg266405 )
(2) exception error in _scproxy.so when called after fork
http://bugs.python.org/issue13829
There is a chance that there are easy workarounds on the Django side that
can be made to accommodate Mac OS X users.
Also, for the record I'm using 10.11.6.
--
Ticket URL: <https://code.djangoproject.com/ticket/27086#comment:6>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.c0a84a6ed43f2b3202c74de85586f246%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.