Closed Bug 1684367 Opened 4 years ago Closed 4 years ago

Intermittent [Tier2] MnFr testing/marionette/harness/marionette_harness/tests/unit/test_modal_dialogs.py TestTabModalAlerts.test_accept_prompt | NoSuchElementException: Unable to locate element: tab-modal-prompt

Categories

(Testing :: Marionette Client and Harness, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure)

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


[task 2020-12-28T15:38:53.086Z] 15:38:53     INFO - TEST-UNEXPECTED-ERROR | testing/marionette/harness/marionette_harness/tests/unit/test_modal_dialogs.py TestTabModalAlerts.test_accept_prompt | NoSuchElementException: Unable to locate element: tab-modal-prompt
[task 2020-12-28T15:38:53.086Z] 15:38:53     INFO - stacktrace:
[task 2020-12-28T15:38:53.087Z] 15:38:53     INFO - 	WebDriverError@chrome://marionette/content/error.js:181:5
[task 2020-12-28T15:38:53.088Z] 15:38:53     INFO - 	NoSuchElementError@chrome://marionette/content/error.js:393:5
[task 2020-12-28T15:38:53.088Z] 15:38:53     INFO - 	element.find/</<@chrome://marionette/content/element.js:467:16
[task 2020-12-28T15:38:53.088Z] 15:38:53     INFO - Traceback (most recent call last):
[task 2020-12-28T15:38:53.088Z] 15:38:53     INFO -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_harness/marionette_test/testcases.py", line 214, in run
[task 2020-12-28T15:38:53.088Z] 15:38:53     INFO -     testMethod()
[task 2020-12-28T15:38:53.089Z] 15:38:53     INFO -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_harness/marionette_test/testcases.py", line 64, in wrapper
[task 2020-12-28T15:38:53.089Z] 15:38:53     INFO -     return func(self, *args, **kwargs)
[task 2020-12-28T15:38:53.089Z] 15:38:53     INFO -   File "/builds/worker/workspace/build/tests/marionette/tests/testing/marionette/harness/marionette_harness/tests/unit/test_modal_dialogs.py", line 73, in test_accept
[task 2020-12-28T15:38:53.090Z] 15:38:53     INFO -     self.marionette.find_element(By.ID, "tab-modal-{}".format(value)).click()
[task 2020-12-28T15:38:53.090Z] 15:38:53     INFO -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 1765, in find_element
[task 2020-12-28T15:38:53.090Z] 15:38:53     INFO -     return self._send_message("WebDriver:FindElement", body, key="value")
[task 2020-12-28T15:38:53.091Z] 15:38:53     INFO -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/decorators.py", line 27, in _
[task 2020-12-28T15:38:53.091Z] 15:38:53     INFO -     return func(*args, **kwargs)
[task 2020-12-28T15:38:53.091Z] 15:38:53     INFO -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 629, in _send_message
[task 2020-12-28T15:38:53.091Z] 15:38:53     INFO -     self._handle_error(err)
[task 2020-12-28T15:38:53.092Z] 15:38:53     INFO -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 651, in _handle_error
[task 2020-12-28T15:38:53.092Z] 15:38:53     INFO -     raise errors.lookup(error)(message, stacktrace=stacktrace)
[task 2020-12-28T15:38:53.092Z] 15:38:53     INFO - TEST-INFO took 202ms```

Here the failing lines:

[task 2020-12-28T15:38:52.910Z] 15:38:52     INFO -  1609169932908	Marionette	DEBUG	16 -> [0,14,"WebDriver:Navigate",{"url":"http://127.0.0.1:45318/test_tab_modal_dialogs.html"}]
[task 2020-12-28T15:38:52.926Z] 15:38:52     INFO -  1609169932918	Marionette	TRACE	Received event pagehide for about:blank
[task 2020-12-28T15:38:52.928Z] 15:38:52     INFO -  1609169932922	Marionette	TRACE	Received event DOMContentLoaded for about:blank
[task 2020-12-28T15:38:52.931Z] 15:38:52     INFO -  1609169932922	Marionette	TRACE	Received event pageshow for about:blank
[task 2020-12-28T15:38:52.931Z] 15:38:52     INFO -  1609169932924	Marionette	DEBUG	16 <- [1,14,null,{"value":null}]
[task 2020-12-28T15:38:52.947Z] 15:38:52     INFO -  1609169932938	Marionette	TRACE	[55] Frame script unloaded
[task 2020-12-28T15:38:52.947Z] 15:38:52     INFO -  1609169932942	Marionette	TRACE	[55] Frame script loaded
[task 2020-12-28T15:38:52.947Z] 15:38:52     INFO -  1609169932944	Marionette	DEBUG	16 -> [0,15,"WebDriver:FindElement",{"using":"id","value":"tab-modal-prompt"}]
[task 2020-12-28T15:38:52.964Z] 15:38:52     INFO -  1609169932953	Marionette	TRACE	Detected remoteness change. New browsing context: 55
[task 2020-12-28T15:38:52.964Z] 15:38:52     INFO -  1609169932955	Marionette	DEBUG	16 <- [1,15,{"error":"no such element","message":"Unable to locate element: tab-modal-prompt","stacktrace":"WebDriverError@chrome:/ ... entError@chrome://marionette/content/error.js:393:5\nelement.find/</<@chrome://marionette/content/element.js:467:16\n"},null]

Probably happened because of the remoteness change. We are most likely not going to fix that for the framescript code. As such the test will not be run once bug 1669172 has been fixed.

Depends on: 1669172
Summary: Intermittent [Tier2] testing/marionette/harness/marionette_harness/tests/unit/test_modal_dialogs.py TestTabModalAlerts.test_accept_prompt | NoSuchElementException: Unable to locate element: tab-modal-prompt → Intermittent [Tier2] MnFr testing/marionette/harness/marionette_harness/tests/unit/test_modal_dialogs.py TestTabModalAlerts.test_accept_prompt | NoSuchElementException: Unable to locate element: tab-modal-prompt
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INCOMPLETE

Marking as invalid because the framescript implementation doesn't exist anymore.

Resolution: INCOMPLETE → INVALID
Product: Testing → Remote Protocol
Moving bug to Testing::Marionette Client and Harness component per bug 1815831.
Component: Marionette → Marionette Client and Harness
Product: Remote Protocol → Testing
You need to log in before you can comment on or make changes to this bug.