Closed
Bug 1812937
Opened 2 years ago
Closed 10 months ago
Intermittent Android /webdriver/tests/send_alert_text/send.py | test_chained_alert_element_not_interactable[confirm] - assert 404 == 400
Categories
(Remote Protocol :: Marionette, defect, P5)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: intermittent-bug-filer, Unassigned)
References
Details
(Keywords: intermittent-failure)
Filed by: sstanca [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=403726328&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/cMShiaX0TwCwDIEmSj7tdA/runs/0/artifacts/public/logs/live_backing.log
[task 2023-01-27T03:21:16.712Z] 03:21:16 INFO - TEST-PASS | /webdriver/tests/send_alert_text/send.py | test_chained_alert_element_not_interactable[alert]
[task 2023-01-27T03:21:16.712Z] 03:21:16 INFO - TEST-UNEXPECTED-FAIL | /webdriver/tests/send_alert_text/send.py | test_chained_alert_element_not_interactable[confirm] - assert 404 == 400
[task 2023-01-27T03:21:16.712Z] 03:21:16 INFO - session = <Session 3804178c-8ffa-4f00-bc9e-293f70831445>
[task 2023-01-27T03:21:16.712Z] 03:21:16 INFO - inline = <function inline.<locals>.inline at 0x7f1afaf42488>
[task 2023-01-27T03:21:16.712Z] 03:21:16 INFO - dialog_type = 'confirm'
[task 2023-01-27T03:21:16.712Z] 03:21:16 INFO -
[task 2023-01-27T03:21:16.712Z] 03:21:16 INFO - @pytest.mark.parametrize("dialog_type", ["alert", "confirm"])
[task 2023-01-27T03:21:16.712Z] 03:21:16 INFO - def test_chained_alert_element_not_interactable(session, inline, dialog_type):
[task 2023-01-27T03:21:16.712Z] 03:21:16 INFO - session.url = inline("<script>window.{}('Hello');</script>".format(dialog_type))
[task 2023-01-27T03:21:16.712Z] 03:21:16 INFO - session.alert.accept()
[task 2023-01-27T03:21:16.712Z] 03:21:16 INFO -
[task 2023-01-27T03:21:16.712Z] 03:21:16 INFO - session.url = inline("<script>window.{}('Hello');</script>".format(dialog_type))
[task 2023-01-27T03:21:16.712Z] 03:21:16 INFO - response = send_alert_text(session, "Federer")
[task 2023-01-27T03:21:16.712Z] 03:21:16 INFO - > assert_error(response, "element not interactable")
[task 2023-01-27T03:21:16.712Z] 03:21:16 INFO -
[task 2023-01-27T03:21:16.712Z] 03:21:16 INFO - dialog_type = 'confirm'
[task 2023-01-27T03:21:16.712Z] 03:21:16 INFO - inline = <function inline.<locals>.inline at 0x7f1afaf42488>
[task 2023-01-27T03:21:16.713Z] 03:21:16 INFO - response = <Response status=404 error=<NoSuchAlertException http_status=404>>
[task 2023-01-27T03:21:16.713Z] 03:21:16 INFO - session = <Session 3804178c-8ffa-4f00-bc9e-293f70831445>
[task 2023-01-27T03:21:16.713Z] 03:21:16 INFO -
[task 2023-01-27T03:21:16.713Z] 03:21:16 INFO - tests/web-platform/tests/webdriver/tests/send_alert_text/send.py:71:
[task 2023-01-27T03:21:16.713Z] 03:21:16 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2023-01-27T03:21:16.713Z] 03:21:16 INFO -
[task 2023-01-27T03:21:16.713Z] 03:21:16 INFO - response = <Response status=404 error=<NoSuchAlertException http_status=404>>
[task 2023-01-27T03:21:16.713Z] 03:21:16 INFO - error_code = 'element not interactable'
[task 2023-01-27T03:21:16.713Z] 03:21:16 INFO -
[task 2023-01-27T03:21:16.713Z] 03:21:16 INFO - def assert_error(response, error_code):
[task 2023-01-27T03:21:16.713Z] 03:21:16 INFO - """
[task 2023-01-27T03:21:16.713Z] 03:21:16 INFO - Verify that the provided webdriver.Response instance described
[task 2023-01-27T03:21:16.713Z] 03:21:16 INFO - a valid error response as defined by `dfn-send-an-error` and
[task 2023-01-27T03:21:16.713Z] 03:21:16 INFO - the provided error code.
[task 2023-01-27T03:21:16.713Z] 03:21:16 INFO -
[task 2023-01-27T03:21:16.713Z] 03:21:16 INFO - :param response: ``webdriver.Response`` instance.
[task 2023-01-27T03:21:16.713Z] 03:21:16 INFO - :param error_code: String value of the expected error code
[task 2023-01-27T03:21:16.713Z] 03:21:16 INFO - """
[task 2023-01-27T03:21:16.713Z] 03:21:16 INFO - > assert response.status == errors[error_code]
[task 2023-01-27T03:21:16.713Z] 03:21:16 INFO - E assert 404 == 400
[task 2023-01-27T03:21:16.713Z] 03:21:16 INFO - E +404
[task 2023-01-27T03:21:16.713Z] 03:21:16 INFO - E -400
[task 2023-01-27T03:21:16.713Z] 03:21:16 INFO -
[task 2023-01-27T03:21:16.713Z] 03:21:16 INFO - error_code = 'element not interactable'
[task 2023-01-27T03:21:16.713Z] 03:21:16 INFO - response = <Response status=404 error=<NoSuchAlertException http_status=404>>
[task 2023-01-27T03:21:16.714Z] 03:21:16 INFO -
[task 2023-01-27T03:21:16.714Z] 03:21:16 INFO - tests/web-platform/tests/webdriver/tests/support/asserts.py:50: AssertionError
[task 2023-01-27T03:21:16.715Z] 03:21:16 INFO - .....
[task 2023-01-27T03:21:16.715Z] 03:21:16 INFO - TEST-OK | /webdriver/tests/send_alert_text/send.py | took 25713ms
Comment hidden (Intermittent Failures Robot) |
Updated•2 years ago
|
OS: Unspecified → Android
Hardware: Unspecified → All
Summary: Intermittent /webdriver/tests/send_alert_text/send.py | test_chained_alert_element_not_interactable[confirm] - assert 404 == 400 → Intermittent Android /webdriver/tests/send_alert_text/send.py | test_chained_alert_element_not_interactable[confirm] - assert 404 == 400
Comment hidden (Intermittent Failures Robot) |
Comment 3•2 years ago
|
||
Moving bug to Remote Protocol::Marionette component per bug 1815831.
Component: geckodriver → Marionette
Product: Testing → Remote Protocol
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 15•1 year ago
|
||
Potentially fixed by bug 1848167. Lets reopen if the problem is still persistent.
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME
Comment 16•1 year ago
|
||
Still happening: https://treeherder.mozilla.org/logviewer?job_id=426317071&repo=try
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 26•10 months ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit BugBot documentation.
Status: REOPENED → RESOLVED
Closed: 1 year ago → 10 months ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•