Closed Bug 1762506 Opened 3 years ago Closed 3 years ago

Intermittent [tier 2] Android Wd | test_dismiss_and_notify[<random>] - webdriver.error.NoSuchAlertException: no such alert (404):

Categories

(Remote Protocol :: Marionette, defect, P5)

All
Android
defect

Tracking

(firefox-esr91 unaffected, firefox99 unaffected, firefox100 fixed, firefox101 fixed)

RESOLVED FIXED
101 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox99 --- unaffected
firefox100 --- fixed
firefox101 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: olivia)

References

(Blocks 1 open bug)

Details

(Keywords: intermittent-failure)

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


[task 2022-04-01T00:55:58.021Z] 00:55:58     INFO - TEST-PASS | /webdriver/tests/element_clear/user_prompts.py | test_accept[capabilities0-alert-None] 
[task 2022-04-01T00:55:58.021Z] 00:55:58     INFO - TEST-PASS | /webdriver/tests/element_clear/user_prompts.py | test_accept[capabilities0-confirm-True] 
[task 2022-04-01T00:55:58.021Z] 00:55:58     INFO - TEST-PASS | /webdriver/tests/element_clear/user_prompts.py | test_accept[capabilities0-prompt-] 
[task 2022-04-01T00:55:58.021Z] 00:55:58     INFO - TEST-PASS | /webdriver/tests/element_clear/user_prompts.py | test_accept_and_notify[capabilities0-alert-None] 
[task 2022-04-01T00:55:58.021Z] 00:55:58     INFO - TEST-PASS | /webdriver/tests/element_clear/user_prompts.py | test_accept_and_notify[capabilities0-confirm-True] 
[task 2022-04-01T00:55:58.021Z] 00:55:58     INFO - TEST-PASS | /webdriver/tests/element_clear/user_prompts.py | test_accept_and_notify[capabilities0-prompt-] 
[task 2022-04-01T00:55:58.021Z] 00:55:58     INFO - TEST-PASS | /webdriver/tests/element_clear/user_prompts.py | test_dismiss[capabilities0-alert-None] 
[task 2022-04-01T00:55:58.021Z] 00:55:58     INFO - TEST-PASS | /webdriver/tests/element_clear/user_prompts.py | test_dismiss[capabilities0-confirm-False] 
[task 2022-04-01T00:55:58.021Z] 00:55:58     INFO - TEST-PASS | /webdriver/tests/element_clear/user_prompts.py | test_dismiss[capabilities0-prompt-None] 
[task 2022-04-01T00:55:58.021Z] 00:55:58     INFO - TEST-PASS | /webdriver/tests/element_clear/user_prompts.py | test_dismiss_and_notify[capabilities0-alert-None] 
[task 2022-04-01T00:55:58.021Z] 00:55:58     INFO - TEST-UNEXPECTED-FAIL | /webdriver/tests/element_clear/user_prompts.py | test_dismiss_and_notify[capabilities0-confirm-False] - webdriver.error.NoSuchAlertException: no such alert (404):
[task 2022-04-01T00:55:58.021Z] 00:55:58     INFO - session = <Session 11a15b37-9a8e-4da2-8bf1-a5f7debc1cb8>
[task 2022-04-01T00:55:58.021Z] 00:55:58     INFO - expected_text = 'confirm', expected_retval = False
[task 2022-04-01T00:55:58.022Z] 00:55:58     INFO - 
[task 2022-04-01T00:55:58.022Z] 00:55:58     INFO -     def assert_dialog_handled(session, expected_text, expected_retval):
[task 2022-04-01T00:55:58.022Z] 00:55:58     INFO -         # If there were any existing dialogs prior to the creation of this
[task 2022-04-01T00:55:58.022Z] 00:55:58     INFO -         # fixture's dialog, then the "Get Alert Text" command will return
[task 2022-04-01T00:55:58.022Z] 00:55:58     INFO -         # successfully. In that case, the text must be different than that
[task 2022-04-01T00:55:58.022Z] 00:55:58     INFO -         # of this fixture's dialog.
[task 2022-04-01T00:55:58.022Z] 00:55:58     INFO -         try:
[task 2022-04-01T00:55:58.022Z] 00:55:58     INFO - >           assert session.alert.text != expected_text, (
[task 2022-04-01T00:55:58.022Z] 00:55:58     INFO -                 "User prompt with text '{}' was not handled.".format(expected_text))
[task 2022-04-01T00:55:58.022Z] 00:55:58     INFO - 
[task 2022-04-01T00:55:58.022Z] 00:55:58     INFO - expected_retval = False
[task 2022-04-01T00:55:58.022Z] 00:55:58     INFO - expected_text = 'confirm'
[task 2022-04-01T00:55:58.022Z] 00:55:58     INFO - prompt_retval = None
[task 2022-04-01T00:55:58.022Z] 00:55:58     INFO - session    = <Session 11a15b37-9a8e-4da2-8bf1-a5f7debc1cb8>
[task 2022-04-01T00:55:58.022Z] 00:55:58     INFO - 
[task 2022-04-01T00:55:58.023Z] 00:55:58     INFO - tests/web-platform/tests/webdriver/tests/support/asserts.py:96: 
[task 2022-04-01T00:55:58.023Z] 00:55:58     INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[task 2022-04-01T00:55:58.023Z] 00:55:58     INFO - 
[task 2022-04-01T00:55:58.023Z] 00:55:58     INFO - self = <webdriver.client.UserPrompt object at 0x7f7dd1202898>, args = ()
[task 2022-04-01T00:55:58.023Z] 00:55:58     INFO - kwargs = {}, session = <Session 11a15b37-9a8e-4da2-8bf1-a5f7debc1cb8>
[task 2022-04-01T00:55:58.023Z] 00:55:58     INFO - 
[task 2022-04-01T00:55:58.023Z] 00:55:58     INFO -     def inner(self, *args, **kwargs):
[task 2022-04-01T00:55:58.023Z] 00:55:58     INFO -         if hasattr(self, "session"):
[task 2022-04-01T00:55:58.023Z] 00:55:58     INFO -             session = self.session
[task 2022-04-01T00:55:58.023Z] 00:55:58     INFO -         else:
[task 2022-04-01T00:55:58.023Z] 00:55:58     INFO -             session = self
[task 2022-04-01T00:55:58.023Z] 00:55:58     INFO -     
[task 2022-04-01T00:55:58.023Z] 00:55:58     INFO -         if session.session_id is None:
[task 2022-04-01T00:55:58.023Z] 00:55:58     INFO -             session.start()
[task 2022-04-01T00:55:58.023Z] 00:55:58     INFO - >       return func(self, *args, **kwargs)
[task 2022-04-01T00:55:58.023Z] 00:55:58     INFO - 
[task 2022-04-01T00:55:58.023Z] 00:55:58     INFO - args       = ()
[task 2022-04-01T00:55:58.024Z] 00:55:58     INFO - func       = <function UserPrompt.text at 0x7f7dd1be1e18>
[task 2022-04-01T00:55:58.024Z] 00:55:58     INFO - kwargs     = {}
[task 2022-04-01T00:55:58.024Z] 00:55:58     INFO - self       = <webdriver.client.UserPrompt object at 0x7f7dd1202898>
[task 2022-04-01T00:55:58.024Z] 00:55:58     INFO - session    = <Session 11a15b37-9a8e-4da2-8bf1-a5f7debc1cb8>
[task 2022-04-01T00:55:58.024Z] 00:55:58     INFO - 
[task 2022-04-01T00:55:58.024Z] 00:55:58     INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:20: 
[task 2022-04-01T00:55:58.024Z] 00:55:58     INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[task 2022-04-01T00:55:58.024Z] 00:55:58     INFO - 
[task 2022-04-01T00:55:58.024Z] 00:55:58     INFO - self = <webdriver.client.UserPrompt object at 0x7f7dd1202898>
[task 2022-04-01T00:55:58.024Z] 00:55:58     INFO - 
[task 2022-04-01T00:55:58.024Z] 00:55:58     INFO -     @property  # type: ignore
[task 2022-04-01T00:55:58.024Z] 00:55:58     INFO -     @command
[task 2022-04-01T00:55:58.024Z] 00:55:58     INFO -     def text(self):
[task 2022-04-01T00:55:58.024Z] 00:55:58     INFO - >       return self.session.send_session_command("GET", "alert/text")
[task 2022-04-01T00:55:58.024Z] 00:55:58     INFO - 
[task 2022-04-01T00:55:58.025Z] 00:55:58     INFO - self       = <webdriver.client.UserPrompt object at 0x7f7dd1202898>
[task 2022-04-01T00:55:58.025Z] 00:55:58     INFO - 
[task 2022-04-01T00:55:58.025Z] 00:55:58     INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:479: 
[task 2022-04-01T00:55:58.025Z] 00:55:58     INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[task 2022-04-01T00:55:58.025Z] 00:55:58     INFO - 
[task 2022-04-01T00:55:58.025Z] 00:55:58     INFO - self = <Session 11a15b37-9a8e-4da2-8bf1-a5f7debc1cb8>, method = 'GET'
[task 2022-04-01T00:55:58.025Z] 00:55:58     INFO - uri = 'alert/text', body = None, timeout = None

Similar to bug 1762123 but with a lower intermittent rate.

OS: Unspecified → Android
Hardware: Unspecified → All
Summary: Intermittent [Tier 2] /webdriver/tests/element_clear/user_prompts.py | test_dismiss_and_notify[capabilities0-confirm-False] - webdriver.error.NoSuchAlertException: no such alert (404): → Intermittent [Tier 2] Android /webdriver/tests/element_clear/user_prompts.py | test_dismiss_and_notify[capabilities0-confirm-False] - webdriver.error.NoSuchAlertException: no such alert (404):
Summary: Intermittent [Tier 2] Android /webdriver/tests/element_clear/user_prompts.py | test_dismiss_and_notify[capabilities0-confirm-False] - webdriver.error.NoSuchAlertException: no such alert (404): → Intermittent Android Wd | test_dismiss_and_notify[<random>] - webdriver.error.NoSuchAlertException: no such alert (404):
Summary: Intermittent Android Wd | test_dismiss_and_notify[<random>] - webdriver.error.NoSuchAlertException: no such alert (404): → Intermittent [tier 2] Android Wd | test_dismiss_and_notify[<random>] - webdriver.error.NoSuchAlertException: no such alert (404):
Assignee: nobody → ohall
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
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.