Closed
Bug 1793744
Opened 3 years ago
Closed 3 years ago
Intermittent /webdriver/tests/new_session/create_firstMatch.py | test_valid[test:extension-abc] - AssertionError: unknown error (500): adb error: cannot bind listener: Address already in use
Categories
(Remote Protocol :: Marionette, defect, P5)
Remote Protocol
Marionette
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1791216
People
(Reporter: intermittent-bug-filer, Unassigned)
Details
(Keywords: assertion, intermittent-failure)
Filed by: ctuns [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=392299011&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/ZJsNX9TrRc-qUbVLfWkFyQ/runs/0/artifacts/public/logs/live_backing.log
[task 2022-10-05T07:45:25.081Z] 07:45:25 INFO - TEST-PASS | /webdriver/tests/new_session/create_firstMatch.py | test_valid[test:extension-False]
[task 2022-10-05T07:45:25.081Z] 07:45:25 INFO - TEST-UNEXPECTED-FAIL | /webdriver/tests/new_session/create_firstMatch.py | test_valid[test:extension-abc] - AssertionError: unknown error (500): adb error: cannot bind listener: Address already in use
[task 2022-10-05T07:45:25.081Z] 07:45:25 INFO - new_session = <function fixture_new_session.<locals>.new_session at 0x7f5da62f9840>
[task 2022-10-05T07:45:25.081Z] 07:45:25 INFO - add_browser_capabilities = <function fixture_add_browser_capabilities.<locals>.add_browser_capabilities at 0x7f5da62f9ae8>
[task 2022-10-05T07:45:25.081Z] 07:45:25 INFO - key = 'test:extension', value = 'abc'
[task 2022-10-05T07:45:25.082Z] 07:45:25 INFO -
[task 2022-10-05T07:45:25.082Z] 07:45:25 INFO - @pytest.mark.parametrize("key,value", flatten(product(*item) for item in valid_data))
[task 2022-10-05T07:45:25.082Z] 07:45:25 INFO - def test_valid(new_session, add_browser_capabilities, key, value):
[task 2022-10-05T07:45:25.082Z] 07:45:25 INFO - response, _ = new_session({"capabilities": {
[task 2022-10-05T07:45:25.082Z] 07:45:25 INFO - "firstMatch": [add_browser_capabilities({key: value})]}})
[task 2022-10-05T07:45:25.082Z] 07:45:25 INFO - > assert_success(response)
[task 2022-10-05T07:45:25.082Z] 07:45:25 INFO -
[task 2022-10-05T07:45:25.082Z] 07:45:25 INFO - _ = None
[task 2022-10-05T07:45:25.082Z] 07:45:25 INFO - add_browser_capabilities = <function fixture_add_browser_capabilities.<locals>.add_browser_capabilities at 0x7f5da62f9ae8>
[task 2022-10-05T07:45:25.082Z] 07:45:25 INFO - key = 'test:extension'
[task 2022-10-05T07:45:25.082Z] 07:45:25 INFO - new_session = <function fixture_new_session.<locals>.new_session at 0x7f5da62f9840>
[task 2022-10-05T07:45:25.082Z] 07:45:25 INFO - response = <Response status=500 error=<UnknownErrorException http_status=500>>
[task 2022-10-05T07:45:25.082Z] 07:45:25 INFO - value = 'abc'
[task 2022-10-05T07:45:25.082Z] 07:45:25 INFO -
[task 2022-10-05T07:45:25.082Z] 07:45:25 INFO - tests/web-platform/tests/webdriver/tests/new_session/create_firstMatch.py:16:
[task 2022-10-05T07:45:25.082Z] 07:45:25 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2022-10-05T07:45:25.082Z] 07:45:25 INFO -
[task 2022-10-05T07:45:25.082Z] 07:45:25 INFO - response = <Response status=500 error=<UnknownErrorException http_status=500>>
[task 2022-10-05T07:45:25.082Z] 07:45:25 INFO - value = None
[task 2022-10-05T07:45:25.082Z] 07:45:25 INFO -
[task 2022-10-05T07:45:25.082Z] 07:45:25 INFO - def assert_success(response, value=None):
[task 2022-10-05T07:45:25.082Z] 07:45:25 INFO - """
[task 2022-10-05T07:45:25.082Z] 07:45:25 INFO - Verify that the provided webdriver.Response instance described
[task 2022-10-05T07:45:25.082Z] 07:45:25 INFO - a valid success response as defined by `dfn-send-a-response` and
[task 2022-10-05T07:45:25.082Z] 07:45:25 INFO - the provided response value.
[task 2022-10-05T07:45:25.082Z] 07:45:25 INFO -
[task 2022-10-05T07:45:25.082Z] 07:45:25 INFO - :param response: ``webdriver.Response`` instance.
[task 2022-10-05T07:45:25.082Z] 07:45:25 INFO - :param value: Expected value of the response body, if any.
[task 2022-10-05T07:45:25.082Z] 07:45:25 INFO - """
[task 2022-10-05T07:45:25.082Z] 07:45:25 INFO - > assert response.status == 200, str(response.error)
[task 2022-10-05T07:45:25.083Z] 07:45:25 INFO - E AssertionError: unknown error (500): adb error: cannot bind listener: Address already in use
[task 2022-10-05T07:45:25.083Z] 07:45:25 INFO - E
[task 2022-10-05T07:45:25.083Z] 07:45:25 INFO - E assert 500 == 200
[task 2022-10-05T07:45:25.083Z] 07:45:25 INFO - E +500
[task 2022-10-05T07:45:25.083Z] 07:45:25 INFO - E -200
[task 2022-10-05T07:45:25.083Z] 07:45:25 INFO -
[task 2022-10-05T07:45:25.083Z] 07:45:25 INFO - response = <Response status=500 error=<UnknownErrorException http_status=500>>
[task 2022-10-05T07:45:25.083Z] 07:45:25 INFO - value = None
[task 2022-10-05T07:45:25.083Z] 07:45:25 INFO -
[task 2022-10-05T07:45:25.083Z] 07:45:25 INFO - tests/web-platform/tests/webdriver/tests/support/asserts.py:69: AssertionError
[task 2022-10-05T07:45:25.084Z] 07:45:25 INFO - ...
[task 2022-10-05T07:45:25.084Z] 07:45:25 INFO - TEST-OK | /webdriver/tests/new_session/create_firstMatch.py | took 113300ms
Updated•3 years ago
|
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
Comment 2•3 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
•