Created
October 26, 2020 08:36
-
-
Save oboukili/afa7042969324ac0247969ca06bf0caa to your computer and use it in GitHub Desktop.
make codegen panic
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Step 25/25 : ENTRYPOINT ["/usr/local/bin/uid_entrypoint.sh"] | |
| ---> Using cache | |
| ---> 661bcff06e98 | |
| Successfully built 661bcff06e98 | |
| Successfully tagged argocd-test-tools:latest | |
| docker tag argocd-test-tools argocd-test-tools:latest | |
| docker run --rm -it --name argocd-test-client -u 502:20 -e HOME=/home/user -e GOPATH=/go -e ARGOCD_E2E_K3S= -e GOCACHE=/tmp/go-build-cache -e ARGOCD_LINT_GOGC=20 -v /Users/bki/go/src:/go/src:delegated -v /Users/bki/go/pkg/mod:/go/pkg/mod:delegated -v /Users/bki/.cache/go-build:/tmp/go-build-cache:delegated -v /Users/bki/.kube:/home/user/.kube:delegated -v /tmp:/tmp:delegated -w /go/src/github.com/argoproj/argo-cd argocd-test-tools:latest bash -c "make codegen-local" | |
| go mod download | |
| go mod vendor | |
| export GO111MODULE=off | |
| go generate ./util/argo/... | |
| export GO111MODULE=off | |
| ./hack/generate-proto.sh | |
| + set -o errexit | |
| + set -o nounset | |
| + set -o pipefail | |
| + protoc --version | |
| libprotoc 3.7.1 | |
| + swagger version | |
| version: v0.19.0 | |
| commit: 312366608bbf17dd219190b66ab63bdc8b4d0db0 | |
| + jq --version | |
| jq-1.6 | |
| +++ dirname ./hack/generate-proto.sh | |
| ++ cd ./hack/.. | |
| ++ pwd | |
| + PROJECT_ROOT=/go/src/github.com/argoproj/argo-cd | |
| ++ cd /go/src/github.com/argoproj/argo-cd | |
| ++ ls -d -1 ./vendor/k8s.io/code-generator | |
| + CODEGEN_PKG=./vendor/k8s.io/code-generator | |
| + PATH=/go/src/github.com/argoproj/argo-cd/dist:/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/go/bin:/go/bin:/go/src/github.com/argoproj/argo-cd/hack | |
| + MOD_ROOT=/go/pkg/mod | |
| + . /go/src/github.com/argoproj/argo-cd/hack/versions.sh | |
| ++ kube_version=v0.19.2 | |
| ++ grpc_version=v1.26.0 | |
| ++ protobuf_version=v1.3.2 | |
| ++ grpc_gateway_version=v1.12.2 | |
| + export GO111MODULE=off | |
| + GO111MODULE=off | |
| + go build -i -o dist/go-to-protobuf ./vendor/k8s.io/code-generator/cmd/go-to-protobuf | |
| + go build -i -o dist/protoc-gen-gogo ./vendor/k8s.io/code-generator/cmd/go-to-protobuf/protoc-gen-gogo | |
| + PACKAGES=(github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1) | |
| + APIMACHINERY_PKGS=(+k8s.io/apimachinery/pkg/util/intstr +k8s.io/apimachinery/pkg/api/resource +k8s.io/apimachinery/pkg/runtime/schema +k8s.io/apimachinery/pkg/runtime k8s.io/apimachinery/pkg/apis/meta/v1 k8s.io/api/core/v1) | |
| ++ IFS=, | |
| ++ echo github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1 | |
| ++ IFS=, | |
| ++ echo +k8s.io/apimachinery/pkg/util/intstr,+k8s.io/apimachinery/pkg/api/resource,+k8s.io/apimachinery/pkg/runtime/schema,+k8s.io/apimachinery/pkg/runtime,k8s.io/apimachinery/pkg/apis/meta/v1,k8s.io/api/core/v1 | |
| + /go/src/github.com/argoproj/argo-cd/dist/go-to-protobuf --go-header-file=/go/src/github.com/argoproj/argo-cd/hack/custom-boilerplate.go.txt --packages=github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1 --apimachinery-packages=+k8s.io/apimachinery/pkg/util/intstr,+k8s.io/apimachinery/pkg/api/resource,+k8s.io/apimachinery/pkg/runtime/schema,+k8s.io/apimachinery/pkg/runtime,k8s.io/apimachinery/pkg/apis/meta/v1,k8s.io/api/core/v1 --proto-import=./vendor | |
| topological order bytes | |
| topological order encoding/base64 | |
| topological order encoding/json | |
| topological order errors | |
| topological order fmt | |
| topological order github.com/argoproj/argo-cd/common | |
| topological order github.com/argoproj/argo-cd/pkg/apis/application | |
| topological order github.com/argoproj/argo-cd/util/cert | |
| topological order github.com/argoproj/argo-cd/util/git | |
| topological order github.com/argoproj/argo-cd/util/glob | |
| topological order github.com/argoproj/argo-cd/util/helm | |
| topological order github.com/argoproj/gitops-engine/pkg/health | |
| topological order github.com/argoproj/gitops-engine/pkg/sync/common | |
| topological order github.com/ghodss/yaml | |
| topological order github.com/go-openapi/spec | |
| topological order github.com/gogo/protobuf/proto | |
| topological order github.com/gogo/protobuf/sortkeys | |
| topological order github.com/google/go-cmp/cmp | |
| topological order github.com/google/gofuzz | |
| topological order github.com/robfig/cron | |
| topological order github.com/sirupsen/logrus | |
| topological order go/ast | |
| topological order go/doc | |
| topological order go/parser | |
| topological order go/token | |
| topological order google.golang.org/grpc/codes | |
| topological order google.golang.org/grpc/status | |
| topological order gopkg.in/inf.v0 | |
| topological order io | |
| topological order k8s.io/apimachinery/pkg/apis/meta/v1/unstructured | |
| topological order k8s.io/apimachinery/pkg/conversion | |
| topological order k8s.io/apimachinery/pkg/conversion/queryparams | |
| topological order k8s.io/apimachinery/pkg/fields | |
| topological order k8s.io/apimachinery/pkg/labels | |
| topological order k8s.io/apimachinery/pkg/selection | |
| topological order k8s.io/apimachinery/pkg/types | |
| topological order k8s.io/apimachinery/pkg/util/errors | |
| topological order k8s.io/apimachinery/pkg/util/json | |
| topological order k8s.io/apimachinery/pkg/util/naming | |
| topological order k8s.io/apimachinery/pkg/util/net | |
| topological order k8s.io/apimachinery/pkg/util/runtime | |
| topological order k8s.io/apimachinery/pkg/util/sets | |
| topological order k8s.io/apimachinery/pkg/watch | |
| topological order k8s.io/client-go/rest | |
| topological order k8s.io/client-go/tools/clientcmd | |
| topological order k8s.io/client-go/tools/clientcmd/api | |
| topological order k8s.io/klog/v2 | |
| topological order k8s.io/kube-openapi/pkg/common | |
| topological order math | |
| topological order math/big | |
| topological order math/bits | |
| topological order net | |
| topological order net/http | |
| topological order net/url | |
| topological order os | |
| topological order path/filepath | |
| topological order reflect | |
| topological order regexp | |
| topological order runtime/debug | |
| topological order sigs.k8s.io/structured-merge-diff/v4/value | |
| topological order sort | |
| topological order strconv | |
| topological order strings | |
| topological order sync | |
| topological order sync/atomic | |
| topological order time | |
| topological order unsafe | |
| topological order k8s.io/apimachinery/pkg/runtime/schema | |
| topological order k8s.io/apimachinery/pkg/util/intstr | |
| topological order k8s.io/apimachinery/pkg/api/resource | |
| topological order k8s.io/apimachinery/pkg/runtime | |
| topological order k8s.io/apimachinery/pkg/apis/meta/v1 | |
| topological order k8s.io/api/core/v1 | |
| topological order github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1 | |
| 2020/10/26 08:28:38 github.com/argoproj/argo-cd/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto but not used. | |
| 2020/10/26 08:28:40 github.com/argoproj/argo-cd/vendor/k8s.io/api/core/v1/generated.proto: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto but not used. | |
| 2020/10/26 08:28:43 github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1/generated.proto: warning: Import k8s.io/apimachinery/pkg/runtime/generated.proto but not used. | |
| github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1/generated.proto: warning: Import k8s.io/apimachinery/pkg/runtime/schema/generated.proto but not used. | |
| + go build -i -o dist/protoc-gen-gogofast ./vendor/github.com/gogo/protobuf/protoc-gen-gogofast | |
| + GOPROTOBINARY=gogofast | |
| + go build -i -o dist/protoc-gen-grpc-gateway ./vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway | |
| + go build -i -o dist/protoc-gen-swagger ./vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger | |
| ++ find /go/src/github.com/argoproj/argo-cd '(' -name '*.proto' -and -path '*/server/*' -or -path '*/reposerver/*' -and -name '*.proto' ')' | |
| ++ sort | |
| + PROTO_FILES='/go/src/github.com/argoproj/argo-cd/reposerver/repository/repository.proto | |
| /go/src/github.com/argoproj/argo-cd/server/account/account.proto | |
| /go/src/github.com/argoproj/argo-cd/server/application/application.proto | |
| /go/src/github.com/argoproj/argo-cd/server/certificate/certificate.proto | |
| /go/src/github.com/argoproj/argo-cd/server/cluster/cluster.proto | |
| /go/src/github.com/argoproj/argo-cd/server/gpgkey/gpgkey.proto | |
| /go/src/github.com/argoproj/argo-cd/server/project/project.proto | |
| /go/src/github.com/argoproj/argo-cd/server/repocreds/repocreds.proto | |
| /go/src/github.com/argoproj/argo-cd/server/repository/repository.proto | |
| /go/src/github.com/argoproj/argo-cd/server/session/session.proto | |
| /go/src/github.com/argoproj/argo-cd/server/settings/oidc/claims.proto | |
| /go/src/github.com/argoproj/argo-cd/server/settings/settings.proto | |
| /go/src/github.com/argoproj/argo-cd/server/version/version.proto' | |
| + for i in ${PROTO_FILES} | |
| + GOOGLE_PROTO_API_PATH=/go/pkg/mod/github.com/grpc-ecosystem/grpc-gateway@v1.12.2/third_party/googleapis | |
| + GOGO_PROTOBUF_PATH=/go/src/github.com/argoproj/argo-cd/vendor/github.com/gogo/protobuf | |
| + protoc -I/go/src/github.com/argoproj/argo-cd -I/usr/local/include -I./vendor -I/go/src -I/go/pkg/mod/github.com/grpc-ecosystem/grpc-gateway@v1.12.2/third_party/googleapis -I/go/src/github.com/argoproj/argo-cd/vendor/github.com/gogo/protobuf --gogofast_out=plugins=grpc:/go/src --grpc-gateway_out=logtostderr=true:/go/src --swagger_out=logtostderr=true:. /go/src/github.com/argoproj/argo-cd/reposerver/repository/repository.proto | |
| reposerver/repository/repository.proto: warning: Import k8s.io/api/core/v1/generated.proto but not used. | |
| WARNING: Package "github.com/golang/protobuf/protoc-gen-go/generator" is deprecated. | |
| A future release of golang/protobuf will delete this package, | |
| which has long been excluded from the compatibility promise. | |
| WARNING: Package "github.com/golang/protobuf/protoc-gen-go/generator" is deprecated. | |
| A future release of golang/protobuf will delete this package, | |
| which has long been excluded from the compatibility promise. | |
| + for i in ${PROTO_FILES} | |
| + GOOGLE_PROTO_API_PATH=/go/pkg/mod/github.com/grpc-ecosystem/grpc-gateway@v1.12.2/third_party/googleapis | |
| + GOGO_PROTOBUF_PATH=/go/src/github.com/argoproj/argo-cd/vendor/github.com/gogo/protobuf | |
| + protoc -I/go/src/github.com/argoproj/argo-cd -I/usr/local/include -I./vendor -I/go/src -I/go/pkg/mod/github.com/grpc-ecosystem/grpc-gateway@v1.12.2/third_party/googleapis -I/go/src/github.com/argoproj/argo-cd/vendor/github.com/gogo/protobuf --gogofast_out=plugins=grpc:/go/src --grpc-gateway_out=logtostderr=true:/go/src --swagger_out=logtostderr=true:. /go/src/github.com/argoproj/argo-cd/server/account/account.proto | |
| WARNING: Package "github.com/golang/protobuf/protoc-gen-go/generator" is deprecated. | |
| A future release of golang/protobuf will delete this package, | |
| which has long been excluded from the compatibility promise. | |
| WARNING: Package "github.com/golang/protobuf/protoc-gen-go/generator" is deprecated. | |
| A future release of golang/protobuf will delete this package, | |
| which has long been excluded from the compatibility promise. | |
| + for i in ${PROTO_FILES} | |
| + GOOGLE_PROTO_API_PATH=/go/pkg/mod/github.com/grpc-ecosystem/grpc-gateway@v1.12.2/third_party/googleapis | |
| + GOGO_PROTOBUF_PATH=/go/src/github.com/argoproj/argo-cd/vendor/github.com/gogo/protobuf | |
| + protoc -I/go/src/github.com/argoproj/argo-cd -I/usr/local/include -I./vendor -I/go/src -I/go/pkg/mod/github.com/grpc-ecosystem/grpc-gateway@v1.12.2/third_party/googleapis -I/go/src/github.com/argoproj/argo-cd/vendor/github.com/gogo/protobuf --gogofast_out=plugins=grpc:/go/src --grpc-gateway_out=logtostderr=true:/go/src --swagger_out=logtostderr=true:. /go/src/github.com/argoproj/argo-cd/server/application/application.proto | |
| WARNING: Package "github.com/golang/protobuf/protoc-gen-go/generator" is deprecated. | |
| A future release of golang/protobuf will delete this package, | |
| which has long been excluded from the compatibility promise. | |
| WARNING: Package "github.com/golang/protobuf/protoc-gen-go/generator" is deprecated. | |
| A future release of golang/protobuf will delete this package, | |
| which has long been excluded from the compatibility promise. | |
| + for i in ${PROTO_FILES} | |
| + GOOGLE_PROTO_API_PATH=/go/pkg/mod/github.com/grpc-ecosystem/grpc-gateway@v1.12.2/third_party/googleapis | |
| + GOGO_PROTOBUF_PATH=/go/src/github.com/argoproj/argo-cd/vendor/github.com/gogo/protobuf | |
| + protoc -I/go/src/github.com/argoproj/argo-cd -I/usr/local/include -I./vendor -I/go/src -I/go/pkg/mod/github.com/grpc-ecosystem/grpc-gateway@v1.12.2/third_party/googleapis -I/go/src/github.com/argoproj/argo-cd/vendor/github.com/gogo/protobuf --gogofast_out=plugins=grpc:/go/src --grpc-gateway_out=logtostderr=true:/go/src --swagger_out=logtostderr=true:. /go/src/github.com/argoproj/argo-cd/server/certificate/certificate.proto | |
| WARNING: Package "github.com/golang/protobuf/protoc-gen-go/generator" is deprecated. | |
| A future release of golang/protobuf will delete this package, | |
| which has long been excluded from the compatibility promise. | |
| WARNING: Package "github.com/golang/protobuf/protoc-gen-go/generator" is deprecated. | |
| A future release of golang/protobuf will delete this package, | |
| which has long been excluded from the compatibility promise. | |
| + for i in ${PROTO_FILES} | |
| + GOOGLE_PROTO_API_PATH=/go/pkg/mod/github.com/grpc-ecosystem/grpc-gateway@v1.12.2/third_party/googleapis | |
| + GOGO_PROTOBUF_PATH=/go/src/github.com/argoproj/argo-cd/vendor/github.com/gogo/protobuf | |
| + protoc -I/go/src/github.com/argoproj/argo-cd -I/usr/local/include -I./vendor -I/go/src -I/go/pkg/mod/github.com/grpc-ecosystem/grpc-gateway@v1.12.2/third_party/googleapis -I/go/src/github.com/argoproj/argo-cd/vendor/github.com/gogo/protobuf --gogofast_out=plugins=grpc:/go/src --grpc-gateway_out=logtostderr=true:/go/src --swagger_out=logtostderr=true:. /go/src/github.com/argoproj/argo-cd/server/cluster/cluster.proto | |
| server/cluster/cluster.proto: warning: Import k8s.io/api/core/v1/generated.proto but not used. | |
| WARNING: Package "github.com/golang/protobuf/protoc-gen-go/generator" is deprecated. | |
| A future release of golang/protobuf will delete this package, | |
| which has long been excluded from the compatibility promise. | |
| WARNING: Package "github.com/golang/protobuf/protoc-gen-go/generator" is deprecated. | |
| A future release of golang/protobuf will delete this package, | |
| which has long been excluded from the compatibility promise. | |
| + for i in ${PROTO_FILES} | |
| + GOOGLE_PROTO_API_PATH=/go/pkg/mod/github.com/grpc-ecosystem/grpc-gateway@v1.12.2/third_party/googleapis | |
| + GOGO_PROTOBUF_PATH=/go/src/github.com/argoproj/argo-cd/vendor/github.com/gogo/protobuf | |
| + protoc -I/go/src/github.com/argoproj/argo-cd -I/usr/local/include -I./vendor -I/go/src -I/go/pkg/mod/github.com/grpc-ecosystem/grpc-gateway@v1.12.2/third_party/googleapis -I/go/src/github.com/argoproj/argo-cd/vendor/github.com/gogo/protobuf --gogofast_out=plugins=grpc:/go/src --grpc-gateway_out=logtostderr=true:/go/src --swagger_out=logtostderr=true:. /go/src/github.com/argoproj/argo-cd/server/gpgkey/gpgkey.proto | |
| WARNING: Package "github.com/golang/protobuf/protoc-gen-go/generator" is deprecated. | |
| A future release of golang/protobuf will delete this package, | |
| which has long been excluded from the compatibility promise. | |
| WARNING: Package "github.com/golang/protobuf/protoc-gen-go/generator" is deprecated. | |
| A future release of golang/protobuf will delete this package, | |
| which has long been excluded from the compatibility promise. | |
| + for i in ${PROTO_FILES} | |
| + GOOGLE_PROTO_API_PATH=/go/pkg/mod/github.com/grpc-ecosystem/grpc-gateway@v1.12.2/third_party/googleapis | |
| + GOGO_PROTOBUF_PATH=/go/src/github.com/argoproj/argo-cd/vendor/github.com/gogo/protobuf | |
| + protoc -I/go/src/github.com/argoproj/argo-cd -I/usr/local/include -I./vendor -I/go/src -I/go/pkg/mod/github.com/grpc-ecosystem/grpc-gateway@v1.12.2/third_party/googleapis -I/go/src/github.com/argoproj/argo-cd/vendor/github.com/gogo/protobuf --gogofast_out=plugins=grpc:/go/src --grpc-gateway_out=logtostderr=true:/go/src --swagger_out=logtostderr=true:. /go/src/github.com/argoproj/argo-cd/server/project/project.proto | |
| server/project/project.proto: warning: Import k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto but not used. | |
| WARNING: Package "github.com/golang/protobuf/protoc-gen-go/generator" is deprecated. | |
| A future release of golang/protobuf will delete this package, | |
| which has long been excluded from the compatibility promise. | |
| WARNING: Package "github.com/golang/protobuf/protoc-gen-go/generator" is deprecated. | |
| A future release of golang/protobuf will delete this package, | |
| which has long been excluded from the compatibility promise. | |
| + for i in ${PROTO_FILES} | |
| + GOOGLE_PROTO_API_PATH=/go/pkg/mod/github.com/grpc-ecosystem/grpc-gateway@v1.12.2/third_party/googleapis | |
| + GOGO_PROTOBUF_PATH=/go/src/github.com/argoproj/argo-cd/vendor/github.com/gogo/protobuf | |
| + protoc -I/go/src/github.com/argoproj/argo-cd -I/usr/local/include -I./vendor -I/go/src -I/go/pkg/mod/github.com/grpc-ecosystem/grpc-gateway@v1.12.2/third_party/googleapis -I/go/src/github.com/argoproj/argo-cd/vendor/github.com/gogo/protobuf --gogofast_out=plugins=grpc:/go/src --grpc-gateway_out=logtostderr=true:/go/src --swagger_out=logtostderr=true:. /go/src/github.com/argoproj/argo-cd/server/repocreds/repocreds.proto | |
| server/repocreds/repocreds.proto: warning: Import k8s.io/api/core/v1/generated.proto but not used. | |
| WARNING: Package "github.com/golang/protobuf/protoc-gen-go/generator" is deprecated. | |
| A future release of golang/protobuf will delete this package, | |
| which has long been excluded from the compatibility promise. | |
| WARNING: Package "github.com/golang/protobuf/protoc-gen-go/generator" is deprecated. | |
| A future release of golang/protobuf will delete this package, | |
| which has long been excluded from the compatibility promise. | |
| + for i in ${PROTO_FILES} | |
| + GOOGLE_PROTO_API_PATH=/go/pkg/mod/github.com/grpc-ecosystem/grpc-gateway@v1.12.2/third_party/googleapis | |
| + GOGO_PROTOBUF_PATH=/go/src/github.com/argoproj/argo-cd/vendor/github.com/gogo/protobuf | |
| + protoc -I/go/src/github.com/argoproj/argo-cd -I/usr/local/include -I./vendor -I/go/src -I/go/pkg/mod/github.com/grpc-ecosystem/grpc-gateway@v1.12.2/third_party/googleapis -I/go/src/github.com/argoproj/argo-cd/vendor/github.com/gogo/protobuf --gogofast_out=plugins=grpc:/go/src --grpc-gateway_out=logtostderr=true:/go/src --swagger_out=logtostderr=true:. /go/src/github.com/argoproj/argo-cd/server/repository/repository.proto | |
| server/repository/repository.proto: warning: Import k8s.io/api/core/v1/generated.proto but not used. | |
| WARNING: Package "github.com/golang/protobuf/protoc-gen-go/generator" is deprecated. | |
| A future release of golang/protobuf will delete this package, | |
| which has long been excluded from the compatibility promise. | |
| WARNING: Package "github.com/golang/protobuf/protoc-gen-go/generator" is deprecated. | |
| A future release of golang/protobuf will delete this package, | |
| which has long been excluded from the compatibility promise. | |
| + for i in ${PROTO_FILES} | |
| + GOOGLE_PROTO_API_PATH=/go/pkg/mod/github.com/grpc-ecosystem/grpc-gateway@v1.12.2/third_party/googleapis | |
| + GOGO_PROTOBUF_PATH=/go/src/github.com/argoproj/argo-cd/vendor/github.com/gogo/protobuf | |
| + protoc -I/go/src/github.com/argoproj/argo-cd -I/usr/local/include -I./vendor -I/go/src -I/go/pkg/mod/github.com/grpc-ecosystem/grpc-gateway@v1.12.2/third_party/googleapis -I/go/src/github.com/argoproj/argo-cd/vendor/github.com/gogo/protobuf --gogofast_out=plugins=grpc:/go/src --grpc-gateway_out=logtostderr=true:/go/src --swagger_out=logtostderr=true:. /go/src/github.com/argoproj/argo-cd/server/session/session.proto | |
| server/session/session.proto: warning: Import github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1/generated.proto but not used. | |
| server/session/session.proto: warning: Import k8s.io/api/core/v1/generated.proto but not used. | |
| WARNING: Package "github.com/golang/protobuf/protoc-gen-go/generator" is deprecated. | |
| A future release of golang/protobuf will delete this package, | |
| which has long been excluded from the compatibility promise. | |
| WARNING: Package "github.com/golang/protobuf/protoc-gen-go/generator" is deprecated. | |
| A future release of golang/protobuf will delete this package, | |
| which has long been excluded from the compatibility promise. | |
| + for i in ${PROTO_FILES} | |
| + GOOGLE_PROTO_API_PATH=/go/pkg/mod/github.com/grpc-ecosystem/grpc-gateway@v1.12.2/third_party/googleapis | |
| + GOGO_PROTOBUF_PATH=/go/src/github.com/argoproj/argo-cd/vendor/github.com/gogo/protobuf | |
| + protoc -I/go/src/github.com/argoproj/argo-cd -I/usr/local/include -I./vendor -I/go/src -I/go/pkg/mod/github.com/grpc-ecosystem/grpc-gateway@v1.12.2/third_party/googleapis -I/go/src/github.com/argoproj/argo-cd/vendor/github.com/gogo/protobuf --gogofast_out=plugins=grpc:/go/src --grpc-gateway_out=logtostderr=true:/go/src --swagger_out=logtostderr=true:. /go/src/github.com/argoproj/argo-cd/server/settings/oidc/claims.proto | |
| WARNING: Package "github.com/golang/protobuf/protoc-gen-go/generator" is deprecated. | |
| A future release of golang/protobuf will delete this package, | |
| which has long been excluded from the compatibility promise. | |
| WARNING: Package "github.com/golang/protobuf/protoc-gen-go/generator" is deprecated. | |
| A future release of golang/protobuf will delete this package, | |
| which has long been excluded from the compatibility promise. | |
| + for i in ${PROTO_FILES} | |
| + GOOGLE_PROTO_API_PATH=/go/pkg/mod/github.com/grpc-ecosystem/grpc-gateway@v1.12.2/third_party/googleapis | |
| + GOGO_PROTOBUF_PATH=/go/src/github.com/argoproj/argo-cd/vendor/github.com/gogo/protobuf | |
| + protoc -I/go/src/github.com/argoproj/argo-cd -I/usr/local/include -I./vendor -I/go/src -I/go/pkg/mod/github.com/grpc-ecosystem/grpc-gateway@v1.12.2/third_party/googleapis -I/go/src/github.com/argoproj/argo-cd/vendor/github.com/gogo/protobuf --gogofast_out=plugins=grpc:/go/src --grpc-gateway_out=logtostderr=true:/go/src --swagger_out=logtostderr=true:. /go/src/github.com/argoproj/argo-cd/server/settings/settings.proto | |
| WARNING: Package "github.com/golang/protobuf/protoc-gen-go/generator" is deprecated. | |
| A future release of golang/protobuf will delete this package, | |
| which has long been excluded from the compatibility promise. | |
| WARNING: Package "github.com/golang/protobuf/protoc-gen-go/generator" is deprecated. | |
| A future release of golang/protobuf will delete this package, | |
| which has long been excluded from the compatibility promise. | |
| + for i in ${PROTO_FILES} | |
| + GOOGLE_PROTO_API_PATH=/go/pkg/mod/github.com/grpc-ecosystem/grpc-gateway@v1.12.2/third_party/googleapis | |
| + GOGO_PROTOBUF_PATH=/go/src/github.com/argoproj/argo-cd/vendor/github.com/gogo/protobuf | |
| + protoc -I/go/src/github.com/argoproj/argo-cd -I/usr/local/include -I./vendor -I/go/src -I/go/pkg/mod/github.com/grpc-ecosystem/grpc-gateway@v1.12.2/third_party/googleapis -I/go/src/github.com/argoproj/argo-cd/vendor/github.com/gogo/protobuf --gogofast_out=plugins=grpc:/go/src --grpc-gateway_out=logtostderr=true:/go/src --swagger_out=logtostderr=true:. /go/src/github.com/argoproj/argo-cd/server/version/version.proto | |
| WARNING: Package "github.com/golang/protobuf/protoc-gen-go/generator" is deprecated. | |
| A future release of golang/protobuf will delete this package, | |
| which has long been excluded from the compatibility promise. | |
| WARNING: Package "github.com/golang/protobuf/protoc-gen-go/generator" is deprecated. | |
| A future release of golang/protobuf will delete this package, | |
| which has long been excluded from the compatibility promise. | |
| + echo 'If additional types are added, the number of expected collisions may need to be increased' | |
| If additional types are added, the number of expected collisions may need to be increased | |
| + EXPECTED_COLLISION_COUNT=33 | |
| + collect_swagger server 33 | |
| + SWAGGER_ROOT=server | |
| + EXPECTED_COLLISIONS=33 | |
| + SWAGGER_OUT=/go/src/github.com/argoproj/argo-cd/assets/swagger.json | |
| ++ mktemp | |
| + PRIMARY_SWAGGER=/tmp/tmp.hvKa7fQBGL | |
| ++ mktemp | |
| + COMBINED_SWAGGER=/tmp/tmp.FcWSN5bPur | |
| + cat | |
| + rm -f /go/src/github.com/argoproj/argo-cd/assets/swagger.json | |
| + find server -name '*.swagger.json' -exec swagger mixin -c 33 /tmp/tmp.hvKa7fQBGL '{}' + | |
| 2020/10/26 08:29:01 args[0] = /tmp/tmp.hvKa7fQBGL | |
| 2020/10/26 08:29:01 args[1:] = [server/account/account.swagger.json server/application/application.swagger.json server/certificate/certificate.swagger.json server/cluster/cluster.swagger.json server/gpgkey/gpgkey.swagger.json server/project/project.swagger.json server/repocreds/repocreds.swagger.json server/repository/repository.swagger.json server/session/session.swagger.json server/settings/oidc/claims.swagger.json server/settings/settings.swagger.json server/version/version.swagger.json] | |
| 2020/10/26 08:29:01 definitions entry 'v1ListMeta' already exists in primary or higher priority mixin, skipping | |
| 2020/10/26 08:29:01 definitions entry 'v1Time' already exists in primary or higher priority mixin, skipping | |
| 2020/10/26 08:29:01 definitions entry 'v1ListMeta' already exists in primary or higher priority mixin, skipping | |
| 2020/10/26 08:29:01 definitions entry 'v1ListMeta' already exists in primary or higher priority mixin, skipping | |
| 2020/10/26 08:29:01 definitions entry 'v1OwnerReference' already exists in primary or higher priority mixin, skipping | |
| 2020/10/26 08:29:01 definitions entry 'v1alpha1ApplicationDestination' already exists in primary or higher priority mixin, skipping | |
| 2020/10/26 08:29:01 definitions entry 'v1Event' already exists in primary or higher priority mixin, skipping | |
| 2020/10/26 08:29:01 definitions entry 'v1EventSource' already exists in primary or higher priority mixin, skipping | |
| 2020/10/26 08:29:01 definitions entry 'v1FieldsV1' already exists in primary or higher priority mixin, skipping | |
| 2020/10/26 08:29:01 definitions entry 'v1ManagedFieldsEntry' already exists in primary or higher priority mixin, skipping | |
| 2020/10/26 08:29:01 definitions entry 'v1MicroTime' already exists in primary or higher priority mixin, skipping | |
| 2020/10/26 08:29:01 definitions entry 'v1ObjectReference' already exists in primary or higher priority mixin, skipping | |
| 2020/10/26 08:29:01 definitions entry 'v1ListMeta' already exists in primary or higher priority mixin, skipping | |
| 2020/10/26 08:29:01 definitions entry 'v1Time' already exists in primary or higher priority mixin, skipping | |
| 2020/10/26 08:29:01 definitions entry 'v1ObjectMeta' already exists in primary or higher priority mixin, skipping | |
| 2020/10/26 08:29:01 definitions entry 'v1EventList' already exists in primary or higher priority mixin, skipping | |
| 2020/10/26 08:29:01 definitions entry 'v1EventSeries' already exists in primary or higher priority mixin, skipping | |
| 2020/10/26 08:29:01 definitions entry 'v1ListMeta' already exists in primary or higher priority mixin, skipping | |
| 2020/10/26 08:29:01 definitions entry 'v1ListMeta' already exists in primary or higher priority mixin, skipping | |
| 2020/10/26 08:29:01 definitions entry 'v1alpha1HelmFileParameter' already exists in primary or higher priority mixin, skipping | |
| 2020/10/26 08:29:01 definitions entry 'v1alpha1HelmParameter' already exists in primary or higher priority mixin, skipping | |
| 2020/10/26 08:29:01 definitions entry 'v1alpha1ApplicationSourceHelm' already exists in primary or higher priority mixin, skipping | |
| 2020/10/26 08:29:01 definitions entry 'v1alpha1ApplicationSourcePlugin' already exists in primary or higher priority mixin, skipping | |
| 2020/10/26 08:29:01 definitions entry 'v1alpha1ConnectionState' already exists in primary or higher priority mixin, skipping | |
| 2020/10/26 08:29:01 definitions entry 'v1alpha1EnvEntry' already exists in primary or higher priority mixin, skipping | |
| 2020/10/26 08:29:01 definitions entry 'v1alpha1ApplicationSource' already exists in primary or higher priority mixin, skipping | |
| 2020/10/26 08:29:01 definitions entry 'v1alpha1ApplicationSourceDirectory' already exists in primary or higher priority mixin, skipping | |
| 2020/10/26 08:29:01 definitions entry 'v1alpha1ApplicationSourceKustomize' already exists in primary or higher priority mixin, skipping | |
| 2020/10/26 08:29:01 definitions entry 'v1alpha1JsonnetVar' already exists in primary or higher priority mixin, skipping | |
| 2020/10/26 08:29:01 definitions entry 'v1alpha1KsonnetParameter' already exists in primary or higher priority mixin, skipping | |
| 2020/10/26 08:29:01 definitions entry 'v1Time' already exists in primary or higher priority mixin, skipping | |
| 2020/10/26 08:29:01 definitions entry 'v1alpha1ApplicationSourceKsonnet' already exists in primary or higher priority mixin, skipping | |
| 2020/10/26 08:29:01 definitions entry 'v1alpha1ApplicationSourceJsonnet' already exists in primary or higher priority mixin, skipping | |
| + jq -r 'del(.definitions[].properties[]? | select(."$ref"!=null and .description!=null).description) | del(.definitions[].properties[]? | select(."$ref"!=null and .title!=null).title)' /tmp/tmp.FcWSN5bPur | |
| + /bin/rm /tmp/tmp.hvKa7fQBGL /tmp/tmp.FcWSN5bPur | |
| + clean_swagger server | |
| + SWAGGER_ROOT=server | |
| + find server -name '*.swagger.json' -delete | |
| + clean_swagger reposerver | |
| + SWAGGER_ROOT=reposerver | |
| + find reposerver -name '*.swagger.json' -delete | |
| + clean_swagger controller | |
| + SWAGGER_ROOT=controller | |
| + find controller -name '*.swagger.json' -delete | |
| export GO111MODULE=off | |
| ./hack/update-codegen.sh | |
| + set -o errexit | |
| + set -o nounset | |
| + set -o pipefail | |
| ++ dirname ./hack/update-codegen.sh | |
| + SCRIPT_ROOT=./hack/.. | |
| + . ./hack/../hack/versions.sh | |
| ++ kube_version=v0.19.2 | |
| ++ grpc_version=v1.26.0 | |
| ++ protobuf_version=v1.3.2 | |
| ++ grpc_gateway_version=v1.12.2 | |
| + CODEGEN_PKG=/go/pkg/mod/k8s.io/code-generator@v0.19.2 | |
| + TARGET_SCRIPT=/tmp/generate-groups.sh | |
| + cd /go/pkg/mod/k8s.io/code-generator@v0.19.2 | |
| + go install ./cmd/defaulter-gen ./cmd/client-gen ./cmd/lister-gen ./cmd/informer-gen ./cmd/deepcopy-gen | |
| + export GO111MODULE=off | |
| + GO111MODULE=off | |
| + sed -e '/go install/d' /go/pkg/mod/k8s.io/code-generator@v0.19.2/generate-groups.sh | |
| + bash -x /tmp/generate-groups.sh deepcopy,client,informer,lister github.com/argoproj/argo-cd/pkg/client github.com/argoproj/argo-cd/pkg/apis application:v1alpha1 --go-header-file ./hack/../hack/custom-boilerplate.go.txt | |
| + set -o errexit | |
| + set -o nounset | |
| + set -o pipefail | |
| + '[' 6 -lt 4 ']' | |
| + '[' deepcopy,client,informer,lister == --help ']' | |
| + GENS=deepcopy,client,informer,lister | |
| + OUTPUT_PKG=github.com/argoproj/argo-cd/pkg/client | |
| + APIS_PKG=github.com/argoproj/argo-cd/pkg/apis | |
| + GROUPS_WITH_VERSIONS=application:v1alpha1 | |
| + shift 4 | |
| ++ dirname /tmp/generate-groups.sh | |
| + cd /tmp | |
| ++ go env GOBIN | |
| + GOBIN= | |
| ++ go env GOPATH | |
| + gobin=/go/bin | |
| + FQ_APIS=() | |
| + for GVs in ${GROUPS_WITH_VERSIONS} | |
| + IFS=: | |
| + read -r G Vs | |
| + for V in ${Vs//,/ } | |
| + FQ_APIS+=("${APIS_PKG}/${G}/${V}") | |
| + '[' deepcopy,client,informer,lister = all ']' | |
| + grep -qw deepcopy | |
| + echo 'Generating deepcopy funcs' | |
| Generating deepcopy funcs | |
| ++ codegen::join , github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1 | |
| ++ local IFS=, | |
| ++ shift | |
| ++ echo github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1 | |
| + /go/bin/deepcopy-gen --input-dirs github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1 -O zz_generated.deepcopy --bounding-dirs github.com/argoproj/argo-cd/pkg/apis --go-header-file ./hack/../hack/custom-boilerplate.go.txt | |
| + '[' deepcopy,client,informer,lister = all ']' | |
| + grep -qw client | |
| + echo 'Generating clientset for application:v1alpha1 at github.com/argoproj/argo-cd/pkg/client/clientset' | |
| Generating clientset for application:v1alpha1 at github.com/argoproj/argo-cd/pkg/client/clientset | |
| ++ codegen::join , github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1 | |
| ++ local IFS=, | |
| ++ shift | |
| ++ echo github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1 | |
| + /go/bin/client-gen --clientset-name versioned --input-base '' --input github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1 --output-package github.com/argoproj/argo-cd/pkg/client/clientset --go-header-file ./hack/../hack/custom-boilerplate.go.txt | |
| + '[' deepcopy,client,informer,lister = all ']' | |
| + grep -qw lister | |
| + echo 'Generating listers for application:v1alpha1 at github.com/argoproj/argo-cd/pkg/client/listers' | |
| Generating listers for application:v1alpha1 at github.com/argoproj/argo-cd/pkg/client/listers | |
| ++ codegen::join , github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1 | |
| ++ local IFS=, | |
| ++ shift | |
| ++ echo github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1 | |
| + /go/bin/lister-gen --input-dirs github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1 --output-package github.com/argoproj/argo-cd/pkg/client/listers --go-header-file ./hack/../hack/custom-boilerplate.go.txt | |
| + '[' deepcopy,client,informer,lister = all ']' | |
| + grep -qw informer | |
| + echo 'Generating informers for application:v1alpha1 at github.com/argoproj/argo-cd/pkg/client/informers' | |
| Generating informers for application:v1alpha1 at github.com/argoproj/argo-cd/pkg/client/informers | |
| ++ codegen::join , github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1 | |
| ++ local IFS=, | |
| ++ shift | |
| ++ echo github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1 | |
| + /go/bin/informer-gen --input-dirs github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1 --versioned-clientset-package github.com/argoproj/argo-cd/pkg/client/clientset/versioned --listers-package github.com/argoproj/argo-cd/pkg/client/listers --output-package github.com/argoproj/argo-cd/pkg/client/informers --go-header-file ./hack/../hack/custom-boilerplate.go.txt | |
| export GO111MODULE=off | |
| ./hack/update-openapi.sh | |
| + set -o errexit | |
| + set -o nounset | |
| + set -o pipefail | |
| +++ dirname ./hack/update-openapi.sh | |
| ++ cd ./hack/.. | |
| ++ pwd | |
| + PROJECT_ROOT=/go/src/github.com/argoproj/argo-cd | |
| + CODEGEN_PKG=/go/src/github.com/argoproj/argo-cd/vendor/k8s.io/kube-openapi | |
| + VERSION=v1alpha1 | |
| + export GO111MODULE=off | |
| + GO111MODULE=off | |
| + go build -o dist/openapi-gen /go/src/github.com/argoproj/argo-cd/vendor/k8s.io/kube-openapi/cmd/openapi-gen | |
| + ./dist/openapi-gen --go-header-file /go/src/github.com/argoproj/argo-cd/hack/custom-boilerplate.go.txt --input-dirs github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1 --output-package github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1 --report-filename pkg/apis/api-rules/violation_exceptions.list | |
| + go build -o ./dist/gen-crd-spec /go/src/github.com/argoproj/argo-cd/hack/gen-crd-spec | |
| + ./dist/gen-crd-spec | |
| panic: exit status 1 | |
| goroutine 1 [running]: | |
| main.checkErr(...) | |
| /go/src/github.com/argoproj/argo-cd/hack/gen-crd-spec/main.go:95 | |
| main.getCustomResourceDefinitions(0x30) | |
| /go/src/github.com/argoproj/argo-cd/hack/gen-crd-spec/main.go:33 +0x567 | |
| main.main() | |
| /go/src/github.com/argoproj/argo-cd/hack/gen-crd-spec/main.go:100 +0x37 | |
| make: *** [Makefile:151: openapigen] Error 2 | |
| make: *** [codegen] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment