Build failures due to git bundle not supported by repo tool itself

Bug #1181907 reported by vishal
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Android Infrastructure
Fix Released
Critical
Paul Sokolovsky

Bug Description

repo init failing in all the daily builds:
Fails with following error:
repo init -u git://android.git.linaro.org/platform/manifest.git -b linaro-aosp-master -m default.xml --repo-url=http://android.git.linaro.org/git-ro/tools/repo --reference=/mnt/jenkins/workspace/linaro-android_galaxynexus-aosp-master/build/uniseed -g all,-notdefault,-eclipse
gpg: keyring `/home/jenkins-build/.repoconfig/gnupg/secring.gpg' created
gpg: keyring `/home/jenkins-build/.repoconfig/gnupg/pubring.gpg' created
gpg: /home/jenkins-build/.repoconfig/gnupg/trustdb.gpg: trustdb created
gpg: key 920F5C65: public key "Repo Maintainer <email address hidden>" imported
gpg: key 338871A4: public key "Conley Owens <email address hidden>" imported
gpg: Total number processed: 2
gpg: imported: 2 (RSA: 1)
Get http://android.git.linaro.org/git-ro/tools/repo/clone.bundle

fatal: branch 'stable' has not been signed

vishal (vishalbhoj)
Changed in linaro-android-infrastructure:
assignee: nobody → Paul Sokolovsky (pfalcon)
Fathi Boudra (fboudra)
Changed in linaro-android-infrastructure:
assignee: Paul Sokolovsky (pfalcon) → nobody
milestone: none → 2013.03
milestone: 2013.03 → 2013.05
importance: Undecided → Critical
Changed in linaro-android-infrastructure:
assignee: nobody → Paul Sokolovsky (pfalcon)
Changed in linaro-android-infrastructure:
status: New → In Progress
Revision history for this message
Paul Sokolovsky (pfalcon) wrote :

How to reproduce locally:

$ REPO_TRACE=1 repo init -u http://android.git.linaro.org/git-ro/platform/manifest.git -b linaro_android_4.2.2 -m default.xml --repo-url=http://android.git.linaro.org/git-ro/tools/repo
Get http://android.git.linaro.org/git-ro/tools/repo/clone.bundle

fatal: branch 'stable' has not been signed

Revision history for this message
Paul Sokolovsky (pfalcon) wrote :

Based on the above, it seems that it's somehow related to (supposedly recently) added on our side repo's clone.bundle support. I confirmed that to be the case by patching repo to disable bundle fetch, it then doesn't throw the error.

Involving Stevan, who worked on implementing bundle support.

Revision history for this message
Paul Sokolovsky (pfalcon) wrote :

Also, trying w/o our mirror (i.e. using official AOSP repo):

$ REPO_TRACE=1 repo init -u http://android.git.linaro.org/git-ro/platform/manifest.git -b linaro_android_4.2.2 -m default.xml
Get https://gerrit.googlesource.com/git-repo
remote: Counting objects: 101, done
remote: Finding sources: 100% (101/101)
remote: Total 2448 (delta 1432), reused 2448 (delta 1432)

As can be see here, AOSP itself doesn't use bundle specifically for repo, but rather clones it directly from git.

So, maybe skipping creation of bundle for repo will be proper fix on our side either.

Revision history for this message
Paul Sokolovsky (pfalcon) wrote :

It was confirmed that AOSP tree doesn't have bundle for tools/repo . I manually removed bundle in our tree to get builds going.

Stevan was working on deploying changes to /srv/gerrit/linaro/git/scripts/create-clone-bundles.sh to skip tools/repo .

I see the change live on android.git.l.o . Leaving open until Monday to confirm all's ok (bundles are created on Sundays).

summary: - all the builds are failing in repo init
+ Build failures due to git bundle not supported by repo tool itself
Changed in linaro-android-infrastructure:
status: In Progress → Fix Committed
Changed in linaro-android-infrastructure:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.