Closed Bug 1860410 Opened 2 years ago Closed 2 years ago

Intermittent /webdriver/tests/classic/new_session/create_firstMatch.py | test_valid[pageLoadStrategy-none] - AssertionError: unknown error (500): Failed to decode response from marionette

Categories

(Remote Protocol :: Marionette, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1819763

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

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


[task 2023-10-21T21:53:52.240Z] 21:53:52     INFO - TEST-PASS | /webdriver/tests/classic/new_session/create_firstMatch.py | test_valid[pageLoadStrategy-None] 
[task 2023-10-21T21:53:52.240Z] 21:53:52     INFO - TEST-UNEXPECTED-FAIL | /webdriver/tests/classic/new_session/create_firstMatch.py | test_valid[pageLoadStrategy-none] - AssertionError: unknown error (500): Failed to decode response from marionette
[task 2023-10-21T21:53:52.240Z] 21:53:52     INFO - new_session = <function fixture_new_session.<locals>.new_session at 0x7f751e90d7a0>
[task 2023-10-21T21:53:52.240Z] 21:53:52     INFO - add_browser_capabilities = <function fixture_add_browser_capabilities.<locals>.add_browser_capabilities at 0x7f751e863170>
[task 2023-10-21T21:53:52.240Z] 21:53:52     INFO - key = 'pageLoadStrategy', value = 'none'
[task 2023-10-21T21:53:52.240Z] 21:53:52     INFO - 
[task 2023-10-21T21:53:52.240Z] 21:53:52     INFO -     @pytest.mark.parametrize("key,value", flatten(product(*item) for item in valid_data))
[task 2023-10-21T21:53:52.240Z] 21:53:52     INFO -     def test_valid(new_session, add_browser_capabilities, key, value):
[task 2023-10-21T21:53:52.240Z] 21:53:52     INFO -         response, _ = new_session({"capabilities": {
[task 2023-10-21T21:53:52.240Z] 21:53:52     INFO -             "firstMatch": [add_browser_capabilities({key: value})]}})
[task 2023-10-21T21:53:52.240Z] 21:53:52     INFO - >       assert_success(response)
[task 2023-10-21T21:53:52.240Z] 21:53:52     INFO - 
[task 2023-10-21T21:53:52.240Z] 21:53:52     INFO - _          = None
[task 2023-10-21T21:53:52.240Z] 21:53:52     INFO - add_browser_capabilities = <function fixture_add_browser_capabilities.<locals>.add_browser_capabilities at 0x7f751e863170>
[task 2023-10-21T21:53:52.240Z] 21:53:52     INFO - key        = 'pageLoadStrategy'
[task 2023-10-21T21:53:52.240Z] 21:53:52     INFO - new_session = <function fixture_new_session.<locals>.new_session at 0x7f751e90d7a0>
[task 2023-10-21T21:53:52.241Z] 21:53:52     INFO - response   = <Response status=500 error=<UnknownErrorException http_status=500>>
[task 2023-10-21T21:53:52.241Z] 21:53:52     INFO - value      = 'none'
[task 2023-10-21T21:53:52.241Z] 21:53:52     INFO - 
[task 2023-10-21T21:53:52.241Z] 21:53:52     INFO - tests/web-platform/tests/webdriver/tests/classic/new_session/create_firstMatch.py:16: 
[task 2023-10-21T21:53:52.241Z] 21:53:52     INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[task 2023-10-21T21:53:52.241Z] 21:53:52     INFO - 
[task 2023-10-21T21:53:52.241Z] 21:53:52     INFO - response = <Response status=500 error=<UnknownErrorException http_status=500>>
[task 2023-10-21T21:53:52.241Z] 21:53:52     INFO - value = None
[task 2023-10-21T21:53:52.241Z] 21:53:52     INFO - 
[task 2023-10-21T21:53:52.241Z] 21:53:52     INFO -     def assert_success(response, value=None):
[task 2023-10-21T21:53:52.241Z] 21:53:52     INFO -         """
[task 2023-10-21T21:53:52.241Z] 21:53:52     INFO -         Verify that the provided webdriver.Response instance described
[task 2023-10-21T21:53:52.241Z] 21:53:52     INFO -         a valid success response as defined by `dfn-send-a-response` and
[task 2023-10-21T21:53:52.242Z] 21:53:52     INFO -         the provided response value.
[task 2023-10-21T21:53:52.242Z] 21:53:52     INFO -     
[task 2023-10-21T21:53:52.242Z] 21:53:52     INFO -         :param response: ``webdriver.Response`` instance.
[task 2023-10-21T21:53:52.242Z] 21:53:52     INFO -         :param value: Expected value of the response body, if any.
[task 2023-10-21T21:53:52.242Z] 21:53:52     INFO -         """
[task 2023-10-21T21:53:52.242Z] 21:53:52     INFO - >       assert response.status == 200, str(response.error)
[task 2023-10-21T21:53:52.242Z] 21:53:52     INFO - E       AssertionError: unknown error (500): Failed to decode response from marionette
[task 2023-10-21T21:53:52.242Z] 21:53:52     INFO - E         
[task 2023-10-21T21:53:52.242Z] 21:53:52     INFO - E       assert 500 == 200
[task 2023-10-21T21:53:52.242Z] 21:53:52     INFO - E         +500
[task 2023-10-21T21:53:52.242Z] 21:53:52     INFO - E         -200
[task 2023-10-21T21:53:52.242Z] 21:53:52     INFO - 
[task 2023-10-21T21:53:52.242Z] 21:53:52     INFO - response   = <Response status=500 error=<UnknownErrorException http_status=500>>
[task 2023-10-21T21:53:52.242Z] 21:53:52     INFO - value      = None
[task 2023-10-21T21:53:52.243Z] 21:53:52     INFO - 
[task 2023-10-21T21:53:52.243Z] 21:53:52     INFO - tests/web-platform/tests/webdriver/tests/support/asserts.py:67: AssertionError
[task 2023-10-21T21:53:52.249Z] 21:53:52     INFO - ....................
[task 2023-10-21T21:53:52.249Z] 21:53:52     INFO - TEST-OK | /webdriver/tests/classic/new_session/create_firstMatch.py | took 121846ms
Status: NEW → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1819763
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.