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

Issue 1722573002: Make swarming dimensions for GPU bots explicit (Closed)

Created:
4 years, 10 months ago by Paweł Hajdan Jr.
Modified:
4 years, 9 months ago
CC:
chromium-reviews, infra-reviews+build_chromium.org, kjellander-cc_chromium.org
Target Ref:
refs/heads/master
Project:
build
Visibility:
Public.

Description

Make swarming dimensions for GPU bots explicit BUG=507402, 579640

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+126 lines, -99 lines) Patch
M scripts/slave/recipe_modules/chromium_tests/chromium_gpu.py View 3 chunks +9 lines, -0 lines 0 comments Download
M scripts/slave/recipe_modules/chromium_tests/chromium_gpu_fyi.py View 6 chunks +18 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_gpu_Mac_10_10_Debug__Intel_.json View 6 chunks +11 lines, -11 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_gpu_Mac_10_10_Retina_Debug__AMD_.json View 6 chunks +11 lines, -11 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_gpu_Mac_10_10_Retina_Release__AMD_.json View 6 chunks +11 lines, -11 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_gpu_fyi_Mac_10_10_Debug__Intel_.json View 6 chunks +11 lines, -11 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_gpu_fyi_Mac_10_10_Release__Intel_.json View 6 chunks +11 lines, -11 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_gpu_fyi_Mac_10_10_Retina_Debug__AMD_.json View 6 chunks +11 lines, -11 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_gpu_fyi_Mac_10_10_Retina_Release__AMD_.json View 6 chunks +11 lines, -11 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_gpu_fyi_Optional_Mac_10_10_Release__Intel_.json View 6 chunks +11 lines, -11 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_gpu_fyi_Optional_Mac_10_10_Retina_Release__AMD_.json View 6 chunks +11 lines, -11 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
Paweł Hajdan Jr.
4 years, 10 months ago (2016-02-22 10:27:29 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1722573002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1722573002/1
4 years, 10 months ago (2016-02-22 10:27:39 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-22 10:30:30 UTC) #6
Ken Russell (switch to Gerrit)
I'm not sure this is the best place for these changes. What tests are failing ...
4 years, 10 months ago (2016-02-22 22:39:39 UTC) #7
Paweł Hajdan Jr.
On 2016/02/22 at 22:39:39, kbr wrote: > I'm not sure this is the best place ...
4 years, 10 months ago (2016-02-23 18:14:10 UTC) #8
Ken Russell (switch to Gerrit)
4 years, 10 months ago (2016-02-23 21:26:32 UTC) #9
On 2016/02/23 18:14:10, Paweł Hajdan Jr. wrote:
> On 2016/02/22 at 22:39:39, kbr wrote:
> > I'm not sure this is the best place for these changes. What tests are
failing
> to specify these in the swarming dimensions? Is there a reason they can't be
> added to the machine descriptions in
> src/content/test/gpu/generate_buildbot_json.py in the Chromium workspace? (The
> OS specifier already seems to be there for these configurations.)
> 
> Please see expectations changing with this CL.
> 
> Note that anything requiring src-side files will NOT be reflected in these
> expectations.

That's the problem -- the swarming dimensions for the GPU tests are all defined
src-side, and there are currently no mocks of these tests in the recipe
simulation tests, so the recipe expectations don't reflect how the targets on
the GPU bots are invoked.

> Is there anything actively wrong with this change?

There is no test covering whether the swarming dimensions that are read from the
src-side JSON files will be merged properly with the dimensions being specified
here. That is the risk with making this change recipe-side. While it will
probably work as expected, at least one test is needed. See for example the
dynamic_swarmed_gtest_mac_gpu test in scripts/slave/recipes/chromium.py. Perhaps
you could create a new test that would mock the build results from "GPU Mac
Builder" and fake a run of gl_tests on one of these 10.10 GPU bots. (That sort
of simulation test was beyond my ability, by the way, which is why I didn't add
one when converting the GPU bots to the Chromium recipe.) Ideally, the fake data
for the chromium recipe's tests would be updated to produce JSON files that are
similar to those that are checked in to the Chromium repo. That would actually
eliminate the need for the changes to chromium_gpu.py and chromium_gpu_fyi.py in
this CL.

> FWIW, I don't have to make it. It just looked suspicious to me our
expectations
> would show dimensions not matching the builder name, and dimensions not
> specified for these bots as other bots do. Please consider looking into this.

I agree with your assessment that the recipe expectations are bogus, but I don't
think that making this change improves the situation. See above for my
suggestion of how to improve the simulation tests for the GPU bots.

Powered by Google App Engine
This is Rietveld 408576698