Closed Bug 1672041 Opened 5 years ago Closed 5 years ago

Intermittent testing/marionette/harness/marionette_harness/tests/unit/test_screenshot.py TestScreenCaptureContent.test_capture_full_html_document_element | AssertionError: Tuples differ: (1151, 3384) != (1151, 3272)

Categories

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

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: assertion, intermittent-failure)

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


[task 2020-10-19T19:31:20.815Z] 19:31:20     INFO -  DEBUG: Completed blocker Transaction (19) for phase content-prefs.sqlite#0: waiting for clients
[task 2020-10-19T19:31:20.815Z] 19:31:20     INFO -  1603135880813	Marionette	DEBUG	112 -> [0,12,"WebDriver:TakeScreenshot",{"full":true,"hash":false,"id":null,"scroll":true}]
[task 2020-10-19T19:31:20.914Z] 19:31:20     INFO -  1603135880913	Marionette	DEBUG	112 <- [1,12,null,{"value":"iVBORw0KGgoAAAANSUhEUgAABH8AAAzICAYAAAC2CycoAAAgAElEQVR4nOzd0W2cQBRA0WmDSuiETqiFWtwLvZAvNrHkiM3GOPHVORIS ... AAAIzJHwAAAIAx+QMAAAAwJn8AAAAAxuQPAAAAwJj8AQAAABiTPwAAAABj8gcAAABgTP4AAAAAjMkfAAAAgDH5AwAAADAWrjycLdscudMAAAAASUVORK5CYII="}]
[task 2020-10-19T19:31:20.933Z] 19:31:20     INFO -  1603135880929	Marionette	DEBUG	112 -> [0,13,"WebDriver:ExecuteScript",{"script":"return [\n              document.documentElement.scrollWidth,\n              docum ... e\\tests\\testing\\marionette\\harness\\marionette_harness\\tests\\unit\\test_screenshot.py","sandbox":"default","line":235}]
[task 2020-10-19T19:31:20.952Z] 19:31:20     INFO -  1603135880938	Marionette	DEBUG	112 <- [1,13,null,{"value":[1151,3384]}]
[task 2020-10-19T19:31:20.952Z] 19:31:20     INFO -  1603135880939	Marionette	DEBUG	112 -> [0,14,"WebDriver:ExecuteScript",{"script":"return window.devicePixelRatio","newSandbox":true,"args":[],"filename":"C:\\Users\ ... te\\tests\\testing\\marionette\\harness\\marionette_harness\\tests\\unit\\test_screenshot.py","sandbox":"default","line":61}]
[task 2020-10-19T19:31:20.952Z] 19:31:20     INFO -  1603135880941	Marionette	DEBUG	112 <- [1,14,null,{"value":1}]
[task 2020-10-19T19:31:20.952Z] 19:31:20     INFO -  1603135880942	Marionette	DEBUG	112 -> [0,15,"Marionette:GetContext",{}]
[task 2020-10-19T19:31:20.952Z] 19:31:20     INFO -  1603135880942	Marionette	DEBUG	112 <- [1,15,null,{"value":"content"}]
[task 2020-10-19T19:31:20.952Z] 19:31:20     INFO -  1603135880942	Marionette	DEBUG	112 -> [0,16,"Marionette:SetContext",{"value":"chrome"}]
[task 2020-10-19T19:31:20.952Z] 19:31:20     INFO -  1603135880942	Marionette	DEBUG	112 <- [1,16,null,{"value":null}]
[task 2020-10-19T19:31:20.953Z] 19:31:20     INFO -  1603135880945	Marionette	DEBUG	112 -> [0,17,"WebDriver:TakeScreenshot",{"full":true,"hash":false,"id":null,"scroll":true}]
[task 2020-10-19T19:31:21.013Z] 19:31:21     INFO -  1603135881004	Marionette	DEBUG	112 <- [1,17,null,{"value":"iVBORw0KGgoAAAANSUhEUgAABJAAAAOWCAYAAACwLmi6AAAgAElEQVR4nOzdYZCc9X0n+HmTqt1L3dmvSGpTtceF2sJUjt0jdQtlUkmO ... 1vAQkAAABgmNu52j7+QAIAAAAY6haG3sQjAQkAAABggIpDT/FIQAIAAAAY4CkQCUgAAAAAwwlIAAAAACQBCQAAAID0a0D6AJn7ONjejf1hAAAAAElFTkSuQmCC"}]
[task 2020-10-19T19:31:21.032Z] 19:31:21     INFO -  1603135881019	Marionette	DEBUG	112 -> [0,18,"Marionette:SetContext",{"value":"content"}]
[task 2020-10-19T19:31:21.032Z] 19:31:21     INFO -  1603135881019	Marionette	DEBUG	112 <- [1,18,null,{"value":null}]
[task 2020-10-19T19:31:21.037Z] 19:31:21     INFO -  1603135881034	Marionette	DEBUG	112 -> [0,19,"Marionette:GetContext",{}]
[task 2020-10-19T19:31:21.037Z] 19:31:21     INFO -  1603135881034	Marionette	DEBUG	112 <- [1,19,null,{"value":"content"}]
[task 2020-10-19T19:31:21.056Z] 19:31:21    ERROR -  TEST-UNEXPECTED-FAIL | testing/marionette/harness/marionette_harness/tests/unit/test_screenshot.py TestScreenCaptureContent.test_capture_full_html_document_element | AssertionError: Tuples differ: (1151, 3384) != (1151, 3272)
[task 2020-10-19T19:31:21.056Z] 19:31:21     INFO -  First differing element 1:
[task 2020-10-19T19:31:21.056Z] 19:31:21     INFO -  3384
[task 2020-10-19T19:31:21.056Z] 19:31:21     INFO -  3272
[task 2020-10-19T19:31:21.056Z] 19:31:21     INFO -  - (1151, 3384)
[task 2020-10-19T19:31:21.057Z] 19:31:21     INFO -  ?         ^^^
[task 2020-10-19T19:31:21.057Z] 19:31:21     INFO -  + (1151, 3272)
[task 2020-10-19T19:31:21.057Z] 19:31:21     INFO -  ?         ^^^
[task 2020-10-19T19:31:21.057Z] 19:31:21     INFO -  Traceback (most recent call last):
[task 2020-10-19T19:31:21.057Z] 19:31:21     INFO -    File "C:\Users\task_1603135077\build\venv\lib\site-packages\marionette_harness\marionette_test\testcases.py", line 196, in run
[task 2020-10-19T19:31:21.058Z] 19:31:21     INFO -      testMethod()
[task 2020-10-19T19:31:21.058Z] 19:31:21     INFO -    File "C:\Users\task_1603135077\build\tests\marionette\tests\testing\marionette\harness\marionette_harness\tests\unit\test_screenshot.py", line 287, in test_capture_full_html_document_element
[task 2020-10-19T19:31:21.058Z] 19:31:21     INFO -      self.get_image_dimensions(screenshot))
[task 2020-10-19T19:31:21.058Z] 19:31:21     INFO -  TEST-INFO took 312ms```

Similar to bug 1666381 for getting a full screenshot for SVG documents.

See Also: → 1666381
Status: NEW → RESOLVED
Closed: 5 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.