Closed Bug 1542095 Opened 6 years ago Closed 6 years ago

Intermittent /webdriver/tests/get_window_handles/get.py | test_no_browsing_context - setup error

Categories

(Remote Protocol :: Marionette, defect, P5)

Version 3
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1498944

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure, regression)

#[markdown(off)]
Filed by: ccoroiu [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=238281375&repo=mozilla-central

https://queue.taskcluster.net/v1/task/Qs0KMYPlQlGoHGUT1Myu6g/runs/0/artifacts/public/logs/live_backing.log

00:17:17 INFO - TEST-START | /webdriver/tests/get_window_handles/get.py

00:18:34 INFO - STDOUT: if response.status != 200:
00:18:34 INFO - STDOUT: err = error.from_response(response)
00:18:34 INFO - STDOUT:
00:18:34 INFO - STDOUT: if isinstance(err, error.InvalidSessionIdException):
00:18:34 INFO - STDOUT: # The driver could have already been deleted the session.
00:18:34 INFO - STDOUT: self.session_id = None
00:18:34 INFO - STDOUT:
00:18:34 INFO - STDOUT: > raise err
00:18:34 INFO - STDOUT: E UnknownErrorException: unknown error (500): connection refused
00:18:34 INFO - STDOUT: body = {'capabilities': {'alwaysMatch': {'moz:firefoxOptions': {'binary': 'Z:\task_1554421666\build\application\firefox\firef....xn--n8j6ds53lwwkrqhv28a.web-platform.test,xn--lve-6lad.www2.not-web-platform.test,www2.www.not-web-platform.test'}}}}}
00:18:34 INFO - STDOUT: err = <UnknownErrorException http_status=500>
00:18:34 INFO - STDOUT: method = 'POST'
00:18:34 INFO - STDOUT: response = <Response status=500 error=<UnknownErrorException http_status=500>>
00:18:34 INFO - STDOUT: self = <Session (disconnected)>
00:18:34 INFO - STDOUT: url = 'session'
00:18:34 INFO - STDOUT: tests\web-platform\tests\tools\webdriver\webdriver\client.py
00:18:34 INFO - STDOUT: :472: UnknownErrorException
00:18:34 INFO - STDOUT: ============================== warnings summary ===============================
00:18:34 INFO - STDOUT: <undetermined location>
00:18:34 INFO - STDOUT: Module already imported so cannot be rewritten: mozlog
00:18:34 INFO - STDOUT: -- Docs: http://doc.pytest.org/en/latest/warnings.html
00:18:34 INFO - STDOUT: =============== 2 passed, 1 warnings, 1 error in 76.97 seconds ================
00:18:34 INFO -
00:18:34 INFO - TEST-UNEXPECTED-ERROR | /webdriver/tests/get_window_handles/get.py | test_no_browsing_context - setup error
00:18:34 INFO - capabilities = {}
00:18:34 INFO - configuration = {'capabilities': {'moz:firefoxOptions': {'binary': 'Z:\task_1554421666\build\application\firefox\firefox.exe', 'prefs'...orm.test,xn--lve-6lad.www2.not-web-platform.test,www2.www.not-web-platform.test'}}}, 'host': '127.0.0.1', 'port': 4444}
00:18:34 INFO - request = <SubRequest 'session' for <Function 'test_no_browsing_context'>>
00:18:34 INFO -
00:18:34 INFO - @pytest.fixture(scope="function")
00:18:34 INFO - def session(capabilities, configuration, request):
00:18:34 INFO - """Create and start a session for a test that does not itself test session creation.
00:18:34 INFO -
00:18:34 INFO - By default the session will stay open after each test, but we always try to start a
00:18:34 INFO - new one and assume that if that fails there is already a valid session. This makes it
00:18:34 INFO - possible to recover from some errors that might leave the session in a bad state, but
00:18:34 INFO - does not demand that we start a new session per test."""
00:18:34 INFO - global _current_session
00:18:34 INFO -
00:18:34 INFO - # Update configuration capabilities with custom ones from the
00:18:34 INFO - # capabilities fixture, which can be set by tests
00:18:34 INFO - caps = copy.deepcopy(configuration["capabilities"])
00:18:34 INFO - caps.update(capabilities)
00:18:34 INFO - caps = {"alwaysMatch": caps}

Missing marionette-startup-requested notification. So a duplicate of 1498944.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
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.