Closed Bug 1557969 Opened 5 years ago Closed 5 years ago

Intermittent testing\marionette\harness\marionette_harness\tests\unit\test_screenshot.py TestScreenCaptureContent.test_capture_flags | AssertionError: u'iVBORw0KGgoAAAANSUhEUgAABJAAAAAmCAYAA

Categories

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

Version 3
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1330560

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure, regression)

Filed by: csabou [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=250782758&repo=mozilla-inbound
Full log: https://queue.taskcluster.net/v1/task/EA5ahh4LRPCz4ROKyoXLqQ/runs/0/artifacts/public/logs/live_backing.log


15:03:42 INFO - TEST-START | testing\marionette\harness\marionette_harness\tests\unit\test_screenshot.py TestScreenCaptureContent.test_capture_flags
15:03:42 INFO - 1560006222434 Marionette DEBUG Accepted connection 124 from 127.0.0.1:51581
15:03:42 INFO - 1560006222435 Marionette DEBUG 124 -> [0,1,"WebDriver:NewSession",{"strictFileInteractability":true}]
15:03:42 INFO - 1560006222438 Marionette TRACE [75161927681] Frame script loaded
15:03:42 INFO - 1560006222439 Marionette TRACE [75161927681] Frame script registered
15:03:42 INFO - 1560006222441 Marionette DEBUG 124 <- [1,1,null,{"sessionId":"3191d306-4387-4517-b00b-299bf94c691e","capabilities":{"browserName":"firefox","browserVersion":"69.0a ... \tmpmchvhe.mozrunner","moz:shutdownTimeout":180000,"moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true}}]
15:03:42 INFO - 1560006222447 Marionette DEBUG 124 -> [0,2,"WebDriver:SetTimeouts",{"script":30000}]
15:03:42 INFO - 1560006222448 Marionette DEBUG 124 <- [1,2,null,{"value":null}]
15:03:42 INFO - 1560006222480 Marionette DEBUG 124 -> [0,3,"WebDriver:SetTimeouts",{"pageLoad":300000}]
15:03:42 INFO - 1560006222480 Marionette DEBUG 124 <- [1,3,null,{"value":null}]
15:03:42 INFO - 1560006222482 Marionette DEBUG 124 -> [0,4,"WebDriver:SetTimeouts",{"implicit":0}]
15:03:42 INFO - 1560006222482 Marionette DEBUG 124 <- [1,4,null,{"value":null}]
15:03:42 INFO - 1560006222484 Marionette DEBUG 124 -> [0,5,"WebDriver:Navigate",{"url":"about:blank"}]
15:03:42 INFO - 1560006222489 Marionette TRACE [75161927681] Received DOM event beforeunload for data:text/html;charset=utf-8,%3Cbody%3E%3Cdiv%20id%3D%27box%27%3E%3Cp%20id%3D%27green%27%20style%3D%27width%3A%2050px%3B%20height%3A%2050px%3B%20background%3A%20silver%3B%27%3E%3C/p%3E%3C/div%3E%3C/body%3E
15:03:42 INFO - 1560006222491 Marionette TRACE [75161927681] Received DOM event pagehide for data:text/html;charset=utf-8,%3Cbody%3E%3Cdiv%20id%3D%27box%27%3E%3Cp%20id%3D%27green%27%20style%3D%27width%3A%2050px%3B%20height%3A%2050px%3B%20background%3A%20silver%3B%27%3E%3C/p%3E%3C/div%3E%3C/body%3E
15:03:42 INFO - 1560006222492 Marionette TRACE [75161927681] Received DOM event unload for data:text/html;charset=utf-8,%3Cbody%3E%3Cdiv%20id%3D%27box%27%3E%3Cp%20id%3D%27green%27%20style%3D%27width%3A%2050px%3B%20height%3A%2050px%3B%20background%3A%20silver%3B%27%3E%3C/p%3E%3C/div%3E%3C/body%3E
15:03:42 INFO - 1560006222503 Marionette TRACE [75161927681] Received DOM event DOMContentLoaded for about:blank
15:03:42 INFO - 1560006222527 Marionette TRACE [75161927681] Received DOM event pageshow for about:blank
15:03:42 INFO - 1560006222562 Marionette DEBUG 124 <- [1,5,null,{"value":null}]
15:03:42 INFO - 1560006222579 Marionette DEBUG 124 -> [0,6,"WebDriver:GetChromeWindowHandle",{}]
15:03:42 INFO - 1560006222580 Marionette DEBUG 124 <- [1,6,null,{"value":"1"}]
15:03:42 INFO - 1560006222585 Marionette DEBUG 124 -> [0,7,"WebDriver:GetChromeWindowHandles",{}]
15:03:42 INFO - 1560006222586 Marionette DEBUG 124 <- [1,7,null,["1"]]
15:03:42 INFO - 1560006222588 Marionette DEBUG 124 -> [0,8,"WebDriver:GetWindowHandle",{}]
15:03:42 INFO - 1560006222588 Marionette DEBUG 124 <- [1,8,null,{"value":"75161927681"}]
15:03:42 INFO - 1560006222591 Marionette DEBUG 124 -> [0,9,"WebDriver:GetWindowHandles",{}]
15:03:42 INFO - 1560006222591 Marionette DEBUG 124 <- [1,9,null,["75161927681"]]
15:03:42 INFO - 1560006222593 Marionette DEBUG 124 -> [0,10,"Marionette:SetContext",{"value":"content"}]
15:03:42 INFO - 1560006222593 Marionette DEBUG 124 <- [1,10,null,{"value":null}]
15:03:42 INFO - 1560006222594 Marionette DEBUG 124 -> [0,11,"WebDriver:Navigate",{"url":"data:text/html;charset=utf-8,%3Cbody%3E%3Cinput%20id%3D%27text-input%27%3E%3C/input%3E%3C/body%3E"}]
15:03:42 INFO - 1560006222600 Marionette TRACE [75161927681] Received DOM event beforeunload for about:blank
15:03:42 INFO - 1560006222603 Marionette TRACE [75161927681] Received DOM event pagehide for about:blank
15:03:42 INFO - 1560006222615 Marionette TRACE [75161927681] Received DOM event DOMContentLoaded for data:text/html;charset=utf-8,%3Cbody%3E%3Cinput%20id%3D%27text-input%27%3E%3C/input%3E%3C/body%3E
15:03:42 INFO - 1560006222650 Marionette TRACE [75161927681] Received DOM event pageshow for data:text/html;charset=utf-8,%3Cbody%3E%3Cinput%20id%3D%27text-input%27%3E%3C/input%3E%3C/body%3E
15:03:42 INFO - 1560006222652 Marionette DEBUG 124 <- [1,11,null,{"value":null}]
15:03:42 INFO - 1560006222659 Marionette DEBUG 124 -> [0,12,"WebDriver:FindElement",{"using":"id","value":"text-input"}]
15:03:42 INFO - 1560006222671 Marionette DEBUG 124 <- [1,12,null,{"value":{"element-6066-11e4-a52e-4f735466cecf":"177e84ab-2cd2-4a87-a2ed-0f16d60ea01f"}}]
15:03:42 INFO - 1560006222687 Marionette DEBUG 124 -> [0,13,"WebDriver:ElementSendKeys",{"text":"","id":"177e84ab-2cd2-4a87-a2ed-0f16d60ea01f"}]
15:03:43 INFO - 1560006223282 Marionette DEBUG 124 <- [1,13,null,{"value":null}]
15:03:43 INFO - 1560006223289 Marionette DEBUG 124 -> [0,14,"WebDriver:TakeScreenshot",{"highlights":null,"full":true,"hash":false,"id":null,"scroll":true}]
15:03:43 INFO - 1560006223340 Marionette DEBUG 124 <- [1,14,null,{"value":"iVBORw0KGgoAAAANSUhEUgAABJAAAAAmCAYAAACbDGFSAAABYElEQVR4nO3YMQ7CABADwbw7n4cfOJGIDBYz0vVXuNrjBQAAAADB8e0H ... DsuhWQnHviAAAAgE2XAQkAAACA/yYgAQAAABAJSAAAAABEAhIAAAAAkYAEAAAAQCQgAQAAABAJSAAAAABEAhIAAAAA0Rvt7+o/8J6OjgAAAABJRU5ErkJggg=="}]
15:03:43 INFO - 1560006223392 Marionette DEBUG 124 -> [0,15,"WebDriver:ExecuteScript",{"script":"arguments[0].blur();","newSandbox":true,"args":[{"element-6066-11e4-a52e-4f735466c ... e\tests\testing\marionette\harness\marionette_harness\tests\unit\test_screenshot.py","sandbox":"default","line":313}]
15:03:43 INFO - 1560006223409 Marionette DEBUG 124 <- [1,15,null,{"value":null}]
15:03:43 INFO - 1560006223412 Marionette DEBUG 124 -> [0,16,"WebDriver:TakeScreenshot",{"highlights":null,"full":true,"hash":false,"id":null,"scroll":true}]
15:03:43 INFO - 1560006223431 Marionette DEBUG 124 <- [1,16,null,{"value":"iVBORw0KGgoAAAANSUhEUgAABJAAAAAmCAYAAACbDGFSAAABYElEQVR4nO3YMQ7CABADwbw7n4cfOJGIDBYz0vVXuNrjBQAAAADB8e0H ... DsuhWQnHviAAAAgE2XAQkAAACA/yYgAQAAABAJSAAAAABEAhIAAAAAkYAEAAAAQCQgAQAAABAJSAAAAABEAhIAAAAA0Rvt7+o/8J6OjgAAAABJRU5ErkJggg=="}]
15:03:43 INFO - 1560006223433 Marionette DEBUG 124 -> [0,17,"Marionette:GetContext",{}]
15:03:43 INFO - 1560006223433 Marionette DEBUG 124 <- [1,17,null,{"value":"content"}]
15:03:43 INFO - 1560006223435 Marionette DEBUG 124 -> [0,18,"Marionette:SetContext",{"value":"chrome"}]
15:03:43 INFO - 1560006223435 Marionette DEBUG 124 <- [1,18,null,{"value":null}]
15:03:43 INFO - 1560006223437 Marionette DEBUG 124 -> [0,19,"WebDriver:TakeScreenshot",{"highlights":null,"full":true,"hash":false,"id":null,"scroll":true}]
15:03:43 INFO - 1560006223503 Marionette DEBUG 124 <- [1,19,null,{"value":"iVBORw0KGgoAAAANSUhEUgAABJAAAAOWCAYAAACwLmi6AAAgAElEQVR4nOzdf4ycd33g8dVJlarrSUXidDopf5yFKRGnwxzVFUQqdMdd ... AAAACWQAIAAABgCSQAAAAAlkACAAAAYAkkAAAAAJZAAgAAAGAJJAAAAACWQAIAAABgCSQAAAAAlkACAAAAYAkkAAAAAFY+3cA7pgtCbgAAAABJRU5ErkJggg=="}]
15:03:43 INFO - 1560006223549 Marionette DEBUG 124 -> [0,20,"Marionette:SetContext",{"value":"content"}]
15:03:43 INFO - 1560006223550 Marionette DEBUG 124 <- [1,20,null,{"value":null}]
15:03:43 INFO - 1560006223551 Marionette DEBUG 124 -> [0,21,"Marionette:GetContext",{}]
15:03:43 INFO - 1560006223552 Marionette DEBUG 124 <- [1,21,null,{"value":"content"}]
15:03:43 INFO - 1560006223554 Marionette DEBUG 124 -> [0,22,"Marionette:SetContext",{"value":"content"}]
15:03:43 INFO - 1560006223555 Marionette DEBUG 124 <- [1,22,null,{"value":null}]
15:03:43 INFO - 1560006223556 Marionette DEBUG 124 -> [0,23,"WebDriver:GetPageSource",{}]
15:03:43 INFO - 1560006223559 Marionette DEBUG 124 <- [1,23,null,{"value":"<html><head></head><body><input id="text-input"></body></html>"}]
15:03:43 INFO - 1560006223561 Marionette DEBUG 124 -> [0,24,"Marionette:SetContext",{"value":"content"}]
15:03:43 INFO - 1560006223561 Marionette DEBUG 124 <- [1,24,null,{"value":null}]
15:03:43 ERROR - TEST-UNEXPECTED-FAIL | testing\marionette\harness\marionette_harness\tests\unit\test_screenshot.py TestScreenCaptureContent.test_capture_flags | AssertionError: u'iVBORw0KGgoAAAANSUhEUgAABJAAAAAmCAYAAACbDGFSAAABYElEQVR4nO3YMQ7CABADwbw7n4cfOJGIDBYz0vVXuNrjBQAAAADB8e0HAAAAAPhtAhIAAAAAkYAEAAAAQCQgAQAAABAJSAAAAABEAhIAAAAAkYAEAAAAQHQZkM7zdO6RAwAAADbdCkjwKTsCAACAXQISFXYEAAAAuwQkKuwIAAAAdglIVNgRAAAA7BKQqLAjAAAA2CUgUWFHAAAAsEtAosKOAAAAYJeARIUdAQAAwC4BiQo7AgAAgF0CEhV2BAAAALsEJCrsCAAAAHYJSFTYEQAAAOwSkKiwIwAAANglIFFhRwAAALBLQKLCjgAAAGCXgESFHQEAAMAuAYkKOwIAAIBdAhIVdgQAAAC7BCQq7AgAAAB2CUhU2BEAAADsuhWQnHviAAAAgE2XAQkAAACA/yYgAQAAABAJSAAAAABEAhIAAAAAkYAEAAAAQCQgAQAAABAJSAAAAABEAhIAAAAA0Rvt7+o/8J6OjgAAAABJRU5ErkJggg==' == u'iVBORw0KGgoAAAANSUhEUgAABJAAAAAmCAYAAACbDGFSAAABYElEQVR4nO3YMQ7CABADwbw7n4cfOJGIDBYz0vVXuNrjBQAAAADB8e0HAAAAAPhtAhIAAAAAkYAEAAAAQCQgAQAAABAJSAAAAABEAhIAAAAAkYAEAAAAQHQZkM7zdO6RAwAAADbdCkjwKTsCAACAXQISFXYEAAAAuwQkKuwIAAAAdglIVNgRAAAA7BKQqLAjAAAA2CUgUWFHAAAAsEtAosKOAAAAYJeARIUdAQAAwC4BiQo7AgAAgF0CEhV2BAAAALsEJCrsCAAAAHYJSFTYEQAAAOwSkKiwIwAAANglIFFhRwAAALBLQKLCjgAAAGCXgESFHQEAAMAuAYkKOwIAAIBdAhIVdgQAAAC7BCQq7AgAAAB2CUhU2BEAAADsuhWQnHviAAAAgE2XAQkAAACA/yYgAQAAABAJSAAAAABEAhIAAAAAkYAEAAAAQCQgAQAAABAJSAAAAABEAhIAAAAA0Rvt7+o/8J6OjgAAAABJRU5ErkJggg=='
15:03:43 INFO - Traceback (most recent call last):
15:03:43 INFO - File "Z:\task_1560002606\build\venv\lib\site-packages\marionette_harness\marionette_test\testcases.py", line 159, in run
15:03:43 INFO - testMethod()
15:03:43 INFO - File "Z:\task_1560002606\build\tests\marionette\tests\testing\marionette\harness\marionette_harness\tests\unit\test_screenshot.py", line 316, in test_capture_flags
15:03:43 INFO - self.assertNotEqual(screenshot_focus, screenshot_no_focus)
15:03:43 INFO - TEST-INFO took 1130ms
15:03:43 INFO - 1560006223565 Marionette DEBUG 124 -> [0,25,"WebDriver:GetWindowHandles",{}]
15:03:43 INFO - 1560006223565 Marionette DEBUG 124 <- [1,25,null,["75161927681"]]
15:03:43 INFO - 1560006223567 Marionette DEBUG 124 -> [0,26,"WebDriver:SwitchToWindow",{"handle":"75161927681","focus":true,"name":"75161927681"}]
15:03:43 INFO - 1560006223568 Marionette DEBUG 124 <- [1,26,null,{"value":null}]
15:03:43 INFO - 1560006223569 Marionette DEBUG 124 -> [0,27,"WebDriver:GetChromeWindowHandles",{}]
15:03:43 INFO - 1560006223569 Marionette DEBUG 124 <- [1,27,null,["1"]]
15:03:43 INFO - 1560006223571 Marionette DEBUG 124 -> [0,28,"WebDriver:GetWindowHandles",{}]
15:03:43 INFO - 1560006223571 Marionette DEBUG 124 <- [1,28,null,["75161927681"]]
15:03:43 INFO - 1560006223573 Marionette DEBUG 124 -> [0,29,"WebDriver:DeleteSession",{}]

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.