Closed Bug 1698488 Opened 3 years ago Closed 3 years ago

Intermittent testing/marionette/harness/marionette_harness/tests/unit/test_window_rect.py TestWindowRect.test_resize_to_available_screen_size | AssertionError: 1280 != 1600

Categories

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

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1532472

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: assertion, intermittent-failure)

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


[task 2021-03-15T11:47:20.251Z] 11:47:20     INFO - TEST-PASS | testing/marionette/harness/marionette_harness/tests/unit/test_window_rect.py TestWindowRect.test_resize_larger_than_screen | took 154ms
[task 2021-03-15T11:47:20.251Z] 11:47:20     INFO - TEST-START | testing/marionette/harness/marionette_harness/tests/unit/test_window_rect.py TestWindowRect.test_resize_to_available_screen_size
[task 2021-03-15T11:47:20.251Z] 11:47:20     INFO -  1615808840248	Marionette	DEBUG	Closed connection 88
[task 2021-03-15T11:47:20.252Z] 11:47:20     INFO -  1615808840249	Marionette	DEBUG	Accepted connection 89 from 127.0.0.1:53176
[task 2021-03-15T11:47:20.265Z] 11:47:20     INFO -  1615808840265	Marionette	DEBUG	89 -> [0,1,"WebDriver:NewSession",{"strictFileInteractability":true}]
[task 2021-03-15T11:47:20.268Z] 11:47:20     INFO -  1615808840267	Marionette	DEBUG	89 <- [1,1,null,{"sessionId":"51bd640d-8c22-4b0c-8eb9-c705bf2d4862","capabilities":{"browserName":"firefox","browserVersion":"88.0a ... /tmpuqdp0tyv.mozrunner","moz:shutdownTimeout":60000,"moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true}}]
[task 2021-03-15T11:47:20.309Z] 11:47:20     INFO -  1615808840308	Marionette	DEBUG	89 -> [0,2,"WebDriver:SetTimeouts",{"script":30000}]
[task 2021-03-15T11:47:20.310Z] 11:47:20     INFO -  1615808840308	Marionette	DEBUG	89 <- [1,2,null,{"value":null}]
[task 2021-03-15T11:47:20.315Z] 11:47:20     INFO -  1615808840314	Marionette	DEBUG	89 -> [0,3,"WebDriver:SetTimeouts",{"pageLoad":300000}]
[task 2021-03-15T11:47:20.316Z] 11:47:20     INFO -  1615808840314	Marionette	DEBUG	89 <- [1,3,null,{"value":null}]
[task 2021-03-15T11:47:20.317Z] 11:47:20     INFO -  1615808840317	Marionette	DEBUG	89 -> [0,4,"WebDriver:SetTimeouts",{"implicit":0}]
[task 2021-03-15T11:47:20.318Z] 11:47:20     INFO -  1615808840317	Marionette	DEBUG	89 <- [1,4,null,{"value":null}]
[task 2021-03-15T11:47:20.321Z] 11:47:20     INFO -  1615808840318	Marionette	DEBUG	89 -> [0,5,"WebDriver:GetWindowRect",{}]
[task 2021-03-15T11:47:20.322Z] 11:47:20     INFO -  1615808840322	Marionette	DEBUG	89 <- [1,5,null,{"x":0,"y":0,"width":3200,"height":2400}]
[task 2021-03-15T11:47:20.324Z] 11:47:20     INFO -  1615808840323	Marionette	DEBUG	89 -> [0,6,"WebDriver:ExecuteScript",{"script":"return {\n              width: window.screen.availWidth,\n              height: win ... ue,"sandbox":null,"line":23,"filename":"tests/testing/marionette/harness/marionette_harness/tests/unit/test_window_rect.py"}]
[task 2021-03-15T11:47:20.327Z] 11:47:20     INFO -  1615808840325	Marionette	TRACE	[129] MarionetteCommands actor created for window id 8589934619
[task 2021-03-15T11:47:20.328Z] 11:47:20     INFO -  DEBUG: Adding blocker JSON store: writing data for phase profile-before-change
[task 2021-03-15T11:47:20.329Z] 11:47:20     INFO -  1615808840328	Marionette	DEBUG	89 <- [1,6,null,{"value":{"width":1600,"height":1200}}]
[task 2021-03-15T11:47:20.331Z] 11:47:20     INFO -  1615808840331	Marionette	DEBUG	89 -> [0,7,"WebDriver:SetWindowRect",{"x":null,"y":null,"height":2400,"width":3200}]
[task 2021-03-15T11:47:20.332Z] 11:47:20     INFO -  1615808840332	Marionette	DEBUG	89 <- [1,7,null,{"x":0,"y":0,"width":3200,"height":2400}]
[task 2021-03-15T11:47:20.334Z] 11:47:20     INFO -  1615808840333	Marionette	DEBUG	89 -> [0,8,"WebDriver:SetWindowRect",{"x":null,"y":null,"height":1200,"width":1600}]
[task 2021-03-15T11:47:20.346Z] 11:47:20     INFO -  1615808840345	Marionette	DEBUG	89 <- [1,8,null,{"x":0,"y":0,"width":1600,"height":1200}]
[task 2021-03-15T11:47:20.367Z] 11:47:20     INFO -  1615808840367	Marionette	DEBUG	89 -> [0,9,"WebDriver:GetWindowRect",{}]
[task 2021-03-15T11:47:20.370Z] 11:47:20     INFO -  1615808840368	Marionette	DEBUG	89 <- [1,9,null,{"x":0,"y":0,"width":1280,"height":1040}]
[task 2021-03-15T11:47:20.372Z] 11:47:20     INFO -  1615808840371	Marionette	DEBUG	89 -> [0,10,"Marionette:GetContext",{}]
[task 2021-03-15T11:47:20.372Z] 11:47:20     INFO -  1615808840371	Marionette	DEBUG	89 <- [1,10,null,{"value":"content"}]
[task 2021-03-15T11:47:20.379Z] 11:47:20     INFO -  1615808840378	Marionette	DEBUG	89 -> [0,11,"Marionette:SetContext",{"value":"chrome"}]
[task 2021-03-15T11:47:20.379Z] 11:47:20     INFO -  1615808840378	Marionette	DEBUG	89 <- [1,11,null,{"value":null}]
[task 2021-03-15T11:47:20.380Z] 11:47:20     INFO -  1615808840380	Marionette	DEBUG	89 -> [0,12,"WebDriver:TakeScreenshot",{"id":null,"full":true,"hash":false,"scroll":true}]
[task 2021-03-15T11:47:20.381Z] 11:47:20     INFO -  1615808840381	Marionette	TRACE	[1] MarionetteCommands actor created for window id 2
[task 2021-03-15T11:47:20.423Z] 11:47:20     INFO -  1615808840422	Marionette	DEBUG	89 <- [1,12,null,{"value":"iVBORw0KGgoAAAANSUhEUgAABQAAAAQQCAYAAAC9RfbYAAAgAElEQVR4nOzdfWzch33fcf8xYP9vWAtsa7dhKLo+rE3WJV3SR7dpMBR2 ... AAAABjAhAAAAAAxgQgAAAAAIwJQAAAAAAYE4AAAAAAMCYAAQAAAGBMAAIAAADAmAAEAAAAgDEBCAAAAABjAhAAAAAAxgKRADrY73PxHwAAAABJRU5ErkJggg=="}]
[task 2021-03-15T11:47:20.426Z] 11:47:20     INFO -  1615808840425	Marionette	DEBUG	89 -> [0,13,"Marionette:SetContext",{"value":"content"}]
[task 2021-03-15T11:47:20.427Z] 11:47:20     INFO -  1615808840425	Marionette	DEBUG	89 <- [1,13,null,{"value":null}]
[task 2021-03-15T11:47:20.428Z] 11:47:20     INFO -  1615808840426	Marionette	DEBUG	89 -> [0,14,"Marionette:GetContext",{}]
[task 2021-03-15T11:47:20.429Z] 11:47:20     INFO -  1615808840428	Marionette	DEBUG	89 <- [1,14,null,{"value":"content"}]
[task 2021-03-15T11:47:20.431Z] 11:47:20     INFO -  1615808840430	Marionette	DEBUG	89 -> [0,15,"Marionette:SetContext",{"value":"content"}]
[task 2021-03-15T11:47:20.431Z] 11:47:20     INFO -  1615808840430	Marionette	DEBUG	89 <- [1,15,null,{"value":null}]
[task 2021-03-15T11:47:20.432Z] 11:47:20     INFO -  1615808840432	Marionette	DEBUG	89 -> [0,16,"WebDriver:GetPageSource",{}]
[task 2021-03-15T11:47:20.450Z] 11:47:20     INFO -  1615808840446	Marionette	DEBUG	89 <- [1,16,null,{"value":"<html><head></head><body></body></html>"}]
[task 2021-03-15T11:47:20.458Z] 11:47:20     INFO -  DEBUG: Adding blocker ContentParent: id=7fbe645c5000 for phase xpcom-will-shutdown
[task 2021-03-15T11:47:20.459Z] 11:47:20     INFO -  DEBUG: Adding blocker ContentParent: id=7fbe645c5000 for phase profile-before-change
[task 2021-03-15T11:47:20.461Z] 11:47:20     INFO -  1615808840461	Marionette	DEBUG	89 -> [0,17,"Marionette:SetContext",{"value":"content"}]
[task 2021-03-15T11:47:20.462Z] 11:47:20     INFO -  1615808840461	Marionette	DEBUG	89 <- [1,17,null,{"value":null}]
[task 2021-03-15T11:47:20.486Z] 11:47:20     INFO - TEST-UNEXPECTED-FAIL | testing/marionette/harness/marionette_harness/tests/unit/test_window_rect.py TestWindowRect.test_resize_to_available_screen_size | AssertionError: 1280 != 1600
[task 2021-03-15T11:47:20.486Z] 11:47:20     INFO - Traceback (most recent call last):
[task 2021-03-15T11:47:20.486Z] 11:47:20     INFO -   File "/builds/worker/workspace/build/venv/lib/python3.6/site-packages/marionette_harness/marionette_test/testcases.py", line 214, in run
[task 2021-03-15T11:47:20.486Z] 11:47:20     INFO -     testMethod()
[task 2021-03-15T11:47:20.486Z] 11:47:20     INFO -   File "/builds/worker/workspace/build/tests/marionette/tests/testing/marionette/harness/marionette_harness/tests/unit/test_window_rect.py", line 299, in test_resize_to_available_screen_size
[task 2021-03-15T11:47:20.486Z] 11:47:20     INFO -     self.assertEqual(result_size["width"], expected_size["width"])
[task 2021-03-15T11:47:20.486Z] 11:47:20     INFO - TEST-INFO took 218ms
[task 2021-03-15T11:47:20.487Z] 11:47:20     INFO -  1615808840467	Marionette	DEBUG	89 -> [0,18,"WebDriver:SetWindowRect",{"x":0,"y":0,"height":2400,"width":3200}]
[task 2021-03-15T11:47:20.536Z] 11:47:20     INFO -  1615808840535	Marionette	DEBUG	89 <- [1,18,null,{"x":0,"y":0,"width":3200,"height":2400}]
[task 2021-03-15T11:47:20.539Z] 11:47:20     INFO -  1615808840538	Marionette	DEBUG	89 -> [0,19,"WebDriver:ExecuteScript",{"script":"return document.fullscreenElement;","args":[],"newSandbox":true,"sandbox":null,"line":52,"filename":"tests/testing/marionette/harness/marionette_harness/tests/unit/test_window_rect.py"}]
[task 2021-03-15T11:47:20.543Z] 11:47:20     INFO -  1615808840543	Marionette	DEBUG	89 <- [1,19,null,{"value":null}]
[task 2021-03-15T11:47:20.545Z] 11:47:20     INFO -  1615808840544	Marionette	DEBUG	89 -> [0,20,"WebDriver:DeleteSession",{}]
[task 2021-03-15T11:47:20.547Z] 11:47:20     INFO -  1615808840547	Marionette	DEBUG	89 <- [1,20,null,{"value":null}]
[task 2021-03-15T11:47:20.549Z] 11:47:20     INFO - TEST-START | testing/marionette/harness/marionette_harness/tests/unit/test_window_rect.py TestWindowRect.test_resize_while_fullscreen
[task 2021-03-15T11:47:20.558Z] 11:47:20     INFO -  1615808840558	Marionette	DEBUG	Accepted connection 90 from 127.0.0.1:53178
[task 2021-03-15T11:47:20.559Z] 11:47:20     INFO -  1615808840559	Marionette	DEBUG	Closed connection 89
[task 2021-03-15T11:47:20.563Z] 11:47:20     INFO -  1615808840563	Marionette	DEBUG	90 -> [0,1,"WebDriver:NewSession",{"strictFileInteractability":true}]
[task 2021-03-15T11:47:20.567Z] 11:47:20     INFO -  1615808840566	Marionette	DEBUG	90 <- [1,1,null,{"sessionId":"b99afc2f-03fd-4d14-b2f3-057eb8ac0401","capabilities":{"browserName":"firefox","browserVersion":"88.0a ... /tmpuqdp0tyv.mozrunner","moz:shutdownTimeout":60000,"moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true}}]
[task 2021-03-15T11:47:20.569Z] 11:47:20     INFO -  1615808840568	Marionette	DEBUG	90 -> [0,2,"WebDriver:SetTimeouts",{"script":30000}]
[task 2021-03-15T11:47:20.570Z] 11:47:20     INFO -  1615808840570	Marionette	DEBUG	90 <- [1,2,null,{"value":null}]
[task 2021-03-15T11:47:20.574Z] 11:47:20     INFO -  1615808840572	Marionette	DEBUG	90 -> [0,3,"WebDriver:SetTimeouts",{"pageLoad":300000}]
[task 2021-03-15T11:47:20.575Z] 11:47:20     INFO -  1615808840572	Marionette	DEBUG	90 <- [1,3,null,{"value":null}]
[task 2021-03-15T11:47:20.576Z] 11:47:20     INFO -  1615808840573	Marionette	DEBUG	90 -> [0,4,"WebDriver:SetTimeouts",{"implicit":0}]
[task 2021-03-15T11:47:20.576Z] 11:47:20     INFO -  1615808840574	Marionette	DEBUG	90 <- [1,4,null,{"value":null}]
[task 2021-03-15T11:47:20.577Z] 11:47:20     INFO -  1615808840576	Marionette	DEBUG	90 -> [0,5,"WebDriver:GetWindowRect",{}]
[task 2021-03-15T11:47:20.578Z] 11:47:20     INFO -  1615808840577	Marionette	DEBUG	90 <- [1,5,null,{"x":0,"y":0,"width":3200,"height":2400}]
[task 2021-03-15T11:47:20.580Z] 11:47:20     INFO -  1615808840579	Marionette	DEBUG	90 -> [0,6,"WebDriver:ExecuteScript",{"script":"return {\n              width: window.screen.availWidth,\n              height: win ... ue,"sandbox":null,"line":23,"filename":"tests/testing/marionette/harness/marionette_harness/tests/unit/test_window_rect.py"}]
[task 2021-03-15T11:47:20.582Z] 11:47:20     INFO -  1615808840581	Marionette	TRACE	[129] MarionetteCommands actor created for window id 8589934619
[task 2021-03-15T11:47:20.584Z] 11:47:20     INFO -  1615808840583	Marionette	DEBUG	90 <- [1,6,null,{"value":{"width":1600,"height":1200}}]
[task 2021-03-15T11:47:20.585Z] 11:47:20     INFO -  1615808840584	Marionette	DEBUG	90 -> [0,7,"WebDriver:SetWindowRect",{"x":null,"y":null,"height":2400,"width":3200}]
[task 2021-03-15T11:47:20.587Z] 11:47:20     INFO -  1615808840586	Marionette	DEBUG	90 <- [1,7,null,{"x":0,"y":0,"width":3200,"height":2400}]
[task 2021-03-15T11:47:20.588Z] 11:47:20     INFO -  1615808840587	Marionette	DEBUG	90 -> [0,8,"WebDriver:FullscreenWindow",{}]
[task 2021-03-15T11:47:20.844Z] 11:47:20     INFO -  1615808840844	Marionette	DEBUG	90 <- [1,8,null,{"x":0,"y":0,"width":1600,"height":1200}]
[task 2021-03-15T11:47:20.848Z] 11:47:20     INFO -  1615808840848	Marionette	DEBUG	90 -> [0,9,"WebDriver:SetWindowRect",{"x":null,"y":null,"height":1100,"width":1500}]
[task 2021-03-15T11:47:21.121Z] 11:47:21     INFO -  1615808841120	Marionette	DEBUG	90 <- [1,9,null,{"x":0,"y":0,"width":1500,"height":1100}]
[task 2021-03-15T11:47:21.123Z] 11:47:21     INFO -  1615808841122	Marionette	DEBUG	90 -> [0,10,"WebDriver:GetWindowRect",{}]
[task 2021-03-15T11:47:21.124Z] 11:47:21     INFO -  1615808841123	Marionette	DEBUG	90 <- [1,10,null,{"x":0,"y":0,"width":1500,"height":1100}]
[task 2021-03-15T11:47:21.127Z] 11:47:21     INFO -  1615808841125	Marionette	DEBUG	90 -> [0,11,"WebDriver:ExecuteScript",{"script":"return window.fullscreenElement == null","args":[],"newSandbox":true,"sandbox":null,"line":311,"filename":"tests/testing/marionette/harness/marionette_harness/tests/unit/test_window_rect.py"}]
[task 2021-03-15T11:47:21.128Z] 11:47:21     INFO -  1615808841127	Marionette	DEBUG	90 <- [1,11,null,{"value":true}]
[task 2021-03-15T11:47:21.128Z] 11:47:21     INFO -  1615808841128	Marionette	DEBUG	90 -> [0,12,"WebDriver:SetWindowRect",{"x":0,"y":0,"height":2400,"width":3200}]
[task 2021-03-15T11:47:21.155Z] 11:47:21     INFO -  1615808841155	Marionette	DEBUG	90 <- [1,12,null,{"x":0,"y":0,"width":3200,"height":2400}]
[task 2021-03-15T11:47:21.159Z] 11:47:21     INFO -  1615808841157	Marionette	DEBUG	90 -> [0,13,"WebDriver:ExecuteScript",{"script":"return document.fullscreenElement;","args":[],"newSandbox":true,"sandbox":null,"line":52,"filename":"tests/testing/marionette/harness/marionette_harness/tests/unit/test_window_rect.py"}]
[task 2021-03-15T11:47:21.159Z] 11:47:21     INFO -  1615808841159	Marionette	DEBUG	90 <- [1,13,null,{"value":null}]
[task 2021-03-15T11:47:21.161Z] 11:47:21     INFO -  1615808841160	Marionette	DEBUG	90 -> [0,14,"WebDriver:DeleteSession",{}]
[task 2021-03-15T11:47:21.162Z] 11:47:21     INFO -  1615808841162	Marionette	DEBUG	90 <- [1,14,null,{"value":null}]```
Status: NEW → RESOLVED
Closed: 3 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.