Closed
Bug 1020415
Opened 10 years ago
Closed 10 years ago
wptrunner fails to serve without correct /etc/hosts setup
Categories
(Firefox OS Graveyard :: Certification Suite, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ato, Unassigned)
Details
Without the following configuration in /etc/hosts, wptrunner fails to serve resources: 127.0.0.1 web-platform.test 127.0.0.1 www.web-platform.test 127.0.0.1 www1.web-platform.test 127.0.0.1 www2.web-platform.test 127.0.0.1 xn--n8j6ds53lwwkrqhv28a.web-platform.test 127.0.0.1 xn--lve-6lad.web-platform.test The error that's outputted looks like this: % python serve.py DEBUG:web-platform-tests:Going to use port 52783 DEBUG:web-platform-tests:Going to use port 52784 DEBUG:web-platform-tests:Going to use port 52785 ^/(.*)$ ^/(.*)\.asis$ ^/(.*)\.py$ ^/serve\.py$ ^/tools/(.*)$ ^/tools/runner/(.*)$ Socket error on port 52785 Process Process-1: Traceback (most recent call last): File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap self.run() File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py", line 114, in run self._target(*self._args, **self._kwargs) File "serve.py", line 76, in create_daemon self.daemon = init_func(config, paths, port, bind_hostname) File "serve.py", line 163, in start_http_server certificate=None) File "/Users/ato/Dropbox/Code/fxos-certsuite/web-platform-tests/tests/tools/wptserve/wptserve/server.py", line 307, in __init__ certificate=certificate) File "/Users/ato/Dropbox/Code/fxos-certsuite/web-platform-tests/tests/tools/wptserve/wptserve/server.py", line 144, in __init__ BaseHTTPServer.HTTPServer.__init__(self, hostname_port, RequestHandlerClass, **kwargs) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 419, in __init__ self.server_bind() File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/BaseHTTPServer.py", line 108, in server_bind SocketServer.TCPServer.server_bind(self) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 430, in server_bind self.socket.bind(self.server_address) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 224, in meth return getattr(self._sock,name)(*args) gaierror: [Errno 8] nodename nor servname provided, or not known
Comment 1•10 years ago
|
||
This is fixed now, right? Reopen if not.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•