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

Issue 779940 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 842018
Owner:
Last visit > 30 days ago
Closed: May 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

Retry 'git rebase' in the Uprev stage.

Project Member Reported by nxia@chromium.org, Oct 31 2017

Issue description

Hit the Pre-CQ git failure twice today, should retry the git operation ?

https://chromium-review.googlesource.com/c/chromiumos/chromite/+/737519/6

https://luci-milo.appspot.com/buildbot/chromiumos.tryserver/no_vmtest_pre_cq/161468


21:59:52: INFO: Skip: Determined that none of the ebuild chromeos-config-bsp rev_subdirs was touched []
cros_mark_as_stable: Unhandled exception:
Traceback (most recent call last):
  File "/b/c/cbuild/repository/chromite/bin/cros_mark_as_stable", line 169, in <module>
    DoMain()
  File "/b/c/cbuild/repository/chromite/bin/cros_mark_as_stable", line 165, in DoMain
    commandline.ScriptWrapperMain(FindTarget)
  File "/b/c/cbuild/repository/chromite/lib/commandline.py", line 911, in ScriptWrapperMain
    ret = target(argv[1:])
  File "/b/c/cbuild/repository/chromite/scripts/cros_mark_as_stable.py", line 304, in main
    git.RunGit(overlay, ['rebase', existing_commit])
  File "/b/c/cbuild/repository/chromite/lib/git.py", line 821, in RunGit
    ['git'] + cmd, **kwargs)
  File "/b/c/cbuild/repository/chromite/lib/retry_util.py", line 244, in GenericRetry
    return _run()
  File "/b/c/cbuild/repository/chromite/lib/retry_util.py", line 177, in _Wrapper
    ret = func(*args, **kwargs)
  File "/b/c/cbuild/repository/chromite/lib/retry_util.py", line 243, in _run
    return functor(*args, **kwargs)
  File "/b/c/cbuild/repository/chromite/lib/cros_build_lib.py", line 654, in RunCommand
    raise RunCommandError(msg, cmd_result)
chromite.lib.cros_build_lib.RunCommandError: return code: 1; command: git rebase 58e115b44f5c2f3c9d792651762131decaef152b
fatal: update_ref failed for ref 'refs/heads/stabilizing_branch': cannot lock ref 'refs/heads/stabilizing_branch': Unable to create '/b/c/cbuild/repository/src/private-overlays/chipset-kbl-private/.git/refs/heads/stabilizing_branch.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.
Could not move back to refs/heads/stabilizing_branch
First, rewinding head to replay your work on top of it...
Fast-forwarded stabilizing_branch to 58e115b44f5c2f3c9d792651762131decaef152b.
 
Components: -Infra>Client>ChromeOS Infra>Client>ChromeOS>Build

Comment 2 by nxia@chromium.org, May 18 2018

Components: -Infra>Client>ChromeOS>Build Infra>Client>ChromeOS>CI
Status: Available (was: Untriaged)
Mergedinto: 842018
Status: Duplicate (was: Available)

Sign in to add a comment