Closed Bug 1824563 Opened 2 years ago Closed 2 years ago

Intermittent /webdriver/tests/execute_script/promise.py | test_promise_resolve - setup error: webdriver.error.UnknownErrorException: unknown error (500): adb error: cannot bind listener: Address already in use

Categories

(Remote Protocol :: Marionette, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1791216

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

Filed by: nbeleuzu [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=410216199&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/axK8aJE2RwicAnhbKLZAuA/runs/0/artifacts/public/logs/live_backing.log


[task 2023-03-25T22:15:01.317Z] 22:15:01     INFO - STDOUT: response = <Response status=500 error=<JavascriptErrorException http_status=500>>
[task 2023-03-25T22:15:01.317Z] 22:15:01     INFO - STDOUT: value = 'foobar'
[task 2023-03-25T22:15:01.318Z] 22:15:01     INFO - STDOUT:     def assert_success(response, value=None):
[task 2023-03-25T22:15:01.318Z] 22:15:01     INFO - STDOUT:         """
[task 2023-03-25T22:15:01.319Z] 22:15:01     INFO - STDOUT:         Verify that the provided webdriver.Response instance described
[task 2023-03-25T22:15:01.319Z] 22:15:01     INFO - STDOUT:         a valid success response as defined by `dfn-send-a-response` and
[task 2023-03-25T22:15:01.320Z] 22:15:01     INFO - STDOUT:         the provided response value.
[task 2023-03-25T22:15:01.320Z] 22:15:01     INFO - STDOUT:     
[task 2023-03-25T22:15:01.321Z] 22:15:01     INFO - STDOUT:         :param response: ``webdriver.Response`` instance.
[task 2023-03-25T22:15:01.321Z] 22:15:01     INFO - STDOUT:         :param value: Expected value of the response body, if any.
[task 2023-03-25T22:15:01.322Z] 22:15:01     INFO - STDOUT:         """
[task 2023-03-25T22:15:01.322Z] 22:15:01     INFO - STDOUT: >       assert response.status == 200, str(response.error)
[task 2023-03-25T22:15:01.323Z] 22:15:01     INFO - STDOUT: E       AssertionError: javascript error (500): SyntaxError: await is only valid in async functions, async generators and modules
[task 2023-03-25T22:15:01.323Z] 22:15:01     INFO - STDOUT: E         
[task 2023-03-25T22:15:01.324Z] 22:15:01     INFO - STDOUT: E       assert 500 == 200
[task 2023-03-25T22:15:01.324Z] 22:15:01     INFO - STDOUT: E         +500
[task 2023-03-25T22:15:01.325Z] 22:15:01     INFO - STDOUT: E         -200
[task 2023-03-25T22:15:01.325Z] 22:15:01     INFO - STDOUT: response   = <Response status=500 error=<JavascriptErrorException http_status=500>>
[task 2023-03-25T22:15:01.326Z] 22:15:01     INFO - STDOUT: value      = 'foobar'
[task 2023-03-25T22:15:01.326Z] 22:15:01     INFO - STDOUT: tests/web-platform/tests/webdriver/tests/support/asserts.py
[task 2023-03-25T22:15:01.327Z] 22:15:01     INFO - STDOUT: :67: AssertionError
[task 2023-03-25T22:15:01.327Z] 22:15:01     INFO - STDOUT: =========================== short test summary info ============================
[task 2023-03-25T22:15:01.328Z] 22:15:01     INFO - STDOUT: FAILED tests/web-platform/tests/webdriver/tests/execute_script/promise.py::test_await_promise_resolve
[task 2023-03-25T22:15:01.328Z] 22:15:01     INFO - STDOUT: ERROR tests/web-platform/tests/webdriver/tests/execute_script/promise.py::test_promise_resolve
[task 2023-03-25T22:15:01.328Z] 22:15:01     INFO - STDOUT: ===================== 1 failed, 8 passed, 1 error in 6.77s =====================
[task 2023-03-25T22:15:01.336Z] 22:15:01     INFO - 
[task 2023-03-25T22:15:01.336Z] 22:15:01     INFO - TEST-UNEXPECTED-ERROR | /webdriver/tests/execute_script/promise.py | test_promise_resolve - setup error: webdriver.error.UnknownErrorException: unknown error (500): adb error: cannot bind listener: Address already in use
[task 2023-03-25T22:15:01.336Z] 22:15:01     INFO - event_loop = <_UnixSelectorEventLoop running=False closed=False debug=False>
[task 2023-03-25T22:15:01.336Z] 22:15:01     INFO - request = <SubRequest 'session' for <Function test_promise_resolve>>
[task 2023-03-25T22:15:01.336Z] 22:15:01     INFO - kwargs = {'capabilities': {}, 'configuration': {'capabilities': {'moz:firefoxOptions': {'androidDeviceSerial': 'emulator-5554',...}, 'host': '127.0.0.1', 'port': 36355, 'webdriver': {'args': ['-vv'], 'binary': '/builds/worker/fetches/geckodriver'}}}
[task 2023-03-25T22:15:01.336Z] 22:15:01     INFO - setup = <function _wrap_asyncgen.<locals>._asyncgen_fixture_wrapper.<locals>.setup at 0x7f7d5621e5f0>
[task 2023-03-25T22:15:01.336Z] 22:15:01     INFO - finalizer = <function _wrap_asyncgen.<locals>._asyncgen_fixture_wrapper.<locals>.finalizer at 0x7f7d570dc9e0>
[task 2023-03-25T22:15:01.336Z] 22:15:01     INFO - 
[task 2023-03-25T22:15:01.336Z] 22:15:01     INFO -     @functools.wraps(func)
[task 2023-03-25T22:15:01.336Z] 22:15:01     INFO -     def _asyncgen_fixture_wrapper(
[task 2023-03-25T22:15:01.336Z] 22:15:01     INFO -         event_loop: asyncio.AbstractEventLoop, request: SubRequest, **kwargs: Any
[task 2023-03-25T22:15:01.336Z] 22:15:01     INFO -     ) -> _R:
[task 2023-03-25T22:15:01.336Z] 22:15:01     INFO -         gen_obj = func(**_add_kwargs(func, kwargs, event_loop, request))
[task 2023-03-25T22:15:01.336Z] 22:15:01     INFO -     
[task 2023-03-25T22:15:01.336Z] 22:15:01     INFO -         async def setup() -> _R:
[task 2023-03-25T22:15:01.336Z] 22:15:01     INFO -             res = await gen_obj.__anext__()
[task 2023-03-25T22:15:01.336Z] 22:15:01     INFO -             return res
[task 2023-03-25T22:15:01.336Z] 22:15:01     INFO -     
[task 2023-03-25T22:15:01.336Z] 22:15:01     INFO -         def finalizer() -> None:
[task 2023-03-25T22:15:01.336Z] 22:15:01     INFO -             """Yield again, to finalize."""
[task 2023-03-25T22:15:01.336Z] 22:15:01     INFO -     
[task 2023-03-25T22:15:01.336Z] 22:15:01     INFO -             async def async_finalizer() -> None:
[task 2023-03-25T22:15:01.336Z] 22:15:01     INFO -                 try:
[task 2023-03-25T22:15:01.336Z] 22:15:01     INFO -                     await gen_obj.__anext__()
[task 2023-03-25T22:15:01.336Z] 22:15:01     INFO -                 except StopAsyncIteration:
[task 2023-03-25T22:15:01.336Z] 22:15:01     INFO -                     pass
[task 2023-03-25T22:15:01.336Z] 22:15:01     INFO -                 else:
[task 2023-03-25T22:15:01.336Z] 22:15:01     INFO -                     msg = "Async generator fixture didn't stop."
[task 2023-03-25T22:15:01.336Z] 22:15:01     INFO -                     msg += "Yield only once."
[task 2023-03-25T22:15:01.336Z] 22:15:01     INFO -                     raise ValueError(msg)
[task 2023-03-25T22:15:01.336Z] 22:15:01     INFO -     
[task 2023-03-25T22:15:01.336Z] 22:15:01     INFO -             event_loop.run_until_complete(async_finalizer())
[task 2023-03-25T22:15:01.336Z] 22:15:01     INFO -     
[task 2023-03-25T22:15:01.336Z] 22:15:01     INFO - >       result = event_loop.run_until_complete(setup())
[task 2023-03-25T22:15:01.336Z] 22:15:01     INFO - 
[task 2023-03-25T22:15:01.336Z] 22:15:01     INFO - event_loop = <_UnixSelectorEventLoop running=False closed=False debug=False>
[task 2023-03-25T22:15:01.336Z] 22:15:01     INFO - finalizer  = <function _wrap_asyncgen.<locals>._asyncgen_fixture_wrapper.<locals>.finalizer at 0x7f7d570dc9e0>
[task 2023-03-25T22:15:01.336Z] 22:15:01     INFO - func       = <function session at 0x7f7d56b1ea70>
[task 2023-03-25T22:15:01.336Z] 22:15:01     INFO - gen_obj    = <async_generator object session at 0x7f7d5621e710>
[task 2023-03-25T22:15:01.336Z] 22:15:01     INFO - kwargs     = {'capabilities': {},
[task 2023-03-25T22:15:01.336Z] 22:15:01     INFO -  'configuration': {'capabilities': {'moz:firefoxOptions': {'androidDeviceSerial': 'emulator-5554',
[task 2023-03-25T22:15:01.337Z] 22:15:01     INFO -                                                            'androidPackage': 'org.mozilla.geckoview.test_runner',
[task 2023-03-25T22:15:01.337Z] 22:15:01     INFO -                                                            'args': ['--profile',
[task 2023-03-25T22:15:01.337Z] 22:15:01     INFO -                                                                     '/tmp/tmpe2y3xg1e.mozrunner'],
[task 2023-03-25T22:15:01.337Z] 22:15:01     INFO -                                                            'env': {'MOZ_CRASHREPORTER': '1',
[task 2023-03-25T22:15:01.337Z] 22:15:01     INFO -                                                                    'MOZ_CRASHREPORTER_SHUTDOWN': '1',
[task 2023-03-25T22:15:01.337Z] 22:15:01     INFO -                                                                    'RUST_BACKTRACE': '1',
[task 2023-03-25T22:15:01.337Z] 22:15:01     INFO -                                                                    'STYLO_THREADS': '1'}}},
[task 2023-03-25T22:15:01.337Z] 22:15:01     INFO -                    'host': '127.0.0.1',
[task 2023-03-25T22:15:01.337Z] 22:15:01     INFO -                    'port': 36355,
[task 2023-03-25T22:15:01.337Z] 22:15:01     INFO -                    'webdriver': {'args': ['-vv'],
[task 2023-03-25T22:15:01.337Z] 22:15:01     INFO -                                  'binary': '/builds/worker/fetches/geckodriver'}}}
[task 2023-03-25T22:15:01.337Z] 22:15:01     INFO - request    = <SubRequest 'session' for <Function test_promise_resolve>>
[task 2023-03-25T22:15:01.337Z] 22:15:01     INFO - setup      = <function _wrap_asyncgen.<locals>._asyncgen_fixture_wrapper.<locals>.setup at 0x7f7d5621e5f0>
[task 2023-03-25T22:15:01.337Z] 22:15:01     INFO - 
[task 2023-03-25T22:15:01.337Z] 22:15:01     INFO - tests/web-platform/tests/tools/third_party/pytest-asyncio/pytest_asyncio/plugin.py:293:
Status: NEW → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1791216
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.