Bundle creation script on android.git.linaro.org throws errors

Bug #1249775 reported by Paul Sokolovsky
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Android Infrastructure
Triaged
Low
Unassigned

Bug Description

Subject: Cron <root@ip-10-141-129-99> /srv/gerrit/linaro/git/scripts/create-clone-bundles.sh
Content-Type: text/plain; charset=ANSI_X3.4-1968
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>

fatal: ambiguous argument 'master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions
error: rev-list died
fatal: ambiguous argument 'master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions
error: rev-list died
fatal: ambiguous argument 'master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions
error: rev-list died
fatal: ambiguous argument 'master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions
error: rev-list died
fatal: ambiguous argument 'master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions

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

This happens because we run "git bundle create clone.bundle master" and master branch is not always present. One way to solve this is to do "git bundle create --all", which actually should improve efficiency of bundles. But need to analyze space impact.

Changed in linaro-android-infrastructure:
assignee: nobody → Paul Sokolovsky (pfalcon)
importance: Undecided → Medium
status: New → Triaged
milestone: none → 2013.11
Changed in linaro-android-infrastructure:
status: Triaged → In Progress
Revision history for this message
Paul Sokolovsky (pfalcon) wrote :

My testing showed that impact of --all is indeed noticeable - increased bundle spaced from ~25G to ~35G. As a compromise, I tried to put master and "linaro-*" branches into bundles, but that still leads to errors, as there're repos which contain neither.

Changed in linaro-android-infrastructure:
milestone: 2013.11 → 2014.01
assignee: Paul Sokolovsky (pfalcon) → nobody
status: In Progress → Triaged
Milo Casagrande (milo)
Changed in linaro-android-infrastructure:
milestone: 2014.01 → backlog
importance: Medium → Low
Revision history for this message
Chase Qi (chase-qi) wrote :
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.