New issue
Advanced search Search tips

Issue 898204 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Oct 24
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug

Blocking:
issue 897597



Sign in to add a comment

Unable to repo sync to some release manifests

Project Member Reported by kcwu@chromium.org, Oct 23

Issue description

Due to the same reason as  issue 892292 , the manifest file of chromeos between 11085.0.0 and 11145.0.0 are broken. They referenced some SHA1 of "chromiumos/third_party/kernel", which do not exist in the corresponding git repo on the server.

In other words, developers are no longer able to checkout those manifest file and build the exact version of chromeos images. It's also impossible to bisect issues within this range.

groeck,
Could you please copy commits referenced by the manifest files between 11085.0.0 and 11145.0.0 from kernel-next to kernel ?

Sample links to demo this issue:
https://chrome-internal.googlesource.com/chromeos/manifest-versions/+/master/buildspecs/71/11085.0.0.xml#474
with line
<project name="chromiumos/third_party/kernel" path="src/third_party/kernel/next" revision="2266c3bc5c015cb15a3d2ff1150d8150a97f8860" upstream="refs/heads/next/chromeos-next"/>

however, https://chromium.googlesource.com/chromiumos/third_party/kernel/+/2266c3bc5c015cb15a3d2ff1150d8150a97f8860 is 404 not found
it exists on https://chromium.googlesource.com/chromiumos/third_party/kernel-next/+/2266c3bc5c015cb15a3d2ff1150d8150a97f8860 instead.

 
Blocking: 897597
Cc: groeck@chromium.org vapier@chromium.org
Components: OS>Kernel
Owner: vapier@chromium.org
Status: Fixed (was: Unconfirmed)
yes, the kernel repo rewrote its history in this period and is known to have broken historical manifests

i've created a dummy branch named "old-next-11085-crbug-898204" to point to 2266c3bc5c015cb15a3d2ff1150d8150a97f8860 which i think should fix syncing that range.

if you see any other historical manifests break, please re-open with links to the specific versioned manifest like you did in comment #0 (which was very helpful).
i created the branch in kernel-next.  the manifest you linked to is pulling 2266c3bc5c015cb15a3d2ff1150d8150a97f8860 from kernel-next.  so what manifest are you using that wants 2266c3bc5c015cb15a3d2ff1150d8150a97f8860 in the kernel repo ?
Status: Assigned (was: Fixed)
No, the manifest is pulling the said CL from kernel, not kernel-next.

The command line to reproduce this issue:
$ repo init -u https://chrome-internal.googlesource.com/chromeos/manifest-versions -m buildspecs/71/11085.0.0.xml --repo-url https://chromium.googlesource.com/external/repo.git
$ repo sync
error: Cannot fetch chromiumos/third_party/kernel (GitError: chromiumos/third_party/kernel update-ref: fatal: 2266c3bc5c015cb15a3d2ff1150d8150a97f8860^0: not a valid SHA1
)

I did that already by creating all the necessay branches in the kernel repository, as part of the fix for  issue 892292 . Since then, someone went in and deleted all those branches. I am not going to do the work again since I have to assume that this someone (or some automated script) will undo my work again. Whoever removed the branches, or caused those branches to be removed, should be the one to re-create them. I'll leave this bug open for a day and then close as WontFix.

... well, unless vapier wants to find a different solution. Sorry, I had the impression this was assigned to me.

Status: Fixed (was: Assigned)
sorry, i misread the manifest line when it said "kernel-next" in the path when i should have been looking at the line

i've pushed the branch mentioned in comment #2 to the kernel.git repo now which fixes syncing this manifest

Sign in to add a comment