"fetch --nohooks --no-history android" command always fail with mockito.git server error.

595 views
Skip to first unread message

Donghyun Kim

unread,
Jun 3, 2015, 10:39:26 PM6/3/15
to chromi...@chromium.org
i try to get chromium android source with "fetch --nohooks --no-history android" command and it always makes "return non-zero exit status" error message.
"fetch --nohooks android" works well, is this a server side problem? is there anyone who knows how can resolve this problem? (ubuntu 14.04)

$ fetch --nohooks --no-history android
...(omitted...)

Syncing projects: 63% (56/88) src/third_party/android_tools

src/third_party/mockito/src (ERROR)
----------------------------------------
[0:07:57] Started.
[0:07:57] 

________ running 'git init --bare /media/kimdh/SSD/chrome-android/src/third_party/mockito/_gclient_gittmp_srcmpatDS' in '/media/kimdh/SSD/chrome-android'
[0:07:57] Initialized empty Git repository in /media/kimdh/SSD/chrome-android/src/third_party/mockito/_gclient_gittmp_srcmpatDS/

________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://chromium.googlesource.com/external/mockito/mockito.git --template=/media/kimdh/SSD/chrome-android/src/third_party/mockito/_gclient_gittmp_srcmpatDS /media/kimdh/SSD/chrome-android/src/third_party/mockito/_gclient_src_yvB9Ja' in '/media/kimdh/SSD/chrome-android'
[0:07:57] Cloning into '/media/kimdh/SSD/chrome-android/src/third_party/mockito/_gclient_src_yvB9Ja'...
[0:08:00] fatal: git fetch_pack: expected ACK/NAK, got 'error: Internal server error'
[0:08:00] fatal: The remote end hung up unexpectedly

________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://chromium.googlesource.com/external/mockito/mockito.git --template=/media/kimdh/SSD/chrome-android/src/third_party/mockito/_gclient_gittmp_srcmpatDS /media/kimdh/SSD/chrome-android/src/third_party/mockito/_gclient_src_yvB9Ja' in '/media/kimdh/SSD/chrome-android'
[0:08:00] Cloning into '/media/kimdh/SSD/chrome-android/src/third_party/mockito/_gclient_src_yvB9Ja'...
[0:08:02] fatal: git fetch_pack: expected ACK/NAK, got 'error: Internal server error'
[0:08:02] fatal: The remote end hung up unexpectedly

________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://chromium.googlesource.com/external/mockito/mockito.git --template=/media/kimdh/SSD/chrome-android/src/third_party/mockito/_gclient_gittmp_srcmpatDS /media/kimdh/SSD/chrome-android/src/third_party/mockito/_gclient_src_yvB9Ja' in '/media/kimdh/SSD/chrome-android'
[0:08:03] Cloning into '/media/kimdh/SSD/chrome-android/src/third_party/mockito/_gclient_src_yvB9Ja'...
[0:08:05] fatal: git fetch_pack: expected ACK/NAK, got 'error: Internal server error'
[0:08:05] fatal: The remote end hung up unexpectedly

________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://chromium.googlesource.com/external/mockito/mockito.git --template=/media/kimdh/SSD/chrome-android/src/third_party/mockito/_gclient_gittmp_srcmpatDS /media/kimdh/SSD/chrome-android/src/third_party/mockito/_gclient_src_yvB9Ja' in '/media/kimdh/SSD/chrome-android'
[0:08:07] Cloning into '/media/kimdh/SSD/chrome-android/src/third_party/mockito/_gclient_src_yvB9Ja'...
[0:08:09] fatal: git fetch_pack: expected ACK/NAK, got 'error: Internal server error'
[0:08:09] fatal: The remote end hung up unexpectedly
Traceback (most recent call last):
File "/media/kimdh/SSD/chrome-android/depot_tools/gclient_scm.py", line 903, in _Clone
self._Run(clone_cmd, options, cwd=self._root_dir, retry=True)
File "/media/kimdh/SSD/chrome-android/depot_tools/gclient_scm.py", line 1157, in _Run
gclient_utils.CheckCallAndFilterAndHeader(cmd, env=env, **kwargs)

Primiano Tucci

unread,
Jun 4, 2015, 12:26:15 PM6/4/15
to lda...@gmail.com, Chromium-dev
This seems to be a network related error (or the server is temporarily unhappy).
Are you behind a proxy by the chance?

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev

Murphy Ma

unread,
Sep 14, 2015, 6:18:19 AM9/14/15
to Chromium-dev
I'm having exactly the same error here, everything else can be downloaded except mockito. It seems this is due to the temp dir/files resulted from gclient tool...

Actually mockito git server can be accessed via browser, and manually git clone mockito can be OK. 

So is there any work-around to get this baby done? 

PS, I tried to manually run below commands and they are OK, but what should I do after them???

git init --bare /home/murphy/src/Chromium/src/third_party/mockito/_gclient_gittmp_srcnvD4ni
git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress --verbose https://chromium.googlesource.com/external/mockito/mockito.git --template=/home/murphy/src/Chromium/src/third_party/mockito/_gclient_gittmp_srcnvD4ni /home/murphy/src/Chromium/src/third_party/mockito/_gclient_src_BpRucz

Br, Murphy

在 2015年6月4日星期四 UTC+8上午10:39:26,Donghyun Kim写道:

Murphy Ma

unread,
Sep 14, 2015, 6:20:46 AM9/14/15
to Chromium-dev, lda...@gmail.com
Dear Tucci, 

Could you or some experts in your connection help check this? I believe we are NOT the only guys suffering this mockito issue...

Many thanks!

Br, Murphy

在 2015年6月5日星期五 UTC+8上午12:26:15,Primiano Tucci写道:

Primiano Tucci

unread,
Sep 14, 2015, 7:41:10 AM9/14/15
to Murphy Ma, 김동현, infr...@chromium.org
-chromium-dev +infra-dev

Ok, there seems to be an actual problem with the mockito repo. 
This is not just due to your network issues, I can repro from London.

The git server is, for some reason, persistently refusing to serve a shallow clone of the mockito repo.
Filed crbug.com/531447, more details there

In the meantime what you can do is just typing "gclient sync" again after the failure, that should make everything work (and still give you the speedup of not having to fetch full chromium  + webkit).

Murphy Ma

unread,
Sep 15, 2015, 6:19:16 AM9/15/15
to Chromium-dev, fei8...@gmail.com, lda...@gmail.com, infr...@chromium.org
Hi Primiano,

Soooo  many thanks, I'll keep an eye in the filed crbug. Really appreciate your support :-)

Br, Murphy

在 2015年9月14日星期一 UTC+8下午7:41:10,Primiano Tucci写道:

Primiano Tucci

unread,
Sep 15, 2015, 6:50:00 AM9/15/15
to Murphy Ma, Chromium-dev, 김동현, infr...@chromium.org
Ok this should be fixed once crrev.com/1343803002 lands

--
You received this message because you are subscribed to the Google Groups "infra-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to infra-dev+...@chromium.org.
To post to this group, send email to infr...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/infra-dev/c2305ff5-8db4-4024-a84f-8480831850e7%40chromium.org.

Reply all
Reply to author
Forward
0 new messages