Closed Bug 1498094 Opened 6 years ago Closed 6 years ago

Intermittent /webdriver/tests/fullscreen_window/user_prompts.py | test_accept_and_notify[capabilities0-prompt-] - UnknownErrorException: unknown error (500): Failed to decode response from marionette

Categories

(Remote Protocol :: Marionette, defect, P5)

Version 3
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1488790

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure)

Filed by: aciure [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=204680958&repo=autoland

https://queue.taskcluster.net/v1/task/Zgk_7GGFREmRAUeZtbtweQ/runs/0/artifacts/public/logs/live_backing.log

20:05:57     INFO - TEST-PASS | /webdriver/tests/fullscreen_window/user_prompts.py | test_accept_and_notify[capabilities0-confirm-True] 
20:05:57     INFO - TEST-UNEXPECTED-FAIL | /webdriver/tests/fullscreen_window/user_prompts.py | test_accept_and_notify[capabilities0-prompt-] - UnknownErrorException: unknown error (500): Failed to decode response from marionette
20:05:57     INFO - check_user_prompt_closed_with_exception = <function check_user_prompt_closed_with_exception at 0x1116bf0c8>
20:05:57     INFO - dialog_type = 'prompt', retval = ''
20:05:57     INFO - 
20:05:57     INFO -     @pytest.mark.capabilities({"unhandledPromptBehavior": "accept and notify"})
20:05:57     INFO -     @pytest.mark.parametrize("dialog_type, retval", [
20:05:57     INFO -         ("alert", None),
20:05:57     INFO -         ("confirm", True),
20:05:57     INFO -         ("prompt", ""),
20:05:57     INFO -     ])
20:05:57     INFO -     def test_accept_and_notify(check_user_prompt_closed_with_exception, dialog_type, retval):
20:05:57     INFO - >       check_user_prompt_closed_with_exception(dialog_type, retval)
20:05:57     INFO - 
20:05:57     INFO - check_user_prompt_closed_with_exception = <function check_user_prompt_closed_with_exception at 0x1116bf0c8>
20:05:57     INFO - dialog_type = 'prompt'
20:05:57     INFO - retval     = ''
20:05:57     INFO - 
20:05:57     INFO - tests/web-platform/tests/webdriver/tests/fullscreen_window/user_prompts.py:93: 
20:05:57     INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
20:05:57     INFO - tests/web-platform/tests/webdriver/tests/fullscreen_window/user_prompts.py:51: in check_user_prompt_closed_with_exception
20:05:57     INFO -     assert_dialog_handled(session, expected_text=dialog_type, expected_retval=retval)
20:05:57     INFO - tests/web-platform/tests/webdriver/tests/support/asserts.py:75: in assert_dialog_handled
20:05:57     INFO -     assert session.alert.text != expected_text, (
20:05:57     INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:20: in inner
20:05:57     INFO -     return func(self, *args, **kwargs)
20:05:57     INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:354: in text
20:05:57     INFO -     return self.session.send_session_command("GET", "alert/text")
20:05:57     INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:509: in send_session_command
20:05:57     INFO -     return self.send_command(method, url, body)
Very strange log output:

> 20:05:32     INFO - PID 869 | 1539227132348	webdriver::server	DEBUG	-> GET /session/82a876e9-bbc0-4947-8616-204f2f7cfaa3/alert/text
> 20:05:32     INFO - PID 869 | 1539227132566	webdriver::server	DEBUG	Deleting session
> 20:05:32     INFO - PID 869 | ** Unknown exception behavior: -2147483647
> 20:05:32     INFO - PID 869 | [GFX1-]: Receive IPC close with reason=AbnormalShutdown
> 20:05:32     INFO - PID 869 | ** Unknown exception behavior: -2147483647
> 20:05:32     INFO - PID 869 | ** Unknown exception behavior: -2147483647
> 20:05:32     INFO - PID 869 | 1539227132668	geckodriver::marionette	DEBUG	Browser process stopped: exit code: 1
> 20:05:32     INFO - PID 869 | 1539227132674	webdriver::server	DEBUG	<- 500 Internal Server Error {"value":{"error":"unknown error","message":"Failed to decode response from marionette","stacktrace":""}}

We send the `WebDriver:GetAlertText` command and the session gets deleted. I assume there was a crash of Firefox. Sadly we don't see those details yet due to bug 1490906.
Depends on: 1490906
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
No longer blocks: 1541279
Resolution: INCOMPLETE → 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.