Closed
Bug 1493042
Opened 6 years ago
Closed 6 years ago
Intermittent /webdriver/tests/fullscreen_window/user_prompts.py | test_ignore[capabilities0-alert] - setup error
Categories
(Remote Protocol :: Marionette, defect, P5)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1498944
People
(Reporter: intermittent-bug-filer, Unassigned)
References
Details
(Keywords: intermittent-failure)
Filed by: rgurzau [at] mozilla.com
https://treeherder.mozilla.org/logviewer.html#?job_id=200574592&repo=autoland
https://queue.taskcluster.net/v1/task/XLcsuMjhSsGfrWNewBJlzA/runs/0/artifacts/public/logs/live_backing.log
[task 2018-09-20T23:05:01.006Z] 23:05:01 INFO - TEST-PASS | /webdriver/tests/fullscreen_window/user_prompts.py | test_accept[capabilities0-prompt-]
[task 2018-09-20T23:05:01.007Z] 23:05:01 INFO - TEST-PASS | /webdriver/tests/fullscreen_window/user_prompts.py | test_accept_and_notify[capabilities0-alert-None]
[task 2018-09-20T23:05:01.007Z] 23:05:01 INFO - TEST-PASS | /webdriver/tests/fullscreen_window/user_prompts.py | test_accept_and_notify[capabilities0-confirm-True]
[task 2018-09-20T23:05:01.007Z] 23:05:01 INFO - TEST-PASS | /webdriver/tests/fullscreen_window/user_prompts.py | test_accept_and_notify[capabilities0-prompt-]
[task 2018-09-20T23:05:01.008Z] 23:05:01 INFO - TEST-PASS | /webdriver/tests/fullscreen_window/user_prompts.py | test_dismiss[capabilities0-alert-None]
[task 2018-09-20T23:05:01.008Z] 23:05:01 INFO - TEST-PASS | /webdriver/tests/fullscreen_window/user_prompts.py | test_dismiss[capabilities0-confirm-False]
[task 2018-09-20T23:05:01.008Z] 23:05:01 INFO - TEST-PASS | /webdriver/tests/fullscreen_window/user_prompts.py | test_dismiss[capabilities0-prompt-None]
[task 2018-09-20T23:05:01.009Z] 23:05:01 INFO - TEST-PASS | /webdriver/tests/fullscreen_window/user_prompts.py | test_dismiss_and_notify[capabilities0-alert-None]
[task 2018-09-20T23:05:01.009Z] 23:05:01 INFO - TEST-PASS | /webdriver/tests/fullscreen_window/user_prompts.py | test_dismiss_and_notify[capabilities0-confirm-False]
[task 2018-09-20T23:05:01.009Z] 23:05:01 INFO - TEST-PASS | /webdriver/tests/fullscreen_window/user_prompts.py | test_dismiss_and_notify[capabilities0-prompt-None]
[task 2018-09-20T23:05:01.009Z] 23:05:01 INFO - TEST-UNEXPECTED-ERROR | /webdriver/tests/fullscreen_window/user_prompts.py | test_ignore[capabilities0-alert] - setup error
[task 2018-09-20T23:05:01.010Z] 23:05:01 INFO - capabilities = {'unhandledPromptBehavior': 'ignore'}
[task 2018-09-20T23:05:01.010Z] 23:05:01 INFO - configuration = {'capabilities': {'moz:firefoxOptions': {'binary': '/builds/worker/workspace/build/application/firefox/firefox', 'pref...b-platform.test,www.web-platform.test,xn--n8j6ds53lwwkrqhv28a.web-platform.test'}}}, 'host': '127.0.0.1', 'port': 4444}
[task 2018-09-20T23:05:01.011Z] 23:05:01 INFO - request = <SubRequest 'session' for <Function 'test_ignore[capabilities0-alert]'>>
[task 2018-09-20T23:05:01.011Z] 23:05:01 INFO -
[task 2018-09-20T23:05:01.011Z] 23:05:01 INFO - @pytest.fixture(scope="function")
[task 2018-09-20T23:05:01.011Z] 23:05:01 INFO - def session(capabilities, configuration, request):
[task 2018-09-20T23:05:01.012Z] 23:05:01 INFO - """Create and start a session for a test that does not itself test session creation.
[task 2018-09-20T23:05:01.012Z] 23:05:01 INFO -
[task 2018-09-20T23:05:01.012Z] 23:05:01 INFO - By default the session will stay open after each test, but we always try to start a
[task 2018-09-20T23:05:01.013Z] 23:05:01 INFO - new one and assume that if that fails there is already a valid session. This makes it
[task 2018-09-20T23:05:01.013Z] 23:05:01 INFO - possible to recover from some errors that might leave the session in a bad state, but
[task 2018-09-20T23:05:01.013Z] 23:05:01 INFO - does not demand that we start a new session per test."""
[task 2018-09-20T23:05:01.014Z] 23:05:01 INFO - global _current_session
[task 2018-09-20T23:05:01.014Z] 23:05:01 INFO -
[task 2018-09-20T23:05:01.014Z] 23:05:01 INFO - # Update configuration capabilities with custom ones from the
[task 2018-09-20T23:05:01.015Z] 23:05:01 INFO - # capabilities fixture, which can be set by tests
[task 2018-09-20T23:05:01.015Z] 23:05:01 INFO - caps = copy.deepcopy(configuration["capabilities"])
[task 2018-09-20T23:05:01.016Z] 23:05:01 INFO - caps.update(capabilities)
[task 2018-09-20T23:05:01.017Z] 23:05:01 INFO - caps = {"alwaysMatch": caps}
[task 2018-09-20T23:05:01.018Z] 23:05:01 INFO -
[task 2018-09-20T23:05:01.018Z] 23:05:01 INFO - # If there is a session with different capabilities active, end it now
[task 2018-09-20T23:05:01.019Z] 23:05:01 INFO - if _current_session is not None and (
[task 2018-09-20T23:05:01.019Z] 23:05:01 INFO - caps != _current_session.requested_capabilities):
[task 2018-09-20T23:05:01.019Z] 23:05:01 INFO - _current_session.end()
[task 2018-09-20T23:05:01.019Z] 23:05:01 INFO - _current_session = None
[task 2018-09-20T23:05:01.020Z] 23:05:01 INFO -
[task 2018-09-20T23:05:01.021Z] 23:05:01 INFO - if _current_session is None:
[task 2018-09-20T23:05:01.021Z] 23:05:01 INFO - _current_session = webdriver.Session(
[task 2018-09-20T23:05:01.021Z] 23:05:01 INFO - configuration["host"],
[task 2018-09-20T23:05:01.022Z] 23:05:01 INFO - configuration["port"],
[task 2018-09-20T23:05:01.022Z] 23:05:01 INFO - capabilities=caps)
Comment 1•6 years ago
|
||
No "sessionstore-windows-restored" notification received. So it depends on bug 1382162.
Depends on: 1382162
Comment hidden (Intermittent Failures Robot) |
![]() |
||
Updated•6 years ago
|
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
Comment 4•2 years ago
|
||
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.
Description
•