[Webkit-unassigned] [Bug 188118] [GTK] Many WebDriver tests are failing
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jul 27 12:42:32 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=188118
--- Comment #2 from Michael Catanzaro <mcatanzaro at igalia.com> ---
____________ ERROR at teardown of testClickShouldTimeout[WebKitGTK] ____________
driver = <selenium.webdriver.webkitgtk.webdriver.WebDriver (session="165d5c3a-2682-4b25-9434-5672d2903e95")>
@pytest.fixture(autouse=True)
def reset_timeouts(driver):
yield
> driver.set_page_load_timeout(300)
driver = <selenium.webdriver.webkitgtk.webdriver.WebDriver (session="165d5c3a-2682-4b25-9434-5672d2903e95")>
WebDriverTests/imported/selenium/py/test/selenium/webdriver/common/page_load_timeout_tests.py:26:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
WebDriverTests/imported/selenium/py/selenium/webdriver/remote/webdriver.py:926: in set_page_load_timeout
'pageLoad': int(float(time_to_wait) * 1000)})
WebDriverTests/imported/selenium/py/selenium/webdriver/remote/webdriver.py:310: in execute
response = self.command_executor.execute(driver_command, params)
WebDriverTests/imported/selenium/py/selenium/webdriver/remote/remote_connection.py:466: in execute
return self._request(command_info[0], url, body=data)
WebDriverTests/imported/selenium/py/selenium/webdriver/remote/remote_connection.py:528: in _request
resp = opener.open(request, timeout=self._timeout)
/usr/lib/python2.7/urllib2.py:429: in open
response = self._open(req, data)
/usr/lib/python2.7/urllib2.py:447: in _open
'_open', req)
/usr/lib/python2.7/urllib2.py:407: in _call_chain
result = func(*args)
/usr/lib/python2.7/urllib2.py:1228: in http_open
return self.do_open(httplib.HTTPConnection, req)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <urllib2.HTTPHandler instance at 0x7f6062a34878>
http_class = <class httplib.HTTPConnection at 0x7f60682bb050>
req = <selenium.webdriver.remote.remote_connection.Request instance at 0x7f6062a34e60>
http_conn_args = {}, host = '127.0.0.1:52629'
h = <httplib.HTTPConnection instance at 0x7f6062a348c0>
err = error(111, 'Connection refused')
def do_open(self, http_class, req, **http_conn_args):
"""Return an addinfourl object for the request, using http_class.
http_class must implement the HTTPConnection API from httplib.
The addinfourl return value is a file-like object. It also
has methods and attributes including:
- info(): return a mimetools.Message object for the headers
- geturl(): return the original request URL
- code: HTTP status code
"""
host = req.get_host()
if not host:
raise URLError('no host given')
# will parse host:port
h = http_class(host, timeout=req.timeout, **http_conn_args)
h.set_debuglevel(self._debuglevel)
headers = dict(req.unredirected_hdrs)
headers.update(dict((k, v) for k, v in req.headers.items()
if k not in headers))
# We want to make an HTTP/1.1 request, but the addinfourl
# class isn't prepared to deal with a persistent connection.
# It will try to read all remaining data from the socket,
# which will block while the server waits for the next request.
# So make sure the connection gets closed after the (only)
# request.
headers["Connection"] = "close"
headers = dict(
(name.title(), val) for name, val in headers.items())
if req._tunnel_host:
tunnel_headers = {}
proxy_auth_hdr = "Proxy-Authorization"
if proxy_auth_hdr in headers:
tunnel_headers[proxy_auth_hdr] = headers[proxy_auth_hdr]
# Proxy-Authorization should not be sent to origin
# server.
del headers[proxy_auth_hdr]
h.set_tunnel(req._tunnel_host, headers=tunnel_headers)
try:
h.request(req.get_method(), req.get_selector(), req.data, headers)
except socket.error, err: # XXX what error?
h.close()
> raise URLError(err)
E URLError: <urlopen error [Errno 111] Connection refused>
err = error(111, 'Connection refused')
h = <httplib.HTTPConnection instance at 0x7f6062a348c0>
headers = {'Accept': 'application/json', 'Connection': 'close', 'Content-Length': '20', 'Content-Type': 'application/json;charset=UTF-8', ...}
host = '127.0.0.1:52629'
http_class = <class httplib.HTTPConnection at 0x7f60682bb050>
http_conn_args = {}
req = <selenium.webdriver.remote.remote_connection.Request instance at 0x7f6062a34e60>
self = <urllib2.HTTPHandler instance at 0x7f6062a34878>
/usr/lib/python2.7/urllib2.py:1198: URLError
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180727/1bcd38a6/attachment-0001.html>
More information about the webkit-unassigned
mailing list