Closed Bug 1842641 Opened 2 years ago Closed 2 years ago

Intermittent testing/marionette/harness/marionette_harness/tests/unit/test_switch_window_chrome.py TestSwitchToWindowContent.test_switch_tabs_without_focus_change | AssertionError: 0 == 0

Categories

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

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: assertion, intermittent-failure)

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


[task 2023-07-10T16:08:46.764Z] 16:08:46     INFO -  TEST-PASS | testing/marionette/harness/marionette_harness/tests/unit/test_switch_window_chrome.py TestSwitchToWindowContent.test_switch_tabs_with_focus_change | took 271ms
[task 2023-07-10T16:08:46.764Z] 16:08:46     INFO -  1689005326763	Marionette	DEBUG	Closed connection 71
[task 2023-07-10T16:08:46.765Z] 16:08:46     INFO -  TEST-START | testing/marionette/harness/marionette_harness/tests/unit/test_switch_window_chrome.py TestSwitchToWindowContent.test_switch_tabs_without_focus_change
[task 2023-07-10T16:08:46.766Z] 16:08:46     INFO -  1689005326766	Marionette	DEBUG	Accepted connection 72 from 127.0.0.1:51765
[task 2023-07-10T16:08:46.767Z] 16:08:46     INFO -  1689005326767	Marionette	DEBUG	72 -> [0,1,"WebDriver:NewSession",{"strictFileInteractability":true}]
[task 2023-07-10T16:08:46.767Z] 16:08:46     INFO -  1689005326767	Marionette	DEBUG	Waiting for initial application window
[task 2023-07-10T16:08:46.768Z] 16:08:46     INFO -  1689005326768	RemoteAgent	TRACE	[62] ProgressListener Start: expectNavigation=false resolveWhenStarted=false unloadTimeout=5000 waitForExplicitStart=false
[task 2023-07-10T16:08:46.768Z] 16:08:46     INFO -  1689005326768	RemoteAgent	TRACE	[62] ProgressListener Setting unload timer (5000ms)
[task 2023-07-10T16:08:46.768Z] 16:08:46     INFO -  1689005326768	RemoteAgent	TRACE	[62] Document already finished loading: http://127.0.0.1:50130/test_iframe.html
[task 2023-07-10T16:08:46.768Z] 16:08:46     INFO -  1689005326768	RemoteAgent	TRACE	[62] ProgressListener Stop: has error=false
[task 2023-07-10T16:08:46.770Z] 16:08:46     INFO -  1689005326769	Marionette	DEBUG	72 <- [1,1,null,{"sessionId":"d17dd8a8-ab04-46db-aa1b-a2aae6035f89","capabilities":{"browserName":"firefox","browserVersion":"117.0a1","platformName":"windows","acceptInsecureCerts":false,"pageLoadStrategy":"normal","setWindowRect":true,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"strictFileInteractability":true,"unhandledPromptBehavior":"dismiss and notify","moz:accessibilityChecks":false,"moz:buildID":"20230710140157","moz:headless":false,"moz:platformVersion":"10.0","moz:processID":9440,"moz:profile":"C:\\Users\\task_168900304182651\\AppData\\Local\\Temp\\tmp2eaazviu.mozrunner","moz:shutdownTimeout":60000,"moz:webdriverClick":true,"moz:windowless":false,"proxy":{}}}]
[task 2023-07-10T16:08:46.770Z] 16:08:46     INFO -  1689005326770	Marionette	DEBUG	72 -> [0,2,"WebDriver:SetTimeouts",{"script":30000}]
[task 2023-07-10T16:08:46.770Z] 16:08:46     INFO -  1689005326770	Marionette	DEBUG	72 <- [1,2,null,{"value":null}]
[task 2023-07-10T16:08:46.771Z] 16:08:46     INFO -  1689005326771	Marionette	DEBUG	72 -> [0,3,"WebDriver:SetTimeouts",{"pageLoad":300000}]
[task 2023-07-10T16:08:46.772Z] 16:08:46     INFO -  1689005326771	Marionette	DEBUG	72 <- [1,3,null,{"value":null}]
[task 2023-07-10T16:08:46.772Z] 16:08:46     INFO -  1689005326772	Marionette	DEBUG	72 -> [0,4,"WebDriver:SetTimeouts",{"implicit":0}]
[task 2023-07-10T16:08:46.772Z] 16:08:46     INFO -  1689005326772	Marionette	DEBUG	72 <- [1,4,null,{"value":null}]
[task 2023-07-10T16:08:46.773Z] 16:08:46     INFO -  1689005326773	Marionette	DEBUG	72 -> [0,5,"Marionette:GetContext",{}]
[task 2023-07-10T16:08:46.773Z] 16:08:46     INFO -  1689005326773	Marionette	DEBUG	72 <- [1,5,null,{"value":"content"}]
[task 2023-07-10T16:08:46.774Z] 16:08:46     INFO -  1689005326774	Marionette	DEBUG	72 -> [0,6,"Marionette:SetContext",{"value":"chrome"}]
[task 2023-07-10T16:08:46.774Z] 16:08:46     INFO -  1689005326774	Marionette	DEBUG	72 <- [1,6,null,{"value":null}]
<...>
[task 2023-07-10T16:08:46.880Z] 16:08:46     INFO -  1689005326880	Marionette	DEBUG	72 -> [0,52,"WebDriver:GetPageSource",{}]
[task 2023-07-10T16:08:46.881Z] 16:08:46     INFO -  1689005326881	RemoteAgent	TRACE	WebDriverProcessData actor created for PID 8104
[task 2023-07-10T16:08:46.881Z] 16:08:46     INFO -  1689005326881	Marionette	TRACE	[62] MarionetteCommands actor created for window id 27917287564
[task 2023-07-10T16:08:46.882Z] 16:08:46     INFO -  1689005326882	Marionette	DEBUG	72 <- [1,52,null,{"value":"<html><head>\n<title>Marionette IFrame Test</title>\n</head>\n<body>\n  <h1 id=\"iframe_page_heading\">This is the heading</h1>\n\n   ... tml\" id=\"test_iframe\"></iframe>\n  <iframe src=\"test.html\" id=\"test_iframe\" name=\"test_iframe_name\"></iframe>\n\n\n</body></html>"}]
[task 2023-07-10T16:08:46.882Z] 16:08:46     INFO -  1689005326882	Marionette	DEBUG	72 -> [0,53,"Marionette:SetContext",{"value":"content"}]
[task 2023-07-10T16:08:46.882Z] 16:08:46     INFO -  1689005326883	Marionette	DEBUG	72 <- [1,53,null,{"value":null}]
[task 2023-07-10T16:08:46.885Z] 16:08:46    ERROR -  TEST-UNEXPECTED-FAIL | testing/marionette/harness/marionette_harness/tests/unit/test_switch_window_chrome.py TestSwitchToWindowContent.test_switch_tabs_without_focus_change | AssertionError: 0 == 0
[task 2023-07-10T16:08:46.886Z] 16:08:46     INFO -  Traceback (most recent call last):
[task 2023-07-10T16:08:46.886Z] 16:08:46     INFO -    File "Z:\task_168900304182651\build\venv\lib\site-packages\marionette_harness\marionette_test\testcases.py", line 198, in run
[task 2023-07-10T16:08:46.886Z] 16:08:46     INFO -      testMethod()
[task 2023-07-10T16:08:46.886Z] 16:08:46     INFO -    File "Z:\task_168900304182651\build\tests\marionette\tests\testing\marionette\harness\marionette_harness\tests\unit\test_switch_window_content.py", line 145, in test_switch_tabs_without_focus_change
[task 2023-07-10T16:08:46.886Z] 16:08:46     INFO -      self.assertNotEqual(self.get_selected_tab_index(), self.selected_tab_index)
[task 2023-07-10T16:08:46.887Z] 16:08:46     INFO -  TEST-INFO took 119ms

Single failure and didn't happen again within the last 3 weeks.

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