Closed Bug 1596534 Opened 5 years ago Closed 5 years ago

Intermittent /webdriver/tests/execute_script/collections.py | test_arguments - setup error [Address already in use (os error 98)]

Categories

(Remote Protocol :: Marionette, defect, P5)

Version 3
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1576061

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=276252329&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/DVDe1QkBSk2cX2BPi_zUdg/runs/0/artifacts/public/logs/live_backing.log


task 2019-11-14T18:52:27.400Z] 18:52:27 INFO - TEST-START | /webdriver/tests/execute_script/collections.py
[task 2019-11-14T18:52:29.289Z] 18:52:29 INFO - STDOUT: =============================== warnings summary ===============================
[task 2019-11-14T18:52:29.290Z] 18:52:29 INFO - STDOUT: <undetermined location>
[task 2019-11-14T18:52:29.292Z] 18:52:29 INFO - STDOUT: Module already imported so cannot be rewritten: mozlog
[task 2019-11-14T18:52:29.293Z] 18:52:29 INFO - STDOUT: -- Docs: http://doc.pytest.org/en/latest/warnings.html
[task 2019-11-14T18:52:29.293Z] 18:52:29 INFO - STDOUT: ===================== 1 warnings, 8 error in 0.99 seconds ======================
[task 2019-11-14T18:52:29.301Z] 18:52:29 INFO -
[task 2019-11-14T18:52:29.301Z] 18:52:29 INFO - TEST-UNEXPECTED-ERROR | /webdriver/tests/execute_script/collections.py | test_arguments - setup error
[task 2019-11-14T18:52:29.302Z] 18:52:29 INFO - capabilities = {}
[task 2019-11-14T18:52:29.302Z] 18:52:29 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': 60818}
[task 2019-11-14T18:52:29.302Z] 18:52:29 INFO - request = <SubRequest 'session' for <Function 'test_arguments'>>
[task 2019-11-14T18:52:29.303Z] 18:52:29 INFO -
[task 2019-11-14T18:52:29.303Z] 18:52:29 INFO - @pytest.fixture(scope="function")
[task 2019-11-14T18:52:29.303Z] 18:52:29 INFO - def session(capabilities, configuration, request):
[task 2019-11-14T18:52:29.306Z] 18:52:29 INFO - """Create and start a session for a test that does not itself test session creation.
[task 2019-11-14T18:52:29.306Z] 18:52:29 INFO -
[task 2019-11-14T18:52:29.306Z] 18:52:29 INFO - By default the session will stay open after each test, but we always try to start a
[task 2019-11-14T18:52:29.306Z] 18:52:29 INFO - new one and assume that if that fails there is already a valid session. This makes it
[task 2019-11-14T18:52:29.306Z] 18:52:29 INFO - possible to recover from some errors that might leave the session in a bad state, but
[task 2019-11-14T18:52:29.307Z] 18:52:29 INFO - does not demand that we start a new session per test."""
[task 2019-11-14T18:52:29.307Z] 18:52:29 INFO - global _current_session
[task 2019-11-14T18:52:29.307Z] 18:52:29 INFO -
[task 2019-11-14T18:52:29.307Z] 18:52:29 INFO - # Update configuration capabilities with custom ones from the
[task 2019-11-14T18:52:29.307Z] 18:52:29 INFO - # capabilities fixture, which can be set by tests
[task 2019-11-14T18:52:29.307Z] 18:52:29 INFO - caps = copy.deepcopy(configuration["capabilities"])
[task 2019-11-14T18:52:29.308Z] 18:52:29 INFO - caps.update(capabilities)
[task 2019-11-14T18:52:29.308Z] 18:52:29 INFO - caps = {"alwaysMatch": caps}
[task 2019-11-14T18:52:29.308Z] 18:52:29 INFO -
[task 2019-11-14T18:52:29.308Z] 18:52:29 INFO - # If there is a session with different capabilities active, end it now
[task 2019-11-14T18:52:29.308Z] 18:52:29 INFO - if _current_session is not None and (
[task 2019-11-14T18:52:29.308Z] 18:52:29 INFO - caps != _current_session.requested_capabilities):
[task 2019-11-14T18:52:29.308Z] 18:52:29 INFO - _current_session.end()
[task 2019-11-14T18:52:29.309Z] 18:52:29 INFO - _current_session = None
[task 2019-11-14T18:52:29.310Z] 18:52:29 INFO -
[task 2019-11-14T18:52:29.310Z] 18:52:29 INFO - if _current_session is None:
[task 2019-11-14T18:52:29.311Z] 18:52:29 INFO - _current_session = webdriver.Session(
[task 2019-11-14T18:52:29.311Z] 18:52:29 INFO - configuration["host"],
[task 2019-11-14T18:52:29.311Z] 18:52:29 INFO - configuration["port"],
[task 2019-11-14T18:52:29.312Z] 18:52:29 INFO - capabilities=caps)
[task 2019-11-14T18:52:29.312Z] 18:52:29 INFO - try:
[task 2019-11-14T18:52:29.312Z] 18:52:29 INFO - > _current_session.start()
[task 2019-11-14T18:52:29.313Z] 18:52:29 INFO -
[task 2019-11-14T18:52:29.313Z] 18:52:29 INFO - capabilities = {}
[task 2019-11-14T18:52:29.313Z] 18:52:29 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-14T18:52:29.313Z] 18:52:29 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': 60818}
[task 2019-11-14T18:52:29.313Z] 18:52:29 INFO - request = <SubRequest 'session' for <Function 'test_arguments'>>
[task 2019-11-14T18:52:29.314Z] 18:52:29 INFO -
[task 2019-11-14T18:52:29.314Z] 18:52:29 INFO - tests/web-platform/tests/webdriver/tests/support/fixtures.py:150:
[task 2019-11-14T18:52:29.314Z] 18:52:29 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2019-11-14T18:52:29.314Z] 18:52:29 INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:429: in start
[task 2019-11-14T18:52:29.314Z] 18:52:29 INFO - value = self.send_command("POST", "session", body=body)
[task 2019-11-14T18:52:29.314Z] 18:52:29 INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:471: in send_command
[task 2019-11-14T18:52:29.314Z] 18:52:29 INFO - session=self)
[task 2019-11-14T18:52:29.314Z] 18:52:29 INFO - tests/web-platform/tests/tools/webdriver/webdriver/transport.py:175: in send
[task 2019-11-14T18:52:29.314Z] 18:52:29 INFO - response = self._request(method, uri, payload, headers)
[task 2019-11-14T18:52:29.314Z] 18:52:29 INFO - tests/web-platform/tests/tools/webdriver/webdriver/transport.py:190: in _request
[task 2019-11-14T18:52:29.314Z] 18:52:29 INFO - self.connection.request(method, url, payload, headers)
[task 2019-11-14T18:52:29.314Z] 18:52:29 INFO - /usr/lib/python2.7/httplib.py:1057: in request
[task 2019-11-14T18:52:29.314Z] 18:52:29 INFO - self._send_request(method, url, body, headers)
[task 2019-11-14T18:52:29.314Z] 18:52:29 INFO - /usr/lib/python2.7/httplib.py:1097: in _send_request
[task 2019-11-14T18:52:29.314Z] 18:52:29 INFO - self.endheaders(body)
[task 2019-11-14T18:52:29.314Z] 18:52:29 INFO - /usr/lib/python2.7/httplib.py:1053: in endheaders
[task 2019-11-14T18:52:29.314Z] 18:52:29 INFO - self._send_output(message_body)
[task 2019-11-14T18:52:29.315Z] 18:52:29 INFO - /usr/lib/python2.7/httplib.py:897: in _send_output
[task 2019-11-14T18:52:29.315Z] 18:52:29 INFO - self.send(msg)
[task 2019-11-14T18:52:29.315Z] 18:52:29 INFO - /usr/lib/python2.7/httplib.py:859: in send
[task 2019-11-14T18:52:29.315Z] 18:52:29 INFO - self.connect()
[task 2019-11-14T18:52:29.315Z] 18:52:29 INFO - /usr/lib/python2.7/httplib.py:836: in connect
[task 2019-11-14T18:52:29.315Z] 18:52:29 INFO - self.timeout, self.source_address)

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
Summary: Intermittent /webdriver/tests/execute_script/collections.py | test_arguments - setup error → Intermittent /webdriver/tests/execute_script/collections.py | test_arguments - setup error [Address already in use (os error 98)]
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.