New issue
Advanced search Search tips

Issue 685088 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug



Sign in to add a comment

ui::GrabWindowSnapshotTest fails on Mac10.11 builder

Project Member Reported by eseckler@chromium.org, Jan 25 2017

Issue description

The GrabWindowSnapshotTest fails on MacOS 10.11 and above. See error log below. I could reproduce this on a 10.12 macbook and traced this down to CGWindowListCreateImage in snapshot_mac.cc, which returns a 1x1 pixel image.

But I don't know what is causing this. Maybe the window is set up wrongly in the test?

The test is disabled on the Mac10.11 builder at the moment. It was not run on the bots for a long time, so there's likely no culprit CL. Thus, I'm assuming that this problem was introduced with MacOS 10.11. See also https://codereview.chromium.org/2592983002/, where the tests were enabled on the bots.

Failure log:
https://uberchromegw.corp.google.com/i/chromium.mac/builders/Mac10.11%20Tests/builds/6881

[ RUN      ] GrabWindowSnapshotTest.TestGrabWindowSnapshot
../../ui/snapshot/snapshot_mac_unittest.mm:45: Failure
Value of: CGImageGetWidth([rep CGImage])
  Actual: 1
Expected: 400 * scaleFactor
Which is: 400
../../ui/snapshot/snapshot_mac_unittest.mm:49: Failure
Expected: (red + green + blue) >= (3.0), actual: 0 vs 3
[  FAILED  ] GrabWindowSnapshotTest.TestGrabWindowSnapshot (31 ms)
 
Project Member

Comment 1 by sheriffbot@chromium.org, Feb 12 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Available (was: Untriaged)

Sign in to add a comment