New issue
Advanced search Search tips

Issue 707313 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Apr 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug



Sign in to add a comment

"gclient sync" is flaky on ios-simulator tryserver

Project Member Reported by chromium...@appspot.gserviceaccount.com, Mar 31 2017

Issue description

"isolate.archive" is flaky.

This issue was created automatically by the chromium-try-flakes app. Please find the right owner to fix the respective test/step and assign this issue to them. If the step/test is infrastructure-related, please add Infra-Troopers label and change issue status to Untriaged. When done, please remove the issue from Sheriff Bug Queue by removing the Sheriff-Chromium label.

We have detected 12 recent flakes. List of all flakes can be found at https://chromium-try-flakes.appspot.com/all_flake_occurrences?key=ahVzfmNocm9taXVtLXRyeS1mbGFrZXNyGgsSBUZsYWtlIg9pc29sYXRlLmFyY2hpdmUM.


 
Labels: -Sheriff-Chromium Infra-Troopers
Summary: "gclient sync" is flaky on ios-simulator tryserver (was: "isolate.archive" is flaky)
Traceback (most recent call last):
  File "/b/build/../depot_tools/gclient.py", line 2129, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/b/build/../depot_tools/gclient.py", line 2115, in main
    return dispatcher.execute(OptionParser(), argv)
  File "/b/depot_tools/subcommand.py", line 252, in execute
    return command(parser, args[1:])
  File "/b/build/../depot_tools/gclient.py", line 1866, in CMDsync
    client = GClient.LoadCurrentConfig(options)
  File "/b/build/../depot_tools/gclient.py", line 1251, in LoadCurrentConfig
    path = gclient_utils.FindGclientRoot(os.getcwd(), options.config_filename)
  File "/b/depot_tools/gclient_utils.py", line 622, in FindGclientRoot
    all_directories = scope['entries'].keys()
KeyError: 'entries'
Owner: aga...@chromium.org
Status: Started (was: Untriaged)
Both update_scripts and isolate.archive are failing. It may be that the former is causing the latter. It looks like the failures are generally on a single host: https://build.chromium.org/p/tryserver.chromium.mac/buildslaves/vm1073-m4

I ssh'd in and it turns out that the .gclient_entries file existed but was empty. gclient doesn't handle this case well, apparently. I deleted the file, manually synced, and now it appears to be working again.
https://chromium-review.googlesource.com/466688 for a long term fix
Project Member

Comment 4 by bugdroid1@chromium.org, Apr 3 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/tools/depot_tools/+/3721ee91febb5b8705a867efddddb9ee2ce65b10

commit 3721ee91febb5b8705a867efddddb9ee2ce65b10
Author: Aaron Gable <agable@chromium.org>
Date: Mon Apr 03 22:13:35 2017

gclient: Don't die on empty .gclient_entries file

Bug:  707313 
Change-Id: Ic3860aa6b9aeaba3ec02ab8dac8dd63429f917cc
Reviewed-on: https://chromium-review.googlesource.com/466688
Reviewed-by: Erik Staab <estaab@chromium.org>
Commit-Queue: Aaron Gable <agable@chromium.org>

[modify] https://crrev.com/3721ee91febb5b8705a867efddddb9ee2ce65b10/gclient.py

Status: Fixed (was: Started)

Sign in to add a comment