Closed Bug 1665829 Opened 5 years ago Closed 5 years ago

Intermittent testing/marionette/harness/marionette_harness/tests/unit/test_click.py TestClickNavigation.test_click_remoteness_change | AssertionError: NoSuchElementException not raised

Categories

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

defect

Tracking

(firefox86 fixed)

RESOLVED FIXED
86 Branch
Tracking Status
firefox86 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: whimboo)

References

Details

(Keywords: intermittent-failure)

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


>[task 2020-09-18T00:51:33.787Z] 00:51:33     INFO -  DEBUG: Finished phase xpcom-will-shutdown
[task 2020-09-18T00:51:33.807Z] 00:51:33     INFO -  1600390293798	Marionette	DEBUG	212 -> [0,20,"Marionette:GetContext",{}]
[task 2020-09-18T00:51:33.811Z] 00:51:33     INFO -  1600390293799	Marionette	DEBUG	212 <- [1,20,null,{"value":"content"}]
[task 2020-09-18T00:51:33.822Z] 00:51:33     INFO -  1600390293813	Marionette	DEBUG	212 -> [0,21,"Marionette:SetContext",{"value":"content"}]
[task 2020-09-18T00:51:33.825Z] 00:51:33     INFO -  1600390293814	Marionette	DEBUG	212 <- [1,21,null,{"value":null}]
[task 2020-09-18T00:51:33.828Z] 00:51:33     INFO -  1600390293816	Marionette	DEBUG	212 -> [0,22,"WebDriver:GetPageSource",{}]
[task 2020-09-18T00:51:33.838Z] 00:51:33     INFO -  1600390293830	Marionette	DEBUG	212 <- [1,22,null,{"value":"<html xmlns=\"http://www.w3.org/1999/xhtml\" dir=\"ltr\" lang=\"en-US\">\n  <head>\n    <meta http-equiv ... button>\n      </div>\n    </div>\n  </body>\n  <script src=\"chrome://browser/content/aboutRobots.js\"></script>\n</html>"}]
[task 2020-09-18T00:51:33.838Z] 00:51:33     INFO -  1600390293832	Marionette	DEBUG	212 -> [0,23,"Marionette:SetContext",{"value":"content"}]
[task 2020-09-18T00:51:33.838Z] 00:51:33     INFO -  1600390293833	Marionette	DEBUG	212 <- [1,23,null,{"value":null}]
[task 2020-09-18T00:51:33.886Z] 00:51:33     INFO - TEST-UNEXPECTED-FAIL | testing/marionette/harness/marionette_harness/tests/unit/test_click.py TestClickNavigation.test_click_remoteness_change | AssertionError: NoSuchElementException not raised
[task 2020-09-18T00:51:33.887Z] 00:51:33     INFO - Traceback (most recent call last):
[task 2020-09-18T00:51:33.887Z] 00:51:33     INFO -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_harness/marionette_test/testcases.py", line 196, in run
[task 2020-09-18T00:51:33.887Z] 00:51:33     INFO -     testMethod()
[task 2020-09-18T00:51:33.887Z] 00:51:33     INFO -   File "/builds/worker/workspace/build/tests/marionette/tests/testing/marionette/harness/marionette_harness/tests/unit/test_click.py", line 444, in test_click_remoteness_change
[task 2020-09-18T00:51:33.887Z] 00:51:33     INFO -     self.marionette.find_element(By.ID, "anchor")
[task 2020-09-18T00:51:33.888Z] 00:51:33     INFO - TEST-INFO took 2969ms

*[task 2020-09-18T00:51:30.869Z] 00:51:30     INFO - TEST-START | testing/marionette/harness/marionette_harness/tests/unit/test_click.py TestClickNavigation.test_click_remoteness_change*```

Here the real failure:

[task 2020-09-18T00:51:33.247Z] 00:51:33     INFO -  1600390293243	Marionette	DEBUG	212 -> [0,14,"WebDriver:ElementClick",{"id":"9c9047d1-0514-4aff-8f9d-3f597adb583a"}]
[task 2020-09-18T00:51:33.473Z] 00:51:33     INFO -  1600390293469	Marionette	TRACE	Canceled page load listener because no navigation has been detected
[task 2020-09-18T00:51:33.474Z] 00:51:33     INFO -  1600390293469	Marionette	DEBUG	212 <- [1,14,null,{"value":null}]
[task 2020-09-18T00:51:33.489Z] 00:51:33     INFO -  1600390293479	Marionette	DEBUG	212 -> [0,15,"WebDriver:FindElement",{"using":"id","value":"anchor"}]
[task 2020-09-18T00:51:33.530Z] 00:51:33     INFO -  [Child 2485, Main Thread] WARNING: NS_ENSURE_TRUE(info) failed: file /builds/worker/checkouts/gecko/extensions/permissions/PermissionDelegateHandler.cpp, line 348
[task 2020-09-18T00:51:33.531Z] 00:51:33     INFO -  1600390293524	Marionette	DEBUG	212 <- [1,15,null,{"value":{"element-6066-11e4-a52e-4f735466cecf":"b6dd967f-5832-4ba4-91e3-8768e14ea0f4"}}]

As it looks like the click didn't actually trigger a navigation. So it depends on a fix for bug 1394354.

Depends on: 1394354

Most likely fixed by bug 1394354. Marking as WFM.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
See Also: → 1678581
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Status: REOPENED → RESOLVED
Closed: 5 years ago5 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Depends on: 1685454
Resolution: INCOMPLETE → ---

Marking speculatively as fixed by bug 1685454. If it happens again please reopen this bug.

Assignee: nobody → hskupin
Status: REOPENED → RESOLVED
Closed: 5 years ago5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
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.