Closed Bug 1762527 Opened 3 years ago Closed 3 years ago

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

Categories

(Remote Protocol :: Marionette, defect, P5)

All
Android
defect

Tracking

(firefox99 unaffected, firefox100 fixed, firefox101 fixed)

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

People

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

References

(Blocks 1 open bug)

Details

(Keywords: intermittent-failure)

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


[task 2022-04-01T03:05:26.922Z] 03:05:26     INFO - TEST-PASS | /webdriver/tests/execute_script/user_prompts.py | test_default[confirm-False] 
[task 2022-04-01T03:05:26.922Z] 03:05:26     INFO - TEST-UNEXPECTED-FAIL | /webdriver/tests/execute_script/user_prompts.py | test_default[prompt-None] - webdriver.error.NoSuchAlertException: no such alert (404):
[task 2022-04-01T03:05:26.922Z] 03:05:26     INFO - session = <Session 461e75a6-cc93-4d09-9757-2045b09b7bf9>
[task 2022-04-01T03:05:26.922Z] 03:05:26     INFO - expected_text = 'prompt', expected_retval = None
[task 2022-04-01T03:05:26.922Z] 03:05:26     INFO - 
[task 2022-04-01T03:05:26.922Z] 03:05:26     INFO -     def assert_dialog_handled(session, expected_text, expected_retval):
[task 2022-04-01T03:05:26.922Z] 03:05:26     INFO -         # If there were any existing dialogs prior to the creation of this
[task 2022-04-01T03:05:26.922Z] 03:05:26     INFO -         # fixture's dialog, then the "Get Alert Text" command will return
[task 2022-04-01T03:05:26.922Z] 03:05:26     INFO -         # successfully. In that case, the text must be different than that
[task 2022-04-01T03:05:26.922Z] 03:05:26     INFO -         # of this fixture's dialog.
[task 2022-04-01T03:05:26.922Z] 03:05:26     INFO -         try:
[task 2022-04-01T03:05:26.922Z] 03:05:26     INFO - >           assert session.alert.text != expected_text, (
[task 2022-04-01T03:05:26.922Z] 03:05:26     INFO -                 "User prompt with text '{}' was not handled.".format(expected_text))
[task 2022-04-01T03:05:26.922Z] 03:05:26     INFO - 
[task 2022-04-01T03:05:26.922Z] 03:05:26     INFO - expected_retval = None
[task 2022-04-01T03:05:26.922Z] 03:05:26     INFO - expected_text = 'prompt'
[task 2022-04-01T03:05:26.922Z] 03:05:26     INFO - prompt_retval = False
[task 2022-04-01T03:05:26.923Z] 03:05:26     INFO - session    = <Session 461e75a6-cc93-4d09-9757-2045b09b7bf9>
[task 2022-04-01T03:05:26.923Z] 03:05:26     INFO - 
[task 2022-04-01T03:05:26.923Z] 03:05:26     INFO - tests/web-platform/tests/webdriver/tests/support/asserts.py:96: 
[task 2022-04-01T03:05:26.923Z] 03:05:26     INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[task 2022-04-01T03:05:26.923Z] 03:05:26     INFO - 
[task 2022-04-01T03:05:26.923Z] 03:05:26     INFO - self = <webdriver.client.UserPrompt object at 0x7f9995e00518>, args = ()
[task 2022-04-01T03:05:26.923Z] 03:05:26     INFO - kwargs = {}, session = <Session 461e75a6-cc93-4d09-9757-2045b09b7bf9>
[task 2022-04-01T03:05:26.923Z] 03:05:26     INFO - 
[task 2022-04-01T03:05:26.923Z] 03:05:26     INFO -     def inner(self, *args, **kwargs):
[task 2022-04-01T03:05:26.923Z] 03:05:26     INFO -         if hasattr(self, "session"):
[task 2022-04-01T03:05:26.923Z] 03:05:26     INFO -             session = self.session
[task 2022-04-01T03:05:26.923Z] 03:05:26     INFO -         else:
[task 2022-04-01T03:05:26.923Z] 03:05:26     INFO -             session = self
[task 2022-04-01T03:05:26.923Z] 03:05:26     INFO -     
[task 2022-04-01T03:05:26.923Z] 03:05:26     INFO -         if session.session_id is None:
[task 2022-04-01T03:05:26.923Z] 03:05:26     INFO -             session.start()
[task 2022-04-01T03:05:26.923Z] 03:05:26     INFO -     
[task 2022-04-01T03:05:26.923Z] 03:05:26     INFO - >       return func(self, *args, **kwargs)
[task 2022-04-01T03:05:26.923Z] 03:05:26     INFO - 
[task 2022-04-01T03:05:26.923Z] 03:05:26     INFO - args       = ()
[task 2022-04-01T03:05:26.923Z] 03:05:26     INFO - func       = <function UserPrompt.text at 0x7f9996c02048>
[task 2022-04-01T03:05:26.923Z] 03:05:26     INFO - kwargs     = {}
[task 2022-04-01T03:05:26.923Z] 03:05:26     INFO - self       = <webdriver.client.UserPrompt object at 0x7f9995e00518>
[task 2022-04-01T03:05:26.923Z] 03:05:26     INFO - session    = <Session 461e75a6-cc93-4d09-9757-2045b09b7bf9>
[task 2022-04-01T03:05:26.923Z] 03:05:26     INFO - 
[task 2022-04-01T03:05:26.923Z] 03:05:26     INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:20: 
[task 2022-04-01T03:05:26.923Z] 03:05:26     INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[task 2022-04-01T03:05:26.923Z] 03:05:26     INFO - 
[task 2022-04-01T03:05:26.923Z] 03:05:26     INFO - self = <webdriver.client.UserPrompt object at 0x7f9995e00518>
[task 2022-04-01T03:05:26.923Z] 03:05:26     INFO - 
[task 2022-04-01T03:05:26.923Z] 03:05:26     INFO -     @property  # type: ignore
[task 2022-04-01T03:05:26.923Z] 03:05:26     INFO -     @command
[task 2022-04-01T03:05:26.923Z] 03:05:26     INFO -     def text(self):
[task 2022-04-01T03:05:26.923Z] 03:05:26     INFO - >       return self.session.send_session_command("GET", "alert/text")
[task 2022-04-01T03:05:26.924Z] 03:05:26     INFO - 
[task 2022-04-01T03:05:26.924Z] 03:05:26     INFO - self       = <webdriver.client.UserPrompt object at 0x7f9995e00518>
[task 2022-04-01T03:05:26.924Z] 03:05:26     INFO - 
[task 2022-04-01T03:05:26.924Z] 03:05:26     INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:479: 
[task 2022-04-01T03:05:26.924Z] 03:05:26     INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[task 2022-04-01T03:05:26.924Z] 03:05:26     INFO - 
[task 2022-04-01T03:05:26.924Z] 03:05:26     INFO - self = <Session 461e75a6-cc93-4d09-9757-2045b09b7bf9>, method = 'GET'
[task 2022-04-01T03:05:26.924Z] 03:05:26     INFO - uri = 'alert/text', body = None, timeout = None
[task 2022-04-01T03:05:26.924Z] 03:05:26     INFO - 
[task 2022-04-01T03:05:26.924Z] 03:05:26     INFO -     def send_session_command(self, method, uri, body=None, timeout=None):
[task 2022-04-01T03:05:26.924Z] 03:05:26     INFO -         """
[task 2022-04-01T03:05:26.924Z] 03:05:26     INFO -         Send a command to an established session and validate its success.
[task 2022-04-01T03:05:26.924Z] 03:05:26     INFO -     
[task 2022-04-01T03:05:26.924Z] 03:05:26     INFO -         :param method: HTTP method to use in request.
[task 2022-04-01T03:05:26.924Z] 03:05:26     INFO -         :param url: "Command part" of the HTTP request URL,
[task 2022-04-01T03:05:26.924Z] 03:05:26     INFO -             e.g. `window/rect`.
[task 2022-04-01T03:05:26.924Z] 03:05:26     INFO -         :param body: Optional body of the HTTP request.  Must be JSON
[task 2022-04-01T03:05:26.924Z] 03:05:26     INFO -             serialisable.
[task 2022-04-01T03:05:26.924Z] 03:05:26     INFO -     
[task 2022-04-01T03:05:26.924Z] 03:05:26     INFO -         :return: `None` if the HTTP response body was empty, otherwise
[task 2022-04-01T03:05:26.925Z] 03:05:26     INFO -             the result of parsing the body as JSON.
[task 2022-04-01T03:05:26.925Z] 03:05:26     INFO -     
[task 2022-04-01T03:05:26.925Z] 03:05:26     INFO -         :raises error.WebDriverException: If the remote end returns
[task 2022-04-01T03:05:26.925Z] 03:05:26     INFO -             an error.
[task 2022-04-01T03:05:26.925Z] 03:05:26     INFO -         """
[task 2022-04-01T03:05:26.925Z] 03:05:26     INFO -         url = urlparse.urljoin("session/%s/" % self.session_id, uri)
[task 2022-04-01T03:05:26.925Z] 03:05:26     INFO - >       return self.send_command(method, url, body, timeout)
[task 2022-04-01T03:05:26.925Z] 03:05:26     INFO - 
[task 2022-04-01T03:05:26.925Z] 03:05:26     INFO - body       = None
[task 2022-04-01T03:05:26.925Z] 03:05:26     INFO - method     = 'GET'
[task 2022-04-01T03:05:26.925Z] 03:05:26     INFO - self       = <Session 461e75a6-cc93-4d09-9757-2045b09b7bf9>
[task 2022-04-01T03:05:26.925Z] 03:05:26     INFO - timeout    = None
[task 2022-04-01T03:05:26.925Z] 03:05:26     INFO - uri        = 'alert/text'
[task 2022-04-01T03:05:26.925Z] 03:05:26     INFO - url        = 'session/461e75a6-cc93-4d09-9757-2045b09b7bf9/alert/text'
[task 2022-04-01T03:05:26.925Z] 03:05:26     INFO - 
[task 2022-04-01T03:05:26.925Z] 03:05:26     INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:659: 
[task 2022-04-01T03:05:26.925Z] 03:05:26     INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[task 2022-04-01T03:05:26.925Z] 03:05:26     INFO - 
[task 2022-04-01T03:05:26.925Z] 03:05:26     INFO - self = <Session 461e75a6-cc93-4d09-9757-2045b09b7bf9>, method = 'GET'
[task 2022-04-01T03:05:26.925Z] 03:05:26     INFO - url = 'session/461e75a6-cc93-4d09-9757-2045b09b7bf9/alert/text', body = None
[task 2022-04-01T03:05:26.925Z] 03:05:26     INFO - timeout = None
[task 2022-04-01T03:05:26.925Z] 03:05:26     INFO - 
[task 2022-04-01T03:05:26.925Z] 03:05:26     INFO -     def send_command(self, method, url, body=None, timeout=None):
[task 2022-04-01T03:05:26.925Z] 03:05:26     INFO -         """
[task 2022-04-01T03:05:26.925Z] 03:05:26     INFO -         Send a command to the remote end and validate its success.
[task 2022-04-01T03:05:26.925Z] 03:05:26     INFO -     
[task 2022-04-01T03:05:26.925Z] 03:05:26     INFO -         :param method: HTTP method to use in request.
[task 2022-04-01T03:05:26.925Z] 03:05:26     INFO -         :param uri: "Command part" of the HTTP request URL,
[task 2022-04-01T03:05:26.925Z] 03:05:26     INFO -             e.g. `window/rect`.
[task 2022-04-01T03:05:26.925Z] 03:05:26     INFO -         :param body: Optional body of the HTTP request.
[task 2022-04-01T03:05:26.925Z] 03:05:26     INFO -     
[task 2022-04-01T03:05:26.925Z] 03:05:26     INFO -         :return: `None` if the HTTP response body was empty, otherwise
[task 2022-04-01T03:05:26.925Z] 03:05:26     INFO -             the `value` field returned after parsing the response
[task 2022-04-01T03:05:26.925Z] 03:05:26     INFO -             body as JSON.
[task 2022-04-01T03:05:26.925Z] 03:05:26     INFO -     
[task 2022-04-01T03:05:26.925Z] 03:05:26     INFO -         :raises error.WebDriverException: If the remote end returns
[task 2022-04-01T03:05:26.925Z] 03:05:26     INFO -             an error.
[task 2022-04-01T03:05:26.925Z] 03:05:26     INFO -         :raises ValueError: If the response body does not contain a
[task 2022-04-01T03:05:26.925Z] 03:05:26     INFO -             `value` key.
[task 2022-04-01T03:05:26.925Z] 03:05:26     INFO -         """
[task 2022-04-01T03:05:26.925Z] 03:05:26     INFO -     
[task 2022-04-01T03:05:26.925Z] 03:05:26     INFO -         response = self.transport.send(
[task 2022-04-01T03:05:26.926Z] 03:05:26     INFO -             method, url, body,
[task 2022-04-01T03:05:26.926Z] 03:05:26     INFO -             encoder=protocol.Encoder, decoder=protocol.Decoder,
[task 2022-04-01T03:05:26.926Z] 03:05:26     INFO -             session=self, timeout=timeout)
[task 2022-04-01T03:05:26.926Z] 03:05:26     INFO -     
[task 2022-04-01T03:05:26.926Z] 03:05:26     INFO -         if response.status != 200:
[task 2022-04-01T03:05:26.926Z] 03:05:26     INFO -             err = error.from_response(response)
[task 2022-04-01T03:05:26.926Z] 03:05:26     INFO -     
[task 2022-04-01T03:05:26.926Z] 03:05:26     INFO -             if isinstance(err, error.InvalidSessionIdException):
[task 2022-04-01T03:05:26.926Z] 03:05:26     INFO -                 # The driver could have already been deleted the session.
[task 2022-04-01T03:05:26.926Z] 03:05:26     INFO -                 self.session_id = None
[task 2022-04-01T03:05:26.926Z] 03:05:26     INFO -     
[task 2022-04-01T03:05:26.926Z] 03:05:26     INFO - >           raise err
[task 2022-04-01T03:05:26.926Z] 03:05:26     INFO - E           webdriver.error.NoSuchAlertException: no such alert (404): 
[task 2022-04-01T03:05:26.926Z] 03:05:26     INFO - E           
[task 2022-04-01T03:05:26.926Z] 03:05:26     INFO - E           Remote-end stacktrace:
[task 2022-04-01T03:05:26.926Z] 03:05:26     INFO - E           
[task 2022-04-01T03:05:26.926Z] 03:05:26     INFO - E           WebDriverError@chrome://remote/content/shared/webdriver/Errors.jsm:183:5
[task 2022-04-01T03:05:26.926Z] 03:05:26     INFO - E           NoSuchAlertError@chrome://remote/content/shared/webdriver/Errors.jsm:384:5
[task 2022-04-01T03:05:26.926Z] 03:05:26     INFO - E           GeckoDriver.prototype._checkIfAlertIsPresent@chrome://remote/content/marionette/driver.js:2508:11
[task 2022-04-01T03:05:26.926Z] 03:05:26     INFO - E           GeckoDriver.prototype.getTextFromDialog@chrome://remote/content/marionette/driver.js:2457:8
[task 2022-04-01T03:05:26.926Z] 03:05:26     INFO - E           despatch@chrome://remote/content/marionette/server.js:306:40
[task 2022-04-01T03:05:26.926Z] 03:05:26     INFO - E           execute@chrome://remote/content/marionette/server.js:279:16
[task 2022-04-01T03:05:26.926Z] 03:05:26     INFO - E           onPacket/<@chrome://remote/content/marionette/server.js:252:20
[task 2022-04-01T03:05:26.926Z] 03:05:26     INFO - E           onPacket@chrome://remote/content/marionette/server.js:253:9
[task 2022-04-01T03:05:26.926Z] 03:05:26     INFO - E           _onJSONObjectReady/<@chrome://remote/content/marionette/transport.js:500:20
[task 2022-04-01T03:05:26.926Z] 03:05:26     INFO - 
[task 2022-04-01T03:05:26.926Z] 03:05:26     INFO - body       = None
[task 2022-04-01T03:05:26.926Z] 03:05:26     INFO - err        = <NoSuchAlertException http_status=404>
[task 2022-04-01T03:05:26.926Z] 03:05:26     INFO - method     = 'GET'
[task 2022-04-01T03:05:26.926Z] 03:05:26     INFO - response   = <Response status=404 error=<NoSuchAlertException http_status=404>>
[task 2022-04-01T03:05:26.926Z] 03:05:26     INFO - self       = <Session 461e75a6-cc93-4d09-9757-2045b09b7bf9>
[task 2022-04-01T03:05:26.927Z] 03:05:26     INFO - timeout    = None
[task 2022-04-01T03:05:26.927Z] 03:05:26     INFO - url        = 'session/461e75a6-cc93-4d09-9757-2045b09b7bf9/alert/text'
[task 2022-04-01T03:05:26.927Z] 03:05:26     INFO - 
[task 2022-04-01T03:05:26.927Z] 03:05:26     INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:623: NoSuchAlertException
[task 2022-04-01T03:05:26.927Z] 03:05:26     INFO - 
[task 2022-04-01T03:05:26.927Z] 03:05:26     INFO - During handling of the above exception, another exception occurred:
[task 2022-04-01T03:05:26.927Z] 03:05:26     INFO - 
[task 2022-04-01T03:05:26.927Z] 03:05:26     INFO - check_user_prompt_closed_with_exception = <function check_user_prompt_closed_with_exception.<locals>.check_user_prompt_closed_with_exception at 0x7f999621a048>
[task 2022-04-01T03:05:26.927Z] 03:05:26     INFO - dialog_type = 'prompt', retval = None
[task 2022-04-01T03:05:26.927Z] 03:05:26     INFO - 
[task 2022-04-01T03:05:26.927Z] 03:05:26     INFO -     @pytest.mark.parametrize("dialog_type, retval", [
[task 2022-04-01T03:05:26.927Z] 03:05:26     INFO -         ("alert", None),
[task 2022-04-01T03:05:26.927Z] 03:05:26     INFO -         ("confirm", False),
[task 2022-04-01T03:05:26.927Z] 03:05:26     INFO -         ("prompt", None),
[task 2022-04-01T03:05:26.927Z] 03:05:26     INFO -     ])
[task 2022-04-01T03:05:26.927Z] 03:05:26     INFO -     def test_default(check_user_prompt_closed_with_exception, dialog_type, retval):
[task 2022-04-01T03:05:26.927Z] 03:05:26     INFO - >       check_user_prompt_closed_with_exception(dialog_type, retval)
[task 2022-04-01T03:05:26.927Z] 03:05:26     INFO - 
[task 2022-04-01T03:05:26.927Z] 03:05:26     INFO - check_user_prompt_closed_with_exception = <function check_user_prompt_closed_with_exception.<locals>.check_user_prompt_closed_with_exception at 0x7f999621a048>
[task 2022-04-01T03:05:26.927Z] 03:05:26     INFO - dialog_type = 'prompt'
[task 2022-04-01T03:05:26.927Z] 03:05:26     INFO - retval     = None
[task 2022-04-01T03:05:26.927Z] 03:05:26     INFO - 
[task 2022-04-01T03:05:26.927Z] 03:05:26     INFO - tests/web-platform/tests/webdriver/tests/execute_script/user_prompts.py:117: 
[task 2022-04-01T03:05:26.927Z] 03:05:26     INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[task 2022-04-01T03:05:26.927Z] 03:05:26     INFO - tests/web-platform/tests/webdriver/tests/execute_script/user_prompts.py:42: in check_user_prompt_closed_with_exception
[task 2022-04-01T03:05:26.927Z] 03:05:26     INFO -     assert_dialog_handled(session, expected_text=dialog_type, expected_retval=retval)
[task 2022-04-01T03:05:26.927Z] 03:05:26     INFO -         create_dialog = <function create_dialog.<locals>.create_dialog at 0x7f9996b88bf8>
[task 2022-04-01T03:05:26.927Z] 03:05:26     INFO -         dialog_type = 'prompt'
[task 2022-04-01T03:05:26.927Z] 03:05:26     INFO -         response   = <Response status=500 error=<UnexpectedAlertOpenException http_status=500>>
[task 2022-04-01T03:05:26.927Z] 03:05:26     INFO -         retval     = None
[task 2022-04-01T03:05:26.927Z] 03:05:26     INFO -         session    = <Session 461e75a6-cc93-4d09-9757-2045b09b7bf9>
[task 2022-04-01T03:05:26.927Z] 03:05:26     INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[task 2022-04-01T03:05:26.928Z] 03:05:26     INFO - 
[task 2022-04-01T03:05:26.928Z] 03:05:26     INFO - session = <Session 461e75a6-cc93-4d09-9757-2045b09b7bf9>
[task 2022-04-01T03:05:26.928Z] 03:05:26     INFO - expected_text = 'prompt', expected_retval = None
[task 2022-04-01T03:05:26.928Z] 03:05:26     INFO - 
[task 2022-04-01T03:05:26.930Z] 03:05:26     INFO -     def assert_dialog_handled(session, expected_text, expected_retval):
[task 2022-04-01T03:05:26.930Z] 03:05:26     INFO -         # If there were any existing dialogs prior to the creation of this
[task 2022-04-01T03:05:26.930Z] 03:05:26     INFO -         # fixture's dialog, then the "Get Alert Text" command will return
[task 2022-04-01T03:05:26.930Z] 03:05:26     INFO -         # successfully. In that case, the text must be different than that
[task 2022-04-01T03:05:26.930Z] 03:05:26     INFO -         # of this fixture's dialog.
[task 2022-04-01T03:05:26.930Z] 03:05:26     INFO -         try:
[task 2022-04-01T03:05:26.930Z] 03:05:26     INFO -             assert session.alert.text != expected_text, (
[task 2022-04-01T03:05:26.930Z] 03:05:26     INFO -                 "User prompt with text '{}' was not handled.".format(expected_text))
[task 2022-04-01T03:05:26.930Z] 03:05:26     INFO -     
[task 2022-04-01T03:05:26.930Z] 03:05:26     INFO -         except NoSuchAlertException:
[task 2022-04-01T03:05:26.930Z] 03:05:26     INFO -             # If dialog has been closed and no other one is open, check its return value
[task 2022-04-01T03:05:26.930Z] 03:05:26     INFO -             prompt_retval = session.execute_script(" return window.dialog_return_value;")
[task 2022-04-01T03:05:26.930Z] 03:05:26     INFO - >           assert prompt_retval == expected_retval
[task 2022-04-01T03:05:26.930Z] 03:05:26     INFO - E           assert False == None
[task 2022-04-01T03:05:26.930Z] 03:05:26     INFO - E             +False
[task 2022-04-01T03:05:26.930Z] 03:05:26     INFO - E             -None
[task 2022-04-01T03:05:26.930Z] 03:05:26     INFO - 
[task 2022-04-01T03:05:26.930Z] 03:05:26     INFO - expected_retval = None
[task 2022-04-01T03:05:26.930Z] 03:05:26     INFO - expected_text = 'prompt'
[task 2022-04-01T03:05:26.930Z] 03:05:26     INFO - prompt_retval = False
[task 2022-04-01T03:05:26.930Z] 03:05:26     INFO - session    = <Session 461e75a6-cc93-4d09-9757-2045b09b7bf9>
[task 2022-04-01T03:05:26.930Z] 03:05:26     INFO - 
[task 2022-04-01T03:05:26.930Z] 03:05:26     INFO - tests/web-platform/tests/webdriver/tests/support/asserts.py:102: AssertionError
[task 2022-04-01T03:05:26.930Z] 03:05:26     INFO - TEST-OK | /webdriver/tests/execute_script/user_prompts.py | took 33549ms

Default behavior for closing a prompt is dismiss and notify. As such this is related to the race as reported on bug 1762543.

Depends on: 1762543
OS: Unspecified → Android
Hardware: Unspecified → All
Summary: Intermittent /webdriver/tests/execute_script/user_prompts.py | test_default[prompt-None] - webdriver.error.NoSuchAlertException: no such alert (404): → Intermittent Android /webdriver/tests/execute_script/user_prompts.py | test_default[prompt-None] - webdriver.error.NoSuchAlertException: no such alert (404):
Summary: Intermittent Android /webdriver/tests/execute_script/user_prompts.py | test_default[prompt-None] - webdriver.error.NoSuchAlertException: no such alert (404): → Intermittent Android Wd | test_default[<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.