New issue
Advanced search Search tips

Issue 897222 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 913603
Owner: ----
Closed: Dec 18
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

__main__.ChromeDriverTest.testTakeElementScreenshot and 1 other(s) in chromedriver_py_tests failing on chromium.mac/Mac10.10 Tests

Project Member Reported by sheriff-...@appspot.gserviceaccount.com, Oct 19

Issue description

Filed by sheriff-o-matic@appspot.gserviceaccount.com on behalf of joedow@google.com

__main__.ChromeDriverTest.testTakeElementScreenshot and 1 other(s) in chromedriver_py_tests failing on chromium.mac/Mac10.10 Tests

Builders failed on: 
- Mac10.10 Tests: 
  https://ci.chromium.org/p/chromium/builders/luci.chromium.ci/Mac10.10%20Tests


 
Cc: -joedow@google.com
Components: Tools>Test
Labels: -Sheriff-Chromium
Unexpected Failures:
* __main__.ChromeDriverTest.testTakeElementScreenshot
* __main__.ChromeDriverTest.testTakeElementScreenshotInIframe

These failures seem to occur one every other day or so on the Mac builder.  I did not see any existing bugs for other platforms.

Error message:
======================================================================
FAIL: testTakeElementScreenshot (__main__.ChromeDriverTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "../../chrome/test/chromedriver/test/run_py_tests.py", line 1734, in testTakeElementScreenshot
    self.assertEquals(imageGoldenScreenshot, dataActualScreenshot)
AssertionError: '\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00\xc8\x00\x00\x00d\x08\x06\x00\x00\x00\xc3\x86\x7f\x0b\x00\x00\x01\x1bIDATx\x9c\xed\xd31\x11\xc00\x0c\xc0@\xb7\xfc9\xbb\x04zZ\x93\xe1\x1f\x81\x16=;\xb3\x03\xfczO\x07\xc0\xcd\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10>\xee\xe7\x02\xc6<}\x1d\xc0\x00\x00\x00\x00IEND\xaeB`\x82' != '\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00\xc8\x00\x00\x00d\x08\x06\x00\x00\x00\xc3\x86\x7f\x0b\x00\x00\x01\xf5IDATx\x9c\xed\xd71j\x1ba\x14\x85\xd1+\x81\x06\\YH\x06y\x0f!KH\xbc\x88,3\xabp\xf6\xe05\x18\x81$\xcb\xa5G`\xa5\x90\x8b@\xe4K\xaa8D\xe7\xc0k\xe6M\xf1\x17\xf31\xfc\x93cr\x0c\\\xaa\xf9\xfc4\xb3Yr8$\xfb\xfdi\xdeL\x04\xc2\xc5Z\xad\xf20\x9d\xe6~\xbb\xcdf\x1cs3\x0c\xf9\xb2X\xe4\xf3\xf1\x98\xac\xd7I\x04\xc2\xa5\x9a\xcf\xf3pu\x95\xef\x8f\x8f\xbf\xad\xbe\xdd\xde\xe6\xf3\xcbK\xf2\xf4\x94\xe9\x07\x1c\r>\xde|\x9e\xfb\xed\xf6\xec\xea\xc7n\x97\\_\'\x89@\xb8P\xc3\x90\xcd8\x9e]m\xc61\x19\x86$\x02\xe1\x82\xbd\xbe\xf3\xfc\xd7;\x87@\xa0\x10\x08\x14\x02\x81B P\x08\x04\n\x81@!\x10(\x04\x02\x85@\xa0\x10\x08\x14\x02\x81B P\x08\x04\n\x81@!\x10(\x04\x02\x85@\xa0\x10\x08\x14\x02\x81B P\x08\x04\n\x81@!\x10(\x04\x02\x85@\xa0\x10\x08\x14\x02\x81B P\x08\x04\n\x81@!\x10(\x04\x02\x85@\xa0\x10\x08\x14\x02\x81B P\x08\x04\n\x81@!\x10(\x04\x02\x85@\xa0\x10\x08\x14\x02\x81B P\x08\x04\n\x81@!\x10(\x04\x02\x85@\xa0\x10\x08\x14\x02\x81B P\x08\x04\n\x81@!\x10(\x04\x02\x85@\xa0\x10\x08\x14\x02\x81B P\x08\x04\n\x81@!\x10(\x04\x02\x85@\xa0\x10\x08\x14\x02\x81B P\x08\x84\x8b\xf5\xde\xc7?\xfd\x83w\xe0\xff6\x8e\xb9\x19\x86\xb3\xab\xe50$\xe3\x98D \\\xaa\xfd>w\xcb\xe5\xd9\xd5\xd7\xc5"y~N\x92L\x8e\xc9\xf1o\x9e\x0b\xfe\x19\xabU\x1e&\x93\xdc\xefv\xd9\xbc\xfdQ\xee\x96\xcb|z}M\xd6\xeb$\x02\xe1\xd2\xcd\xe7\xa7\x99\xcd\x92\xc3!\xd9\xefO\xf3F P\xb8\x83@!\x10(\x04\x02\x85@\xa0\x10\x08\x14\x02\x81B P\x08\x04\n\x81@!\x10(\x04\x02\x85@\xa0\x10\x08\x14\x02\x81B P\x08\x04\n\x81@!\x10(\x04\x02\x85@\xa0\xf8\t\x0e\xb9L\xb7\x92\xb1W\xb6\x00\x00\x00\x00IEND\xaeB`\x82'

======================================================================
FAIL: testTakeElementScreenshotInIframe (__main__.ChromeDriverTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "../../chrome/test/chromedriver/test/run_py_tests.py", line 1749, in testTakeElementScreenshotInIframe
    self.assertEquals(imageGoldenScreenshot, dataActualScreenshot)
AssertionError: '\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00\xc8\x00\x00\x00d\x08\x06\x00\x00\x00\xc3\x86\x7f\x0b\x00\x00\x01\x1bIDATx\x9c\xed\xd31\x11\xc00\x0c\xc0@\xb7\xfc9\xbb\x04zZ\x93\xe1\x1f\x81\x16=;\xb3\x03\xfczO\x07\xc0\xcd\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10\x0c\x02\xc1 \x10>\xee\xe7\x02\xc6<}\x1d\xc0\x00\x00\x00\x00IEND\xaeB`\x82' != "\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00\xc8\x00\x00\x00d\x08\x06\x00\x00\x00\xc3\x86\x7f\x0b\x00\x00\x02dIDATx\x9c\xed\xdb=n\x1bW\x18\x85\xe1C\x82\xa2d\x19\x10%\xbb\x88\xac\xc0E\x1a\x95F\xbc\x01o \x9b\xf2\x0e\xdd\xabq:\xc7\x95)\xfa\x87&i\x0cS(PE\x1d\xa8\x8a\x91\xcc\xf3\x00\xb7\x99o\x8a\xdb\xbc\xc0\x0c\xe6\xced\x9f\xec\x03cs}\x9d\xb777\x0f\x8e\xdf^_'77\x99\xfe\x8b[\x82\xff\x1c\x81@!\x10(\x04\x02\x85@\xa0\x10\x08\x14\x02\x81B P\x08\x04\n\x81@!\x10(\x04\x02\x85@\xa0\x10\x08\x14\x02\x81B P\x08\x04\n\x81@!\x10(\x04\x02\x85@\xa0\x10\x08\x14\x02\x81B P\x08\x04\n\x81@!\x10(\x04\x02\x85@\xa0\x10\x08\x14\x02\x81B P\x08\x04\n\x81@!\x10(\x04\x02\x85@\xa0\x10\x08\x14\x02\x81B P\x08\x04\n\x81@!\x10(\x04\x02\x85@\xa0\x10\x08\x14\x02\x81B P\x08\x04\n\x81@!\x10(\x04\x02\x85@\xa0\x10\x08\x14\x02\x81B P\xcc~\xf6\x06\xe0\xa7\x9a\xcf\xef\xd6t\x9a\x0cC\xb2\xdd\xde\xad\x7f\x08\x84\xf1:9\xc9r2\xc9\x87o\xdf\xb2\x19\x86\x1cO\xa7\xb9<>\xce\xc5\xc9\xc9\xfd-\x02a\x9cNO\xb3\x9cL\xf2~\xbd\xbe\xbf\xf4}\x18\xf2\xe7z\x9d

Cc: johnchen@chromium.org m...@chromium.org
Labels: Type-Bug
Is this the same as  bug 913603 ?
It seems like it might be the same, and probably is the root cause of  bug 913603 .

I've attached the expected vs actual PNGs based on the error logs from testTakeElementScreenshot above. It seems that, for some reason, a scroll bar is showing in the actual image. :-/

mac1010-expected.png
340 bytes View Download
mac1010-actual.png
558 bytes View Download
Mergedinto: 913603
Status: Duplicate (was: Available)

Sign in to add a comment