Intermittent testing/marionette/harness/marionette_harness/tests/unit/test_switch_window_content.py TestSwitchToWindowContent.test_switch_to_new_private_browsing_tab | NoSuchElementException: Unable to locate element: startPrivateBrowsing
Categories
(Testing :: Marionette Client and Harness, defect, P5)
Tracking
(Not tracked)
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=316698054&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/dv2-LkyHTa6HNFRXAUTEZw/runs/0/artifacts/public/logs/live_backing.log
>[task 2020-09-25T10:21:32.513Z] 10:21:32 INFO - 1601029292509 Marionette DEBUG 28 <- [1,33,null,{"value":"<html xmlns=\"http://www.w3.org/1999/xhtml\" class=\"normal\" dir=\"ltr\" lang=\"en-US\"><head>\n <me ... n-link\" class=\"vpn-promo\" data-l10n-id=\"about-private-browsing-turn-on-vpn\">Try Mozilla VPN</a>\n \n\n</body></html>"}]
[task 2020-09-25T10:21:32.533Z] 10:21:32 INFO - TEST-UNEXPECTED-ERROR | testing/marionette/harness/marionette_harness/tests/unit/test_switch_window_content.py TestSwitchToWindowContent.test_switch_to_new_private_browsing_tab | NoSuchElementException: Failed to trigger opening a new tab: Unable to locate element: startPrivateBrowsing
[task 2020-09-25T10:21:32.534Z] 10:21:32 INFO - stacktrace:
[task 2020-09-25T10:21:32.534Z] 10:21:32 INFO - WebDriverError@chrome://marionette/content/error.js:181:5
[task 2020-09-25T10:21:32.535Z] 10:21:32 INFO - NoSuchElementError@chrome://marionette/content/error.js:393:5
[task 2020-09-25T10:21:32.535Z] 10:21:32 INFO - element.find/</<@chrome://marionette/content/element.js:455:16
[task 2020-09-25T10:21:32.535Z] 10:21:32 INFO - Traceback (most recent call last):
[task 2020-09-25T10:21:32.535Z] 10:21:32 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-25T10:21:32.536Z] 10:21:32 INFO - testMethod()
[task 2020-09-25T10:21:32.536Z] 10:21:32 INFO - File "/builds/worker/workspace/build/tests/marionette/tests/testing/marionette/harness/marionette_harness/tests/unit/test_switch_window_content.py", line 186, in test_switch_to_new_private_browsing_tab
[task 2020-09-25T10:21:32.536Z] 10:21:32 INFO - new_pb_tab = self.open_tab(open_private_browsing_window_firefox)
[task 2020-09-25T10:21:32.537Z] 10:21:32 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_harness/runner/mixins/window_manager.py", line 75, in open_tab
[task 2020-09-25T10:21:32.537Z] 10:21:32 INFO - reraise(exc_cls, exc_cls('Failed to trigger opening a new tab: {}'.format(exc)), tb)
[task 2020-09-25T10:21:32.537Z] 10:21:32 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_harness/runner/mixins/window_manager.py", line 66, in open_tab
[task 2020-09-25T10:21:32.537Z] 10:21:32 INFO - callback()
[task 2020-09-25T10:21:32.538Z] 10:21:32 INFO - File "/builds/worker/workspace/build/tests/marionette/tests/testing/marionette/harness/marionette_harness/tests/unit/test_switch_window_content.py", line 175, in open_private_browsing_window_firefox
[task 2020-09-25T10:21:32.538Z] 10:21:32 INFO - self.marionette.find_element(By.ID, "startPrivateBrowsing").click()
[task 2020-09-25T10:21:32.538Z] 10:21:32 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 1690, in find_element
[task 2020-09-25T10:21:32.539Z] 10:21:32 INFO - body, key="value")
[task 2020-09-25T10:21:32.539Z] 10:21:32 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/decorators.py", line 26, in _
[task 2020-09-25T10:21:32.540Z] 10:21:32 INFO - return func(*args, **kwargs)
[task 2020-09-25T10:21:32.540Z] 10:21:32 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 602, in _send_message
[task 2020-09-25T10:21:32.540Z] 10:21:32 INFO - self._handle_error(err)
[task 2020-09-25T10:21:32.540Z] 10:21:32 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 622, in _handle_error
[task 2020-09-25T10:21:32.540Z] 10:21:32 INFO - raise errors.lookup(error)(message, stacktrace=stacktrace)
[task 2020-09-25T10:21:32.540Z] 10:21:32 INFO - TEST-INFO took 561ms
*[task 2020-09-25T10:21:31.955Z] 10:21:31 INFO - TEST-START | testing/marionette/harness/marionette_harness/tests/unit/test_switch_window_content.py TestSwitchToWindowContent.test_switch_to_new_private_browsing_tab*```
| Comment hidden (Intermittent Failures Robot) |
Comment 2•5 years ago
|
||
There is a problem with loading the expected page:
[task 2020-09-25T10:21:32.088Z] 10:21:32 INFO - 1601029292087 Marionette DEBUG 28 -> [0,20,"WebDriver:Navigate",{"url":"about:privatebrowsing"}]
[task 2020-09-25T10:21:32.152Z] 10:21:32 INFO - 1601029292145 Marionette TRACE Received message pagehide for about:blank
[task 2020-09-25T10:21:32.168Z] 10:21:32 INFO - 1601029292163 Marionette TRACE Received message DOMContentLoaded for about:blank
[task 2020-09-25T10:21:32.168Z] 10:21:32 INFO - 1601029292164 Marionette TRACE Received message pageshow for about:blank
[task 2020-09-25T10:21:32.175Z] 10:21:32 INFO - 1601029292171 Marionette DEBUG 28 <- [1,20,null,{"value":null}]
Even a navigation to about:privatebrowsing gets started, about:blank is loaded again?
Comment 3•5 years ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit auto_nag documentation.
Updated•5 years ago
|
Comment 5•5 years ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit auto_nag documentation.
Updated•3 years ago
|
Comment 6•3 years ago
|
||
| Reporter | ||
Comment 7•3 years ago
|
||
| treeherder | ||
New failure instance: https://treeherder.mozilla.org/logviewer?job_id=412224905&repo=mozilla-beta
| Comment hidden (Intermittent Failures Robot) |
Comment 9•2 years ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit BugBot documentation.
Description
•