Closed Bug 1595304 Opened 5 years ago Closed 5 years ago

Intermittent /webdriver/tests/navigate_to/navigate.py | test_null_parameter_value - setup error [CannotSendRequest]

Categories

(Remote Protocol :: Marionette, defect, P5)

Version 3
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1571426

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

Filed by: ccoroiu [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=275459260&repo=mozilla-central
Full log: https://queue.taskcluster.net/v1/task/dGHw_KH3Q9GIC0KNwd9Ocg/runs/0/artifacts/public/logs/live_backing.log


[task 2019-11-09T10:36:49.587Z] 10:36:49 INFO - TEST-START | /webdriver/tests/navigate_to/navigate.py

[task 2019-11-09T10:36:50.825Z] 10:36:50 INFO - STDOUT: =============================== warnings summary ===============================
[task 2019-11-09T10:36:50.825Z] 10:36:50 INFO - STDOUT: <undetermined location>
[task 2019-11-09T10:36:50.826Z] 10:36:50 INFO - STDOUT: Module already imported so cannot be rewritten: mozlog
[task 2019-11-09T10:36:50.826Z] 10:36:50 INFO - STDOUT: -- Docs: http://doc.pytest.org/en/latest/warnings.html
[task 2019-11-09T10:36:50.828Z] 10:36:50 INFO - STDOUT: ===================== 1 warnings, 4 error in 0.67 seconds ======================
[task 2019-11-09T10:36:50.837Z] 10:36:50 INFO -
[task 2019-11-09T10:36:50.837Z] 10:36:50 INFO - TEST-UNEXPECTED-ERROR | /webdriver/tests/navigate_to/navigate.py | test_null_parameter_value - setup error
[task 2019-11-09T10:36:50.838Z] 10:36:50 INFO - capabilities = {}
[task 2019-11-09T10:36:50.838Z] 10:36:50 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': 48042}
[task 2019-11-09T10:36:50.838Z] 10:36:50 INFO - request = <SubRequest 'session' for <Function 'test_null_parameter_value'>>
[task 2019-11-09T10:36:50.838Z] 10:36:50 INFO -
[task 2019-11-09T10:36:50.838Z] 10:36:50 INFO - @pytest.fixture(scope="function")
[task 2019-11-09T10:36:50.838Z] 10:36:50 INFO - def session(capabilities, configuration, request):
[task 2019-11-09T10:36:50.838Z] 10:36:50 INFO - """Create and start a session for a test that does not itself test session creation.
[task 2019-11-09T10:36:50.839Z] 10:36:50 INFO -
[task 2019-11-09T10:36:50.839Z] 10:36:50 INFO - By default the session will stay open after each test, but we always try to start a
[task 2019-11-09T10:36:50.839Z] 10:36:50 INFO - new one and assume that if that fails there is already a valid session. This makes it
[task 2019-11-09T10:36:50.839Z] 10:36:50 INFO - possible to recover from some errors that might leave the session in a bad state, but
[task 2019-11-09T10:36:50.840Z] 10:36:50 INFO - does not demand that we start a new session per test."""
[task 2019-11-09T10:36:50.840Z] 10:36:50 INFO - global _current_session
[task 2019-11-09T10:36:50.840Z] 10:36:50 INFO -
[task 2019-11-09T10:36:50.840Z] 10:36:50 INFO - # Update configuration capabilities with custom ones from the
[task 2019-11-09T10:36:50.841Z] 10:36:50 INFO - # capabilities fixture, which can be set by tests
[task 2019-11-09T10:36:50.841Z] 10:36:50 INFO - caps = copy.deepcopy(configuration["capabilities"])
[task 2019-11-09T10:36:50.841Z] 10:36:50 INFO - caps.update(capabilities)
[task 2019-11-09T10:36:50.841Z] 10:36:50 INFO - caps = {"alwaysMatch": caps}
[task 2019-11-09T10:36:50.842Z] 10:36:50 INFO -
[task 2019-11-09T10:36:50.842Z] 10:36:50 INFO - # If there is a session with different capabilities active, end it now
[task 2019-11-09T10:36:50.843Z] 10:36:50 INFO - if _current_session is not None and (
[task 2019-11-09T10:36:50.843Z] 10:36:50 INFO - caps != _current_session.requested_capabilities):
[task 2019-11-09T10:36:50.843Z] 10:36:50 INFO - _current_session.end()
[task 2019-11-09T10:36:50.844Z] 10:36:50 INFO - _current_session = None
[task 2019-11-09T10:36:50.844Z] 10:36:50 INFO -
[task 2019-11-09T10:36:50.844Z] 10:36:50 INFO - if _current_session is None:
[task 2019-11-09T10:36:50.844Z] 10:36:50 INFO - _current_session = webdriver.Session(
[task 2019-11-09T10:36:50.844Z] 10:36:50 INFO - configuration["host"],
[task 2019-11-09T10:36:50.845Z] 10:36:50 INFO - configuration["port"],
[task 2019-11-09T10:36:50.845Z] 10:36:50 INFO - capabilities=caps)
[task 2019-11-09T10:36:50.845Z] 10:36:50 INFO - try:
[task 2019-11-09T10:36:50.845Z] 10:36:50 INFO - > _current_session.start()
[task 2019-11-09T10:36:50.845Z] 10:36:50 INFO -
[task 2019-11-09T10:36:50.846Z] 10:36:50 INFO - capabilities = {}
[task 2019-11-09T10:36:50.846Z] 10:36:50 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 2019-11-09T10:36:50.846Z] 10:36:50 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': 48042}
[task 2019-11-09T10:36:50.846Z] 10:36:50 INFO - request = <SubRequest 'session' for <Function 'test_null_parameter_value'>>
[task 2019-11-09T10:36:50.847Z] 10:36:50 INFO -
[task 2019-11-09T10:36:50.847Z] 10:36:50 INFO - tests/web-platform/tests/webdriver/tests/support/fixtures.py:150:
[task 2019-11-09T10:36:50.847Z] 10:36:50 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2019-11-09T10:36:50.847Z] 10:36:50 INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:429: in start
[task 2019-11-09T10:36:50.848Z] 10:36:50 INFO - value = self.send_command("POST", "session", body=body)
[task 2019-11-09T10:36:50.848Z] 10:36:50 INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:471: in send_command
[task 2019-11-09T10:36:50.848Z] 10:36:50 INFO - session=self)
[task 2019-11-09T10:36:50.849Z] 10:36:50 INFO - tests/web-platform/tests/tools/webdriver/webdriver/transport.py:175: in send
[task 2019-11-09T10:36:50.849Z] 10:36:50 INFO - response = self._request(method, uri, payload, headers)
[task 2019-11-09T10:36:50.849Z] 10:36:50 INFO - tests/web-platform/tests/tools/webdriver/webdriver/transport.py:190: in _request
[task 2019-11-09T10:36:50.849Z] 10:36:50 INFO - self.connection.request(method, url, payload, headers)
[task 2019-11-09T10:36:50.849Z] 10:36:50 INFO - /usr/lib/python2.7/httplib.py:1057: in request
[task 2019-11-09T10:36:50.849Z] 10:36:50 INFO - self._send_request(method, url, body, headers)
[task 2019-11-09T10:36:50.849Z] 10:36:50 INFO - /usr/lib/python2.7/httplib.py:1097: in _send_request
[task 2019-11-09T10:36:50.849Z] 10:36:50 INFO - self.endheaders(body)
[task 2019-11-09T10:36:50.849Z] 10:36:50 INFO - /usr/lib/python2.7/httplib.py:1053: in endheaders
[task 2019-11-09T10:36:50.849Z] 10:36:50 INFO - self._send_output(message_body)
[task 2019-11-09T10:36:50.849Z] 10:36:50 INFO - /usr/lib/python2.7/httplib.py:897: in _send_output
[task 2019-11-09T10:36:50.850Z] 10:36:50 INFO - self.send(msg)
[task 2019-11-09T10:36:50.850Z] 10:36:50 INFO - /usr/lib/python2.7/httplib.py:859: in send
[task 2019-11-09T10:36:50.850Z] 10:36:50 INFO - self.connect()
[task 2019-11-09T10:36:50.850Z] 10:36:50 INFO - /usr/lib/python2.7/httplib.py:836: in connect
[task 2019-11-09T10:36:50.850Z] 10:36:50 INFO - self.timeout, self.source_address)
[task 2019-11-09T10:36:50.850Z] 10:36:50 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2019-11-09T10:36:50.851Z] 10:36:50 INFO -
[task 2019-11-09T10:36:50.851Z] 10:36:50 INFO - address = ('127.0.0.1', 48042), timeout = <object object at 0x7fc97e75d0d0>
[task 2019-11-09T10:36:50.851Z] 10:36:50 INFO - source_address = None
[task 2019-11-09T10:36:50.851Z] 10:36:50 INFO -
[task 2019-11-09T10:36:50.852Z] 10:36:50 INFO - def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT,
[task 2019-11-09T10:36:50.852Z] 10:36:50 INFO - source_address=None):
[task 2019-11-09T10:36:50.852Z] 10:36:50 INFO - """Connect to address and return the socket object.
[task 2019-11-09T10:36:50.852Z] 10:36:50 INFO -
[task 2019-11-09T10:36:50.853Z] 10:36:50 INFO - Convenience function. Connect to address (a 2-tuple (host, [task 2019-11-09T10:36:50.853Z] 10:36:50 INFO - port)) and return the socket object. Passing the optional
[task 2019-11-09T10:36:50.853Z] 10:36:50 INFO - timeout parameter will set the timeout on the socket instance
[task 2019-11-09T10:36:50.853Z] 10:36:50 INFO - before attempting to connect. If no timeout is supplied, the
[task 2019-11-09T10:36:50.853Z] 10:36:50 INFO - global default timeout setting returned by :func:getdefaulttimeout
[task 2019-11-09T10:36:50.853Z] 10:36:50 INFO - is used. If source_address is set it must be a tuple of (host, port)
[task 2019-11-09T10:36:50.853Z] 10:36:50 INFO - for the socket to bind as a source address before making the connection.
[task 2019-11-09T10:36:50.854Z] 10:36:50 INFO - A host of '' or port 0 tells the OS to use the default.
[task 2019-11-09T10:36:50.854Z] 10:36:50 INFO - """
[task 2019-11-09T10:36:50.854Z] 10:36:50 INFO -

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
Summary: Intermittent /webdriver/tests/navigate_to/navigate.py | test_null_parameter_value - setup error → Intermittent /webdriver/tests/navigate_to/navigate.py | test_null_parameter_value - setup error [Cannot send request]
Summary: Intermittent /webdriver/tests/navigate_to/navigate.py | test_null_parameter_value - setup error [Cannot send request] → Intermittent /webdriver/tests/navigate_to/navigate.py | test_null_parameter_value - setup error [CannotSendRequest]
Moving bug to Remote Protocol::Marionette component per bug 1815831.
Component: geckodriver → Marionette
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.