Closed Bug 1770275 Opened 3 years ago Closed 3 years ago

Intermittent esr91 testing/marionette/harness/marionette_harness/tests/unit/test_switch_window_chrome.py TestSwitchToWindowContent.test_switch_to_unloaded_tab | AssertionError: 'about:blank' != 'data:text/html;charset=utf-8,%3Cp%3Ebar'

Categories

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

defect

Tracking

(firefox-esr91 wontfix)

RESOLVED INCOMPLETE
91 Branch
Tracking Status
firefox-esr91 --- wontfix

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: assertion, intermittent-failure)

Filed by: mlaza [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=378685274&repo=mozilla-esr91
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/M43V8ovLQQ-kMchKg51QBg/runs/0/artifacts/public/logs/live_backing.log


[task 2022-05-19T22:16:28.888Z] 22:16:28     INFO - TEST-START | testing/marionette/harness/marionette_harness/tests/unit/test_switch_window_chrome.py TestSwitchToWindowContent.test_switch_to_unloaded_tab
[task 2022-05-19T22:16:28.888Z] 22:16:28     INFO -  1652998588888	Marionette	DEBUG	Accepted connection 20 from 127.0.0.1:50525
[task 2022-05-19T22:16:28.888Z] 22:16:28     INFO -  1652998588888	Marionette	DEBUG	20 -> [0,1,"WebDriver:NewSession",{"strictFileInteractability":true}]
[task 2022-05-19T22:16:28.889Z] 22:16:28     INFO -  1652998588889	Marionette	DEBUG	20 <- [1,1,null,{"sessionId":"22f1b2b4-ae23-014c-8b14-bc61aa8d96bf","capabilities":{"browserName":"firefox","browserVersion":"91.10 ... c.mozrunner","moz:shutdownTimeout":60000,"moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true,"proxy":{}}}]
[task 2022-05-19T22:16:28.890Z] 22:16:28     INFO -  1652998588890	Marionette	DEBUG	20 -> [0,2,"WebDriver:SetTimeouts",{"script":30000}]
...
[task 2022-05-19T22:16:30.704Z] 22:16:30     INFO -  DEBUG: Completed blocker Transaction (1) for phase content-prefs.sqlite#0: waiting for clients
[task 2022-05-19T22:16:30.704Z] 22:16:30     INFO -  1652998590704	Marionette	DEBUG	1 -> [0,13,"WebDriver:GetPageSource",{}]
[task 2022-05-19T22:16:30.706Z] 22:16:30     INFO -  1652998590705	Marionette	TRACE	[29] MarionetteCommands actor created for window id 2147483649
[task 2022-05-19T22:16:30.707Z] 22:16:30     INFO -  1652998590706	Marionette	DEBUG	1 <- [1,13,null,{"value":"<html><head></head><body><p>bar</p></body></html>"}]
[task 2022-05-19T22:16:30.707Z] 22:16:30     INFO -  1652998590707	Marionette	DEBUG	1 -> [0,14,"Marionette:SetContext",{"value":"content"}]
[task 2022-05-19T22:16:30.707Z] 22:16:30     INFO -  1652998590707	Marionette	DEBUG	1 <- [1,14,null,{"value":null}]
[task 2022-05-19T22:16:30.734Z] 22:16:30     INFO - TEST-UNEXPECTED-FAIL | testing/marionette/harness/marionette_harness/tests/unit/test_switch_window_chrome.py TestSwitchToWindowContent.test_switch_to_unloaded_tab | AssertionError: 'about:blank' != 'data:text/html;charset=utf-8,%3Cp%3Ebar'
[task 2022-05-19T22:16:30.734Z] 22:16:30     INFO - - about:blank
[task 2022-05-19T22:16:30.734Z] 22:16:30     INFO - + data:text/html;charset=utf-8,%3Cp%3Ebar
[task 2022-05-19T22:16:30.734Z] 22:16:30     INFO - Traceback (most recent call last):
[task 2022-05-19T22:16:30.734Z] 22:16:30     INFO -   File "/opt/worker/tasks/task_165299832692112/build/venv/lib/python3.7/site-packages/marionette_harness/marionette_test/testcases.py", line 202, in run
[task 2022-05-19T22:16:30.734Z] 22:16:30     INFO -     testMethod()
[task 2022-05-19T22:16:30.734Z] 22:16:30     INFO -   File "/opt/worker/tasks/task_165299832692112/build/tests/marionette/tests/testing/marionette/harness/marionette_harness/tests/unit/test_switch_window_content.py", line 189, in test_switch_to_unloaded_tab
[task 2022-05-19T22:16:30.734Z] 22:16:30     INFO -     self.assertEqual(self.marionette.get_url(), second_page)
[task 2022-05-19T22:16:30.734Z] 22:16:30     INFO - TEST-INFO took 1820ms

So far this is esr91 related. Lets observe for now how often it fails.

Summary: Intermittent testing/marionette/harness/marionette_harness/tests/unit/test_switch_window_chrome.py TestSwitchToWindowContent.test_switch_to_unloaded_tab | AssertionError: 'about:blank' != 'data:text/html;charset=utf-8,%3Cp%3Ebar' → Intermittent esr91 testing/marionette/harness/marionette_harness/tests/unit/test_switch_window_chrome.py TestSwitchToWindowContent.test_switch_to_unloaded_tab | AssertionError: 'about:blank' != 'data:text/html;charset=utf-8,%3Cp%3Ebar'
Target Milestone: --- → 91 Branch
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 3 years ago3 years ago
Resolution: --- → INCOMPLETE
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.