Closed
Bug 1768772
Opened 3 years ago
Closed 3 years ago
Intermittent /webdriver/tests/get_element_attribute/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 1720748
People
(Reporter: intermittent-bug-filer, Unassigned)
Details
(Keywords: intermittent-failure)
Filed by: ctuns [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=377640602&repo=mozilla-esr91
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/ft9jOj9mQsqsgdwaPfHHXg/runs/0/artifacts/public/logs/live_backing.log
[task 2022-05-11T03:09:33.072Z] 03:09:33 INFO - TEST-PASS | /webdriver/tests/get_element_attribute/user_prompts.py | test_ignore[capabilities0-prompt]
[task 2022-05-11T03:09:33.072Z] 03:09:33 INFO - TEST-UNEXPECTED-ERROR | /webdriver/tests/get_element_attribute/user_prompts.py | test_default[alert-None] - setup error
[task 2022-05-11T03:09:33.073Z] 03:09:33 INFO - args = ()
[task 2022-05-11T03:09:33.073Z] 03:09:33 INFO - kwargs = {'capabilities': {}, 'configuration': {'capabilities': {'moz:firefoxOptions': {'args': ['--profile', '/tmp/tmprbhkf1jh...fox'}}, 'host': '127.0.0.1', 'port': 45721}, 'request': <SubRequest 'session' for <Function test_default[alert-None]>>}
[task 2022-05-11T03:09:33.073Z] 03:09:33 INFO - request = <SubRequest 'session' for <Function test_default[alert-None]>>
[task 2022-05-11T03:09:33.073Z] 03:09:33 INFO - setup = <function pytest_fixture_setup.<locals>.wrapper.<locals>.setup at 0x7ff82e4b8bf8>
[task 2022-05-11T03:09:33.073Z] 03:09:33 INFO - finalizer = <function pytest_fixture_setup.<locals>.wrapper.<locals>.finalizer at 0x7ff82e4b8d08>
[task 2022-05-11T03:09:33.074Z] 03:09:33 INFO -
[task 2022-05-11T03:09:33.074Z] 03:09:33 INFO - def wrapper(*args, **kwargs):
[task 2022-05-11T03:09:33.074Z] 03:09:33 INFO - loop = fixture_stripper.get_and_strip_from(FixtureStripper.EVENT_LOOP, kwargs)
[task 2022-05-11T03:09:33.074Z] 03:09:33 INFO - request = fixture_stripper.get_and_strip_from(FixtureStripper.REQUEST, kwargs)
[task 2022-05-11T03:09:33.074Z] 03:09:33 INFO -
[task 2022-05-11T03:09:33.075Z] 03:09:33 INFO - gen_obj = generator(*args, **kwargs)
[task 2022-05-11T03:09:33.075Z] 03:09:33 INFO -
[task 2022-05-11T03:09:33.075Z] 03:09:33 INFO - async def setup():
[task 2022-05-11T03:09:33.075Z] 03:09:33 INFO - res = await gen_obj.__anext__()
[task 2022-05-11T03:09:33.075Z] 03:09:33 INFO - return res
[task 2022-05-11T03:09:33.075Z] 03:09:33 INFO -
[task 2022-05-11T03:09:33.075Z] 03:09:33 INFO - def finalizer():
[task 2022-05-11T03:09:33.075Z] 03:09:33 INFO - """Yield again, to finalize."""
[task 2022-05-11T03:09:33.075Z] 03:09:33 INFO - async def async_finalizer():
[task 2022-05-11T03:09:33.075Z] 03:09:33 INFO - try:
[task 2022-05-11T03:09:33.075Z] 03:09:33 INFO - await gen_obj.__anext__()
[task 2022-05-11T03:09:33.076Z] 03:09:33 INFO - except StopAsyncIteration:
[task 2022-05-11T03:09:33.076Z] 03:09:33 INFO - pass
[task 2022-05-11T03:09:33.076Z] 03:09:33 INFO - else:
[task 2022-05-11T03:09:33.076Z] 03:09:33 INFO - msg = "Async generator fixture didn't stop."
[task 2022-05-11T03:09:33.076Z] 03:09:33 INFO - msg += "Yield only once."
[task 2022-05-11T03:09:33.076Z] 03:09:33 INFO - raise ValueError(msg)
[task 2022-05-11T03:09:33.076Z] 03:09:33 INFO - loop.run_until_complete(async_finalizer())
[task 2022-05-11T03:09:33.076Z] 03:09:33 INFO -
[task 2022-05-11T03:09:33.076Z] 03:09:33 INFO - request.addfinalizer(finalizer)
[task 2022-05-11T03:09:33.077Z] 03:09:33 INFO - > return loop.run_until_complete(setup())
[task 2022-05-11T03:09:33.077Z] 03:09:33 INFO -
[task 2022-05-11T03:09:33.082Z] 03:09:33 INFO - args = ()
[task 2022-05-11T03:09:33.082Z] 03:09:33 INFO - finalizer = <function pytest_fixture_setup.<locals>.wrapper.<locals>.finalizer at 0x7ff82e4b8d08>
[task 2022-05-11T03:09:33.082Z] 03:09:33 INFO - fixture_stripper = <pytest_asyncio.plugin.FixtureStripper object at 0x7ff82d94d518>
[task 2022-05-11T03:09:33.082Z] 03:09:33 INFO - gen_obj = <async_generator object session at 0x7ff82d954048>
[task 2022-05-11T03:09:33.082Z] 03:09:33 INFO - generator = <function session at 0x7ff82e4fe7b8>
[task 2022-05-11T03:09:33.082Z] 03:09:33 INFO - kwargs = {'capabilities': {},
[task 2022-05-11T03:09:33.082Z] 03:09:33 INFO - 'configuration': {'capabilities': {'moz:firefoxOptions': {'args': ['--profile',
[task 2022-05-11T03:09:33.082Z] 03:09:33 INFO - '/tmp/tmprbhkf1jh.mozrunner'],
[task 2022-05-11T03:09:33.082Z] 03:09:33 INFO - 'binary': '/builds/worker/workspace/build/application/firefox/firefox'}},
[task 2022-05-11T03:09:33.082Z] 03:09:33 INFO - 'host': '127.0.0.1',
[task 2022-05-11T03:09:33.083Z] 03:09:33 INFO - 'port': 45721},
[task 2022-05-11T03:09:33.083Z] 03:09:33 INFO - 'request': <SubRequest 'session' for <Function test_default[alert-None]>>}
[task 2022-05-11T03:09:33.083Z] 03:09:33 INFO - loop = <_UnixSelectorEventLoop running=False closed=False debug=False>
[task 2022-05-11T03:09:33.083Z] 03:09:33 INFO - request = <SubRequest 'session' for <Function test_default[alert-None]>>
[task 2022-05-11T03:09:33.083Z] 03:09:33 INFO - setup = <function pytest_fixture_setup.<locals>.wrapper.<locals>.setup at 0x7ff82e4b8bf8>
[task 2022-05-11T03:09:33.083Z] 03:09:33 INFO -
[task 2022-05-11T03:09:33.083Z] 03:09:33 INFO - tests/web-platform/tests/tools/third_party/pytest-asyncio/pytest_asyncio/plugin.py:127:
[task 2022-05-11T03:09:33.083Z] 03:09:33 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2022-05-11T03:09:33.083Z] 03:09:33 INFO - /usr/lib/python3.6/asyncio/base_events.py:484: in run_until_complete
[task 2022-05-11T03:09:33.083Z] 03:09:33 INFO - return future.result()
[task 2022-05-11T03:09:33.083Z] 03:09:33 INFO - future = <Task finished coro=<pytest_fixture_setup.<locals>.wrapper.<locals>.setup() done, defined at /builds/worker/workspace/build/tests/web-platform/tests/tools/third_party/pytest-asyncio/pytest_asyncio/plugin.py:109> exception=<UnknownErrorException http_status=500>>
[task 2022-05-11T03:09:33.083Z] 03:09:33 INFO - new_task = True
[task 2022-05-11T03:09:33.084Z] 03:09:33 INFO - self = <_UnixSelectorEventLoop running=False closed=False debug=False>
[task 2022-05-11T03:09:33.084Z] 03:09:33 INFO - tests/web-platform/tests/tools/third_party/pytest-asyncio/pytest_asyncio/plugin.py:110: in setup
[task 2022-05-11T03:09:33.084Z] 03:09:33 INFO - res = await gen_obj.__anext__()
[task 2022-05-11T03:09:33.084Z] 03:09:33 INFO - gen_obj = <async_generator object session at 0x7ff82d954048>
[task 2022-05-11T03:09:33.084Z] 03:09:33 INFO - tests/web-platform/tests/webdriver/tests/support/fixtures.py:164: in session
[task 2022-05-11T03:09:33.084Z] 03:09:33 INFO - _current_session.start()
[task 2022-05-11T03:09:33.084Z] 03:09:33 INFO - capabilities = {}
[task 2022-05-11T03:09:33.084Z] 03:09:33 INFO - caps = {'alwaysMatch': {'moz:firefoxOptions': {'args': ['--profile',
[task 2022-05-11T03:09:33.084Z] 03:09:33 INFO - '/tmp/tmprbhkf1jh.mozrunner'],
[task 2022-05-11T03:09:33.084Z] 03:09:33 INFO - 'binary': '/builds/worker/workspace/build/application/firefox/firefox'}}}
[task 2022-05-11T03:09:33.084Z] 03:09:33 INFO - configuration = {'capabilities': {'moz:firefoxOptions': {'args': ['--profile',
[task 2022-05-11T03:09:33.084Z] 03:09:33 INFO - '/tmp/tmprbhkf1jh.mozrunner'],
[task 2022-05-11T03:09:33.084Z] 03:09:33 INFO - 'binary': '/builds/worker/workspace/build/application/firefox/firefox'}},
[task 2022-05-11T03:09:33.085Z] 03:09:33 INFO - 'host': '127.0.0.1',
[task 2022-05-11T03:09:33.085Z] 03:09:33 INFO - 'port': 45721}
[task 2022-05-11T03:09:33.085Z] 03:09:33 INFO - request = <SubRequest 'session' for <Function test_default[alert-None]>>
[task 2022-05-11T03:09:33.086Z] 03:09:33 INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:543: in start
[task 2022-05-11T03:09:33.086Z] 03:09:33 INFO - value = self.send_command("POST", "session", body=body)
[task 2022-05-11T03:09:33.086Z] 03:09:33 INFO - body = {'capabilities': {'alwaysMatch': {'moz:firefoxOptions': {'args': ['--profile',
[task 2022-05-11T03:09:33.086Z] 03:09:33 INFO - '/tmp/tmprbhkf1jh.mozrunner'],
[task 2022-05-11T03:09:33.087Z] 03:09:33 INFO - 'binary': '/builds/worker/workspace/build/application/firefox/firefox'}}}}
[task 2022-05-11T03:09:33.087Z] 03:09:33 INFO - self = <Session (disconnected)>
[task 2022-05-11T03:09:33.087Z] 03:09:33 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2022-05-11T03:09:33.087Z] 03:09:33 INFO -
[task 2022-05-11T03:09:33.087Z] 03:09:33 INFO - self = <Session (disconnected)>, method = 'POST', url = 'session'
[task 2022-05-11T03:09:33.088Z] 03:09:33 INFO - body = {'capabilities': {'alwaysMatch': {'moz:firefoxOptions': {'args': ['--profile', '/tmp/tmprbhkf1jh.mozrunner'], 'binary': '/builds/worker/workspace/build/application/firefox/firefox'}}}}
[task 2022-05-11T03:09:33.088Z] 03:09:33 INFO - timeout = None
[task 2022-05-11T03:09:33.088Z] 03:09:33 INFO -
[task 2022-05-11T03:09:33.088Z] 03:09:33 INFO - def send_command(self, method, url, body=None, timeout=None):
[task 2022-05-11T03:09:33.088Z] 03:09:33 INFO - """
[task 2022-05-11T03:09:33.088Z] 03:09:33 INFO - Send a command to the remote end and validate its success.
[task 2022-05-11T03:09:33.089Z] 03:09:33 INFO -
[task 2022-05-11T03:09:33.089Z] 03:09:33 INFO - :param method: HTTP method to use in request.
[task 2022-05-11T03:09:33.089Z] 03:09:33 INFO - :param uri: "Command part" of the HTTP request URL,
[task 2022-05-11T03:09:33.090Z] 03:09:33 INFO - e.g. `window/rect`.
[task 2022-05-11T03:09:33.090Z] 03:09:33 INFO - :param body: Optional body of the HTTP request.
[task 2022-05-11T03:09:33.090Z] 03:09:33 INFO -
[task 2022-05-11T03:09:33.090Z] 03:09:33 INFO - :return: `None` if the HTTP response body was empty, otherwise
[task 2022-05-11T03:09:33.090Z] 03:09:33 INFO - the `value` field returned after parsing the response
[task 2022-05-11T03:09:33.091Z] 03:09:33 INFO - body as JSON.
[task 2022-05-11T03:09:33.091Z] 03:09:33 INFO -
[task 2022-05-11T03:09:33.091Z] 03:09:33 INFO - :raises error.WebDriverException: If the remote end returns
[task 2022-05-11T03:09:33.091Z] 03:09:33 INFO - an error.
[task 2022-05-11T03:09:33.091Z] 03:09:33 INFO - :raises ValueError: If the response body does not contain a
[task 2022-05-11T03:09:33.091Z] 03:09:33 INFO - `value` key.
[task 2022-05-11T03:09:33.091Z] 03:09:33 INFO - """
[task 2022-05-11T03:09:33.091Z] 03:09:33 INFO -
[task 2022-05-11T03:09:33.092Z] 03:09:33 INFO - response = self.transport.send(
[task 2022-05-11T03:09:33.092Z] 03:09:33 INFO - method, url, body,
[task 2022-05-11T03:09:33.092Z] 03:09:33 INFO - encoder=protocol.Encoder, decoder=protocol.Decoder,
[task 2022-05-11T03:09:33.092Z] 03:09:33 INFO - session=self, timeout=timeout)
[task 2022-05-11T03:09:33.092Z] 03:09:33 INFO -
[task 2022-05-11T03:09:33.092Z] 03:09:33 INFO - if response.status != 200:
[task 2022-05-11T03:09:33.092Z] 03:09:33 INFO - err = error.from_response(response)
[task 2022-05-11T03:09:33.092Z] 03:09:33 INFO -
[task 2022-05-11T03:09:33.092Z] 03:09:33 INFO - if isinstance(err, error.InvalidSessionIdException):
[task 2022-05-11T03:09:33.092Z] 03:09:33 INFO - # The driver could have already been deleted the session.
[task 2022-05-11T03:09:33.092Z] 03:09:33 INFO - self.session_id = None
[task 2022-05-11T03:09:33.092Z] 03:09:33 INFO -
[task 2022-05-11T03:09:33.092Z] 03:09:33 INFO - > raise err
[task 2022-05-11T03:09:33.092Z] 03:09:33 INFO - E webdriver.error.UnknownErrorException: unknown error (500): Process unexpectedly closed with status 11
[task 2022-05-11T03:09:33.092Z] 03:09:33 INFO -
[task 2022-05-11T03:09:33.092Z] 03:09:33 INFO - body = {'capabilities': {'alwaysMatch': {'moz:firefoxOptions': {'args': ['--profile',
[task 2022-05-11T03:09:33.093Z] 03:09:33 INFO - '/tmp/tmprbhkf1jh.mozrunner'],
[task 2022-05-11T03:09:33.093Z] 03:09:33 INFO - 'binary': '/builds/worker/workspace/build/application/firefox/firefox'}}}}
[task 2022-05-11T03:09:33.093Z] 03:09:33 INFO - err = <UnknownErrorException http_status=500>
[task 2022-05-11T03:09:33.093Z] 03:09:33 INFO - method = 'POST'
[task 2022-05-11T03:09:33.093Z] 03:09:33 INFO - response = <Response status=500 error=<UnknownErrorException http_status=500>>
[task 2022-05-11T03:09:33.093Z] 03:09:33 INFO - self = <Session (disconnected)>
[task 2022-05-11T03:09:33.093Z] 03:09:33 INFO - timeout = None
[task 2022-05-11T03:09:33.094Z] 03:09:33 INFO - url = 'session'
[task 2022-05-11T03:09:33.094Z] 03:09:33 INFO -
[task 2022-05-11T03:09:33.094Z] 03:09:33 INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:604: UnknownErrorException
[task 2022-05-11T03:09:33.094Z] 03:09:33 INFO - ..
[task 2022-05-11T03:09:33.094Z] 03:09:33 INFO - TEST-OK | /webdriver/tests/get_element_attribute/user_prompts.py | took 12774ms
[task 2022-05-11T03:09:33.094Z] 03:09:33 INFO - Restarting browser for new test group
[task 2022-05-11T03:09:33.111Z] 03:09:33 INFO - Closing logging queue
[task 2022-05-11T03:09:33.111Z] 03:09:33 INFO - queue closed
[task 2022-05-11T03:09:33.113Z] 03:09:33 INFO - Starting runner
[task 2022-05-11T03:09:33.680Z] 03:09:33 INFO - WebDriver HTTP server listening at http://127.0.0.1:49930/
[task 2022-05-11T03:09:33.682Z] 03:09:33 INFO - TEST-START | /webdriver/tests/get_element_property/get.py
Updated•3 years ago
|
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
Comment 2•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
•