Closed Bug 1643775 Opened 4 years ago Closed 4 years ago

Intermittent /webdriver/tests/get_title/get.py | test_no_browsing_context - setup error [Address already in use (os error 98)]

Categories

(Remote Protocol :: Marionette, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1565127

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure)

Filed by: abutkovits [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=305240963&repo=mozilla-beta
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/RVITIDvARieNKgv_V2SFfw/runs/0/artifacts/public/logs/live_backing.log


[task 2020-06-05T16:45:56.235Z] 16:45:56 INFO - STDOUT: _______________ ERROR at setup of test_title_strip_and_collapse ________________
[task 2020-06-05T16:45:56.235Z] 16:45:56 INFO - STDOUT: capabilities = {}
[task 2020-06-05T16:45:56.235Z] 16:45:56 INFO - STDOUT: configuration = {'capabilities': {'moz:firefoxOptions': {'binary': '/builds/worker/workspace/build/application/firefox/firefox', 'pref...xn--lve-6lad.www2.not-web-platform.test', 'network.process.enabled': False, ...}}}, 'host': '127.0.0.1', 'port': 50254}
[task 2020-06-05T16:45:56.236Z] 16:45:56 INFO - STDOUT: request = <SubRequest 'session' for <Function 'test_title_strip_and_collapse'>>
[task 2020-06-05T16:45:56.236Z] 16:45:56 INFO - STDOUT: @pytest.fixture(scope="function")
[task 2020-06-05T16:45:56.238Z] 16:45:56 INFO - STDOUT: def session(capabilities, configuration, request):
[task 2020-06-05T16:45:56.238Z] 16:45:56 INFO - STDOUT: """Create and start a session for a test that does not itself test session creation.
[task 2020-06-05T16:45:56.238Z] 16:45:56 INFO - STDOUT:
[task 2020-06-05T16:45:56.239Z] 16:45:56 INFO - STDOUT: By default the session will stay open after each test, but we always try to start a
[task 2020-06-05T16:45:56.239Z] 16:45:56 INFO - STDOUT: new one and assume that if that fails there is already a valid session. This makes it
[task 2020-06-05T16:45:56.241Z] 16:45:56 INFO - STDOUT: possible to recover from some errors that might leave the session in a bad state, but
[task 2020-06-05T16:45:56.241Z] 16:45:56 INFO - STDOUT: does not demand that we start a new session per test."""
[task 2020-06-05T16:45:56.242Z] 16:45:56 INFO - STDOUT: global _current_session
[task 2020-06-05T16:45:56.242Z] 16:45:56 INFO - STDOUT:
[task 2020-06-05T16:45:56.242Z] 16:45:56 INFO - STDOUT: # Update configuration capabilities with custom ones from the
[task 2020-06-05T16:45:56.243Z] 16:45:56 INFO - STDOUT: # capabilities fixture, which can be set by tests
[task 2020-06-05T16:45:56.244Z] 16:45:56 INFO - STDOUT: caps = copy.deepcopy(configuration["capabilities"])
[task 2020-06-05T16:45:56.245Z] 16:45:56 INFO - STDOUT: caps.update(capabilities)
[task 2020-06-05T16:45:56.245Z] 16:45:56 INFO - STDOUT: caps = {"alwaysMatch": caps}
[task 2020-06-05T16:45:56.245Z] 16:45:56 INFO - STDOUT:
[task 2020-06-05T16:45:56.246Z] 16:45:56 INFO - STDOUT: # If there is a session with different capabilities active, end it now
[task 2020-06-05T16:45:56.246Z] 16:45:56 INFO - STDOUT: if _current_session is not None and (
[task 2020-06-05T16:45:56.247Z] 16:45:56 INFO - STDOUT: caps != _current_session.requested_capabilities):
[task 2020-06-05T16:45:56.248Z] 16:45:56 INFO - STDOUT: _current_session.end()
[task 2020-06-05T16:45:56.249Z] 16:45:56 INFO - STDOUT: _current_session = None
[task 2020-06-05T16:45:56.249Z] 16:45:56 INFO - STDOUT:
[task 2020-06-05T16:45:56.249Z] 16:45:56 INFO - STDOUT: if _current_session is None:
[task 2020-06-05T16:45:56.250Z] 16:45:56 INFO - STDOUT: _current_session = webdriver.Session(
[task 2020-06-05T16:45:56.250Z] 16:45:56 INFO - STDOUT: configuration["host"],
[task 2020-06-05T16:45:56.252Z] 16:45:56 INFO - STDOUT: configuration["port"],
[task 2020-06-05T16:45:56.252Z] 16:45:56 INFO - STDOUT: capabilities=caps)
[task 2020-06-05T16:45:56.253Z] 16:45:56 INFO - STDOUT: try:
[task 2020-06-05T16:45:56.253Z] 16:45:56 INFO - STDOUT: > _current_session.start()
[task 2020-06-05T16:45:56.254Z] 16:45:56 INFO - STDOUT: capabilities = {}
[task 2020-06-05T16:45:56.254Z] 16:45:56 INFO - STDOUT: caps = {'alwaysMatch': {'moz:firefoxOptions': {'binary': '/builds/worker/workspace/build/application/firefox/firefox', 'prefs....xn--lve-6lad.not-web-platform.test,xn--lve-6lad.www2.not-web-platform.test', 'network.process.enabled': False, ...}}}}
[task 2020-06-05T16:45:56.256Z] 16:45:56 INFO - STDOUT: configuration = {'capabilities': {'moz:firefoxOptions': {'binary': '/builds/worker/workspace/build/application/firefox/firefox', 'pref...xn--lve-6lad.www2.not-web-platform.test', 'network.process.enabled': False, ...}}}, 'host': '127.0.0.1', 'port': 50254}
[task 2020-06-05T16:45:56.257Z] 16:45:56 INFO - STDOUT: request = <SubRequest 'session' for <Function 'test_title_strip_and_collapse'>>
[task 2020-06-05T16:45:56.258Z] 16:45:56 INFO - STDOUT: tests/web-platform/tests/webdriver/tests/support/fixtures.py
[task 2020-06-05T16:45:56.259Z] 16:45:56 INFO - STDOUT: :153:
[task 2020-06-05T16:45:56.260Z] 16:45:56 INFO - STDOUT: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2020-06-05T16:45:56.260Z] 16:45:56 INFO - STDOUT: tests/web-platform/tests/tools/webdriver/webdriver/client.py
[task 2020-06-05T16:45:56.261Z] 16:45:56 INFO - STDOUT: :426: in start
[task 2020-06-05T16:45:56.262Z] 16:45:56 INFO - STDOUT: value = self.send_command("POST", "session", body=body)
[task 2020-06-05T16:45:56.263Z] 16:45:56 INFO - STDOUT: tests/web-platform/tests/tools/webdriver/webdriver/client.py
[task 2020-06-05T16:45:56.263Z] 16:45:56 INFO - STDOUT: :468: in send_command
[task 2020-06-05T16:45:56.264Z] 16:45:56 INFO - STDOUT: session=self, timeout=timeout)
[task 2020-06-05T16:45:56.265Z] 16:45:56 INFO - STDOUT: tests/web-platform/tests/tools/webdriver/webdriver/transport.py
[task 2020-06-05T16:45:56.265Z] 16:45:56 INFO - STDOUT: :182: in send
[task 2020-06-05T16:45:56.265Z] 16:45:56 INFO - STDOUT: response = self._request(method, uri, payload, headers, timeout=None)
[task 2020-06-05T16:45:56.270Z] 16:45:56 INFO -
[task 2020-06-05T16:45:56.270Z] 16:45:56 INFO - TEST-UNEXPECTED-ERROR | /webdriver/tests/get_title/get.py | test_no_browsing_context - setup error

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
Summary: Intermittent /webdriver/tests/get_title/get.py | test_no_browsing_context - setup error → Intermittent /webdriver/tests/get_title/get.py | test_no_browsing_context - 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.