Hello,
Any help would be appreciated, including providing Goma access as an external contributor/researcher. :)
I've tried in GCP Ubuntu 18.04 and 20.04, and AWS Ubuntu 18.04 with exactly the same results. Note that the attached and inline logs might be from different attempts, but they all behave the same, so you can ignore the different directory names.
I'm convinced this is a server or repo issue, but I've also tried updating git to the latest version from the developer and compiling the latest curl from source just in case, to no avail. I was able to perform all the steps a year or two ago on an AWS instance, so I'm not sure why doing it now is failing.
When running `fetch --nohooks --no-history chromium` (or `gclient sync --nohooks --nohistory`), I eventually run into the following error:
103>WARNING: subprocess '"git" "-c" "core.deltaBaseCacheLimit=2g" "clone" "--no-checkout" "--progress" "--verbose" "
https://chromium.googlesource.com/external/anongit.freedesktop.org/git/wayland/wayland-protocols.git" "--template=/home/alesandro/chromium/src/third_party/wayland-protocols/_gclient_gittmp_src_oxkrv2x" "/home/alesandro/chromium/src/third_party/wayland-protocols/_gclient_src_lawi_yo8"' in /home/alesandro/chromium failed; will retry after a short nap...
The error above repeats 4 times because of four total attempts, and then it gives up with a bunch of additional errors presumably because that step failed (see attached output.log for the normal run).
When running fetch or gclient with --verbose, it shows that the request is failing due to:
[0:06:40] error: RPC failed; HTTP 400 curl 22 The requested URL returned error: 400
[0:06:40] fatal: the remote end hung up unexpectedly
The message above occurs while this is running:
I've enabled git tracing but that doesn't provide much insight other than:
________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress --verbose
https://chromium.googlesource.com/external/anongit.freedesktop.org/git/wayland/wayland-protocols.git --template=/home/alesandro/chromium/src/third_party/wayland-protocols/_gclient_gittmp_src_oxkrv2x /home/alesandro/chromium/src/third_party/wayland-protocols/_gclient_src_lawi_yo8' in '/home/alesandro/chromium' attempt 4 / 4
[0:05:56] Cloning into '/home/alesandro/chromium/src/third_party/wayland-protocols/_gclient_src_lawi_yo8'...
[0:05:56] POST git-upload-pack (122 bytes)
[0:05:56] POST git-upload-pack (1018 bytes)
[0:05:57] error: RPC failed; HTTP 400 curl 22 The requested URL returned error: 400
[0:05:57] fatal: error reading section header 'shallow-info'
Traceback (most recent call last):
File "/home/alesandro/depot_tools/gclient_scm.py", line 1116, in _Clone
self._Run(clone_cmd, options, cwd=self._root_dir, retry=True,
File "/home/alesandro/depot_tools/gclient_scm.py", line 1458, in _Run
gclient_utils.CheckCallAndFilter(cmd, env=env, **kwargs)
File "/home/alesandro/depot_tools/gclient_utils.py", line 682, in CheckCallAndFilter
raise subprocess2.CalledProcessError(
subprocess2.CalledProcessError: Command 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress --verbose
https://chromium.googlesource.com/external/anongit.freedesktop.org/git/wayland/wayland-protocols.git --template=/home/alesandro/chromium/src/third_party/wayland-protocols/_gclient_gittmp_src_oxkrv2x /home/alesandro/chromium/src/third_party/wayland-protocols/_gclient_src_lawi_yo8' returned non-zero exit status 128 in /home/alesandro/chromium
[0:06:01] _____ Conflicting directory found in /home/alesandro/chromium/src/third_party/wayland-protocols/src. Moving to /home/alesandro/chromium/_bad_scm/src/third_party/wayland-protocols/src3rotq9ef.
You can see the attached logs for the full non-verbose output, and the end of the verbose output, which provides a bit more context around the inline'd logs.
Again, any help would be appreciated to get past this gclient sync issue.
Regards,
Alesandro