Intermittent /webdriver/tests/is_element_enabled/enabled.py | test_no_browsing_context - setup error [Address already in use]
Categories
(Remote Protocol :: Marionette, defect, P5)
Tracking
(Not tracked)
People
(Reporter: intermittent-bug-filer, Unassigned)
Details
(Keywords: intermittent-failure)
Filed by: rmaries [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=286227094&repo=mozilla-beta
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/A_q8oo9mTKybI7N6hPjRmA/runs/0/artifacts/public/logs/live_backing.log
[task 2020-01-23T22:39:04.569Z] 22:39:04 INFO - TEST-START | /webdriver/tests/is_element_enabled/enabled.py
[task 2020-01-23T22:39:08.669Z] 22:39:08 INFO - TEST-UNEXPECTED-ERROR | /webdriver/tests/is_element_enabled/enabled.py | test_no_browsing_context - setup error
[task 2020-01-23T22:39:08.669Z] 22:39:08 INFO - capabilities = {}
[task 2020-01-23T22:39:08.669Z] 22:39:08 INFO - configuration = {'capabilities': {'moz:firefoxOptions': {'binary': '/builds/worker/workspace/build/application/firefox/firefox', 'pref...platform.test,www2.www.not-web-platform.test', 'network.process.enabled': False}}}, 'host': '127.0.0.1', 'port': 44626}
[task 2020-01-23T22:39:08.670Z] 22:39:08 INFO - request = <SubRequest 'session' for <Function 'test_no_browsing_context'>>
[task 2020-01-23T22:39:08.670Z] 22:39:08 INFO -
[task 2020-01-23T22:39:08.670Z] 22:39:08 INFO - @pytest.fixture(scope="function")
[task 2020-01-23T22:39:08.670Z] 22:39:08 INFO - def session(capabilities, configuration, request):
[task 2020-01-23T22:39:08.671Z] 22:39:08 INFO - """Create and start a session for a test that does not itself test session creation.
[task 2020-01-23T22:39:08.671Z] 22:39:08 INFO -
[task 2020-01-23T22:39:08.671Z] 22:39:08 INFO - By default the session will stay open after each test, but we always try to start a
[task 2020-01-23T22:39:08.672Z] 22:39:08 INFO - new one and assume that if that fails there is already a valid session. This makes it
[task 2020-01-23T22:39:08.672Z] 22:39:08 INFO - possible to recover from some errors that might leave the session in a bad state, but
[task 2020-01-23T22:39:08.672Z] 22:39:08 INFO - does not demand that we start a new session per test."""
[task 2020-01-23T22:39:08.672Z] 22:39:08 INFO - global _current_session
[task 2020-01-23T22:39:08.672Z] 22:39:08 INFO -
[task 2020-01-23T22:39:08.672Z] 22:39:08 INFO - # Update configuration capabilities with custom ones from the
[task 2020-01-23T22:39:08.672Z] 22:39:08 INFO - # capabilities fixture, which can be set by tests
[task 2020-01-23T22:39:08.672Z] 22:39:08 INFO - caps = copy.deepcopy(configuration["capabilities"])
[task 2020-01-23T22:39:08.672Z] 22:39:08 INFO - caps.update(capabilities)
[task 2020-01-23T22:39:08.672Z] 22:39:08 INFO - caps = {"alwaysMatch": caps}
[task 2020-01-23T22:39:08.672Z] 22:39:08 INFO -
[task 2020-01-23T22:39:08.672Z] 22:39:08 INFO - # If there is a session with different capabilities active, end it now
[task 2020-01-23T22:39:08.672Z] 22:39:08 INFO - if _current_session is not None and (
[task 2020-01-23T22:39:08.673Z] 22:39:08 INFO - caps != _current_session.requested_capabilities):
[task 2020-01-23T22:39:08.673Z] 22:39:08 INFO - _current_session.end()
[task 2020-01-23T22:39:08.673Z] 22:39:08 INFO - _current_session = None
[task 2020-01-23T22:39:08.673Z] 22:39:08 INFO -
[task 2020-01-23T22:39:08.673Z] 22:39:08 INFO - if _current_session is None:
[task 2020-01-23T22:39:08.673Z] 22:39:08 INFO - _current_session = webdriver.Session(
[task 2020-01-23T22:39:08.674Z] 22:39:08 INFO - configuration["host"],
[task 2020-01-23T22:39:08.674Z] 22:39:08 INFO - configuration["port"],
[task 2020-01-23T22:39:08.674Z] 22:39:08 INFO - capabilities=caps)
[task 2020-01-23T22:39:08.674Z] 22:39:08 INFO - try:
[task 2020-01-23T22:39:08.675Z] 22:39:08 INFO - > _current_session.start()
[task 2020-01-23T22:39:08.675Z] 22:39:08 INFO -
[task 2020-01-23T22:39:08.676Z] 22:39:08 INFO - capabilities = {}
[task 2020-01-23T22:39:08.676Z] 22:39:08 INFO - caps = {'alwaysMatch': {'moz:firefoxOptions': {'binary': '/builds/worker/workspace/build/application/firefox/firefox', 'prefs...form.test,xn--lve-6lad.www2.not-web-platform.test,www2.www.not-web-platform.test', 'network.process.enabled': False}}}}
[task 2020-01-23T22:39:08.676Z] 22:39:08 INFO - configuration = {'capabilities': {'moz:firefoxOptions': {'binary': '/builds/worker/workspace/build/application/firefox/firefox', 'pref...platform.test,www2.www.not-web-platform.test', 'network.process.enabled': False}}}, 'host': '127.0.0.1', 'port': 44626}
[task 2020-01-23T22:39:08.677Z] 22:39:08 INFO - request = <SubRequest 'session' for <Function 'test_no_browsing_context'>>
[task 2020-01-23T22:39:08.677Z] 22:39:08 INFO -
[task 2020-01-23T22:39:08.677Z] 22:39:08 INFO - tests/web-platform/tests/webdriver/tests/support/fixtures.py:150:
[task 2020-01-23T22:39:08.678Z] 22:39:08 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2020-01-23T22:39:08.678Z] 22:39:08 INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:428: in start
[task 2020-01-23T22:39:08.678Z] 22:39:08 INFO - value = self.send_command("POST", "session", body=body)
[task 2020-01-23T22:39:08.678Z] 22:39:08 INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:470: in send_command
[task 2020-01-23T22:39:08.678Z] 22:39:08 INFO - session=self)
[task 2020-01-23T22:39:08.679Z] 22:39:08 INFO - tests/web-platform/tests/tools/webdriver/webdriver/transport.py:175: in send
[task 2020-01-23T22:39:08.679Z] 22:39:08 INFO - response = self._request(method, uri, payload, headers)
[task 2020-01-23T22:39:08.679Z] 22:39:08 INFO - tests/web-platform/tests/tools/webdriver/webdriver/transport.py:190: in _request
[task 2020-01-23T22:39:08.679Z] 22:39:08 INFO - self.connection.request(method, url, payload, headers)
[task 2020-01-23T22:39:08.679Z] 22:39:08 INFO - /usr/lib/python2.7/httplib.py:1057: in request
[task 2020-01-23T22:39:08.679Z] 22:39:08 INFO - self._send_request(method, url, body, headers)
[task 2020-01-23T22:39:08.680Z] 22:39:08 INFO - /usr/lib/python2.7/httplib.py:1097: in _send_request
[task 2020-01-23T22:39:08.680Z] 22:39:08 INFO - self.endheaders(body)
[task 2020-01-23T22:39:08.680Z] 22:39:08 INFO - /usr/lib/python2.7/httplib.py:1053: in endheaders
[task 2020-01-23T22:39:08.680Z] 22:39:08 INFO - self._send_output(message_body)
[task 2020-01-23T22:39:08.680Z] 22:39:08 INFO - /usr/lib/python2.7/httplib.py:897: in _send_output
[task 2020-01-23T22:39:08.681Z] 22:39:08 INFO - self.send(msg)
[task 2020-01-23T22:39:08.681Z] 22:39:08 INFO - /usr/lib/python2.7/httplib.py:859: in send
[task 2020-01-23T22:39:08.681Z] 22:39:08 INFO - self.connect()
[task 2020-01-23T22:39:08.681Z] 22:39:08 INFO - /usr/lib/python2.7/httplib.py:836: in connect
[task 2020-01-23T22:39:08.681Z] 22:39:08 INFO - self.timeout, self.source_address)
[task 2020-01-23T22:39:08.681Z] 22:39:08 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2020-01-23T22:39:08.681Z] 22:39:08 INFO -
[task 2020-01-23T22:39:08.681Z] 22:39:08 INFO - address = ('127.0.0.1', 44626), timeout = <object object at 0x7f7453acf0d0>
[task 2020-01-23T22:39:08.681Z] 22:39:08 INFO - source_address = None
[task 2020-01-23T22:39:08.681Z] 22:39:08 INFO -
[task 2020-01-23T22:39:08.681Z] 22:39:08 INFO - def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT,
[task 2020-01-23T22:39:08.682Z] 22:39:08 INFO - source_address=None):
[task 2020-01-23T22:39:08.682Z] 22:39:08 INFO - """Connect to address and return the socket object.
[task 2020-01-23T22:39:08.682Z] 22:39:08 INFO -
[task 2020-01-23T22:39:08.682Z] 22:39:08 INFO - Convenience function. Connect to address (a 2-tuple (host, [task 2020-01-23T22:39:08.682Z] 22:39:08 INFO - port)
) and return the socket object. Passing the optional
[task 2020-01-23T22:39:08.682Z] 22:39:08 INFO - timeout parameter will set the timeout on the socket instance
[task 2020-01-23T22:39:08.682Z] 22:39:08 INFO - before attempting to connect. If no timeout is supplied, the
[task 2020-01-23T22:39:08.682Z] 22:39:08 INFO - global default timeout setting returned by :func:getdefaulttimeout
[task 2020-01-23T22:39:08.682Z] 22:39:08 INFO - is used. If source_address is set it must be a tuple of (host, port)
[task 2020-01-23T22:39:08.682Z] 22:39:08 INFO - for the socket to bind as a source address before making the connection.
[task 2020-01-23T22:39:08.682Z] 22:39:08 INFO - A host of '' or port 0 tells the OS to use the default.
[task 2020-01-23T22:39:08.682Z] 22:39:08 INFO - """
[task 2020-01-23T22:39:08.682Z] 22:39:08 INFO -
[task 2020-01-23T22:39:08.682Z] 22:39:08 INFO - host, port = address
[task 2020-01-23T22:39:08.682Z] 22:39:08 INFO - err = None
[task 2020-01-23T22:39:08.682Z] 22:39:08 INFO - for res in getaddrinfo(host, port, 0, SOCK_STREAM):
[task 2020-01-23T22:39:08.682Z] 22:39:08 INFO - af, socktype, proto, canonname, sa = res
[task 2020-01-23T22:39:08.683Z] 22:39:08 INFO - sock = None
[task 2020-01-23T22:39:08.683Z] 22:39:08 INFO - try:
[task 2020-01-23T22:39:08.683Z] 22:39:08 INFO - sock = socket(af, socktype, proto)
[task 2020-01-23T22:39:08.683Z] 22:39:08 INFO - if timeout is not _GLOBAL_DEFAULT_TIMEOUT:
[task 2020-01-23T22:39:08.683Z] 22:39:08 INFO - sock.settimeout(timeout)
[task 2020-01-23T22:39:08.683Z] 22:39:08 INFO - if source_address:
[task 2020-01-23T22:39:08.683Z] 22:39:08 INFO - sock.bind(source_address)
[task 2020-01-23T22:39:08.683Z] 22:39:08 INFO - sock.connect(sa)
[task 2020-01-23T22:39:08.683Z] 22:39:08 INFO - return sock
[task 2020-01-23T22:39:08.683Z] 22:39:08 INFO -
[task 2020-01-23T22:39:08.683Z] 22:39:08 INFO - except error as _:
[task 2020-01-23T22:39:08.683Z] 22:39:08 INFO - err = _
[task 2020-01-23T22:39:08.683Z] 22:39:08 INFO - if sock is not None:
[task 2020-01-23T22:39:08.683Z] 22:39:08 INFO - sock.close()
[task 2020-01-23T22:39:08.683Z] 22:39:08 INFO -
[task 2020-01-23T22:39:08.683Z] 22:39:08 INFO - if err is not None:
[task 2020-01-23T22:39:08.683Z] 22:39:08 INFO - > raise err
[task 2020-01-23T22:39:08.683Z] 22:39:08 INFO - E error: [Errno 111] Connection refused
[task 2020-01-23T22:39:08.683Z] 22:39:08 INFO -
[task 2020-01-23T22:39:08.683Z] 22:39:08 INFO - _ = error(111, 'Connection refused')
[task 2020-01-23T22:39:08.683Z] 22:39:08 INFO - address = ('127.0.0.1', 44626)
[task 2020-01-23T22:39:08.683Z] 22:39:08 INFO - af = 2
[task 2020-01-23T22:39:08.684Z] 22:39:08 INFO - canonname = ''
[task 2020-01-23T22:39:08.684Z] 22:39:08 INFO - err = error(111, 'Connection refused')
[task 2020-01-23T22:39:08.684Z] 22:39:08 INFO - host = '127.0.0.1'
[task 2020-01-23T22:39:08.684Z] 22:39:08 INFO - port = 44626
[task 2020-01-23T22:39:08.684Z] 22:39:08 INFO - proto = 6
[task 2020-01-23T22:39:08.684Z] 22:39:08 INFO - res = (2, 1, 6, '', ('127.0.0.1', 44626))
[task 2020-01-23T22:39:08.684Z] 22:39:08 INFO - sa = ('127.0.0.1', 44626)
[task 2020-01-23T22:39:08.684Z] 22:39:08 INFO - sock = <socket._socketobject object at 0x7f7449d9cde0>
[task 2020-01-23T22:39:08.684Z] 22:39:08 INFO - socktype = 1
[task 2020-01-23T22:39:08.684Z] 22:39:08 INFO - source_address = None
[task 2020-01-23T22:39:08.684Z] 22:39:08 INFO - timeout = <object object at 0x7f7453acf0d0>
[task 2020-01-23T22:39:08.684Z] 22:39:08 INFO -
[task 2020-01-23T22:39:08.684Z] 22:39:08 INFO - /usr/lib/python2.7/socket.py:575: error
Updated•5 years ago
|
Comment hidden (Intermittent Failures Robot) |
Comment 3•2 years ago
|
||
Description
•