Closed
Bug 1684690
Opened 3 years ago
Closed 3 years ago
Intermittent [Tier2] MnFr testing/marionette/harness/marionette_harness/tests/unit/test_click.py TestClickCloseContext.test_click_close_tab | NoSuchElementException: Unable to locate element: close-window
Categories
(Testing :: Marionette Client and Harness, defect, P5)
Testing
Marionette Client and Harness
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=325656753&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/AAbTBeV6TtGmsa4de_wTZg/runs/0/artifacts/public/logs/live_backing.log
[task 2021-01-02T11:46:41.325Z] 11:46:41 WARNING - Failed to gather test failure debug: [Exception... "Data conversion failed because significant data would be lost" nsresult: "0x80460003 (NS_ERROR_LOSS_OF_SIGNIFICANT_DATA)" location: "<unknown>" data: no]
[task 2021-01-02T11:46:41.325Z] 11:46:41 INFO - TEST-UNEXPECTED-ERROR | testing/marionette/harness/marionette_harness/tests/unit/test_click.py TestClickCloseContext.test_click_close_tab | NoSuchElementException: Unable to locate element: close-window
[task 2021-01-02T11:46:41.325Z] 11:46:41 INFO - stacktrace:
[task 2021-01-02T11:46:41.325Z] 11:46:41 INFO - WebDriverError@chrome://marionette/content/error.js:181:5
[task 2021-01-02T11:46:41.326Z] 11:46:41 INFO - NoSuchElementError@chrome://marionette/content/error.js:393:5
[task 2021-01-02T11:46:41.326Z] 11:46:41 INFO - element.find/</<@chrome://marionette/content/element.js:467:16
[task 2021-01-02T11:46:41.327Z] 11:46:41 INFO - Traceback (most recent call last):
[task 2021-01-02T11:46:41.327Z] 11:46:41 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_harness/marionette_test/testcases.py", line 214, in run
[task 2021-01-02T11:46:41.328Z] 11:46:41 INFO - testMethod()
[task 2021-01-02T11:46:41.328Z] 11:46:41 INFO - File "/builds/worker/workspace/build/tests/marionette/tests/testing/marionette/harness/marionette_harness/tests/unit/test_click.py", line 582, in test_click_close_tab
[task 2021-01-02T11:46:41.329Z] 11:46:41 INFO - self.marionette.find_element(By.ID, "close-window").click()
[task 2021-01-02T11:46:41.329Z] 11:46:41 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 1765, in find_element
[task 2021-01-02T11:46:41.329Z] 11:46:41 INFO - return self._send_message("WebDriver:FindElement", body, key="value")
[task 2021-01-02T11:46:41.330Z] 11:46:41 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/decorators.py", line 27, in _
[task 2021-01-02T11:46:41.330Z] 11:46:41 INFO - return func(*args, **kwargs)
[task 2021-01-02T11:46:41.331Z] 11:46:41 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 629, in _send_message
[task 2021-01-02T11:46:41.331Z] 11:46:41 INFO - self._handle_error(err)
[task 2021-01-02T11:46:41.331Z] 11:46:41 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 651, in _handle_error
[task 2021-01-02T11:46:41.332Z] 11:46:41 INFO - raise errors.lookup(error)(message, stacktrace=stacktrace)
[task 2021-01-02T11:46:41.332Z] 11:46:41 INFO - TEST-INFO took 215ms```
Comment 1•3 years ago
|
||
The problematic lines here are:
[task 2021-01-02T11:46:41.202Z] 11:46:41 INFO - 1609588001200 Marionette DEBUG 193 -> [0,14,"WebDriver:Navigate",{"url":"http://127.0.0.1:34896/clicks.html"}]
[task 2021-01-02T11:46:41.218Z] 11:46:41 INFO - 1609588001214 Marionette TRACE Received event pagehide for about:blank
[task 2021-01-02T11:46:41.235Z] 11:46:41 INFO - 1609588001225 Marionette TRACE Received event DOMContentLoaded for about:blank
[task 2021-01-02T11:46:41.237Z] 11:46:41 INFO - 1609588001229 Marionette TRACE Received event pageshow for about:blank
[task 2021-01-02T11:46:41.238Z] 11:46:41 INFO - 1609588001232 Marionette DEBUG 193 <- [1,14,null,{"value":null}]
[task 2021-01-02T11:46:41.257Z] 11:46:41 INFO - 1609588001255 Marionette TRACE [146] Frame script unloaded
[task 2021-01-02T11:46:41.257Z] 11:46:41 INFO - 1609588001255 Marionette TRACE [146] Frame script loaded
[task 2021-01-02T11:46:41.273Z] 11:46:41 INFO - 1609588001265 Marionette DEBUG 193 -> [0,15,"WebDriver:FindElement",{"using":"id","value":"close-window"}]
[task 2021-01-02T11:46:41.273Z] 11:46:41 INFO - 1609588001268 Marionette TRACE Detected remoteness change. New browsing context: 146
[task 2021-01-02T11:46:41.276Z] 11:46:41 INFO - 1609588001272 Marionette DEBUG 193 <- [1,15,{"error":"no such element","message":"Unable to locate element: close-window","stacktrace":"WebDriverError@chrome://mar ... entError@chrome://marionette/content/error.js:393:5\nelement.find/</<@chrome://marionette/content/element.js:467:16\n"},null]
We are trying to load clicks.html
but instead about:blank
is loaded again.
If that only happens for the MnFr tests we shouldn't worry about given that these tests are getting removed once bug 1669174 has been fixed.
Depends on: 1669174
Summary: Intermittent [Tier2] testing/marionette/harness/marionette_harness/tests/unit/test_click.py TestClickCloseContext.test_click_close_tab | NoSuchElementException: Unable to locate element: close-window → Intermittent [Tier2] MnFr testing/marionette/harness/marionette_harness/tests/unit/test_click.py TestClickCloseContext.test_click_close_tab | NoSuchElementException: Unable to locate element: close-window
Comment hidden (Intermittent Failures Robot) |
Comment 3•3 years ago
|
||
I actually meant bug 1669172.
Comment 4•3 years ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit auto_nag documentation.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
Comment 5•3 years ago
|
||
Marking as invalid because the framescript implementation doesn't exist anymore.
Resolution: INCOMPLETE → INVALID
Updated•1 year ago
|
Product: Testing → Remote Protocol
Comment 6•1 year ago
|
||
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.
Description
•