Closed Bug 1665032 Opened 6 months ago Closed 5 months ago

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, defect, P5)

defect

Tracking

(firefox82 affected)

RESOLVED WORKSFORME
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*```

Sounds similar to bug 1665022. Lets see how often it happens.

See Also: → 1665022

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.

Depends on: 1394354

Most likely fixed by bug 1394354. Marking as WFM.

Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.