New issue
Advanced search Search tips

Issue 720171 link

Starred by 1 user

Issue metadata

Status: Archived
Owner:
Closed: May 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

Adjust cros recipe for swarming.

Project Member Reported by dgarr...@chromium.org, May 10 2017

Issue description

Two issues with the recipe have come up during swarming testing.

The property 'mastername' must be specified, but isn't meaningful for swarming. I THINK it's safe to just remove this concept now, but need to config. This can be worked around by giving the valid but 'empty' config name chromiumos.chromium.

The second issue is pathing. 

This is not valid for swarming builds:
  self.m.path['root']

This can be replaced with something like:
  api.path['cache'].join('builder')

Here is an example of code that adjusts between buildbot/swarming:
  https://cs.chromium.org/chromium/tools/depot_tools/recipes/recipe_modules/infra_paths/path_config.py


Sample build showing the patching failure:
https://luci-milo.appspot.com/swarming/task/36085f919e66e410?server=chrome-swarming.appspot.com
 
Is self.m.path[] ever defined for swarming builds? These are the variations I see in use.

self.m.path['root']
self.m.path['start_dir']
self.m.path.c.dynamic_paths.get('chromite')

Comment 2 by d...@chromium.org, May 11 2017

I believe that "start_dir" is used on Swarming. See: https://chromium.googlesource.com/chromium/tools/depot_tools/+/master/recipes/recipe_modules/infra_paths/path_config.py

The "infra_generic" (yes, poorly named) config is the one used on SwarmBucket.

Comment 3 by no...@chromium.org, May 11 2017

paths 'start_dir', 'tmp_base' and 'cache' are defined at the recipe engine level https://cs.chromium.org/chromium/infra/recipes-py/recipe_modules/path/config.py?sq=package:chromium&l=29
Status: Started (was: Untriaged)
Project Member

Comment 5 by bugdroid1@chromium.org, May 12 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/tools/build/+/6423755bf44f611b0bef88c573b83701ec61ffc2

commit 6423755bf44f611b0bef88c573b83701ec61ffc2
Author: Don Garrett <dgarrett@google.com>
Date: Fri May 12 20:50:56 2017

chromite: Recipe helper.

Give the mastername property a default. We use 'mastername' to lookup
per-waterfall configuration information, but swarming doesn't have a
waterfall. Now all swarming builds use the 'master_swarming'
configuration.

BUG= chromium:720171 

Change-Id: Id178366cb6cc9a4bd10a19908c84981e4d7f5d99
Reviewed-on: https://chromium-review.googlesource.com/501330
Reviewed-by: Daniel Jacques <dnj@chromium.org>
Commit-Queue: Don Garrett <dgarrett@chromium.org>

[add] https://crrev.com/6423755bf44f611b0bef88c573b83701ec61ffc2/scripts/slave/recipes/cros/cbuildbot.expected/swarming_builder.json
[modify] https://crrev.com/6423755bf44f611b0bef88c573b83701ec61ffc2/scripts/slave/recipe_modules/chromite/api.py
[modify] https://crrev.com/6423755bf44f611b0bef88c573b83701ec61ffc2/scripts/slave/recipes/cros/cbuildbot.py
[modify] https://crrev.com/6423755bf44f611b0bef88c573b83701ec61ffc2/scripts/slave/recipe_modules/chromite/config.py

Project Member

Comment 6 by bugdroid1@chromium.org, May 12 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/tools/build/+/4fde89076103c315b8c1c1c89ecc9da70c6c6d1e

commit 4fde89076103c315b8c1c1c89ecc9da70c6c6d1e
Author: Don Garrett <dgarrett@google.com>
Date: Fri May 12 23:21:10 2017

chromite: Stop using self.m.path['root'] for swarming builds.

On swarming builds the 'root' path is unavailable, so use
'cache'/cbuild/repository instead.

Bug:  chromium:720171 
Change-Id: I86f79db35c4d7481dcecadacf4c7017605572a52
Reviewed-on: https://chromium-review.googlesource.com/505197
Reviewed-by: Daniel Jacques <dnj@chromium.org>
Commit-Queue: Don Garrett <dgarrett@chromium.org>

[modify] https://crrev.com/4fde89076103c315b8c1c1c89ecc9da70c6c6d1e/scripts/slave/recipes/cros/cbuildbot.expected/swarming_builder.json
[modify] https://crrev.com/4fde89076103c315b8c1c1c89ecc9da70c6c6d1e/scripts/slave/recipe_modules/chromite/api.py
[modify] https://crrev.com/4fde89076103c315b8c1c1c89ecc9da70c6c6d1e/scripts/slave/recipes/cros/cbuildbot.py

After the above changes, I'm getting something totally new:

https://luci-milo.appspot.com/swarming/task/3617f61efa965610?server=chrome-swarming.appspot.com

https://luci-logdog.appspot.com/v/?s=chromeos%2Fbuildbucket%2Fcr-buildbucket.appspot.com%2F8979756123849189792%2F%2B%2Fsteps%2Fensure_goma%2F0%2Fsteps%2Fensure_installed%2F0%2Fstdout

It's failing to install goma?

[P16309 17:11:23.957 service.go:62 E] Failed to load private key JSON - open /creds/service_accounts/service-account-goma-client.json: no such file or directory
[P16309 17:11:23.957 remote.go:95 W] cipd: connectivity error (Get https://chrome-infra-packages.appspot.com/_ah/api/repo/v1/instance/resolve?package_name=infra%2Ftools%2Fcloudtail%2Flinux-amd64&version=goma_recipe_module: open /creds/service_accounts/service-account-goma-client.json: no such file or directory)
[P16309 17:11:23.957 remote.go:95 W] cipd: retrying request to https://chrome-infra-packages.appspot.com/_ah/api/repo/v1/instance/resolve?package_name=infra%2Ftools%2Fcloudtail%2Flinux-amd64&version=goma_recipe_module
[P16309 17:11:25.958 service.go:62 E] Failed to load private key JSON - open /creds/service_accounts/service-account-goma-client.json: no such file or directory
[P16309 17:11:25.958 remote.go:95 W] cipd: connectivity error (Get https://chrome-infra-packages.appspot.com/_ah/api/repo/v1/instance/resolve?package_name=infra%2Ftools%2Fcloudtail%2Flinux-amd64&version=goma_recipe_module: open /creds/service_accounts/service-account-goma-client.json: no such file or directory)
[P16309 17:11:25.958 remote.go:95 W] cipd: retrying request to https://chrome-infra-packages.appspot.com/_ah/api/repo/v1/instance/resolve?package_name=infra%2Ftools%2Fcloudtail%2Flinux-amd64&version=goma_recipe_module
[P16309 17:11:27.958 service.go:62 E] Failed to load private key JSON - open /creds/service_accounts/service-account-goma-client.json: no such file or directory
[P16309 17:11:27.958 remote.go:95 W] cipd: connectivity error (Get https://chrome-infra-packages.appspot.com/_ah/api/repo/v1/instance/resolve?package_name=infra%2Ftools%2Fcloudtail%2Flinux-amd64&version=goma_recipe_module: open /creds/service_accounts/service-account-goma-client.json: no such file or directory)
[P16309 17:11:27.958 remote.go:95 W] cipd: retrying request to https://chrome-infra-packages.appspot.com/_ah/api/repo/v1/instance/resolve?package_name=infra%2Ftools%2Fcloudtail%2Flinux-amd64&version=goma_recipe_module
[P16309 17:11:29.958 service.go:62 E] Failed to load private key JSON - open /creds/service_accounts/service-account-goma-client.json: no such file or directory
[P16309 17:11:29.959 remote.go:95 W] cipd: connectivity error (Get https://chrome-infra-packages.appspot.com/_ah/api/repo/v1/instance/resolve?package_name=infra%2Ftools%2Fcloudtail%2Flinux-amd64&version=goma_recipe_module: open /creds/service_accounts/service-account-goma-client.json: no such file or directory)
[P16309 17:11:29.959 remote.go:95 W] cipd: retrying request to https://chrome-infra-packages.appspot.com/_ah/api/repo/v1/instance/resolve?package_name=infra%2Ftools%2Fcloudtail%2Flinux-amd64&version=goma_recipe_module

Cc: friedman@chromium.org
Elliot, is this related to recent puppet changes?
No, it looks like chromeos-bot ccompute stuff never had these service accounts to begin with... is this the first time you've tried to use goma there?
Another group is in the process of setting up goma on ChromeOS builders, and the recipe currently installs the binaries via CIDP for every build.

This process hasn't been smooth, so these changes have landed and been reverted multiple times, but we are expecting to have the permissions to fetch and use the goma binaries for every ChromeOS builder now.

That said, some of the chromeos-bot ccompute builders are attached to waterfalls that are also installing goma binaries successfully.

A random recent example:

https://uberchromegw.corp.google.com/i/chromeos/builders/auron_yuna-release/builds/1122
Project Member

Comment 11 by bugdroid1@chromium.org, May 15 2017

The following revision refers to this bug:
  https://chrome-internal.googlesource.com/infra/puppet/+/2f473221008a810a4ac28b716b94c2e2f0a59eb8

commit 2f473221008a810a4ac28b716b94c2e2f0a59eb8
Author: Elliott Friedman <friedman@google.com>
Date: Mon May 15 21:31:32 2017

Status: Fixed (was: Started)
chrome-bot@swarm-cros-0:(Linux 14.04):~$ ls /creds/service_accounts/ | grep goma
service-account-goma-client.json
service-account-goma-cloudtail.json
I don't understand what's happening. I'm still seeing the same failures, but the credentials files are present.



https://luci-milo.appspot.com/swarming/task/3617f61efa965610?server=chrome-swarming.appspot.com

...
 USER: chrome-bot
 USERNAME: chrome-bot
 VPYTHON_VIRTUALENV_ROOT: /b/swarming/w/ir/cache/vpython
[P16309 17:11:23.957 service.go:62 E] Failed to load private key JSON - open /creds/service_accounts/service-account-goma-client.json: no such file or directory
[P16309 17:11:23.957 remote.go:95 W] cipd: connectivity error (Get https://chrome-infra-packages.appspot.com/_ah/api/repo/v1/instance/resolve?package_name=infra%2Ftools%2Fcloudtail%2Flinux-amd64&version=goma_recipe_module: open /creds/service_accounts/service-account-goma-client.json: no such file or directory)
[P16309 17:11:23.957 remote.go:95 W] cipd: retrying request to https://chrome-infra-packages.appspot.com/_ah/api/repo/v1/instance/resolve?package_name=infra%2Ftools%2Fcloudtail%2Flinux-amd64&version=goma_recipe_module
...
Status: Started (was: Fixed)
The creds are owned by root, but have a group matching the build account (chrome-bot).

Could CIPD be running as another user?
Ah..... DNJ helped me figure this out.

I was doing a Swarming Retry. On a SwarmBucket build that doesn't work, and instead pulls up the UI for the most recent matching build without rerunning anything. But it pulls it up slowly enough to think that it's actually starting a new build.

Sigh.
It's getting further. We are reaching chromite code, before it dies because 'repo' isn't in the path.

Our builders normally have depot_tools pre-checked out and in the path. Is this not the case for swarming builders?

If not, is this best addressed by a change to the recipe?

Comment 18 by no...@chromium.org, May 16 2017

I assume you use repo recipe module
https://cs.chromium.org/chromium/build/scripts/slave/recipe_modules/

It can be best addressed by moving the module to
depot_tools and using package_repo_resource 

Example: https://chromium.googlesource.com/chromium/tools/depot_tools/+/master/recipes/recipe_modules/gclient/api.py#90

Comment 19 by aut...@google.com, May 16 2017

Labels: -current-issue
We are shelling out to non-CrOps scripts that assume various depot_tools commands are in the path like repo and git-cache.

Cleaning this up is non-trivial and far from risk free.

The recipe already checks out a copy of chromite at TOT. Should I do the same thing with depot_tools, then insert that into the path? Or is there a better approach?

Comment 21 by d...@chromium.org, May 17 2017

Since your recipe already checks out "depot_tools", you can leverage that:

1) Create a recipe module in the "depot_tools" directory, maybe something like "cros_tools" or "cros/tools": https://chromium.googlesource.com/chromium/tools/depot_tools/+/master/recipes/recipe_modules/
2) Have that recipe module simply export:

---

@property
def depot_tool_path(self):
  return self.PACKAGE_REPO_ROOT

---

3) Add a flag to "cbuildbot_launcher" that accepts the "depot_tools" path.
4) Pass that to cbuildbot:

  ...
  '--depot-tools-path', self.m.cros_tools.depot_tools_path,
  ...

At this point, "cbuildbot_launcher" can choose what to do, which (for now) is probably going to be adding it to PATH. You can even have it check out its own HEAD version of "depot_tools" to a temporary directory if the flag is not provided.

If you want to pin "depot_tools", you will have to do your own checkout. That can be done in the recipe or by "cbuildbot_launcher". If you go with the flag approach, pinning in recipe should be easy - just use the "git" module to do a "depot_tools" checkout and pass that path to "cbuildbot_launcher".
I just uploaded a very different CL (which was NOT right). I'll readjust it based on this.

Comment 23 by no...@chromium.org, May 17 2017

Reusing depot_tools recipe module would be probably safe too https://cs.chromium.org/chromium/tools/depot_tools/recipes/recipe_modules/depot_tools/api.py


  ...
  '--depot-tools-path', self.m.depot_tools.PACKAGE_REPO_ROOT,
  ...


up to you
Project Member

Comment 24 by bugdroid1@chromium.org, May 17 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/tools/build/+/5903d958fa5b792df25a290bc8e3f2437da75f28

commit 5903d958fa5b792df25a290bc8e3f2437da75f28
Author: Don Garrett <dgarrett@google.com>
Date: Wed May 17 21:56:19 2017

chromite: Explicitly fetch depot_tools and put in path.

cbuildbot requires depot_tools in the path for a variety of reasons,
but this isn't the norm for swarming builds. So, fetch it and stick it
into the path before invoking cbuildbot.

Also adjust the code for fetching chromite so that we do the same
thing for both. Put both depot_tools and chromite in the cache,
instead of storing them under 'start_dir'.

BUG= chromium:720171 

Change-Id: Ib1fbbc8859bb83a4593dcdaab02175079315bbfb
Reviewed-on: https://chromium-review.googlesource.com/506784
Reviewed-by: Daniel Jacques <dnj@chromium.org>
Commit-Queue: Don Garrett <dgarrett@chromium.org>

[modify] https://crrev.com/5903d958fa5b792df25a290bc8e3f2437da75f28/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/basic_compressed.json
[modify] https://crrev.com/5903d958fa5b792df25a290bc8e3f2437da75f28/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/pre_git_cache_release.json
[modify] https://crrev.com/5903d958fa5b792df25a290bc8e3f2437da75f28/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/unknown_config.json
[modify] https://crrev.com/5903d958fa5b792df25a290bc8e3f2437da75f28/scripts/slave/recipes/cros/cbuildbot.expected/swarming_builder.json
[modify] https://crrev.com/5903d958fa5b792df25a290bc8e3f2437da75f28/scripts/slave/recipe_modules/chromite/api.py
[modify] https://crrev.com/5903d958fa5b792df25a290bc8e3f2437da75f28/scripts/slave/recipes/cros/cbuildbot.expected/chromiumos_paladin_buildbucket.json
[modify] https://crrev.com/5903d958fa5b792df25a290bc8e3f2437da75f28/scripts/slave/recipes/cros/cbuildbot.expected/chromiumos_paladin.json
[modify] https://crrev.com/5903d958fa5b792df25a290bc8e3f2437da75f28/scripts/slave/recipes/cros/cbuildbot.expected/chromiumos_coverage.json
[modify] https://crrev.com/5903d958fa5b792df25a290bc8e3f2437da75f28/scripts/slave/recipes/cros/cbuildbot.expected/chromiumos_chromium_builder.json
[modify] https://crrev.com/5903d958fa5b792df25a290bc8e3f2437da75f28/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/release_branch_one_param.json
[modify] https://crrev.com/5903d958fa5b792df25a290bc8e3f2437da75f28/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/pre_cq_buildbucket_config.json
[modify] https://crrev.com/5903d958fa5b792df25a290bc8e3f2437da75f28/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/release.json
[modify] https://crrev.com/5903d958fa5b792df25a290bc8e3f2437da75f28/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/external.json
[modify] https://crrev.com/5903d958fa5b792df25a290bc8e3f2437da75f28/scripts/slave/recipes/ndk/ndk_buildbot.expected/basic.json
[modify] https://crrev.com/5903d958fa5b792df25a290bc8e3f2437da75f28/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/release_branch_two_params.json
[modify] https://crrev.com/5903d958fa5b792df25a290bc8e3f2437da75f28/scripts/slave/recipes/cros/cbuildbot.expected/chromiumos_coverage_variant.json
[modify] https://crrev.com/5903d958fa5b792df25a290bc8e3f2437da75f28/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/internal.json
[modify] https://crrev.com/5903d958fa5b792df25a290bc8e3f2437da75f28/scripts/slave/recipes/cros/cbuildbot.expected/chromiumos_paladin_manifest_failure.json

Project Member

Comment 25 by bugdroid1@chromium.org, May 17 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/tools/build/+/48e7709a6985dca0691e7d8be35f54c54d0dac92

commit 48e7709a6985dca0691e7d8be35f54c54d0dac92
Author: Don Garrett <dgarrett@google.com>
Date: Wed May 17 22:55:58 2017

chromite: Use cros_git_cache cache entry, not fixed path.

Swarming broke because /b/git-cache-dir didn't exist on the bots, so
use a cache dir which is better practice anway.

BUG= chromium:720171 

Change-Id: I63acfaca0a2ce68794ea7733ea93c2d46b976bf9
Reviewed-on: https://chromium-review.googlesource.com/508214
Reviewed-by: Daniel Jacques <dnj@chromium.org>
Commit-Queue: Daniel Jacques <dnj@chromium.org>

[modify] https://crrev.com/48e7709a6985dca0691e7d8be35f54c54d0dac92/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/basic_compressed.json
[modify] https://crrev.com/48e7709a6985dca0691e7d8be35f54c54d0dac92/scripts/slave/recipe_modules/chromite/config.py
[modify] https://crrev.com/48e7709a6985dca0691e7d8be35f54c54d0dac92/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/pre_git_cache_release.json
[modify] https://crrev.com/48e7709a6985dca0691e7d8be35f54c54d0dac92/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/unknown_config.json
[modify] https://crrev.com/48e7709a6985dca0691e7d8be35f54c54d0dac92/scripts/slave/recipes/cros/cbuildbot.expected/swarming_builder.json
[modify] https://crrev.com/48e7709a6985dca0691e7d8be35f54c54d0dac92/scripts/slave/recipe_modules/chromite/api.py
[modify] https://crrev.com/48e7709a6985dca0691e7d8be35f54c54d0dac92/scripts/slave/recipes/cros/cbuildbot.expected/chromiumos_paladin_buildbucket.json
[modify] https://crrev.com/48e7709a6985dca0691e7d8be35f54c54d0dac92/scripts/slave/recipes/cros/cbuildbot.expected/chromiumos_paladin.json
[modify] https://crrev.com/48e7709a6985dca0691e7d8be35f54c54d0dac92/scripts/slave/recipes/cros/cbuildbot.expected/chromiumos_coverage.json
[modify] https://crrev.com/48e7709a6985dca0691e7d8be35f54c54d0dac92/scripts/slave/recipes/cros/cbuildbot.expected/chromiumos_chromium_builder.json
[modify] https://crrev.com/48e7709a6985dca0691e7d8be35f54c54d0dac92/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/release_branch_one_param.json
[modify] https://crrev.com/48e7709a6985dca0691e7d8be35f54c54d0dac92/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/pre_cq_buildbucket_config.json
[modify] https://crrev.com/48e7709a6985dca0691e7d8be35f54c54d0dac92/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/release.json
[modify] https://crrev.com/48e7709a6985dca0691e7d8be35f54c54d0dac92/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/external.json
[modify] https://crrev.com/48e7709a6985dca0691e7d8be35f54c54d0dac92/scripts/slave/recipes/ndk/ndk_buildbot.expected/basic.json
[modify] https://crrev.com/48e7709a6985dca0691e7d8be35f54c54d0dac92/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/release_branch_two_params.json
[modify] https://crrev.com/48e7709a6985dca0691e7d8be35f54c54d0dac92/scripts/slave/recipes/cros/cbuildbot.expected/chromiumos_coverage_variant.json
[modify] https://crrev.com/48e7709a6985dca0691e7d8be35f54c54d0dac92/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/internal.json

Project Member

Comment 26 by bugdroid1@chromium.org, May 17 2017

Labels: merge-merged-config
The following revision refers to this bug:
  https://chrome-internal.googlesource.com/chromeos/manifest-internal/+/6fb43790b7225ec54eca91a75d92dba9e64e255c

commit 6fb43790b7225ec54eca91a75d92dba9e64e255c
Author: Don Garrett <dgarrett@google.com>
Date: Wed May 17 23:15:57 2017

Project Member

Comment 27 by bugdroid1@chromium.org, May 17 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/tools/build/+/dd7c881ce81e4530ad0158988c1f952dbe746aef

commit dd7c881ce81e4530ad0158988c1f952dbe746aef
Author: Don Garrett <dgarrett@google.com>
Date: Wed May 17 23:20:21 2017

chromite: Revise git-cache cache name to be standard.

BUG= chromium:720171 
R=dnj@chromium.org

Change-Id: If55d3238d2a0abf245ac353ac75ae0cfcbff8716
Reviewed-on: https://chromium-review.googlesource.com/508117
Reviewed-by: Daniel Jacques <dnj@chromium.org>
Commit-Queue: Daniel Jacques <dnj@chromium.org>

[modify] https://crrev.com/dd7c881ce81e4530ad0158988c1f952dbe746aef/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/basic_compressed.json
[modify] https://crrev.com/dd7c881ce81e4530ad0158988c1f952dbe746aef/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/pre_git_cache_release.json
[modify] https://crrev.com/dd7c881ce81e4530ad0158988c1f952dbe746aef/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/unknown_config.json
[modify] https://crrev.com/dd7c881ce81e4530ad0158988c1f952dbe746aef/scripts/slave/recipes/cros/cbuildbot.expected/swarming_builder.json
[modify] https://crrev.com/dd7c881ce81e4530ad0158988c1f952dbe746aef/scripts/slave/recipe_modules/chromite/api.py
[modify] https://crrev.com/dd7c881ce81e4530ad0158988c1f952dbe746aef/scripts/slave/recipes/cros/cbuildbot.expected/chromiumos_paladin_buildbucket.json
[modify] https://crrev.com/dd7c881ce81e4530ad0158988c1f952dbe746aef/scripts/slave/recipes/cros/cbuildbot.expected/chromiumos_paladin.json
[modify] https://crrev.com/dd7c881ce81e4530ad0158988c1f952dbe746aef/scripts/slave/recipes/cros/cbuildbot.expected/chromiumos_coverage.json
[modify] https://crrev.com/dd7c881ce81e4530ad0158988c1f952dbe746aef/scripts/slave/recipes/cros/cbuildbot.expected/chromiumos_chromium_builder.json
[modify] https://crrev.com/dd7c881ce81e4530ad0158988c1f952dbe746aef/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/release_branch_one_param.json
[modify] https://crrev.com/dd7c881ce81e4530ad0158988c1f952dbe746aef/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/pre_cq_buildbucket_config.json
[modify] https://crrev.com/dd7c881ce81e4530ad0158988c1f952dbe746aef/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/release.json
[modify] https://crrev.com/dd7c881ce81e4530ad0158988c1f952dbe746aef/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/external.json
[modify] https://crrev.com/dd7c881ce81e4530ad0158988c1f952dbe746aef/scripts/slave/recipes/ndk/ndk_buildbot.expected/basic.json
[modify] https://crrev.com/dd7c881ce81e4530ad0158988c1f952dbe746aef/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/release_branch_two_params.json
[modify] https://crrev.com/dd7c881ce81e4530ad0158988c1f952dbe746aef/scripts/slave/recipes/cros/cbuildbot.expected/chromiumos_coverage_variant.json
[modify] https://crrev.com/dd7c881ce81e4530ad0158988c1f952dbe746aef/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/internal.json

Project Member

Comment 28 by bugdroid1@chromium.org, May 17 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/tools/build/+/469eb2aa0ebc7882ca7ad20d26add15a3d4c632c

commit 469eb2aa0ebc7882ca7ad20d26add15a3d4c632c
Author: Don Garrett <dgarrett@google.com>
Date: Wed May 17 23:53:45 2017

chromite: Set LANG to a known value.

LANG was different between swarming and buildbot, so set it to make it
the same everywhere.

BUG= chromium:720171 

Change-Id: I08fb624441279fb68a452d6368d485980c514fac
Reviewed-on: https://chromium-review.googlesource.com/508281
Reviewed-by: Daniel Jacques <dnj@chromium.org>
Commit-Queue: Daniel Jacques <dnj@chromium.org>

[modify] https://crrev.com/469eb2aa0ebc7882ca7ad20d26add15a3d4c632c/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/basic_compressed.json
[modify] https://crrev.com/469eb2aa0ebc7882ca7ad20d26add15a3d4c632c/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/pre_git_cache_release.json
[modify] https://crrev.com/469eb2aa0ebc7882ca7ad20d26add15a3d4c632c/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/unknown_config.json
[modify] https://crrev.com/469eb2aa0ebc7882ca7ad20d26add15a3d4c632c/scripts/slave/recipes/cros/cbuildbot.expected/swarming_builder.json
[modify] https://crrev.com/469eb2aa0ebc7882ca7ad20d26add15a3d4c632c/scripts/slave/recipe_modules/chromite/api.py
[modify] https://crrev.com/469eb2aa0ebc7882ca7ad20d26add15a3d4c632c/scripts/slave/recipes/cros/cbuildbot.expected/chromiumos_paladin_buildbucket.json
[modify] https://crrev.com/469eb2aa0ebc7882ca7ad20d26add15a3d4c632c/scripts/slave/recipes/cros/cbuildbot.expected/chromiumos_paladin.json
[modify] https://crrev.com/469eb2aa0ebc7882ca7ad20d26add15a3d4c632c/scripts/slave/recipes/cros/cbuildbot.expected/chromiumos_coverage.json
[modify] https://crrev.com/469eb2aa0ebc7882ca7ad20d26add15a3d4c632c/scripts/slave/recipes/cros/cbuildbot.expected/chromiumos_chromium_builder.json
[modify] https://crrev.com/469eb2aa0ebc7882ca7ad20d26add15a3d4c632c/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/release_branch_one_param.json
[modify] https://crrev.com/469eb2aa0ebc7882ca7ad20d26add15a3d4c632c/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/pre_cq_buildbucket_config.json
[modify] https://crrev.com/469eb2aa0ebc7882ca7ad20d26add15a3d4c632c/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/release.json
[modify] https://crrev.com/469eb2aa0ebc7882ca7ad20d26add15a3d4c632c/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/external.json
[modify] https://crrev.com/469eb2aa0ebc7882ca7ad20d26add15a3d4c632c/scripts/slave/recipes/ndk/ndk_buildbot.expected/basic.json
[modify] https://crrev.com/469eb2aa0ebc7882ca7ad20d26add15a3d4c632c/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/release_branch_two_params.json
[modify] https://crrev.com/469eb2aa0ebc7882ca7ad20d26add15a3d4c632c/scripts/slave/recipes/cros/cbuildbot.expected/chromiumos_coverage_variant.json
[modify] https://crrev.com/469eb2aa0ebc7882ca7ad20d26add15a3d4c632c/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/internal.json

Project Member

Comment 29 by bugdroid1@chromium.org, May 19 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/chromite/+/86fec48d6608705e3298d398441ce3938e95150d

commit 86fec48d6608705e3298d398441ce3938e95150d
Author: Don Garrett <dgarrett@google.com>
Date: Fri May 19 20:57:37 2017

cbuildbot_launch: Set LANG.

An unset, or misset LANG variable can cause repo sync to fail,
especially when syncing the kernel, so force it to have the expected
value.

BUG= chromium:720171 
TEST=Unittests

Change-Id: I55ff36821e58a6b95e7d9b5a762586a1ed5ead59
Reviewed-on: https://chromium-review.googlesource.com/508218
Commit-Ready: Don Garrett <dgarrett@chromium.org>
Tested-by: Don Garrett <dgarrett@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[modify] https://crrev.com/86fec48d6608705e3298d398441ce3938e95150d/scripts/cbuildbot_launch.py
[modify] https://crrev.com/86fec48d6608705e3298d398441ce3938e95150d/scripts/cbuildbot_launch_unittest.py

Project Member

Comment 30 by bugdroid1@chromium.org, May 19 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/tools/build/+/2537c8c2d9fb1b2aa5def9315e0d48da41e93871

commit 2537c8c2d9fb1b2aa5def9315e0d48da41e93871
Author: Don Garrett <dgarrett@google.com>
Date: Fri May 19 21:44:45 2017

chromite: Stop setting LANG to a known value.

cbuildbot_launch is now robust against unset LANG values, so no need
for the recipe to fix this up for us.

BUG= chromium:720171 

Change-Id: I2e9f6cded679840f796f96bb0e5201b5e0a7876b
Reviewed-on: https://chromium-review.googlesource.com/509897
Reviewed-by: Daniel Jacques <dnj@chromium.org>
Commit-Queue: Don Garrett <dgarrett@chromium.org>

[modify] https://crrev.com/2537c8c2d9fb1b2aa5def9315e0d48da41e93871/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/basic_compressed.json
[modify] https://crrev.com/2537c8c2d9fb1b2aa5def9315e0d48da41e93871/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/pre_git_cache_release.json
[modify] https://crrev.com/2537c8c2d9fb1b2aa5def9315e0d48da41e93871/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/unknown_config.json
[modify] https://crrev.com/2537c8c2d9fb1b2aa5def9315e0d48da41e93871/scripts/slave/recipes/cros/cbuildbot.expected/swarming_builder.json
[modify] https://crrev.com/2537c8c2d9fb1b2aa5def9315e0d48da41e93871/scripts/slave/recipe_modules/chromite/api.py
[modify] https://crrev.com/2537c8c2d9fb1b2aa5def9315e0d48da41e93871/scripts/slave/recipes/cros/cbuildbot.expected/chromiumos_paladin_buildbucket.json
[modify] https://crrev.com/2537c8c2d9fb1b2aa5def9315e0d48da41e93871/scripts/slave/recipes/cros/cbuildbot.expected/chromiumos_paladin.json
[modify] https://crrev.com/2537c8c2d9fb1b2aa5def9315e0d48da41e93871/scripts/slave/recipes/cros/cbuildbot.expected/chromiumos_coverage.json
[modify] https://crrev.com/2537c8c2d9fb1b2aa5def9315e0d48da41e93871/scripts/slave/recipes/cros/cbuildbot.expected/chromiumos_chromium_builder.json
[modify] https://crrev.com/2537c8c2d9fb1b2aa5def9315e0d48da41e93871/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/release_branch_one_param.json
[modify] https://crrev.com/2537c8c2d9fb1b2aa5def9315e0d48da41e93871/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/pre_cq_buildbucket_config.json
[modify] https://crrev.com/2537c8c2d9fb1b2aa5def9315e0d48da41e93871/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/release.json
[modify] https://crrev.com/2537c8c2d9fb1b2aa5def9315e0d48da41e93871/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/external.json
[modify] https://crrev.com/2537c8c2d9fb1b2aa5def9315e0d48da41e93871/scripts/slave/recipes/ndk/ndk_buildbot.expected/basic.json
[modify] https://crrev.com/2537c8c2d9fb1b2aa5def9315e0d48da41e93871/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/release_branch_two_params.json
[modify] https://crrev.com/2537c8c2d9fb1b2aa5def9315e0d48da41e93871/scripts/slave/recipes/cros/cbuildbot.expected/chromiumos_coverage_variant.json
[modify] https://crrev.com/2537c8c2d9fb1b2aa5def9315e0d48da41e93871/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/internal.json

Project Member

Comment 31 by bugdroid1@chromium.org, May 19 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/tools/build/+/2537c8c2d9fb1b2aa5def9315e0d48da41e93871

commit 2537c8c2d9fb1b2aa5def9315e0d48da41e93871
Author: Don Garrett <dgarrett@google.com>
Date: Fri May 19 21:44:45 2017

chromite: Stop setting LANG to a known value.

cbuildbot_launch is now robust against unset LANG values, so no need
for the recipe to fix this up for us.

BUG= chromium:720171 

Change-Id: I2e9f6cded679840f796f96bb0e5201b5e0a7876b
Reviewed-on: https://chromium-review.googlesource.com/509897
Reviewed-by: Daniel Jacques <dnj@chromium.org>
Commit-Queue: Don Garrett <dgarrett@chromium.org>

[modify] https://crrev.com/2537c8c2d9fb1b2aa5def9315e0d48da41e93871/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/basic_compressed.json
[modify] https://crrev.com/2537c8c2d9fb1b2aa5def9315e0d48da41e93871/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/pre_git_cache_release.json
[modify] https://crrev.com/2537c8c2d9fb1b2aa5def9315e0d48da41e93871/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/unknown_config.json
[modify] https://crrev.com/2537c8c2d9fb1b2aa5def9315e0d48da41e93871/scripts/slave/recipes/cros/cbuildbot.expected/swarming_builder.json
[modify] https://crrev.com/2537c8c2d9fb1b2aa5def9315e0d48da41e93871/scripts/slave/recipe_modules/chromite/api.py
[modify] https://crrev.com/2537c8c2d9fb1b2aa5def9315e0d48da41e93871/scripts/slave/recipes/cros/cbuildbot.expected/chromiumos_paladin_buildbucket.json
[modify] https://crrev.com/2537c8c2d9fb1b2aa5def9315e0d48da41e93871/scripts/slave/recipes/cros/cbuildbot.expected/chromiumos_paladin.json
[modify] https://crrev.com/2537c8c2d9fb1b2aa5def9315e0d48da41e93871/scripts/slave/recipes/cros/cbuildbot.expected/chromiumos_coverage.json
[modify] https://crrev.com/2537c8c2d9fb1b2aa5def9315e0d48da41e93871/scripts/slave/recipes/cros/cbuildbot.expected/chromiumos_chromium_builder.json
[modify] https://crrev.com/2537c8c2d9fb1b2aa5def9315e0d48da41e93871/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/release_branch_one_param.json
[modify] https://crrev.com/2537c8c2d9fb1b2aa5def9315e0d48da41e93871/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/pre_cq_buildbucket_config.json
[modify] https://crrev.com/2537c8c2d9fb1b2aa5def9315e0d48da41e93871/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/release.json
[modify] https://crrev.com/2537c8c2d9fb1b2aa5def9315e0d48da41e93871/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/external.json
[modify] https://crrev.com/2537c8c2d9fb1b2aa5def9315e0d48da41e93871/scripts/slave/recipes/ndk/ndk_buildbot.expected/basic.json
[modify] https://crrev.com/2537c8c2d9fb1b2aa5def9315e0d48da41e93871/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/release_branch_two_params.json
[modify] https://crrev.com/2537c8c2d9fb1b2aa5def9315e0d48da41e93871/scripts/slave/recipes/cros/cbuildbot.expected/chromiumos_coverage_variant.json
[modify] https://crrev.com/2537c8c2d9fb1b2aa5def9315e0d48da41e93871/scripts/slave/recipes/cros/cbuildbot_tryjob.expected/internal.json

Status: Fixed (was: Started)
Labels: VerifyIn-61

Comment 34 by dchan@chromium.org, Jan 22 2018

Status: Archived (was: Fixed)

Sign in to add a comment