New issue
Advanced search Search tips

Issue 922128 link

Starred by 1 user

Issue metadata

Status: Duplicate
Owner: ----
Closed: Jan 15
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug



Sign in to add a comment

betty-paladin failing to patch in CLs

Project Member Reported by gmeinke@chromium.org, Jan 15

Issue description

Last CQ run betty-paladin failed to patch in CLs:

https://cros-goldeneye.corp.google.com/chromeos/healthmonitoring/buildDetails?buildbucketId=8924250482472607568


08:36:32: INFO: Attempting to apply change chromiumos/overlays/chromiumos-overlay:refs/changes/22/1409822/1:ce95aa7a "Revert "bluetooth: Install newblued upstart script""

08:36:32: ERROR: <class 'chromite.lib.cros_build_lib.RunCommandError'>: return code: 128; command: git checkout -b patch_branch -t refs/remotes/cros/master
fatal: 'refs/remotes/cros/master' is not a commit and a branch 'patch_branch' cannot be created from it

cmd=['git', 'checkout', '-b', 'patch_branch', '-t', u'refs/remotes/cros/master'], cwd=/b/swarming/w/ir/cache/cbuild/repository/src/third_party/chromiumos-overlay
Traceback (most recent call last):
  File "/b/swarming/w/ir/cache/cbuild/repository/chromite/lib/failures_lib.py", line 230, in wrapped_functor
    return functor(*args, **kwargs)
  File "/b/swarming/w/ir/cache/cbuild/repository/chromite/cbuildbot/stages/sync_stages.py", line 789, in PerformStage
    self.ManifestCheckout(new_manifest)
  File "/b/swarming/w/ir/cache/cbuild/repository/chromite/cbuildbot/stages/sync_stages.py", line 1119, in ManifestCheckout
    self.pool.ApplyPoolIntoRepo()
  File "/b/swarming/w/ir/cache/cbuild/repository/chromite/cbuildbot/validation_pool.py", line 870, in ApplyPoolIntoRepo
    self.applied_patches.ApplyChange(change, manifest=manifest)
  File "/b/swarming/w/ir/cache/cbuild/repository/chromite/cbuildbot/patch_series.py", line 305, in f
    return functor(self, *args, **kwargs)
  File "/b/swarming/w/ir/cache/cbuild/repository/chromite/cbuildbot/patch_series.py", line 341, in ApplyChange
    return change.ApplyAgainstManifest(self.manifest, trivial=False)
  File "/b/swarming/w/ir/cache/cbuild/repository/chromite/lib/patch.py", line 1293, in ApplyAgainstManifest
    trivial=trivial)
  File "/b/swarming/w/ir/cache/cbuild/repository/chromite/lib/patch.py", line 1165, in Apply
    ['checkout', '-b', constants.PATCH_BRANCH, '-t', upstream])
  File "/b/swarming/w/ir/cache/cbuild/repository/chromite/lib/git.py", line 785, in RunGit
    return cros_build_lib.RunCommand(['git'] + cmd, **kwargs)
  File "/b/swarming/w/ir/cache/cbuild/repository/chromite/lib/cros_build_lib.py", line 646, in RunCommand
    raise RunCommandError(msg, cmd_result)
RunCommandError: return code: 128; command: git checkout -b patch_branch -t refs/remotes/cros/master
fatal: 'refs/remotes/cros/master' is not a commit and a branch 'patch_branch' cannot be created from it

 
Mergedinto: 919166
Status: Duplicate (was: Untriaged)
Same behavior that we're seeing with corrupted git checkouts.  We want to capture the repo when this occurs so we can try to investigate the root cause.  Right now we're fixing it manually, which is not scaling.

-- Mike

Sign in to add a comment