Intermittent testing/marionette/harness/marionette_harness/tests/unit/test_click.py TestClickNavigation.test_click_option_navigate | NoSuchElementException: Unable to locate element: delay
Categories
(Testing :: Marionette Client and Harness, defect, P5)
Tracking
(firefox82 affected)
Tracking | Status | |
---|---|---|
firefox82 | --- | affected |
People
(Reporter: intermittent-bug-filer, Unassigned)
References
Details
(Keywords: intermittent-failure)
Filed by: ncsoregi [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=315728906&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/aTct8ef7RzOJBexn9qaoyg/runs/0/artifacts/public/logs/live_backing.log
>[task 2020-09-15T10:38:09.656Z] 10:38:09 ERROR - TEST-UNEXPECTED-ERROR | testing/marionette/harness/marionette_harness/tests/unit/test_click.py TestClickNavigation.test_click_option_navigate | NoSuchElementException: Unable to locate element: delay
[task 2020-09-15T10:38:09.656Z] 10:38:09 INFO - stacktrace:
[task 2020-09-15T10:38:09.656Z] 10:38:09 INFO - WebDriverError@chrome://marionette/content/error.js:181:5
[task 2020-09-15T10:38:09.656Z] 10:38:09 INFO - NoSuchElementError@chrome://marionette/content/error.js:393:5
[task 2020-09-15T10:38:09.656Z] 10:38:09 INFO - element.find/</<@chrome://marionette/content/element.js:332:16
[task 2020-09-15T10:38:09.656Z] 10:38:09 INFO - Traceback (most recent call last):
[task 2020-09-15T10:38:09.656Z] 10:38:09 INFO - File "Z:\task_1600164445\build\venv\lib\site-packages\marionette_harness\marionette_test\testcases.py", line 196, in run
[task 2020-09-15T10:38:09.656Z] 10:38:09 INFO - testMethod()
[task 2020-09-15T10:38:09.656Z] 10:38:09 INFO - File "Z:\task_1600164445\build\tests\marionette\tests\testing\marionette\harness\marionette_harness\tests\unit\test_click.py", line 428, in test_click_option_navigate
[task 2020-09-15T10:38:09.657Z] 10:38:09 INFO - self.marionette.find_element(By.ID, "delay")
[task 2020-09-15T10:38:09.657Z] 10:38:09 INFO - File "Z:\task_1600164445\build\venv\lib\site-packages\marionette_driver\marionette.py", line 1690, in find_element
[task 2020-09-15T10:38:09.657Z] 10:38:09 INFO - body, key="value")
[task 2020-09-15T10:38:09.657Z] 10:38:09 INFO - File "Z:\task_1600164445\build\venv\lib\site-packages\marionette_driver\decorators.py", line 26, in _
[task 2020-09-15T10:38:09.657Z] 10:38:09 INFO - return func(*args, **kwargs)
[task 2020-09-15T10:38:09.657Z] 10:38:09 INFO - File "Z:\task_1600164445\build\venv\lib\site-packages\marionette_driver\marionette.py", line 602, in _send_message
[task 2020-09-15T10:38:09.657Z] 10:38:09 INFO - self._handle_error(err)
[task 2020-09-15T10:38:09.657Z] 10:38:09 INFO - File "Z:\task_1600164445\build\venv\lib\site-packages\marionette_driver\marionette.py", line 622, in _handle_error
[task 2020-09-15T10:38:09.657Z] 10:38:09 INFO - raise errors.lookup(error)(message, stacktrace=stacktrace)
[task 2020-09-15T10:38:09.657Z] 10:38:09 INFO - TEST-INFO took 588ms
*[task 2020-09-15T10:38:08.718Z] 10:38:08 INFO - TEST-START | testing/marionette/harness/marionette_harness/tests/unit/test_click.py TestClickNavigation.test_click_no_link*```
Comment 1•3 years ago
|
||
Sounds similar to bug 1665022. Lets see how often it happens.
Comment hidden (Intermittent Failures Robot) |
Comment 3•3 years ago
|
||
Checking the log again this is most likely a problem with a delayed click due to the synchronous capabilities update with the parent process. This has been removed with the patch on bug 1394354, and as such this failure should no longer happen.
Comment hidden (Intermittent Failures Robot) |
Comment 5•3 years ago
|
||
Most likely fixed by bug 1394354. Marking as WFM.
Comment 7•2 years ago
|
||
A recent failure here is:
https://treeherder.mozilla.org/logviewer?job_id=351732678&repo=autoland&lineNumber=8193-8194
[task 2021-09-16T14:33:35.602Z] 14:33:35 INFO - 1631802815601 Marionette TRACE [117] Received event beforeunload for http://127.0.0.1:49814/clicks.html
[task 2021-09-16T14:33:40.839Z] 14:33:40 INFO - 1631802820840 Marionette TRACE Canceled page load listener because no navigation has been detected
And there are no more page load events listed in the log, which explains why the element cannot be found on the expected target page.
Updated•2 years ago
|
Updated•8 months ago
|
Comment 9•7 months ago
|
||
Moving bug to Testing::Marionette Client and Harness component per bug 1815831.
Description
•