Issue 1386: android repo sync error
Status:  New
Owner: ----
Reported by sword.l....@gmail.com, May 16, 2012
hi, 
   When I repo sync the code from gerrit server, it always print following errors:
yingchunli@yingchunli:~/temp/repo4-rda-99.13/kernel$ repo sync
Fetching projects:  30% (79/262)  channel_by_id: 4: bad id: channel free
client_input_channel_req: channel 4: unknown channel
Fetching projects:  99% (260/262)
and the operation failed.

Affected Version:gerrit-2.3.war

What steps will reproduce the problem?
1.repo init -u ssh://user@localhost:29418/droid/platfrom/manifest
2.repo sync
3.this time it will success
4. after sometimes, maybe reboot PC, maybe don't, the 'repo sync' would fail,
it will print the above error message, and operation failed.

What is the expected output? What do you see instead?

repo sync will succeed and return;

Please provide any additional information below.

I have googled this issue and find one solution,
http://groups.google.com/group/repo-discuss/browse_thread/thread/333861a1aa5c8448?pli=1

and that do work for me.
thanks.
yingchun



May 17, 2012
#1 sword.l....@gmail.com
the 'repo sync' failed many times, sometimes it show following message, and will fail.

fatal: Not a git repository: '/home/yingchunli/temp/repo-remote-rda4.0/.repo/projects/bionic.git'
Fetching projects:  99% (229/231)  fatal: Not a git repository: '/home/yingchunli/temp/repo-remote-rda4.0/.repo/projects/bionic.git'
error: Cannot fetch platform/bionic

error: Exited sync due to fetch errors


how can I provide more info?
Oct 9, 2015
#2 shestak....@gmail.com
1. Check Your disk space and try to init and sync one more time
2. Try to sync in one thread (use -j1 arg) to cleaned directory