|
|
Created:
6 years, 8 months ago by hubbe Modified:
6 years, 7 months ago CC:
chromium-reviews Base URL:
https://chromium.googlesource.com/chromium/src.git@master Visibility:
Public. |
DescriptionCast: Isolate for tab capture end2end test
BUG=365927
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271420
Patch Set 1 #Patch Set 2 : extends browser_tests #Patch Set 3 : kbr patch #Patch Set 4 : duplicate fixed #
Total comments: 1
Patch Set 5 : nits fixed + tested #
Total comments: 1
Patch Set 6 : Deleted the other file, fixed typos and retested #
Total comments: 2
Messages
Total messages: 36 (0 generated)
Works locally at least. :)
Thanks for putting this together. After more thought I don't think it's needed. You can just build the browser_tests isolate (by building the browser_tests_run target in the GPU recipe) and then add on the --gtest-filter argument. See the passing of "args" to _maybe_run_isolate in recipe_modules/gpu/api.py. The real key will be for you to run the GPU recipe locally and make sure that it picks up and invokes the browser_tests isolate appropriately. You can actually build and upload the isolate from your Chromium checkout and then just run the download_and_test recipe, which will be much faster than running build_and_test or build_and_upload/download_and_test.
PTAL
On 2014/05/14 17:07:46, hubbe wrote: > PTAL Oops, hold on. Failed to upload.
PTAL, for real this time
https://codereview.chromium.org/255403007/diff/60001/chrome/tab_capture_end2e... File chrome/tab_capture_end2end_tests.isolate (right): https://codereview.chromium.org/255403007/diff/60001/chrome/tab_capture_end2e... chrome/tab_capture_end2end_tests.isolate:9: ['OS=="mac" or OS=="win"', { Should be 'OS=="linux" or OS=="mac" or OS=="win"'
Also, I linked to bug 365927 in the description.
PTAL, actually managed to test it this time!
LGTM
The CQ bit was checked by hubbe@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hubbe@chromium.org/255403007/80001
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are real, and report flakes to chrome-troopers@google.com. The failing builders are: android_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_clang_dbg/bui...) android_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg/builds/18...) linux_chromium_chromeos_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chrome...) linux_chromium_chromeos_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chrome...) linux_chromium_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_clang_...) linux_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_rel/bu...) mac_chromium_compile_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/mac_chromium_compile_...) mac_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/mac_chromium_rel/buil...) win_chromium_compile_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_compile_...) win_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_rel/buil...) win_chromium_x64_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_x64_rel/...) linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/...)
https://codereview.chromium.org/255403007/diff/80001/chrome/chrome_tests.gypi File chrome/chrome_tests.gypi (right): https://codereview.chromium.org/255403007/diff/80001/chrome/chrome_tests.gypi... chrome/chrome_tests.gypi:2903: 'tab_capture_end2endtests.isolate', The isolate is named differently!
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_rel/bu...)
PTAL? Check commit box if you think it looks good.
Thanks, looks good. CQ'ing.
The CQ bit was checked by kbr@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hubbe@chromium.org/255403007/100001
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are real, and report flakes to chrome-troopers@google.com. The failing builders are: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/bu...) win_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_rel/buil...)
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/bu...)
+sky for OWNERS approval
+pawel
LGTM
Did over-the-shoulder review with sky@. CQ'ing again.
The CQ bit was checked by kbr@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hubbe@chromium.org/255403007/100001
The CQ bit was unchecked by commit-bot@chromium.org
Fine with the change (did you mean maruel@ for .isolate changes?), just note a possible issue. https://codereview.chromium.org/255403007/diff/100001/chrome/tab_capture_end2... File chrome/tab_capture_end2end_tests.isolate (right): https://codereview.chromium.org/255403007/diff/100001/chrome/tab_capture_end2... chrome/tab_capture_end2end_tests.isolate:17: '--gtest_filter=TabCaptureApiPixelTest.EndToEnd*', I don't recommend using gtest_filter in this way. Depending on what you're trying to do, there should be a better way. Main part of the rationale is that it becomes *significantly* harder to ensure separate configs (like CQ and main waterfall) are in sync when gtest_filter is present.
On 2014/05/19 10:23:22, Paweł Hajdan Jr. wrote: > Fine with the change (did you mean maruel@ for .isolate changes?), just note a > possible issue. > > https://codereview.chromium.org/255403007/diff/100001/chrome/tab_capture_end2... > File chrome/tab_capture_end2end_tests.isolate (right): > > https://codereview.chromium.org/255403007/diff/100001/chrome/tab_capture_end2... > chrome/tab_capture_end2end_tests.isolate:17: > '--gtest_filter=TabCaptureApiPixelTest.EndToEnd*', > I don't recommend using gtest_filter in this way. Depending on what you're > trying to do, there should be a better way. > > Main part of the rationale is that it becomes *significantly* harder to ensure > separate configs (like CQ and main waterfall) are in sync when gtest_filter is > present. How do you run the isolate locally without having all the arguments it needs in it?
https://codereview.chromium.org/255403007/diff/100001/chrome/tab_capture_end2... File chrome/tab_capture_end2end_tests.isolate (right): https://codereview.chromium.org/255403007/diff/100001/chrome/tab_capture_end2... chrome/tab_capture_end2end_tests.isolate:17: '--gtest_filter=TabCaptureApiPixelTest.EndToEnd*', On 2014/05/19 10:23:23, Paweł Hajdan Jr. wrote: > I don't recommend using gtest_filter in this way. Depending on what you're > trying to do, there should be a better way. > > Main part of the rationale is that it becomes *significantly* harder to ensure > separate configs (like CQ and main waterfall) are in sync when gtest_filter is > present. The intent is to run a small subset of the browser_tests. Can you suggest another way? Note I specifically do not want to put the gtest_filter in the GPU recipe. We've run into multiple problems trying to make changes to tests' configurations when some of the configuration is in the recipe and the rest is in the Chromium workspace. The configuration of these tests should be entirely in the Chromium workspace and thus in the isolate.
Going to try CQ'ing this again. We can decide how to configure the isolate later.
The CQ bit was checked by kbr@chromium.org
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hubbe@chromium.org/255403007/100001
Message was sent while issue was closed.
Change committed as 271420 |