Site Isolation Android FYI bot fails to find content_browsertests target |
|||||||
Issue descriptionAfter r430603, the Site Isolation Android FYI bot fails to find content_browsertests target: Example from https://build.chromium.org/p/chromium.fyi/builders/Site%20Isolation%20Android/builds/1055/steps/compile/logs/stdio : /b/rr/tmpKSJ6Jg/rw/checkout/scripts/slave/.recipe_deps/depot_tools/ninja -w dupbuild=err -C /b/c/b/Site_Isolation_Android/src/out/Release blimp_unittests_apk_run components_browsertests_apk_run components_unittests_apk_run content_browsertests content_browsertests_apk_run content_unittests content_unittests_apk_run -j50 ninja: Entering directory `/b/c/b/Site_Isolation_Android/src/out/Release' ninja: error: unknown target 'content_browsertests'
,
Nov 9 2016
Oh, and on Android, referring to the full path of the target works fine (i.e. doesn't complain about "unknown target"): $ cat out/andr/args.gn target_os = "android" target_cpu = "x86" is_debug = false is_component_build = true symbol_level = 1 use_goma = true $ ninja -C out/andr -j 1500 -l 15 content/test:content_browsertests ninja: Entering directory `out/andr' ninja: no work to do.
,
Nov 9 2016
brettw@, could you please advise on the best next steps here? One way to disambiguate is to rename //testing/buildbot/filters:content_browsertests target to //testing/buildbot/filters:content_browsertests_filters (https://codereview.chromium.org/2491553002). I can easily test this change locally and verify that it does indeed help. OTOH, I recall that I've seen style advise in some GN docs (cannot find a reference right now :-( ) to avoid adding artificial prefixes or suffixes only to disambiguate targets from different directories. Another way to disambiguate would to be use a full path in testing/buildbot/chromium.fyi.json in the config for Site Isolation Android bot. This approach would be more difficult to test locally (i.e. I would have to land and then check if the Site Isolation Android bot got better). Additionally, Android developers might still run into the ambiguity and be confused why ninja says that content_browsertests is an "unknown target". WDYT?
,
Nov 9 2016
I believe that jbudorick@ is voting for option #1 (i.e. https://codereview.chromium.org/2491553002) when commenting at https://codereview.chromium.org/2469353002/#msg47
,
Nov 9 2016
Yeah, I'd vote for #1. We're seeing this elsewhere, too.
,
Nov 9 2016
We need a fix (either a revert of the root cause CL or a fix CL) landed by 2 PM PT or else our builds tonight are going to fail too. Is there a fix patch working its way through the CQ now? If not, can we please revert the root cause from trunk immediately? Note that I just reverted on yesterday night's canary branch, but we still need a fix on trunk.
,
Nov 9 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/774c1826afe25f57b10919d8cc8f8f4423bb926a commit 774c1826afe25f57b10919d8cc8f8f4423bb926a Author: Alex Mineer <amineer@chromium.org> Date: Wed Nov 09 20:20:50 2016 Revert "Convert Site Isolation Win bot to --isolate-extensions [2nd attempt]." This reverts commit e8b43a499acd3df1ff12f08f2652d4acca2695fd. Reverting on branch 2914 (canary branch) only to ship a build today. Please ensure the issue is address on trunk ASAP. BUG=663625, 663785 Cr-Commit-Position: refs/branch-heads/2914@{#3} Cr-Branched-From: a081fcfbc7471a6681142d49491b82f7b8402851-refs/heads/master@{#430837} [modify] https://crrev.com/774c1826afe25f57b10919d8cc8f8f4423bb926a/chrome/test/BUILD.gn [modify] https://crrev.com/774c1826afe25f57b10919d8cc8f8f4423bb926a/content/test/BUILD.gn [modify] https://crrev.com/774c1826afe25f57b10919d8cc8f8f4423bb926a/testing/buildbot/chromium.fyi.json [delete] https://crrev.com/053f6e8e059ceba139a584c213c6cbd046839b8f/testing/buildbot/filters/BUILD.gn
,
Nov 14 2016
,
Nov 14 2016
This was fixed by the revert in https://codereview.chromium.org/2488963003. |
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by lukasza@chromium.org
, Nov 9 2016