New submission from Xavier de Gaye:
This happens on Android for a non-root user. Multiple tests fail in
test_socketserver with identical backtraces, only the first one is listed here.
======================================================================
[905/2616]
ERROR: test_ForkingUnixDatagramServer (test.test_socketserver.SocketServerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/sdcard/org.bitbucket.pyona/lib/python3.7/test/test_socketserver.py",
line 243, in test_Fork
ingUnixDatagramServer
self.dgram_examine)
File "/sdcard/org.bitbucket.pyona/lib/python3.7/test/support/__init__.py",
line 2040, in decorator
return func(*args)
File "/sdcard/org.bitbucket.pyona/lib/python3.7/test/test_socketserver.py",
line 121, in run_serve
r
svrcls, hdlrbase)
File "/sdcard/org.bitbucket.pyona/lib/python3.7/test/test_socketserver.py",
line 114, in make_serv
er
server = MyServer(addr, MyHandler)
File "/sdcard/org.bitbucket.pyona/lib/python3.7/socketserver.py", line 452,
in __init__
self.server_bind()
File "/sdcard/org.bitbucket.pyona/lib/python3.7/socketserver.py", line 466,
in server_bind
self.socket.bind(self.server_address)
PermissionError: [Errno 13] Permission denied
----------
assignee: xdegaye
components: Tests
messages: 284845
nosy: xdegaye
priority: normal
severity: normal
stage: needs patch
status: open
title: skip tests of test_socketserver when bind() raises PermissionError
(non-root user on Android)
type: behavior
versions: Python 3.6, Python 3.7
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue29184>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com