New issue
Advanced search Search tips

Issue 913634 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug
Build-Toolchain



Sign in to add a comment

cannot sync chrome sources inside chroot

Project Member Reported by manojgupta@chromium.org, Dec 10

Issue description

My local builds are failing since Chrome fails to sync:


Error: Command 'git checkout --quiet 272f3a9feb5bc008d77d6f8a22b90221562b34c2' returned non-zero exit status 128 in /var/cache/chromeos-cache/distfiles/target/chrome-src-internal/tools_internal
fatal: reference is not a tree: 272f3a9feb5bc008d77d6f8a22b90221562b34c2

Repro steps:
a) : USE=chrome_internal ebuild-<board> chromeos-chrome-73.0.3636.0_rc-r1.ebuild prepare
Or
b) /mnt/host/source/chromite/bin/sync_chrome --internal --tag=73.0.3636.0 --reset --gclient=/mnt/host/depot_tools/gclient /var/cache/chromeos-cache/distfiles/target/chrome-src-internal 
 
can you attach the full sync log ?
Attaching the full logs.
chrome_sync.log
1.8 MB View Download
start with this error maybe ?

12:06:05: INFO: RunCommand: /mnt/host/depot_tools/gclient revert --nohooks in /var/cache/chromeos-cache/distfiles/target/chrome-src-internal
depot_tools update failed. Conflict in /mnt/host/depot_tools
fatal: not a git repository (or any of the parent directories): .git

the tools_internal repo checkout failed but seemed to recover.  but then it tried to sync it again ?  i don't know why it would do that.

if it still fails, prob want to bounce over to Chrome infra to take a look as they manage Chrome checkouts & gclient.
Components: Infra
Sure, adding Infra component. Is that enough for Chrome Infra?
Components: -Infra Infra>SDK
Status: Available (was: Untriaged)
Chrome infra bug triage: 
  Not sure if this is something related to depot_tools? If not, feel free to change to other components.

Thanks.
As a work-around, syncing outside the chroot succeeded so it is not blocking me for now.

$ chromite/bin/sync_chrome --reset --ignore_locks --internal --tag 73.0.3636.0 .cache/distfiles/target-master/chrome-src-internal
Labels: -Pri-1 Pri-2

Sign in to add a comment