PD编译golangci/golangci-lint获取失败

为提高效率,请提供以下信息,问题描述清晰能够更快得到解决:

【TiDB 版本】

pd最新版本,master分支
commit f82f2d82c2d6dfbf303c893ec25c5aa68ce72572
golang v1.14.6

【问题描述】
git clone pd后,放置于$GOPATH/src/github.com/tikv/pd路径下,make的时候报错
golangci/golangci-lint info checking GitHub for tag ‘v1.38.0’
golangci/golangci-lint crit unable to find ‘v1.38.0’ - use ‘latest’ or see https://github.com/golangci/golangci-lint/releases for details
make: *** [install-go-tools] Error 1
请问是我编译的方式不对吗


若提问为性能优化、故障排查类问题,请下载脚本运行。终端输出的打印结果,请务必全选并复制粘贴上传。

换了golang1.13.6可以make了,感觉之前是网络问题,现在报的问题是

2021/03/18 16:43:21 create swagger.json at docs/swagger/swagger.json
2021/03/18 16:43:21 create swagger.yaml at docs/swagger/swagger.yaml
go mod tidy
rm -rf vendor
./scripts/embed-dashboard-ui.sh
+ Clean up existing asset file
+ Fetch TiDB Dashboard Go module
  - TiDB Dashboard directory: /root/go/pkg/mod/github.com/pingcap-incubator/tidb-dashboard@v0.0.0-20210104140916-41a0a3a87e75
+ Create asset cache directory
+ Discover TiDB Dashboard release version
  - TiDB Dashboard release version: 2021.01.04.1
+ Check embedded assets exists in cache
  - Cached archive does not exist
  - Download pre-built embedded assets from GitHub release
  - Download https://github.com/pingcap-incubator/tidb-dashboard/releases/download/v2021.01.04.1/embedded-assets-golang.zip
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
curl: (35) TCP connection reset by peer

Error: Failed to download assets of TiDB Dashboard release version 2021.01.04.1.
This may be caused by using a non-release version of TiDB Dashboard, or the release is still in progress.

To compile PD without TiDB Dashboard:                       DASHBOARD=0 make
To compile PD by building TiDB Dashboard assets on-the-fly: DASHBOARD=COMPILE make  or  NO_MINIMIZE=1 DASHBOARD=COMPILE make

这个还是网络问题吗,还是dashboard版本支持问题?不过跳过dashboard也可以

To compile PD without TiDB Dashboard: DASHBOARD=0 make

不带 dashboard 可以编译通过么

跳过可以的,虽然没有显示successful,但没有报错,这样是否已经成功了?

看下有 pd-server 二进制生成么,如果有的话,那应该就是编译成功了

pd-server ctl recover都有,谢啦

:+1::+1::+1: