Project: chromium Issues People Development process History Sign in
New issue
Advanced search Search tips
Starred by 1 user
Status: Archived
Owner: ----
Closed: Nov 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment
build202-m2 has bad state
Project Member Reported by skau@chromium.org, Nov 16 2016 Back to list
As reported by reef-paladin.  git.lock file needs cleanup

https://uberchromegw.corp.google.com/i/chromeos/builders/reef-paladin/builds/686

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/recipes.py", line 646, in <module>
    ret = main()
  File "/b/build_internal/scripts/slave/.recipe_deps/recipe_engine/recipes.py", 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/package.py", line 634, in create
    RootRepoSpec(proto_file), False)
  File "/b/build_internal/scripts/slave/.recipe_deps/recipe_engine/recipe_engine/package.py", 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/package.py", 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/package.py", line 643, in _create_package
    repo_spec.checkout(self._context)
  File "/b/build_internal/scripts/slave/.recipe_deps/recipe_engine/recipe_engine/package.py", 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/util.py", line 223, in wrapper
    return f(*args, **kwargs)
  File "/b/build_internal/scripts/slave/.recipe_deps/recipe_engine/recipe_engine/fetch.py", line 160, in checkout
    git('reset', '-q', '--hard', revision)
  File "/b/build_internal/scripts/slave/.recipe_deps/recipe_engine/recipe_engine/fetch.py", 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 skau@chromium.org, 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.

https://uberchromegw.corp.google.com/i/chromeos/builders/reef-paladin/builds/689
Comment 3 by skau@chromium.org, Nov 16 2016
Status: Fixed
builder is back up and running.
 Issue 665720  has been merged into this issue.
Comment 5 by dchan@google.com, Mar 4 2017
Labels: VerifyIn-58
Labels: VerifyIn-59
Labels: VerifyIn-60
Labels: VerifyIn-61
Comment 9 by dchan@chromium.org, Oct 14 (3 days ago)
Status: Archived
Sign in to add a comment