Closed Bug 1715686 Opened 3 years ago Closed 3 years ago

Intermittent /webdriver/tests/forward/user_prompts.py | test_dismiss_and_notify[capabilities0-confirm-False] - setup error

Categories

(Remote Protocol :: Marionette, defect, P5)

defect

Tracking

(Fission Milestone:M8)

RESOLVED DUPLICATE of bug 1715884
Fission Milestone M8

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure)

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


[task 2021-06-09T20:12:31.008Z] 20:12:31     INFO - TEST-PASS | /webdriver/tests/forward/user_prompts.py | test_dismiss_and_notify[capabilities0-alert-None] 
[task 2021-06-09T20:12:31.008Z] 20:12:31     INFO - TEST-UNEXPECTED-ERROR | /webdriver/tests/forward/user_prompts.py | test_dismiss_and_notify[capabilities0-confirm-False] - setup error
[task 2021-06-09T20:12:31.008Z] 20:12:31     INFO - session = <Session c3aca1ac-a435-40d1-b8a1-4ae6839083e1>
[task 2021-06-09T20:12:31.008Z] 20:12:31     INFO - inline = <function inline.<locals>.inline at 0x7f30a08f8620>
[task 2021-06-09T20:12:31.008Z] 20:12:31     INFO - 
[task 2021-06-09T20:12:31.008Z] 20:12:31     INFO -     @pytest.fixture
[task 2021-06-09T20:12:31.008Z] 20:12:31     INFO -     def pages(session, inline):
[task 2021-06-09T20:12:31.008Z] 20:12:31     INFO -         pages = [
[task 2021-06-09T20:12:31.008Z] 20:12:31     INFO -             inline("<p id=1>"),
[task 2021-06-09T20:12:31.008Z] 20:12:31     INFO -             inline("<p id=2>"),
[task 2021-06-09T20:12:31.008Z] 20:12:31     INFO -         ]
[task 2021-06-09T20:12:31.008Z] 20:12:31     INFO -     
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO -         for page in pages:
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO -             session.url = page
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO -     
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO - >       session.back()
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO - 
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO - inline     = <function inline.<locals>.inline at 0x7f30a08f8620>
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO - page       = 'http://web-platform.test:8000/webdriver/tests/support/inline.py?doc=%3C%21doctype+html%3E%0A%3Cmeta+charset%3DUTF-8%3E%0A%3Cp+id%3D2%3E&mime=text%2Fhtml&charset=UTF-8'
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO - pages      = ['http://web-platform.test:8000/webdriver/tests/support/inline.py?doc=%3C%21doctype+html%3E%0A%3Cmeta+charset%3DUTF-8%3E%0A%3Cp+id%3D1%3E&mime=text%2Fhtml&charset=UTF-8',
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO -  'http://web-platform.test:8000/webdriver/tests/support/inline.py?doc=%3C%21doctype+html%3E%0A%3Cmeta+charset%3DUTF-8%3E%0A%3Cp+id%3D2%3E&mime=text%2Fhtml&charset=UTF-8']
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO - session    = <Session c3aca1ac-a435-40d1-b8a1-4ae6839083e1>
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO - 
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO - tests/web-platform/tests/webdriver/tests/forward/user_prompts.py:23: 
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:18: in inner
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO -     return func(self, *args, **kwargs)
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO -         args       = ()
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO -         func       = <function Session.back at 0x7f30a1261158>
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO -         kwargs     = {}
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO -         self       = <Session c3aca1ac-a435-40d1-b8a1-4ae6839083e1>
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO -         session    = <Session c3aca1ac-a435-40d1-b8a1-4ae6839083e1>
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:638: in back
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO -     return self.send_session_command("POST", "back")
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO -         self       = <Session c3aca1ac-a435-40d1-b8a1-4ae6839083e1>
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:621: in send_session_command
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO -     return self.send_command(method, url, body, timeout)
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO -         body       = None
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO -         method     = 'POST'
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO -         self       = <Session c3aca1ac-a435-40d1-b8a1-4ae6839083e1>
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO -         timeout    = None
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO -         uri        = 'back'
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO -         url        = 'session/c3aca1ac-a435-40d1-b8a1-4ae6839083e1/back'
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO - 
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO - self = <Session c3aca1ac-a435-40d1-b8a1-4ae6839083e1>, method = 'POST'
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO - url = 'session/c3aca1ac-a435-40d1-b8a1-4ae6839083e1/back', body = None
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO - timeout = None
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO - 
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO -     def send_command(self, method, url, body=None, timeout=None):
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO -         """
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO -         Send a command to the remote end and validate its success.
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO -     
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO -         :param method: HTTP method to use in request.
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO -         :param uri: "Command part" of the HTTP request URL,
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO -             e.g. `window/rect`.
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO -         :param body: Optional body of the HTTP request.
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO -     
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO -         :return: `None` if the HTTP response body was empty, otherwise
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO -             the `value` field returned after parsing the response
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO -             body as JSON.
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO -     
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO -         :raises error.WebDriverException: If the remote end returns
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO -             an error.
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO -         :raises ValueError: If the response body does not contain a
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO -             `value` key.
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO -         """
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO -     
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO -         response = self.transport.send(
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO -             method, url, body,
[task 2021-06-09T20:12:31.009Z] 20:12:31     INFO -             encoder=protocol.Encoder, decoder=protocol.Decoder,
[task 2021-06-09T20:12:31.010Z] 20:12:31     INFO -             session=self, timeout=timeout)
[task 2021-06-09T20:12:31.010Z] 20:12:31     INFO -     
[task 2021-06-09T20:12:31.010Z] 20:12:31     INFO -         if response.status != 200:
[task 2021-06-09T20:12:31.010Z] 20:12:31     INFO -             err = error.from_response(response)
[task 2021-06-09T20:12:31.010Z] 20:12:31     INFO -     
[task 2021-06-09T20:12:31.010Z] 20:12:31     INFO -             if isinstance(err, error.InvalidSessionIdException):
[task 2021-06-09T20:12:31.010Z] 20:12:31     INFO -                 # The driver could have already been deleted the session.
[task 2021-06-09T20:12:31.010Z] 20:12:31     INFO -                 self.session_id = None
[task 2021-06-09T20:12:31.010Z] 20:12:31     INFO -     
[task 2021-06-09T20:12:31.010Z] 20:12:31     INFO - >           raise err
[task 2021-06-09T20:12:31.010Z] 20:12:31     INFO - E           webdriver.error.TimeoutException: timeout (500): TimedPromise timed out after 300000 ms
[task 2021-06-09T20:12:31.010Z] 20:12:31     INFO - E           
[task 2021-06-09T20:12:31.010Z] 20:12:31     INFO - E           Remote-end stacktrace:
[task 2021-06-09T20:12:31.010Z] 20:12:31     INFO - E           
[task 2021-06-09T20:12:31.010Z] 20:12:31     INFO - E           WebDriverError@chrome://remote/content/marionette/error.js:181:5
[task 2021-06-09T20:12:31.010Z] 20:12:31     INFO - E           TimeoutError@chrome://remote/content/marionette/error.js:450:5
[task 2021-06-09T20:12:31.010Z] 20:12:31     INFO - E           bail@chrome://remote/content/marionette/sync.js:229:19
[task 2021-06-09T20:12:31.010Z] 20:12:31     INFO - 
[task 2021-06-09T20:12:31.010Z] 20:12:31     INFO - body       = None
[task 2021-06-09T20:12:31.010Z] 20:12:31     INFO - err        = <TimeoutException http_status=500>
[task 2021-06-09T20:12:31.010Z] 20:12:31     INFO - method     = 'POST'
[task 2021-06-09T20:12:31.010Z] 20:12:31     INFO - response   = <Response status=500 error=<TimeoutException http_status=500>>
[task 2021-06-09T20:12:31.010Z] 20:12:31     INFO - self       = <Session c3aca1ac-a435-40d1-b8a1-4ae6839083e1>
[task 2021-06-09T20:12:31.010Z] 20:12:31     INFO - timeout    = None
[task 2021-06-09T20:12:31.010Z] 20:12:31     INFO - url        = 'session/c3aca1ac-a435-40d1-b8a1-4ae6839083e1/back'
[task 2021-06-09T20:12:31.010Z] 20:12:31     INFO - 
[task 2021-06-09T20:12:31.010Z] 20:12:31     INFO - tests/web-platform/tests/tools/webdriver/webdriver/client.py:585: TimeoutException
[task 2021-06-09T20:12:31.013Z] 20:12:31     INFO - .......
[task 2021-06-09T20:12:31.013Z] 20:12:31     INFO - TEST-OK | /webdriver/tests/forward/user_prompts.py | took 359331ms
Fission Milestone: --- → M8

This is not seen as failing in latest try run https://treeherder.mozilla.org/jobs?repo=try&revision=76f19083ee9a7d7d7f38f568e2292c5ef30b74f1 . Peter is enabling bfcache in parent today (Bug 1715300). We'll confirm and close tomorrow if this doesn't fail anymore.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → 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.