Closed
Bug 1838474
Opened 1 year ago
Closed 1 year ago
Intermittent mozilla/tests/webdriver/bidi/session/new/always_match.py | test_valid[test:extension-abc] - setup error: json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Categories
(Remote Protocol :: WebDriver BiDi, defect, P5)
Remote Protocol
WebDriver BiDi
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1837900
People
(Reporter: intermittent-bug-filer, Unassigned)
Details
(Keywords: intermittent-failure)
Filed by: nfay [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=419279157&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/cCQi1oNBQwqvkNBFHV3rQg/runs/0/artifacts/public/logs/live_backing.log
[task 2023-06-14T15:19:59.671Z] 15:19:59 INFO - TEST-PASS | /_mozilla/webdriver/bidi/session/new/always_match.py | test_valid[browserVersion-None]
[task 2023-06-14T15:19:59.671Z] 15:19:59 INFO - TEST-PASS | /_mozilla/webdriver/bidi/session/new/always_match.py | test_valid[platformName-None]
[task 2023-06-14T15:19:59.672Z] 15:19:59 INFO - TEST-PASS | /_mozilla/webdriver/bidi/session/new/always_match.py | test_valid[proxy-None]
[task 2023-06-14T15:19:59.672Z] 15:19:59 INFO - TEST-PASS | /_mozilla/webdriver/bidi/session/new/always_match.py | test_valid[test:extension-None]
[task 2023-06-14T15:19:59.672Z] 15:19:59 INFO - TEST-PASS | /_mozilla/webdriver/bidi/session/new/always_match.py | test_valid[test:extension-False]
[task 2023-06-14T15:19:59.673Z] 15:19:59 INFO - TEST-UNEXPECTED-ERROR | /_mozilla/webdriver/bidi/session/new/always_match.py | test_valid[test:extension-abc] - setup error: json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
[task 2023-06-14T15:19:59.674Z] 15:19:59 INFO - event_loop = <_UnixSelectorEventLoop running=False closed=False debug=False>
[task 2023-06-14T15:19:59.674Z] 15:19:59 INFO - request = <SubRequest 'new_session' for <Function test_valid[test:extension-abc]>>
[task 2023-06-14T15:19:59.674Z] 15:19:59 INFO - kwargs = {'browser': <function browser.<locals>._browser at 0x7faf7e8f99e0>}
[task 2023-06-14T15:19:59.674Z] 15:19:59 INFO - setup = <function _wrap_asyncgen.<locals>._asyncgen_fixture_wrapper.<locals>.setup at 0x7faf7d083830>
[task 2023-06-14T15:19:59.675Z] 15:19:59 INFO - finalizer = <function _wrap_asyncgen.<locals>._asyncgen_fixture_wrapper.<locals>.finalizer at 0x7faf7d0835f0>
[task 2023-06-14T15:19:59.675Z] 15:19:59 INFO -
[task 2023-06-14T15:19:59.675Z] 15:19:59 INFO - @functools.wraps(func)
[task 2023-06-14T15:19:59.675Z] 15:19:59 INFO - def _asyncgen_fixture_wrapper(
[task 2023-06-14T15:19:59.676Z] 15:19:59 INFO - event_loop: asyncio.AbstractEventLoop, request: SubRequest, **kwargs: Any
[task 2023-06-14T15:19:59.676Z] 15:19:59 INFO - ) -> _R:
[task 2023-06-14T15:19:59.676Z] 15:19:59 INFO - gen_obj = func(**_add_kwargs(func, kwargs, event_loop, request))
[task 2023-06-14T15:19:59.677Z] 15:19:59 INFO -
[task 2023-06-14T15:19:59.677Z] 15:19:59 INFO - async def setup() -> _R:
[task 2023-06-14T15:19:59.677Z] 15:19:59 INFO - res = await gen_obj.__anext__()
[task 2023-06-14T15:19:59.677Z] 15:19:59 INFO - return res
[task 2023-06-14T15:19:59.677Z] 15:19:59 INFO -
[task 2023-06-14T15:19:59.677Z] 15:19:59 INFO - def finalizer() -> None:
[task 2023-06-14T15:19:59.677Z] 15:19:59 INFO - """Yield again, to finalize."""
[task 2023-06-14T15:19:59.677Z] 15:19:59 INFO -
[task 2023-06-14T15:19:59.678Z] 15:19:59 INFO - async def async_finalizer() -> None:
[task 2023-06-14T15:19:59.678Z] 15:19:59 INFO - try:
[task 2023-06-14T15:19:59.686Z] 15:19:59 INFO - await gen_obj.__anext__()
[task 2023-06-14T15:19:59.686Z] 15:19:59 INFO - except StopAsyncIteration:
[task 2023-06-14T15:19:59.686Z] 15:19:59 INFO - pass
[task 2023-06-14T15:19:59.686Z] 15:19:59 INFO - else:
[task 2023-06-14T15:19:59.686Z] 15:19:59 INFO - msg = "Async generator fixture didn't stop."
[task 2023-06-14T15:19:59.686Z] 15:19:59 INFO - msg += "Yield only once."
[task 2023-06-14T15:19:59.686Z] 15:19:59 INFO - raise ValueError(msg)
[task 2023-06-14T15:19:59.686Z] 15:19:59 INFO -
[task 2023-06-14T15:19:59.686Z] 15:19:59 INFO - event_loop.run_until_complete(async_finalizer())
[task 2023-06-14T15:19:59.686Z] 15:19:59 INFO -
[task 2023-06-14T15:19:59.686Z] 15:19:59 INFO - > result = event_loop.run_until_complete(setup())
[task 2023-06-14T15:19:59.686Z] 15:19:59 INFO -
[task 2023-06-14T15:19:59.686Z] 15:19:59 INFO - event_loop = <_UnixSelectorEventLoop running=False closed=False debug=False>
[task 2023-06-14T15:19:59.686Z] 15:19:59 INFO - finalizer = <function _wrap_asyncgen.<locals>._asyncgen_fixture_wrapper.<locals>.finalizer at 0x7faf7d0835f0>
[task 2023-06-14T15:19:59.686Z] 15:19:59 INFO - func = <function new_session at 0x7faf7e934440>
[task 2023-06-14T15:19:59.686Z] 15:19:59 INFO - gen_obj = <async_generator object new_session at 0x7faf7d083680>
[task 2023-06-14T15:19:59.686Z] 15:19:59 INFO - kwargs = {'browser': <function browser.<locals>._browser at 0x7faf7e8f99e0>}
[task 2023-06-14T15:19:59.686Z] 15:19:59 INFO - request = <SubRequest 'new_session' for <Function test_valid[test:extension-abc]>>
[task 2023-06-14T15:19:59.686Z] 15:19:59 INFO - setup = <function _wrap_asyncgen.<locals>._asyncgen_fixture_wrapper.<locals>.setup at 0x7faf7d083830>
[task 2023-06-14T15:19:59.686Z] 15:19:59 INFO -
[task 2023-06-14T15:19:59.686Z] 15:19:59 INFO - tests/web-platform/tests/tools/third_party/pytest-asyncio/pytest_asyncio/plugin.py:293:
[task 2023-06-14T15:19:59.686Z] 15:19:59 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2023-06-14T15:19:59.686Z] 15:19:59 INFO - /usr/lib/python3.7/asyncio/base_events.py:579: in run_until_complete
[task 2023-06-14T15:19:59.686Z] 15:19:59 INFO - return future.result()
[task 2023-06-14T15:19:59.686Z] 15:19:59 INFO - future = <Task finished coro=<_wrap_asyncgen.<locals>._asyncgen_fixture_wrapper.<locals>.setup() done, defined at /builds/worker/workspace/build/tests/web-platform/tests/tools/third_party/pytest-asyncio/pytest_asyncio/plugin.py:274> exception=JSONDecodeError('Expecting value: line 1 column 1 (char 0)')>
[task 2023-06-14T15:19:59.686Z] 15:19:59 INFO - new_task = True
[task 2023-06-14T15:19:59.686Z] 15:19:59 INFO - self = <_UnixSelectorEventLoop running=False closed=False debug=False>
[task 2023-06-14T15:19:59.686Z] 15:19:59 INFO - tests/web-platform/tests/tools/third_party/pytest-asyncio/pytest_asyncio/plugin.py:275: in setup
[task 2023-06-14T15:19:59.686Z] 15:19:59 INFO - res = await gen_obj.__anext__()
[task 2023-06-14T15:19:59.686Z] 15:19:59 INFO - gen_obj = <async_generator object new_session at 0x7faf7d083680>
[task 2023-06-14T15:19:59.686Z] 15:19:59 INFO - tests/web-platform/mozilla/tests/webdriver/bidi/session/new/conftest.py:25: in new_session
[task 2023-06-14T15:19:59.687Z] 15:19:59 INFO - current_browser = browser(use_bidi=True)
[task 2023-06-14T15:19:59.687Z] 15:19:59 INFO - browser = <function browser.<locals>._browser at 0x7faf7e8f99e0>
[task 2023-06-14T15:19:59.687Z] 15:19:59 INFO - tests/web-platform/mozilla/tests/webdriver/support/fixtures.py:60: in _browser
Updated•1 year ago
|
Summary: Intermittent [tier 2] mozilla/tests/webdriver/bidi/session/new/always_match.py | test_valid[test:extension-abc] - setup error: json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) → Intermittent mozilla/tests/webdriver/bidi/session/new/always_match.py | test_valid[test:extension-abc] - setup error: json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Updated•1 year ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•