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

Issue metadata

Status: Archived
Owner: ----
Closed: Nov 2016
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug

Sign in to add a comment

build202-m2 has bad state

Project Member Reported by, Nov 16 2016 Back to list

Issue description

As reported by reef-paladin.  git.lock file needs cleanup

fatal: Unable to create 
'/b/build_internal/scripts/slave/.recipe_deps/build/.git/index.lock': File exists.
Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.
Traceback (most recent call last):
  File "/b/build_internal/scripts/slave/.recipe_deps/recipe_engine/", line 646, in <module>
    ret = main()
  File "/b/build_internal/scripts/slave/.recipe_deps/recipe_engine/", line 597, in main
    deps_path=args.deps_path, overrides=args.project_override)
  File "/b/build_internal/scripts/slave/.recipe_deps/recipe_engine/recipe_engine/", line 634, in create
    RootRepoSpec(proto_file), False)
  File "/b/build_internal/scripts/slave/.recipe_deps/recipe_engine/recipe_engine/", line 645, in _create_package
    return self._create_from_spec(repo_spec, package_spec, overriding)
  File "/b/build_internal/scripts/slave/.recipe_deps/recipe_engine/recipe_engine/", line 666, in _create_from_spec
    dep_package = self._create_package(dep_repo, overriding)
  File "/b/build_internal/scripts/slave/.recipe_deps/recipe_engine/recipe_engine/", line 643, in _create_package
  File "/b/build_internal/scripts/slave/.recipe_deps/recipe_engine/recipe_engine/", line 199, in checkout
    self.repo, self.revision, checkout_dir, context.allow_fetch)
  File "/b/build_internal/scripts/slave/.recipe_deps/recipe_engine/recipe_engine/", line 223, in wrapper
    return f(*args, **kwargs)
  File "/b/build_internal/scripts/slave/.recipe_deps/recipe_engine/recipe_engine/", line 160, in checkout
    git('reset', '-q', '--hard', revision)
  File "/b/build_internal/scripts/slave/.recipe_deps/recipe_engine/recipe_engine/", line 117, in __call__
    subcommand, e.message,))
GitError: Git "reset" failed: 
Uncaught exception (GitError): Git "reset" failed: 

There is no other running git process that I could find, so removed the file. Let's see if that's good enough.

Comment 2 by, Nov 16 2016

Builder build reef-paladin successfully and is currently building another unit.  Removing the file fixed the problem.  Problem was caused by restarting the builder while a build was ongoing.

Comment 3 by, Nov 16 2016

Status: Fixed
builder is back up and running.
 Issue 665720  has been merged into this issue.

Comment 5 by, Mar 4 2017

Labels: VerifyIn-58

Comment 6 by, Apr 17 2017

Labels: VerifyIn-59

Comment 7 by, May 30 2017

Labels: VerifyIn-60

Comment 8 by, Aug 1 2017

Labels: VerifyIn-61
Status: Archived

Sign in to add a comment