New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 641005 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Sep 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

"analyze: No compile necessary" but compiles anyway for blink tests

Project Member Reported by cbiesin...@chromium.org, Aug 25 2016

Issue description

https://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/281143

The analyze step says
analyze output:
{
  "compile_targets": [], 
  "status": "No dependency", 
  "test_targets": []
}

and
analyze analyze
No compile necessary 

Yet, this is clearly compiling something. Did something break?
 
Screenshot from 2016-08-25 12:28:26.png
27.9 KB View Download
Cc: tansell@chromium.org qyears...@chromium.org phajdan.jr@chromium.org
Summary: "analyze: No compile necessary" but compiles anyway for blink tests (was: "analyze: No compile necessary" but compiles anyway)
The way the build recipe is currently implemented, we will only attempt to run the blink tests for changes in some directories, and when we do do that, we bypass the results of the analyze step and build and run them anyway. 

This was necessary when the builders were using GYP, but in GN we can correctly determine the dependencies and shouldn't need to bypass things.
Labels: -Build-Tools OS-All
Status: Available (was: Untriaged)
Components: Blink>Infra Infra>Client>Chrome
Fixing this will involve removing the special logic for layout tests which is at: https://cs.chromium.org/chromium/build/scripts/slave/recipe_modules/chromium_tests/api.py?l=963.
We don't need to remove all of the special logic. It's more a bug that we're not respecting the analyze results here. Moving to swarming the layout tests will fix this, but it's easy enough to fix this in the meantime, too.
Owner: tansell@chromium.org
Status: Started (was: Available)
With layout tests on swarming being rolled out, this is pretty much in the process of being fixed.

The only case where this is still happening is where BlinkTest is manually added to the builder in the config. When the BlinkTest object is removed this will no longer be happening. 
Cc: -tansell@chromium.org
Status: Fixed (was: Started)
With LayoutTests on Swarming running everywhere, this should be fixed.

There might still be some minor cases where this still occurs but they will soon be removed as the special case logic is removed in the next couple of weeks.

Sign in to add a comment