Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Issue 2677553003: Shape detection unittests mac (QR and Face) in GPU bots (Closed)

Created:
3 years, 10 months ago by mcasas
Modified:
3 years, 10 months ago
CC:
chromium-reviews, mac-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Shape detection unittests mac (QR and Face) in GPU bots This CL adds {Barcode,Face}Detection Mac unittests as part of service_unittests. These new tests are run in the gpu bots, bc the normal Mac bots don't have GPUs and that seems to screw the CoreImage library (FTR I tried loading the lib and symbols in runtime and/or using a software rendering context, see PS2, but that didn't solve the problem). BUG=665150, 659139 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2677553003 Cr-Commit-Position: refs/heads/master@{#450061} Committed: https://chromium.googlesource.com/chromium/src/+/3764134e53831644d51c780f3d9b3a50f8d43865

Patch Set 1 #

Patch Set 2 : Using a Sw CIContext, either directly or via a CGBitmapContextCreate #

Patch Set 3 : Using GPU bots, removed software rendering parts #

Total comments: 14

Patch Set 4 : rsesek@ comments #

Total comments: 3

Patch Set 5 : rockot@ comments: merged into service_unittests and not using RunUntilIdle #

Patch Set 6 : filter FaceDetectionImplMacTest #

Unified diffs Side-by-side diffs Delta from patch set Stats (+570 lines, -6 lines) Patch
M content/test/gpu/generate_buildbot_json.py View 1 2 3 4 1 chunk +12 lines, -0 lines 0 comments Download
M services/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M services/shape_detection/BUILD.gn View 1 2 3 4 5 2 chunks +27 lines, -0 lines 0 comments Download
M services/shape_detection/DEPS View 1 chunk +2 lines, -0 lines 0 comments Download
A services/shape_detection/PRESUBMIT.py View 1 2 1 chunk +36 lines, -0 lines 0 comments Download
M services/shape_detection/barcode_detection_impl_mac.mm View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
A services/shape_detection/barcode_detection_impl_mac_unittest.mm View 1 2 3 4 1 chunk +99 lines, -0 lines 0 comments Download
M services/shape_detection/face_detection_impl_mac.mm View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
A services/shape_detection/face_detection_impl_mac_unittest.mm View 1 2 3 4 5 1 chunk +100 lines, -0 lines 0 comments Download
M testing/buildbot/chromium.gpu.fyi.json View 1 2 3 4 17 chunks +287 lines, -0 lines 0 comments Download

Messages

Total messages: 60 (38 generated)
mcasas
rsesek@ PTAL at Mac unittests plz kbr@ follow your instructions to add the unittests to ...
3 years, 10 months ago (2017-02-10 18:44:21 UTC) #19
Robert Sesek
https://codereview.chromium.org/2677553003/diff/200001/services/shape_detection/BUILD.gn File services/shape_detection/BUILD.gn (right): https://codereview.chromium.org/2677553003/diff/200001/services/shape_detection/BUILD.gn#newcode54 services/shape_detection/BUILD.gn:54: if (is_mac) { This may complain on non-Mac about ...
3 years, 10 months ago (2017-02-10 20:24:37 UTC) #20
mcasas
ptal +rockot@ PTAL at the new stuff in services/shape_detection https://codereview.chromium.org/2677553003/diff/200001/services/shape_detection/BUILD.gn File services/shape_detection/BUILD.gn (right): https://codereview.chromium.org/2677553003/diff/200001/services/shape_detection/BUILD.gn#newcode54 services/shape_detection/BUILD.gn:54: ...
3 years, 10 months ago (2017-02-10 21:05:06 UTC) #22
Ken Rockot(use gerrit already)
lg2m but i'll wait until the service_unittests target is also updated for stamp
3 years, 10 months ago (2017-02-10 23:41:09 UTC) #23
Ken Rockot(use gerrit already)
https://codereview.chromium.org/2677553003/diff/220001/services/shape_detection/barcode_detection_impl_mac_unittest.mm File services/shape_detection/barcode_detection_impl_mac_unittest.mm (right): https://codereview.chromium.org/2677553003/diff/220001/services/shape_detection/barcode_detection_impl_mac_unittest.mm#newcode89 services/shape_detection/barcode_detection_impl_mac_unittest.mm:89: base::RunLoop().RunUntilIdle(); Same comment as the other file re RunUntilIdle. ...
3 years, 10 months ago (2017-02-10 23:45:43 UTC) #24
mcasas
Done merging into service_unittests, ptal https://codereview.chromium.org/2677553003/diff/220001/services/shape_detection/face_detection_impl_mac_unittest.mm File services/shape_detection/face_detection_impl_mac_unittest.mm (right): https://codereview.chromium.org/2677553003/diff/220001/services/shape_detection/face_detection_impl_mac_unittest.mm#newcode84 services/shape_detection/face_detection_impl_mac_unittest.mm:84: base::RunLoop().RunUntilIdle(); On 2017/02/10 23:45:43, ...
3 years, 10 months ago (2017-02-11 00:56:40 UTC) #26
mcasas
ping lads
3 years, 10 months ago (2017-02-13 15:27:40 UTC) #27
Robert Sesek
lgtm
3 years, 10 months ago (2017-02-13 16:25:53 UTC) #28
Ken Rockot(use gerrit already)
services in general lgtm
3 years, 10 months ago (2017-02-13 16:28:53 UTC) #29
mcasas
kbr is OOO today -- bajones@ could you PTAL at the gpu json py file?
3 years, 10 months ago (2017-02-13 16:40:51 UTC) #33
Ken Russell (switch to Gerrit)
Good work. LGTM
3 years, 10 months ago (2017-02-13 17:07:48 UTC) #34
bajones
On 2017/02/13 16:40:51, mcasas wrote: > kbr is OOO today -- bajones@ could you PTAL ...
3 years, 10 months ago (2017-02-13 17:08:03 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2677553003/240001
3 years, 10 months ago (2017-02-13 17:24:20 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/362863)
3 years, 10 months ago (2017-02-13 17:31:20 UTC) #40
mcasas
bsalomon@, erg@ plz RS adding to DEPS: '+third_party/skia/include', '+ui/gfx/codec', respectively, thanks!
3 years, 10 months ago (2017-02-13 17:32:58 UTC) #42
bsalomon
skia deps lgtm
3 years, 10 months ago (2017-02-13 17:35:30 UTC) #44
Elliot Glaysher
code deps lgtm in test
3 years, 10 months ago (2017-02-13 18:21:08 UTC) #47
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2677553003/280001
3 years, 10 months ago (2017-02-13 18:58:59 UTC) #54
commit-bot: I haz the power
Committed patchset #6 (id:280001) as https://chromium.googlesource.com/chromium/src/+/3764134e53831644d51c780f3d9b3a50f8d43865
3 years, 10 months ago (2017-02-13 20:15:04 UTC) #57
Garrett Casto
A revert of this CL (patchset #6 id:280001) has been created in https://codereview.chromium.org/2692123002/ by gcasto@chromium.org. ...
3 years, 10 months ago (2017-02-13 21:22:27 UTC) #58
findit-for-me
FYI: Findit identified this CL at revision 450061 as the culprit for failures in the ...
3 years, 10 months ago (2017-02-13 21:50:28 UTC) #59
Ken Russell (switch to Gerrit)
3 years, 10 months ago (2017-02-14 00:47:09 UTC) #60
Message was sent while issue was closed.
On 2017/02/13 21:50:28, findit-for-me wrote:
> FYI: Findit identified this CL at revision 450061 as the culprit for
> failures in the build cycles as shown on:
>
https://findit-for-me.appspot.com/waterfall/culprit?key=ag9zfmZpbmRpdC1mb3Itb...

Miguel: that's why I suggested adding these tests to a brand new target that
doesn't run on the regular Chromium test bots, but only on the GPU bots.

Powered by Google App Engine
This is Rietveld 408576698