Closed
Bug 1684399
Opened 5 years ago
Closed 5 years ago
Intermittent /webdriver/tests/add_cookie/user_prompts.py | test_default[alert-None] - setup error
Categories
(Remote Protocol :: Marionette, defect, P5)
Remote Protocol
Marionette
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1630132
People
(Reporter: intermittent-bug-filer, Unassigned)
Details
(Keywords: intermittent-failure)
Filed by: rmaries [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=325516363&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Az_CdzpRSUqRxuNOCAZCxQ/runs/0/artifacts/public/logs/live_backing.log
[task 2020-12-28T21:55:52.780Z] 21:55:52 INFO - TEST-START | /webdriver/tests/add_cookie/user_prompts.py
[task 2020-12-28T21:57:16.814Z] 21:57:16 INFO - STDOUT: =================================== ERRORS ====================================
[task 2020-12-28T21:57:16.815Z] 21:57:16 INFO - STDOUT: _________________ ERROR at setup of test_default[alert-None] __________________
[task 2020-12-28T21:57:16.816Z] 21:57:16 INFO - STDOUT: capabilities = {}
[task 2020-12-28T21:57:16.817Z] 21:57:16 INFO - PID 7200 | 1609192636797 webdriver::server DEBUG <- 200 OK {"value":null}
[task 2020-12-28T21:57:16.817Z] 21:57:16 INFO - STDOUT: configuration = {'capabilities': {'moz:firefoxOptions': {'binary': 'Z:\\task_1609190723\\build\\application\\firefox\\firefox.exe', 'p...enable-blacklist': False, 'media.peerconnection.mtransport_process': False, ...}}}, 'host': '127.0.0.1', 'port': 50052}
[task 2020-12-28T21:57:16.818Z] 21:57:16 INFO - STDOUT: request = <SubRequest 'session' for <Function test_default[alert-None]>>
[task 2020-12-28T21:57:16.819Z] 21:57:16 INFO - STDOUT: @pytest.fixture(scope="function")
[task 2020-12-28T21:57:16.819Z] 21:57:16 INFO - STDOUT: def session(capabilities, configuration, request):
[task 2020-12-28T21:57:16.820Z] 21:57:16 INFO - STDOUT: """Create and start a session for a test that does not itself test session creation.
[task 2020-12-28T21:57:16.821Z] 21:57:16 INFO - STDOUT:
[task 2020-12-28T21:57:16.821Z] 21:57:16 INFO - STDOUT: By default the session will stay open after each test, but we always try to start a
[task 2020-12-28T21:57:16.822Z] 21:57:16 INFO - STDOUT: new one and assume that if that fails there is already a valid session. This makes it
[task 2020-12-28T21:57:16.823Z] 21:57:16 INFO - STDOUT: possible to recover from some errors that might leave the session in a bad state, but
[task 2020-12-28T21:57:16.823Z] 21:57:16 INFO - STDOUT: does not demand that we start a new session per test."""
[task 2020-12-28T21:57:16.824Z] 21:57:16 INFO - STDOUT: global _current_session
[task 2020-12-28T21:57:16.825Z] 21:57:16 INFO - STDOUT:
[task 2020-12-28T21:57:16.826Z] 21:57:16 INFO - STDOUT: # Update configuration capabilities with custom ones from the
[task 2020-12-28T21:57:16.857Z] 21:57:16 INFO -
[task 2020-12-28T21:57:16.858Z] 21:57:16 INFO - TEST-PASS | /webdriver/tests/add_cookie/user_prompts.py | test_accept_and_notify[capabilities0-prompt-]
[task 2020-12-28T21:57:16.858Z] 21:57:16 INFO - TEST-PASS | /webdriver/tests/add_cookie/user_prompts.py | test_dismiss[capabilities0-alert-None]
[task 2020-12-28T21:57:16.858Z] 21:57:16 INFO - TEST-PASS | /webdriver/tests/add_cookie/user_prompts.py | test_dismiss[capabilities0-confirm-False]
[task 2020-12-28T21:57:16.858Z] 21:57:16 INFO - TEST-PASS | /webdriver/tests/add_cookie/user_prompts.py | test_dismiss[capabilities0-prompt-None]
[task 2020-12-28T21:57:16.858Z] 21:57:16 INFO - TEST-PASS | /webdriver/tests/add_cookie/user_prompts.py | test_dismiss_and_notify[capabilities0-alert-None]
[task 2020-12-28T21:57:16.858Z] 21:57:16 INFO - TEST-PASS | /webdriver/tests/add_cookie/user_prompts.py | test_dismiss_and_notify[capabilities0-confirm-False]
[task 2020-12-28T21:57:16.858Z] 21:57:16 INFO - TEST-PASS | /webdriver/tests/add_cookie/user_prompts.py | test_dismiss_and_notify[capabilities0-prompt-None]
[task 2020-12-28T21:57:16.858Z] 21:57:16 INFO - TEST-PASS | /webdriver/tests/add_cookie/user_prompts.py | test_ignore[capabilities0-alert]
[task 2020-12-28T21:57:16.858Z] 21:57:16 INFO - TEST-PASS | /webdriver/tests/add_cookie/user_prompts.py | test_ignore[capabilities0-prompt]
[task 2020-12-28T21:57:16.858Z] 21:57:16 INFO - TEST-UNEXPECTED-ERROR | /webdriver/tests/add_cookie/user_prompts.py | test_default[alert-None] - setup error
[task 2020-12-28T21:57:16.858Z] 21:57:16 INFO - capabilities = {}
[task 2020-12-28T21:57:16.859Z] 21:57:16 INFO - configuration = {'capabilities': {'moz:firefoxOptions': {'binary': 'Z:\\task_1609190723\\build\\application\\firefox\\firefox.exe', 'p...enable-blacklist': False, 'media.peerconnection.mtransport_process': False, ...}}}, 'host': '127.0.0.1', 'port': 50052}
[task 2020-12-28T21:57:16.860Z] 21:57:16 INFO - request = <SubRequest 'session' for <Function test_default[alert-None]>>
[task 2020-12-28T21:57:16.860Z] 21:57:16 INFO -
[task 2020-12-28T21:57:16.860Z] 21:57:16 INFO - @pytest.fixture(scope="function")
[task 2020-12-28T21:57:16.860Z] 21:57:16 INFO - def session(capabilities, configuration, request):
[task 2020-12-28T21:57:16.860Z] 21:57:16 INFO - """Create and start a session for a test that does not itself test session creation.
[task 2020-12-28T21:57:16.860Z] 21:57:16 INFO -
[task 2020-12-28T21:57:16.860Z] 21:57:16 INFO - By default the session will stay open after each test, but we always try to start a
[task 2020-12-28T21:57:16.860Z] 21:57:16 INFO - new one and assume that if that fails there is already a valid session. This makes it
[task 2020-12-28T21:57:16.860Z] 21:57:16 INFO - possible to recover from some errors that might leave the session in a bad state, but
[task 2020-12-28T21:57:16.860Z] 21:57:16 INFO - does not demand that we start a new session per test."""
[task 2020-12-28T21:57:16.860Z] 21:57:16 INFO - global _current_session
[task 2020-12-28T21:57:16.860Z] 21:57:16 INFO -
[task 2020-12-28T21:57:16.861Z] 21:57:16 INFO - # Update configuration capabilities with custom ones from the
[task 2020-12-28T21:57:16.861Z] 21:57:16 INFO - # capabilities fixture, which can be set by tests
[task 2020-12-28T21:57:16.861Z] 21:57:16 INFO - caps = copy.deepcopy(configuration["capabilities"])
[task 2020-12-28T21:57:16.861Z] 21:57:16 INFO - deep_update(caps, capabilities)
[task 2020-12-28T21:57:16.861Z] 21:57:16 INFO - caps = {"alwaysMatch": caps}
[task 2020-12-28T21:57:16.861Z] 21:57:16 INFO -
[task 2020-12-28T21:57:16.861Z] 21:57:16 INFO - # If there is a session with different capabilities active, end it now
[task 2020-12-28T21:57:16.861Z] 21:57:16 INFO - if _current_session is not None and (
[task 2020-12-28T21:57:16.861Z] 21:57:16 INFO - caps != _current_session.requested_capabilities):
[task 2020-12-28T21:57:16.861Z] 21:57:16 INFO - _current_session.end()
[task 2020-12-28T21:57:16.861Z] 21:57:16 INFO - _current_session = None
[task 2020-12-28T21:57:16.861Z] 21:57:16 INFO -
[task 2020-12-28T21:57:16.861Z] 21:57:16 INFO - if _current_session is None:
[task 2020-12-28T21:57:16.861Z] 21:57:16 INFO - _current_session = webdriver.Session(
[task 2020-12-28T21:57:16.861Z] 21:57:16 INFO - configuration["host"],
[task 2020-12-28T21:57:16.861Z] 21:57:16 INFO - configuration["port"],
[task 2020-12-28T21:57:16.861Z] 21:57:16 INFO - capabilities=caps)
[task 2020-12-28T21:57:16.861Z] 21:57:16 INFO - try:
[task 2020-12-28T21:57:16.862Z] 21:57:16 INFO - > _current_session.start()```
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
| Comment hidden (Intermittent Failures Robot) |
Comment 3•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
•