刚开始下载 和 下载完成又个报错

zhongwen@ubuntu:~$ export WORKSPACE=pwd
zhongwen@ubuntu:~$ cd $WORKSPACE
zhongwen@ubuntu:~$ rm -rf depot_tools && git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
Cloning into ‘depot_tools’…
remote: Enumerating objects: 162, done.
remote: Counting objects: 100% (162/162), done.
remote: Compressing objects: 100% (126/126), done.
remote: Total 32099 (delta 42), reused 151 (delta 35)
Receiving objects: 100% (32099/32099), 32.60 MiB | 10.70 MiB/s, done.
Resolving deltas: 100% (21166/21166), done.
Checking connectivity… done.
zhongwen@ubuntu:~$
zhongwen@ubuntu:~$ cd $WORKSPACE/depot_tools && git checkout gitlab
Branch gitlab set up to track remote branch gitlab from origin.
Switched to a new branch ‘gitlab’
zhongwen@ubuntu:~/depot_tools$ chmod +x $WORKSPACE/depot_tools/cipd
zhongwen@ubuntu:~/depot_tools$
zhongwen@ubuntu:~/depot_tools$ export PATH=$PATH:$WORKSPACE/depot_tools
zhongwen@ubuntu:~/depot_tools$ cd…
cd…: command not found
zhongwen@ubuntu:~/depot_tools$ rm -rf $WORKSPACE/webrtc && mkdir $WORKSPACE/webrtc
zhongwen@ubuntu:~/depot_tools$ cd $WORKSPACE/webrtc && gclient config --name src https://chromium.googlesource.com/external/webrtc.git@gitlab
/home/zhongwen/depot_tools/update_depot_tools config --name src https://chromium.googlesource.com/external/webrtc.git@gitlab
WARNING: Your metrics.cfg file was invalid or nonexistent. A new one will be created.
zhongwen@ubuntu:~/webrtc$
zhongwen@ubuntu:~/webrtc$ export CDS_CLANG_BUCKET_OVERRIDE=http://120.92.49.206:3232/chromiumsrc/commondatastorage/raw/master/public/chromium-browser-clang
zhongwen@ubuntu:~/webrtc$
zhongwen@ubuntu:~/webrtc$ #cd ~/depot_tools; git fetch; git reset --hard origin/gitlab; chmod +x ~/depot_tools/cipd
zhongwen@ubuntu:~/webrtc$
zhongwen@ubuntu:~/webrtc$ cd $WORKSPACE/webrtc && gclient sync --patch-ref=https://chromium.googlesource.com/chromium/src/build.git@gitlab
/home/zhongwen/depot_tools/update_depot_tools sync --patch-ref=https://chromium.googlesource.com/chromium/src/build.git@gitlab

________ running ‘git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://chromium.googlesource.com/external/webrtc.git /home/zhongwen/webrtc/_gclient_src_kE97fr’ in ‘/home/zhongwen/webrtc’
Cloning into ‘/home/zhongwen/webrtc/_gclient_src_kE97fr’…
remote: Enumerating objects: 3, done.
remote: Counting objects: 100% (3/3), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 317914 (delta 0), reused 0 (delta 0) MiB/s
Receiving objects: 100% (317914/317914), 256.51 MiB | 8.73 MiB/s, done.
Resolving deltas: 100% (235456/235456), done.
Checking connectivity… done.
/bin/sh: 1: curl: not found37) src/buildtools

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now

curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/gn/gn/linux-amd64@64b846c96daeb3eaf08e26d8a84d8451c6cb712b | tar -xzf - -C src/buildtools/linux64
/bin/sh: 1: curl: not found

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now

curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/gn/gn/linux-amd64@64b846c96daeb3eaf08e26d8a84d8451c6cb712b | tar -xzf - -C src/buildtools/linux64
Syncing projects: 27% (10/37) src/base
[0:02:08] Still working on:
[0:02:08] src/third_party
[0:02:08] src/tools

[0:02:18] Still working on:
[0:02:18] src/third_party
[0:02:18] src/tools

[0:02:28] Still working on:
[0:02:28] src/third_party
[0:02:28] src/tools

[0:02:38] Still working on:
[0:02:38] src/third_party
[0:02:38] src/tools

[0:02:48] Still working on:
[0:02:48] src/third_party
[0:02:48] src/tools

[0:02:59] Still working on:
[0:02:59] src/third_party
[0:02:59] src/tools

[0:03:09] Still working on:
[0:03:09] src/third_party
[0:03:09] src/tools

[0:03:19] Still working on:
[0:03:19] src/third_party
[0:03:19] src/tools

[0:03:29] Still working on:
[0:03:29] src/third_party
[0:03:29] src/tools

[0:03:39] Still working on:
[0:03:39] src/third_party
[0:03:39] src/tools

[0:03:49] Still working on:
[0:03:49] src/third_party
[0:03:49] src/tools

[0:03:59] Still working on:
[0:03:59] src/third_party
[0:03:59] src/tools

[0:04:09] Still working on:
[0:04:09] src/third_party
[0:04:09] src/tools

[0:04:19] Still working on:
[0:04:19] src/third_party
[0:04:19] src/tools

[0:04:29] Still working on:
[0:04:29] src/third_party
[0:04:29] src/tools

[0:04:39] Still working on:
[0:04:39] src/third_party
[0:04:39] src/tools

[0:04:49] Still working on:
[0:04:49] src/third_party
[0:04:49] src/tools

[0:04:59] Still working on:
[0:04:59] src/third_party
[0:04:59] src/tools

[0:05:09] Still working on:
[0:05:09] src/third_party
[0:05:09] src/tools

[0:05:19] Still working on:
[0:05:19] src/third_party
[0:05:19] src/tools

[0:05:29] Still working on:
[0:05:29] src/third_party
[0:05:29] src/tools

[0:05:32] Still working on:
[0:05:32] src/third_party
[0:05:32] src/tools
/bin/sh: 1: curl: not found37) src/tools
/bin/sh: 1: curl: not found

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now

curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/infra/tools/luci/isolate/linux-amd64@25958d48e89e980e2a97daeddc977fb5e2e1fb8c | tar -xzf - -C src/tools/luci-go

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now

curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/infra/tools/luci/isolated/linux-amd64@25958d48e89e980e2a97daeddc977fb5e2e1fb8c | tar -xzf - -C src/tools/luci-go
/bin/sh: 1: curl: not found
/bin/sh: 1: curl: not found
/bin/sh: 1: curl: not found

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now

curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/infra/tools/luci/isolate/linux-amd64@25958d48e89e980e2a97daeddc977fb5e2e1fb8c | tar -xzf - -C src/tools/luci-go

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now

curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/infra/tools/luci/swarming/linux-amd64@25958d48e89e980e2a97daeddc977fb5e2e1fb8c | tar -xzf - -C src/tools/luci-go

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now

curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/infra/tools/luci/isolated/linux-amd64@25958d48e89e980e2a97daeddc977fb5e2e1fb8c | tar -xzf - -C src/tools/luci-go
/bin/sh: 1: curl: not found
Syncing projects: 35% (13/37) src/tools/luci-go:infra/tools/luci/isolated/${pla
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
curl -s http://120.92.49.206:3232/chromiumsrc/cipd/raw/master/public/infra/tools/luci/swarming/linux-amd64@25958d48e89e980e2a97daeddc977fb5e2e1fb8c | tar -xzf - -C src/tools/luci-go
Syncing projects: 40% (15/37) src/tools/swarming_client
[0:06:39] Still working on:
[0:06:39] src/third_party

[0:06:49] Still working on:
[0:06:49] src/third_party

[0:06:59] Still working on:
[0:06:59] src/third_party

[0:07:09] Still working on:
[0:07:09] src/third_party

[0:07:19] Still working on:
[0:07:19] src/third_party

[0:07:29] Still working on:
[0:07:29] src/third_party

[0:07:39] Still working on:
[0:07:39] src/third_party

[0:07:49] Still working on:
[0:07:49] src/third_party

[0:07:59] Still working on:
[0:07:59] src/third_party

[0:08:09] Still working on:
[0:08:09] src/third_party

[0:08:19] Still working on:
[0:08:19] src/third_party

[0:08:29] Still working on:
[0:08:29] src/third_party

[0:08:39] Still working on:
[0:08:39] src/third_party

[0:08:49] Still working on:
[0:08:49] src/third_party

[0:08:59] Still working on:
[0:08:59] src/third_party

[0:09:09] Still working on:
[0:09:09] src/third_party

[0:09:19] Still working on:
[0:09:19] src/third_party

[0:09:24] Still working on:
[0:09:24] src/third_party
Syncing projects: 100% (37/37), done.

________ running ‘cipd ensure -log-level error -root /home/zhongwen/webrtc -ensure-file /tmp/tmprLc0Dn.ensure’ in ‘.’
SHA256 digest of the downloaded CIPD client is incorrect:
Expecting e647f6534fd79d9fc1e3b0071623109be14e6b0477ad862f37eac86c0668f6f3
Got 74f178d7c953f13c99a3a70d23cd8303c94ebee5b08da81a9ab30817e568c1fa
Refusing to run it. Check that *.digests file is up-to-date.
Error: Command ‘cipd ensure -log-level error -root /home/zhongwen/webrtc -ensure-file /tmp/tmprLc0Dn.ensure’ returned non-zero exit status 1