Closed Bug 1673656 Opened 5 years ago Closed 5 years ago

Intermittent testing/marionette/harness/marionette_harness/tests/unit/test_switch_window_chrome.py TestSwitchWindowChrome.test_switch_to_new_private_browsing_tab | NoSuchElementException: Failed to trigger opening a new tab: Unable to locate element: star

Categories

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

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1541342

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

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


[task 2020-10-27T11:33:50.984Z] 11:33:50     INFO - TEST-START | testing/marionette/harness/marionette_harness/tests/unit/test_switch_window_chrome.py TestSwitchWindowChrome.test_switch_to_new_private_browsing_tab
[task 2020-10-27T11:33:51.375Z] 11:33:51     INFO -  1603798431372	Marionette	DEBUG	24 -> [0,34,"WebDriver:GetPageSource",{}]
[task 2020-10-27T11:33:51.418Z] 11:33:51     INFO - TEST-UNEXPECTED-ERROR | testing/marionette/harness/marionette_harness/tests/unit/test_switch_window_chrome.py TestSwitchWindowChrome.test_switch_to_new_private_browsing_tab | NoSuchElementException: Failed to trigger opening a new tab: Unable to locate element: startPrivateBrowsing
[task 2020-10-27T11:33:51.419Z] 11:33:51     INFO - stacktrace:
[task 2020-10-27T11:33:51.419Z] 11:33:51     INFO - 	WebDriverError@chrome://marionette/content/error.js:181:5
[task 2020-10-27T11:33:51.420Z] 11:33:51     INFO - 	NoSuchElementError@chrome://marionette/content/error.js:393:5
[task 2020-10-27T11:33:51.420Z] 11:33:51     INFO - 	element.find/</<@chrome://marionette/content/element.js:456:16
[task 2020-10-27T11:33:51.420Z] 11:33:51     INFO - Traceback (most recent call last):
[task 2020-10-27T11:33:51.420Z] 11:33:51     INFO -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_harness/marionette_test/testcases.py", line 214, in run
[task 2020-10-27T11:33:51.421Z] 11:33:51     INFO -     testMethod()
[task 2020-10-27T11:33:51.422Z] 11:33:51     INFO -   File "/builds/worker/workspace/build/tests/marionette/tests/testing/marionette/harness/marionette_harness/tests/unit/test_switch_window_content.py", line 189, in test_switch_to_new_private_browsing_tab
[task 2020-10-27T11:33:51.422Z] 11:33:51     INFO -     new_pb_tab = self.open_tab(open_private_browsing_window_firefox)
[task 2020-10-27T11:33:51.422Z] 11:33:51     INFO -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_harness/runner/mixins/window_manager.py", line 79, in open_tab
[task 2020-10-27T11:33:51.422Z] 11:33:51     INFO -     tb,
[task 2020-10-27T11:33:51.422Z] 11:33:51     INFO -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_harness/runner/mixins/window_manager.py", line 65, in open_tab
[task 2020-10-27T11:33:51.422Z] 11:33:51     INFO -     callback()
[task 2020-10-27T11:33:51.422Z] 11:33:51     INFO -   File "/builds/worker/workspace/build/tests/marionette/tests/testing/marionette/harness/marionette_harness/tests/unit/test_switch_window_content.py", line 178, in open_private_browsing_window_firefox
[task 2020-10-27T11:33:51.422Z] 11:33:51     INFO -     self.marionette.find_element(By.ID, "startPrivateBrowsing").click()
[task 2020-10-27T11:33:51.422Z] 11:33:51     INFO -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 1751, in find_element
[task 2020-10-27T11:33:51.422Z] 11:33:51     INFO -     return self._send_message("WebDriver:FindElement", body, key="value")
[task 2020-10-27T11:33:51.422Z] 11:33:51     INFO -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/decorators.py", line 27, in _
[task 2020-10-27T11:33:51.422Z] 11:33:51     INFO -     return func(*args, **kwargs)
[task 2020-10-27T11:33:51.422Z] 11:33:51     INFO -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 625, in _send_message
[task 2020-10-27T11:33:51.422Z] 11:33:51     INFO -     self._handle_error(err)
[task 2020-10-27T11:33:51.422Z] 11:33:51     INFO -   File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 647, in _handle_error
[task 2020-10-27T11:33:51.422Z] 11:33:51     INFO -     raise errors.lookup(error)(message, stacktrace=stacktrace)
[task 2020-10-27T11:33:51.422Z] 11:33:51     INFO - TEST-INFO took 395ms
[task 2020-10-27T11:33:51.423Z] 11:33:51     INFO -  1603798431376	Marionette	DEBUG	24 <- [1,34,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-10-27T11:33:51.423Z] 11:33:51     INFO -  1603798431376	Marionette	DEBUG	24 -> [0,35,"Marionette:SetContext",{"value":"chrome"}]```
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
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.