Closed Bug 1803462 Opened 2 years ago Closed 2 years ago

Intermittent /webdriver/tests/get_element_css_value/user_prompts.py | test_dismiss_and_notify[capabilities0-alert-None] - 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=398242594&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Vxh-Vc2_Q7eFIEkk9yDDKg/runs/0/artifacts/public/logs/live_backing.log


[task 2022-11-30T22:30:06.552Z] 22:30:06     INFO - TEST-PASS | /webdriver/tests/get_element_css_value/user_prompts.py | test_dismiss[capabilities0-prompt-None] 
[task 2022-11-30T22:30:06.552Z] 22:30:06     INFO - TEST-UNEXPECTED-ERROR | /webdriver/tests/get_element_css_value/user_prompts.py | test_dismiss_and_notify[capabilities0-alert-None] - setup error: webdriver.error.UnknownErrorException: unknown error (500): adb error: cannot bind listener: Address already in use
[task 2022-11-30T22:30:06.552Z] 22:30:06     INFO - args = ()
[task 2022-11-30T22:30:06.552Z] 22:30:06     INFO - kwargs = {'capabilities': {'unhandledPromptBehavior': 'dismiss and notify'}, 'configuration': {'capabilities': {'moz:firefoxOpt...}, 'host': '127.0.0.1', 'port': 38709, 'webdriver': {'args': ['-vv'], 'binary': '/builds/worker/fetches/geckodriver'}}}
[task 2022-11-30T22:30:06.552Z] 22:30:06     INFO - request = <SubRequest 'session' for <Function test_dismiss_and_notify[capabilities0-alert-None]>>
[task 2022-11-30T22:30:06.552Z] 22:30:06     INFO - setup = <function pytest_fixture_setup.<locals>.wrapper.<locals>.setup at 0x7f2ac9c427b8>
[task 2022-11-30T22:30:06.552Z] 22:30:06     INFO - finalizer = <function pytest_fixture_setup.<locals>.wrapper.<locals>.finalizer at 0x7f2ac9c42048>
[task 2022-11-30T22:30:06.552Z] 22:30:06     INFO - 
[task 2022-11-30T22:30:06.552Z] 22:30:06     INFO -     def wrapper(*args, **kwargs):
[task 2022-11-30T22:30:06.552Z] 22:30:06     INFO -         loop = fixture_stripper.get_and_strip_from(FixtureStripper.EVENT_LOOP, kwargs)
[task 2022-11-30T22:30:06.552Z] 22:30:06     INFO -         request = fixture_stripper.get_and_strip_from(FixtureStripper.REQUEST, kwargs)
[task 2022-11-30T22:30:06.552Z] 22:30:06     INFO -     
[task 2022-11-30T22:30:06.552Z] 22:30:06     INFO -         gen_obj = generator(*args, **kwargs)
[task 2022-11-30T22:30:06.552Z] 22:30:06     INFO -     
[task 2022-11-30T22:30:06.552Z] 22:30:06     INFO -         async def setup():
[task 2022-11-30T22:30:06.552Z] 22:30:06     INFO -             res = await gen_obj.__anext__()
[task 2022-11-30T22:30:06.552Z] 22:30:06     INFO -             return res
[task 2022-11-30T22:30:06.552Z] 22:30:06     INFO -     
[task 2022-11-30T22:30:06.552Z] 22:30:06     INFO -         def finalizer():
[task 2022-11-30T22:30:06.552Z] 22:30:06     INFO -             """Yield again, to finalize."""
[task 2022-11-30T22:30:06.552Z] 22:30:06     INFO -             async def async_finalizer():
[task 2022-11-30T22:30:06.552Z] 22:30:06     INFO -                 try:
[task 2022-11-30T22:30:06.552Z] 22:30:06     INFO -                     await gen_obj.__anext__()
[task 2022-11-30T22:30:06.552Z] 22:30:06     INFO -                 except StopAsyncIteration:
[task 2022-11-30T22:30:06.552Z] 22:30:06     INFO -                     pass
[task 2022-11-30T22:30:06.552Z] 22:30:06     INFO -                 else:
[task 2022-11-30T22:30:06.552Z] 22:30:06     INFO -                     msg = "Async generator fixture didn't stop."
[task 2022-11-30T22:30:06.552Z] 22:30:06     INFO -                     msg += "Yield only once."
[task 2022-11-30T22:30:06.552Z] 22:30:06     INFO -                     raise ValueError(msg)
[task 2022-11-30T22:30:06.553Z] 22:30:06     INFO -             loop.run_until_complete(async_finalizer())
[task 2022-11-30T22:30:06.553Z] 22:30:06     INFO -     
[task 2022-11-30T22:30:06.553Z] 22:30:06     INFO -         request.addfinalizer(finalizer)
[task 2022-11-30T22:30:06.553Z] 22:30:06     INFO - >       return loop.run_until_complete(setup())
[task 2022-11-30T22:30:06.553Z] 22:30:06     INFO - 
[task 2022-11-30T22:30:06.553Z] 22:30:06     INFO - args       = ()
[task 2022-11-30T22:30:06.553Z] 22:30:06     INFO - finalizer  = <function pytest_fixture_setup.<locals>.wrapper.<locals>.finalizer at 0x7f2ac9c42048>
[task 2022-11-30T22:30:06.553Z] 22:30:06     INFO - fixture_stripper = <pytest_asyncio.plugin.FixtureStripper object at 0x7f2ac9c49550>
[task 2022-11-30T22:30:06.553Z] 22:30:06     INFO - gen_obj    = <async_generator object session at 0x7f2ac9eed250>
[task 2022-11-30T22:30:06.553Z] 22:30:06     INFO - generator  = <function session at 0x7f2aca74a8c8>
[task 2022-11-30T22:30:06.553Z] 22:30:06     INFO - kwargs     = {'capabilities': {'unhandledPromptBehavior': 'dismiss and notify'},
[task 2022-11-30T22:30:06.553Z] 22:30:06     INFO -  'configuration': {'capabilities': {'moz:firefoxOptions': {'androidDeviceSerial': 'emulator-5554',
[task 2022-11-30T22:30:06.553Z] 22:30:06     INFO -                                                            'androidPackage': 'org.mozilla.geckoview.test_runner',
[task 2022-11-30T22:30:06.553Z] 22:30:06     INFO -                                                            'args': ['--profile',
[task 2022-11-30T22:30:06.553Z] 22:30:06     INFO -                                                                     '/tmp/tmp_cezy535.mozrunner'],
[task 2022-11-30T22:30:06.553Z] 22:30:06     INFO -                                                            'env': {'MOZ_CRASHREPORTER': '1',
[task 2022-11-30T22:30:06.553Z] 22:30:06     INFO -                                                                    'MOZ_CRASHREPORTER_SHUTDOWN': '1',
[task 2022-11-30T22:30:06.553Z] 22:30:06     INFO -                                                                    'RUST_BACKTRACE': '1',
[task 2022-11-30T22:30:06.553Z] 22:30:06     INFO -                                                                    'STYLO_THREADS': '1'}}},
[task 2022-11-30T22:30:06.553Z] 22:30:06     INFO -                    'host': '127.0.0.1',
[task 2022-11-30T22:30:06.553Z] 22:30:06     INFO -                    'port': 38709,
[task 2022-11-30T22:30:06.553Z] 22:30:06     INFO -                    'webdriver': {'args': ['-vv'],
[task 2022-11-30T22:30:06.553Z] 22:30:06     INFO -                                  'binary': '/builds/worker/fetches/geckodriver'}}}
[task 2022-11-30T22:30:06.553Z] 22:30:06     INFO - loop       = <_UnixSelectorEventLoop running=False closed=False debug=False>
[task 2022-11-30T22:30:06.553Z] 22:30:06     INFO - request    = <SubRequest 'session' for <Function test_dismiss_and_notify[capabilities0-alert-None]>>
[task 2022-11-30T22:30:06.553Z] 22:30:06     INFO - setup      = <function pytest_fixture_setup.<locals>.wrapper.<locals>.setup at 0x7f2ac9c427b8>
[task 2022-11-30T22:30:06.553Z] 22:30:06     INFO - 
[task 2022-11-30T22:30:06.553Z] 22:30:06     INFO - tests/web-platform/tests/tools/third_party/pytest-asyncio/pytest_asyncio/plugin.py:127:
Status: NEW → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1791216
Resolution: --- → DUPLICATE
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.