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

Issue 806443002: Enable PipelineIntegrationTests in mojo! (Closed)

Created:
6 years ago by DaleCurtis
Modified:
5 years, 11 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, Aaron Boodman, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, feature-media-reviews_chromium.org, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable PipelineIntegrationTests in mojo! This hooks up our pipeline integration tests into mojo and removes the existing primitive pipeline test. There's a bit of nastiness with mojo not setting up the media library or command line, probably something we'll want in its own module later. The following tests had to be disabled because the actual rendering happens in a separate process and required information is unavailable: - Any tests which perform hash checks. - Any tests which exercise EME. - Any tests which look at the video frame formats. There also seems to be a couple intermittent crashes which need to be debugged in follow up investigations: - Sometimes all tests complete successfully but a "Segmentation fault (core dumped)" shows after printing the summary. No core is actually written and it won't happen under gdb thus far :-/ - Once the WriteDataRaw() call in MojoDemuxerStreamImpl() failed with MOJO_RESULT_FAILED_PRECONDITION for reasons unknown. BUG=440850 TEST=all enabled tests pass! Committed: https://crrev.com/65590011ef779b4bdaf64c87a358f809a19c1367 Cr-Commit-Position: refs/heads/master@{#310036}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Cleanup. #

Patch Set 3 : Cleanup. All pass! #

Total comments: 14

Patch Set 4 : Comments. #

Patch Set 5 : Remove protocol style. #

Patch Set 6 : Fix namespace issues. #

Patch Set 7 : Fix component build. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+153 lines, -216 lines) Patch
M media/mojo/services/BUILD.gn View 1 2 3 4 5 1 chunk +5 lines, -17 lines 0 comments Download
D media/mojo/services/media_renderer_apptest.cc View 1 2 1 chunk +0 lines, -162 lines 0 comments Download
M media/test/BUILD.gn View 1 2 3 4 5 6 1 chunk +38 lines, -0 lines 0 comments Download
A + media/test/DEPS View 1 0 chunks +-1 lines, --1 lines 0 comments Download
M media/test/pipeline_integration_test.cc View 1 2 3 4 5 26 chunks +110 lines, -37 lines 0 comments Download
M media/test/pipeline_integration_test_base.h View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 33 (9 generated)
DaleCurtis
Here's the outcome of trying to enable the tests. There's a fair bit of investigative ...
6 years ago (2014-12-13 02:30:02 UTC) #2
xhwang
Nice job! The overall approach looks pretty clean. I only have some ideas for discussion. ...
6 years ago (2014-12-15 22:22:40 UTC) #4
scherkus (not reviewing)
yeah we need a media/test/ folder for our test-related harnesses also pipeline has no business ...
6 years ago (2014-12-15 22:37:58 UTC) #5
DaleCurtis
Are you also onboard with moving the mojo apptest to media/tests? Otherwise we just have ...
6 years ago (2014-12-15 23:08:55 UTC) #6
scherkus (not reviewing)
On 2014/12/15 23:08:55, DaleCurtis wrote: > Are you also onboard with moving the mojo apptest ...
6 years ago (2014-12-15 23:09:44 UTC) #7
xhwang
On 2014/12/15 23:08:55, DaleCurtis wrote: > Are you also onboard with moving the mojo apptest ...
6 years ago (2014-12-15 23:31:20 UTC) #8
DaleCurtis
Cleaned up and reworked to avoid these issues: - mojo seems to generate its own ...
6 years ago (2014-12-16 01:10:49 UTC) #9
DaleCurtis
Requires https://codereview.chromium.org/792463007/ to land.
6 years ago (2014-12-16 01:11:08 UTC) #10
DaleCurtis
Okay this is ready for review. There are a couple things that need to be ...
6 years ago (2014-12-17 01:09:35 UTC) #12
DaleCurtis
+jamesr for the DEPS change to include mojo/public in media/test.
6 years ago (2014-12-17 01:10:11 UTC) #14
jamesr
DEPS lgtm
6 years ago (2014-12-17 01:20:01 UTC) #15
xhwang
Great! Nice to see most tests are actually passing (well, after your previous fixes) :) ...
6 years ago (2014-12-17 05:25:03 UTC) #16
DaleCurtis
Still waiting for a mojo roll before this can hit the try bots unfortunately. https://codereview.chromium.org/806443002/diff/60001/media/mojo/services/BUILD.gn ...
6 years ago (2014-12-17 21:40:50 UTC) #17
xhwang
LGTM! https://codereview.chromium.org/806443002/diff/60001/media/mojo/services/BUILD.gn File media/mojo/services/BUILD.gn (right): https://codereview.chromium.org/806443002/diff/60001/media/mojo/services/BUILD.gn#newcode114 media/mojo/services/BUILD.gn:114: # out/Debug/mojo_shell mojo://media_test On 2014/12/17 21:40:49, DaleCurtis wrote: ...
6 years ago (2014-12-17 21:53:39 UTC) #18
jamesr
I *think* it's mojo:foobar, not mojo://foobar
6 years ago (2014-12-17 21:54:52 UTC) #19
DaleCurtis
Okay, I've removed the :\\ comment. Once mojo rolls I'll CQ this.
6 years ago (2014-12-17 23:10:48 UTC) #20
DaleCurtis
No mojo roll yet and I'm heading OOO now, so this will have to wait ...
6 years ago (2014-12-18 22:31:01 UTC) #21
DaleCurtis
Patch applied cleanly locally, so bombs away.
5 years, 11 months ago (2015-01-06 00:53:13 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/806443002/100001
5 years, 11 months ago (2015-01-06 00:54:13 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/806443002/120001
5 years, 11 months ago (2015-01-06 00:58:33 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_dbg/builds/30263)
5 years, 11 months ago (2015-01-06 01:06:28 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/806443002/140001
5 years, 11 months ago (2015-01-06 01:12:25 UTC) #31
commit-bot: I haz the power
Committed patchset #7 (id:140001)
5 years, 11 months ago (2015-01-06 02:03:24 UTC) #32
commit-bot: I haz the power
5 years, 11 months ago (2015-01-06 02:04:16 UTC) #33
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/65590011ef779b4bdaf64c87a358f809a19c1367
Cr-Commit-Position: refs/heads/master@{#310036}

Powered by Google App Engine
This is Rietveld 408576698