repo sync hangs at a single point

1,123 views
Skip to first unread message

Ram

unread,
Oct 12, 2009, 4:47:14 AM10/12/09
to Repo and Gerrit Discussion
Hi,

I am new to Android and I am trying to get the source code of the
same. I have followed the procedure outlined in http://source.android.com/download.
I m running Fedora with git1.6rc1. When I do a repo sync ( after doing
the init ), it downloads some of the projects but hangs after getting
dalvik in its attempt to sync up with platform/development.

Initializing project platform/dalvik ...
remote: Counting objects: 17622, done.
remote: Compressing objects: 100% (6915/6915), done.
remote: Total 17622 (delta 8852), reused 17512 (delta 8771)
Receiving objects: 100% (17622/17622), 13.34 MiB | 934 KiB/s, done.
Resolving deltas: 100% (8852/8852), done.
From git://android.git.kernel.org/platform/dalvik
* [new branch] cdma-import -> korg/cdma-import
* [new branch] cupcake -> korg/cupcake
* [new branch] cupcake-release -> korg/cupcake-release
* [new branch] donut -> korg/donut
* [new branch] donut-release -> korg/donut-release
* [new branch] master -> korg/master
* [new branch] release-1.0 -> korg/release-1.0
* [new tag] android-1.0 -> android-1.0
* [new tag] android-1.5r2 -> android-1.5r2
* [new tag] android-1.5r3 -> android-1.5r3
* [new tag] android-1.5r4 -> android-1.5r4
* [new tag] android-1.6_r1 -> android-1.6_r1
* [new tag] android-1.6_r1.1 -> android-1.6_r1.1
* [new tag] android-1.6_r1.2 -> android-1.6_r1.2
* [new tag] android-sdk-1.5_r3 -> android-sdk-1.5_r3
* [new tag] android-sdk-1.6-docs_r1 -> android-sdk-1.6-
docs_r1
* [new tag] android-sdk-1.6_r1 -> android-sdk-1.6_r1
* [new tag] android-sdk-tools_r2 -> android-sdk-tools_r2
From git://android.git.kernel.org/platform/dalvik
* [new tag] android-1.5 -> android-1.5
* [new tag] android-sdk-1.5-pre -> android-sdk-1.5-pre
* [new tag] android-sdk-1.5_r1 -> android-sdk-1.5_r1
Fetching projects: 5% (8/142)
Initializing project platform/development ...
remote: Counting objects: 17972, done.
remote: Compressing objects: 100% (5682/5682), done.
<< HANGS HERE FOREVER >>

Am I missing something elementary. Any suggestions on this.

Best Regards,
Ram

Shawn Pearce

unread,
Oct 12, 2009, 9:56:21 AM10/12/09
to repo-d...@googlegroups.com
On Mon, Oct 12, 2009 at 01:47, Ram <ramkum...@gmail.com> wrote:
> I am new to Android and I am trying to get the source code
...

> Initializing project platform/development ...
> remote: Counting objects: 17972, done.
> remote: Compressing objects: 100% (5682/5682), done.
> << HANGS HERE FOREVER >>

Uh, just wait? Or try `repo sync` again from within the same client?

The development project is about 23M. It shouldn't take that long to
download, but it is ~2x the size of dalvik, the project juts before
it.

Ram

unread,
Oct 13, 2009, 4:04:02 AM10/13/09
to Repo and Gerrit Discussion
Hi,

Downloading dalvik happens in less than 5 minutes and this one seems
to stay in same place for over 5 hrs. This is my config,
$ repo --version
repo version v1.6.8.7
(from git://android.git.kernel.org/tools/repo.git)
git version 1.6.5
Python 2.4.3 (#1, Oct 1 2006, 18:00:19)
[GCC 4.1.1 20060928 (Red Hat 4.1.1-28)]

And this is my logs,
Initializing project platform/dalvik ...

: export GIT_DIR=/home/ramkumarj/embedded/mydroid/.repo/projects/
dalvik.git
: git init 1>| 2>|
: git config --file /home/ramkumarj/embedded/mydroid/.repo/projects/
dalvik.git/config --null --list 1>| 2>|
: git config --file /home/ramkumarj/embedded/mydroid/.repo/projects/
dalvik.git/config --unset-all core.bare 1>| 2>|
: git config --file /home/ramkumarj/embedded/mydroid/.repo/projects/
dalvik.git/config --replace-all remote.korg.url
git://android.git.kernel.org/platform/dalvik.git 1>| 2>|
: git config --file /home/ramkumarj/embedded/mydroid/.repo/projects/
dalvik.git/config --replace-all remote.korg.review
review.source.android.com 1>| 2>|
: git config --file /home/ramkumarj/embedded/mydroid/.repo/projects/
dalvik.git/config --replace-all remote.korg.projectname platform/
dalvik 1>| 2>|
: git config --file /home/ramkumarj/embedded/mydroid/.repo/projects/
dalvik.git/config --replace-all remote.korg.fetch +refs/heads/*:refs/
remotes/korg/* 1>| 2>|
: git fetch korg
remote: Counting objects: 17622, done.
remote: Compressing objects: 100% (6915/6915), done.
remote: Total 17622 (delta 8851), reused 17512 (delta 8771)
Receiving objects: 100% (17622/17622), 13.35 MiB | 24 KiB/s, done.
Resolving deltas: 100% (8851/8851), done.
From git://android.git.kernel.org/platform/dalvik
* [new branch] cdma-import -> korg/cdma-import
* [new branch] cupcake -> korg/cupcake
* [new branch] cupcake-release -> korg/cupcake-release
* [new branch] donut -> korg/donut
* [new branch] donut-release -> korg/donut-release
* [new branch] master -> korg/master
* [new branch] release-1.0 -> korg/release-1.0
* [new tag] android-1.0 -> android-1.0
* [new tag] android-1.5r2 -> android-1.5r2
* [new tag] android-1.5r3 -> android-1.5r3
* [new tag] android-1.5r4 -> android-1.5r4
* [new tag] android-1.6_r1 -> android-1.6_r1
* [new tag] android-1.6_r1.1 -> android-1.6_r1.1
* [new tag] android-1.6_r1.2 -> android-1.6_r1.2
* [new tag] android-sdk-1.5_r3 -> android-sdk-1.5_r3
* [new tag] android-sdk-1.6-docs_r1 -> android-sdk-1.6-
docs_r1
* [new tag] android-sdk-1.6_r1 -> android-sdk-1.6_r1
* [new tag] android-sdk-tools_r2 -> android-sdk-tools_r2
From git://android.git.kernel.org/platform/dalvik
* [new tag] android-1.5 -> android-1.5
* [new tag] android-sdk-1.5-pre -> android-sdk-1.5-pre
* [new tag] android-sdk-1.5_r1 -> android-sdk-1.5_r1
: load refs /home/ramkumarj/embedded/mydroid/.repo/projects/dalvik.git
: git symbolic-ref -m manifest set to master refs/remotes/m/master
refs/remotes/korg/master 1>| 2>|

Initializing project platform/development ...

: export GIT_DIR=/home/ramkumarj/embedded/mydroid/.repo/projects/
development.git
: git init 1>| 2>|
: git config --file /home/ramkumarj/embedded/mydroid/.repo/projects/
development.git/config --null --list 1>| 2>|
: git config --file /home/ramkumarj/embedded/mydroid/.repo/projects/
development.git/config --unset-all core.bare 1>| 2>|
: git config --file /home/ramkumarj/embedded/mydroid/.repo/projects/
development.git/config --replace-all remote.korg.url
git://android.git.kernel.org/platform/development.git 1>| 2>|
: git config --file /home/ramkumarj/embedded/mydroid/.repo/projects/
development.git/config --replace-all remote.korg.review
review.source.android.com 1>| 2>|
: git config --file /home/ramkumarj/embedded/mydroid/.repo/projects/
development.git/config --replace-all remote.korg.projectname platform/
development 1>| 2>|
: git config --file /home/ramkumarj/embedded/mydroid/.repo/projects/
development.git/config --replace-all remote.korg.fetch +refs/heads/
*:refs/remotes/korg/* 1>| 2>|
: git fetch korg
remote: Counting objects: 17972, done.
remote: Compressing objects: 100% (5682/5682), done.

Anyway to turn more finer debugs ON ? Or does it is doing some work in
background without hanging.

Thanks and Regards,
Ram

On Oct 12, 9:56 pm, Shawn Pearce <s...@google.com> wrote:

Shawn Pearce

unread,
Oct 13, 2009, 10:29:30 AM10/13/09
to repo-d...@googlegroups.com
On Tue, Oct 13, 2009 at 01:04, Ram <ramkum...@gmail.com> wrote:
> Downloading dalvik happens in less than 5 minutes and this one seems
> to stay in same place for over 5 hrs. This is my config,

I'm at a loss. I just pulled down platform/development.git manually
without any problems.

> remote: Counting objects: 17972, done.
> remote: Compressing objects: 100% (5682/5682), done.
>
> Anyway to turn more finer debugs ON ? Or does it is doing some work in
> background without hanging.

There isn't any way to get finer debugs. The remote should have
responded with one more line listing the total object counts, and then
you should have gotten a progress meter showing the objects being
received:

remote: Counting objects: 17972, done.
remote: Compressing objects: 100% (5682/5682), done.

remote: Total 17972 (delta 9297), reused 17860 (delta 9222)
Receiving objects: 100% (17972/17972), 21.96 MiB | 20328 KiB/s, done.
Resolving deltas: 100% (9297/9297), done.

Since the remote finished compressing the objects but doesn't appear
to have produced the total line I have to think the remote daemon
process died. But if it died the kernel should have closed down the
TCP connection and allowed your client to see early EOF... which would
have resulted in an error message from the client, not a hung client.

Ram

unread,
Oct 14, 2009, 10:03:00 PM10/14/09
to Repo and Gerrit Discussion
On my Fedora, the manual git clone for platform/development.git hangs
at the same place. However, I am able to use the gitweb interface to
create a snapshot without any problem. If I fail to get why manual git
is not working, do you think it would be a good idea to use the gitweb
to get the snapshot for all projects listed in manifest.xml ?

Thanks and Regards,
Ram

On Oct 13, 10:29 pm, Shawn Pearce <s...@google.com> wrote:
Reply all
Reply to author
Forward
0 new messages