如何添加重试次数或延长提取时间?

问题描述 投票:0回答:1

我正在安装ClusterFuzz工具,命令bazel run xxxx只能保持65秒,但我们只能通过我的环境中的代理运行这些命令,看起来网络不稳定。命令:bazel run --keep_going //local:create_gopath

错误信息:http://paste.openstack.org/show/745193/有些错误执行“无法解析主机:github.com”,实际上可以在env中请求,:(

尝试使用git命令克隆repo。

git clone https://github.com/pkg/errors /home/fuzz/.cache/bazel/_bazel_fuzz/6dcde86a643777ef5d89aaa636cdd7cd/external/com_github_pkg_errors
Cloning into '/home/fuzz/.cache/bazel/_bazel_fuzz/6dcde86a643777ef5d89aaa636cdd7cd/external/com_github_pkg_errors'...
remote: Enumerating objects: 528, done.
Receiving objects: 100% (528/528), 117.06 KiB | 0 bytes/s, done.
remote: Total 528 (delta 0), reused 0 (delta 0), pack-reused 528
Resolving deltas: 100% (322/322), done.
Checking connectivity... done.
bazel
1个回答
0
投票

找到原因。如果在bazel中使用代理,请使用HTTP(S)_PROXY而不是http(s)_proxy。

© www.soinside.com 2019 - 2024. All rights reserved.