weixin_39811193
weixin_39811193
2020-12-05 02:07

[CI] Linux build fails cannot find the package github.com/elastic/apm-server/vendor/golang.org/x/tools/cmd/benchcmp

This is the error in the CI


[2020-03-12T09:21:31.404Z] Mage Build Tool v1.9.0-8-gfd985b9
[2020-03-12T09:21:31.405Z] Build Date: 2020-03-12T09:21:30Z
[2020-03-12T09:21:31.405Z] Commit: fd985b9
[2020-03-12T09:21:31.405Z] built with: go1.13.7
[2020-03-12T09:21:34.705Z] package github.com/elastic/apm-server/vendor/golang.org/x/tools/cmd/benchcmp: cannot find package "github.com/elastic/apm-server/vendor/golang.org/x/tools/cmd/benchcmp" in any of:
[2020-03-12T09:21:34.705Z]  /usr/local/go/src/github.com/elastic/apm-server/vendor/golang.org/x/tools/cmd/benchcmp (from $GOROOT)
[2020-03-12T09:21:34.705Z]  /go/src/github.com/elastic/apm-server/vendor/golang.org/x/tools/cmd/benchcmp (from $GOPATH)
[2020-03-12T09:21:34.705Z] The command '/bin/sh -c git clone https://github.com/magefile/mage   && cd mage   && go run bootstrap.go   && mage -version   && cd /tools   && go get github.com/elastic/apm-server/vendor/golang.org/x/tools/cmd/benchcmp   && go get github.com/elastic/apm-server/vendor/github.com/t-yuki/gocover-cobertura   && go get github.com/elastic/apm-server/vendor/github.com/jstemmer/go-junit-report   && go get github.com/elastic/apm-server/vendor/github.com/kardianos/govendor   && go get github.com/elastic/go-licenser   && go get github.com/elastic/apm-server/vendor/github.com/pierrre/gotestcover   && go get github.com/elastic/apm-server/vendor/github.com/stretchr/testify/assert   && go get github.com/elastic/apm-server/vendor/golang.org/x/tools/cmd/goimports' returned a non-zero code: 1
script returned exit code 1

该提问来源于开源项目:elastic/apm-server

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

4条回答

为你推荐

换一换