Intermittent testing/marionette/harness/marionette_harness/tests/unit/test_modal_dialogs.py | single tracking bug
Categories
(Testing :: Marionette Client and Harness, defect, P5)
Tracking
(Not tracked)
People
(Reporter: intermittent-bug-filer, Unassigned)
Details
(Keywords: intermittent-failure, intermittent-testcase)
Attachments
(1 obsolete file)
Filed by: nbeleuzu [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=432181022&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/M7SUSLdGRMqcmSzEa6fzzw/runs/0/artifacts/public/logs/live_backing.log
[task 2023-10-11T23:12:57.467Z] 23:12:57 INFO - Failed to gather test failure debug: Dismissed user prompt dialog: text
[task 2023-10-11T23:12:57.467Z] 23:12:57 INFO - stacktrace:
[task 2023-10-11T23:12:57.467Z] 23:12:57 INFO - RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8
[task 2023-10-11T23:12:57.467Z] 23:12:57 INFO - WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:189:5
[task 2023-10-11T23:12:57.467Z] 23:12:57 INFO - UnexpectedAlertOpenError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:736:5
[task 2023-10-11T23:12:57.467Z] 23:12:57 INFO - GeckoDriver.prototype._handleUserPrompts@chrome://remote/content/marionette/driver.sys.mjs:2835:13
[task 2023-10-11T23:12:57.467Z] 23:12:57 INFO - DEBUG: Adding blocker ContentParent: id=1f9019f2e00 for phase xpcom-will-shutdown
[task 2023-10-11T23:12:57.467Z] 23:12:57 INFO - DEBUG: Adding blocker ContentParent: id=1f9019f2e00 for phase profile-before-change
[task 2023-10-11T23:12:57.467Z] 23:12:57 INFO - DEBUG: Adding blocker ContentParent: id=1f9019f2e00 for phase quit-application-granted
[task 2023-10-11T23:12:57.471Z] 23:12:57 ERROR - TEST-UNEXPECTED-ERROR | testing/marionette/harness/marionette_harness/tests/unit/test_modal_dialogs.py TestModalDialogs.test_dont_detect_content_and_tab_modal_type_in_another_tab_for_type_tab | marionette_driver.errors.NoSuchWindowException: Unable to locate window: 2201a217-dd29-4b85-b9cf-c02e5686602f
[task 2023-10-11T23:12:57.471Z] 23:12:57 INFO - stacktrace:
[task 2023-10-11T23:12:57.473Z] 23:12:57 INFO - RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8
[task 2023-10-11T23:12:57.473Z] 23:12:57 INFO - WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:189:5
[task 2023-10-11T23:12:57.473Z] 23:12:57 INFO - NoSuchWindowError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:630:5
[task 2023-10-11T23:12:57.473Z] 23:12:57 INFO - GeckoDriver.prototype.switchToWindow@chrome://remote/content/marionette/driver.sys.mjs:1253:11
[task 2023-10-11T23:12:57.473Z] 23:12:57 INFO - openPromptSync@resource://gre/modules/Prompter.sys.mjs:1042:17
[task 2023-10-11T23:12:57.473Z] 23:12:57 INFO - alert@resource://gre/modules/Prompter.sys.mjs:1334:17
[task 2023-10-11T23:12:57.473Z] 23:12:57 INFO - alertBC@resource://gre/modules/Prompter.sys.mjs:86:7
[task 2023-10-11T23:12:57.473Z] 23:12:57 INFO - @Z:\task_169706508177396\build\tests\marionette\tests\testing\marionette\harness\marionette_harness\tests\unit\test_modal_dialogs.py:65:35
[task 2023-10-11T23:12:57.473Z] 23:12:57 INFO - Traceback (most recent call last):
[task 2023-10-11T23:12:57.473Z] 23:12:57 INFO - File "Z:\task_169706508177396\build\venv\lib\site-packages\marionette_harness\marionette_test\testcases.py", line 197, in run
[task 2023-10-11T23:12:57.473Z] 23:12:57 INFO - testMethod()
[task 2023-10-11T23:12:57.473Z] 23:12:57 INFO - File "Z:\task_169706508177396\build\venv\lib\site-packages\marionette_harness\marionette_test\testcases.py", line 48, in wrapper
[task 2023-10-11T23:12:57.473Z] 23:12:57 INFO - return func(self, *args, **kwargs)
[task 2023-10-11T23:12:57.473Z] 23:12:57 INFO - File "Z:\task_169706508177396\build\tests\marionette\tests\testing\marionette\harness\marionette_harness\tests\unit\test_modal_dialogs.py", line 103, in test_dont_detect_content_and_tab_modal_type_in_another_tab_for_type
[task 2023-10-11T23:12:57.473Z] 23:12:57 INFO - self.marionette.switch_to_window(self.new_tab)
[task 2023-10-11T23:12:57.473Z] 23:12:57 INFO - File "Z:\task_169706508177396\build\venv\lib\site-packages\marionette_driver\marionette.py", line 1569, in switch_to_window
[task 2023-10-11T23:12:57.473Z] 23:12:57 INFO - self._send_message(
[task 2023-10-11T23:12:57.473Z] 23:12:57 INFO - File "Z:\task_169706508177396\build\venv\lib\site-packages\marionette_driver\decorators.py", line 24, in _
[task 2023-10-11T23:12:57.477Z] 23:12:57 INFO - return func(*args, **kwargs)
[task 2023-10-11T23:12:57.477Z] 23:12:57 INFO - File "Z:\task_169706508177396\build\venv\lib\site-packages\marionette_driver\marionette.py", line 722, in _send_message
[task 2023-10-11T23:12:57.477Z] 23:12:57 INFO - self._handle_error(err)
[task 2023-10-11T23:12:57.477Z] 23:12:57 INFO - File "Z:\task_169706508177396\build\venv\lib\site-packages\marionette_driver\marionette.py", line 734, in _handle_error
[task 2023-10-11T23:12:57.477Z] 23:12:57 INFO - raise errors.lookup(error)(message, stacktrace=stacktrace)
[task 2023-10-11T23:12:57.477Z] 23:12:57 INFO - TEST-INFO took 6142ms
| Comment hidden (Intermittent Failures Robot) |
Comment 2•2 years ago
|
||
Updated•2 years ago
|
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Comment 6•2 years ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit BugBot documentation.
| Reporter | ||
Comment 7•1 year ago
|
||
| treeherder | ||
New failure instance: https://treeherder.mozilla.org/logviewer?job_id=441577845&repo=autoland
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Comment 10•1 year ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit BugBot documentation.
| Reporter | ||
Comment 11•1 year ago
|
||
| treeherder | ||
New failure instance: https://treeherder.mozilla.org/logviewer?job_id=447520541&repo=autoland
| Comment hidden (Intermittent Failures Robot) |
Updated•1 year ago
|
| 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 24•1 year ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit BugBot documentation.
| Reporter | ||
Comment 25•1 year ago
|
||
| treeherder | ||
New failure instance: https://treeherder.mozilla.org/logviewer?job_id=478662435&repo=autoland
Comment 26•1 year ago
|
||
It looks like that the modal dialog in another tab gets created with a small delay and we have already switched to the tab in the test:
[task 2024-10-17T07:48:39.856Z] 07:48:39 INFO - 1729151319856 Marionette DEBUG 15 -> [0,45,"WebDriver:SwitchToWindow",{"handle":"2f5af62b-77db-41eb-bdd1-ee6566da1ccb","focus":true}]
[task 2024-10-17T07:48:39.870Z] 07:48:39 INFO - 1729151319869 RemoteAgent TRACE Received DOM event TabSelect for [object XULElement]
[task 2024-10-17T07:48:39.885Z] 07:48:39 INFO - 1729151319885 Marionette DEBUG 15 <- [1,45,null,{"value":null}]
[task 2024-10-17T07:48:39.964Z] 07:48:39 INFO - 1729151319964 Marionette DEBUG 15 -> [0,46,"WebDriver:DismissAlert",{}]
[task 2024-10-17T07:48:39.966Z] 07:48:39 INFO - 1729151319965 Marionette DEBUG 15 <- [1,46,{"error":"no such alert","message":"","stacktrace":"RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8\nWebDriverError@chrome://remote/content/shared/webdriver/Er ... 4974871886\\build\\tests\\marionette\\tests\\testing\\marionette\\harness\\marionette_harness\\tests\\unit\\test_modal_dialogs.py:65:35\n"},null]
[task 2024-10-17T07:48:39.983Z] 07:48:39 INFO - 1729151319983 RemoteAgent TRACE Received observer notification common-dialog-loaded
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Comment 29•1 year ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit BugBot documentation.
| Reporter | ||
Comment 30•10 months ago
|
||
| treeherder | ||
New failure instance: https://treeherder.mozilla.org/logviewer?job_id=493205737&repo=mozilla-beta
| Comment hidden (Intermittent Failures Robot) |
Comment 32•9 months ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit BugBot documentation.
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
| Reporter | ||
Comment 36•15 hours ago
|
||
| treeherder | ||
New failure instance: https://treeherder.mozilla.org/logviewer?job_id=540778779&repo=autoland
Description
•