Skip to content

Tests fail with Kustomize related errors when Argo CD is built according to the Developer Guide #21036

@dudinea

Description

@dudinea

Checklist:

  • I've searched in the docs and FAQ for my answer: https://bit.ly/argocd-faq.
  • I've included steps to reproduce the bug.
  • I've pasted the output of argocd version (kind of).

Describe the bug

Tests fail with Kustomize related errors when Argo CD is built locally according to Developer Guide.

To Reproduce

I'm trying to get started with Argo CD development, the OS is Arch Linux/amd64.

I checked out master and installed Argo CD local development environment according to the guide
toolchain-guide/Setting up a local toolchain

BIN=~/go/bin make install-tools-local
make mod-download-local
make mod-vendor-local
make codegen-local
make build-local
make test-local

Then some tests would fail with error:

Received unexpected error: 	exec: "kustomize": executable file not found in $PATH

And, in fact, Kustomize has not been installed in ~/go/bin by the
BIN=~/go/bin make install-tools-local command, as we see from the log below.
Only Helm has been installed there, the Kustomize binary has been installed
only into ./dist/kustomize.

So I try to manually copy kustomize from ./dist/kustomize into ~/go/bin and retry running
make test-local. Now some tests fail with another error:

Received unexpected error:
        	            	`kustomize edit add label --without-selector foo:bar` failed exit status 1: Error: unknown flag: --without-selector

The flag --without-selector is not supported by the installed kustomize version. As we see from the log
the kustomize has been downloaded twice:
at first ./hack/install.sh kustomize had downloaded v5.4.3, and then it has been overwritten by
./hack/installers/install-codegen-tools.sh that downloads v4.5.7, which does not support this flag.

Same errors happen in 'make tests' that run in docker as well.

The problem obviously does not happen in CI pipeline because it's code generation and test
stages run separately and Kustomize does not get overwritten.

Workaround:

Download kustomize v5.4.3 manually and put it into '~/go/bin':

INSTALL_PATH=~/go/bin ARCHITECTURE=amd64 INSTALL_OS=linux DOWNLOADS=/tmp hack/installers/install-kustomize.sh

Now those errors go away.

Expected behavior

  • Tests do not fail because of kustomize
  • kustomize v5.4.3 is installed in '~/go/bin' by make install-test-tools-local
  • kustomize v5.4.3 is installed in ./dist/ by make install-codegen-tools-local

Version

Argo CD built from master, commit bd5d76f of Mon Dec 2 15:26:46 2024 -0800

Logs

log of BIN=~/go/bin make install-tools-local:

./hack/install.sh kustomize
+ export DOWNLOADS=/tmp/dl
+ DOWNLOADS=/tmp/dl
+ export BIN=/home/dudin/go/bin
+ BIN=/home/dudin/go/bin
+ mkdir -p /tmp/dl
+ ARCHITECTURE=
+ case $(uname -m) in
++ uname -m
+ ARCHITECTURE=amd64
+ INSTALL_OS=
++ uname -s
+ unameOut=Linux
+ case "${unameOut}" in
+ INSTALL_OS=linux
+ for product in $*
++ dirname ./hack/install.sh
+ ARCHITECTURE=amd64
+ INSTALL_OS=linux
+ ./hack/installers/install-kustomize.sh
++ dirname ./hack/installers/install-kustomize.sh
+ . ./hack/installers/../tool-versions.sh
++ helm3_version=3.15.4
++ kubectl_version=1.17.8
++ kubectx_version=0.6.3
++ kustomize5_version=5.4.3
++ protoc_version=27.2
+++ dirname ./hack/installers/install-kustomize.sh
++ cd ./hack/installers/../..
++ pwd
+ PROJECT_ROOT=/home/dudin/go/src/github.com/argoproj/argo-cd
+ INSTALL_PATH=/home/dudin/go/src/github.com/argoproj/argo-cd/dist
+ PATH=/home/dudin/go/src/github.com/argoproj/argo-cd/dist:/usr/lib/jvm/java-11-openjdk/bin/:/home/dudin/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/dudin/cross/bin:/home/dudin/go/bin:/usr/local/go/bin:/home/dudin/go/bin:/home/dudin/.local/bin:/home/dudin/.npm-packages/bin:/usr/local/go/bin:/home/dudin/go/src/github.com/argoproj/argo-cd/hack
+ '[' -d /home/dudin/go/src/github.com/argoproj/argo-cd/dist ']'
+ KUSTOMIZE_VERSION=5.4.3
+ '[' -z linux ']'
+ case $ARCHITECTURE in
+ case $KUSTOMIZE_VERSION in
+ export TARGET_FILE=kustomize_5.4.3_linux_amd64.tar.gz
+ TARGET_FILE=kustomize_5.4.3_linux_amd64.tar.gz
+ URL=https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/v5.4.3/kustomize_v5.4.3_linux_amd64.tar.gz
+ BINNAME=kustomize
+ '[' -e /tmp/dl/kustomize_5.4.3_linux_amd64.tar.gz ']'
++ dirname ./hack/installers/install-kustomize.sh
+ ./hack/installers/compare-chksum.sh
+ test kustomize_5.4.3_linux_amd64.tar.gz = ''
+++ dirname ./hack/installers/compare-chksum.sh
++ cd ./hack/installers
++ pwd
+ CHKSUM_FILE=/home/dudin/go/src/github.com/argoproj/argo-cd/hack/installers/checksums/kustomize_5.4.3_linux_amd64.tar.gz.sha256
+ cd /tmp/dl
+ test -f kustomize_5.4.3_linux_amd64.tar.gz
+ grep -q kustomize_5.4.3_linux_amd64.tar.gz /home/dudin/go/src/github.com/argoproj/argo-cd/hack/installers/checksums/kustomize_5.4.3_linux_amd64.tar.gz.sha256
+ shasum -a 256 -c /home/dudin/go/src/github.com/argoproj/argo-cd/hack/installers/checksums/kustomize_5.4.3_linux_amd64.tar.gz.sha256
kustomize_5.4.3_linux_amd64.tar.gz: OK
+ tar -C /tmp -xf /tmp/dl/kustomize_5.4.3_linux_amd64.tar.gz
+ sudo install -m 0755 /tmp/kustomize /home/dudin/go/src/github.com/argoproj/argo-cd/dist/kustomize
+ kustomize version
v5.4.3
./hack/install.sh helm
+ export DOWNLOADS=/tmp/dl
+ DOWNLOADS=/tmp/dl
+ export BIN=/home/dudin/go/bin
+ BIN=/home/dudin/go/bin
+ mkdir -p /tmp/dl
+ ARCHITECTURE=
+ case $(uname -m) in
++ uname -m
+ ARCHITECTURE=amd64
+ INSTALL_OS=
++ uname -s
+ unameOut=Linux
+ case "${unameOut}" in
+ INSTALL_OS=linux
+ for product in $*
++ dirname ./hack/install.sh
+ ARCHITECTURE=amd64
+ INSTALL_OS=linux
+ ./hack/installers/install-helm.sh
++ dirname ./hack/installers/install-helm.sh
+ . ./hack/installers/../tool-versions.sh
++ helm3_version=3.15.4
++ kubectl_version=1.17.8
++ kubectx_version=0.6.3
++ kustomize5_version=5.4.3
++ protoc_version=27.2
+ export TARGET_FILE=helm-v3.15.4-linux-amd64.tar.gz
+ TARGET_FILE=helm-v3.15.4-linux-amd64.tar.gz
+ '[' -e /tmp/dl/helm-v3.15.4-linux-amd64.tar.gz ']'
++ dirname ./hack/installers/install-helm.sh
+ ./hack/installers/compare-chksum.sh
+ test helm-v3.15.4-linux-amd64.tar.gz = ''
+++ dirname ./hack/installers/compare-chksum.sh
++ cd ./hack/installers
++ pwd
+ CHKSUM_FILE=/home/dudin/go/src/github.com/argoproj/argo-cd/hack/installers/checksums/helm-v3.15.4-linux-amd64.tar.gz.sha256
+ cd /tmp/dl
+ test -f helm-v3.15.4-linux-amd64.tar.gz
+ grep -q helm-v3.15.4-linux-amd64.tar.gz /home/dudin/go/src/github.com/argoproj/argo-cd/hack/installers/checksums/helm-v3.15.4-linux-amd64.tar.gz.sha256
+ shasum -a 256 -c /home/dudin/go/src/github.com/argoproj/argo-cd/hack/installers/checksums/helm-v3.15.4-linux-amd64.tar.gz.sha256
helm-v3.15.4-linux-amd64.tar.gz: OK
+ mkdir -p /tmp/helm
+ tar -C /tmp/helm -xf /tmp/dl/helm-v3.15.4-linux-amd64.tar.gz
+ sudo install -m 0755 /tmp/helm/linux-amd64/helm /home/dudin/go/bin/helm
+ helm version --client
version.BuildInfo{Version:"v3.15.4", GitCommit:"fa9efb07d9d8debbb4306d72af76a383895aa8c4", GitTreeState:"clean", GoVersion:"go1.22.6"}
./hack/install.sh gotestsum
+ export DOWNLOADS=/tmp/dl
+ DOWNLOADS=/tmp/dl
+ export BIN=/home/dudin/go/bin
+ BIN=/home/dudin/go/bin
+ mkdir -p /tmp/dl
+ ARCHITECTURE=
+ case $(uname -m) in
++ uname -m
+ ARCHITECTURE=amd64
+ INSTALL_OS=
++ uname -s
+ unameOut=Linux
+ case "${unameOut}" in
+ INSTALL_OS=linux
+ for product in $*
++ dirname ./hack/install.sh
+ ARCHITECTURE=amd64
+ INSTALL_OS=linux
+ ./hack/installers/install-gotestsum.sh
+++ dirname ./hack/installers/install-gotestsum.sh
++ cd ./hack/installers/../..
++ pwd
+ PROJECT_ROOT=/home/dudin/go/src/github.com/argoproj/argo-cd
+ DIST_PATH=/home/dudin/go/src/github.com/argoproj/argo-cd/dist
+ PATH=/home/dudin/go/src/github.com/argoproj/argo-cd/dist:/usr/lib/jvm/java-11-openjdk/bin/:/home/dudin/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/dudin/cross/bin:/home/dudin/go/bin:/usr/local/go/bin:/home/dudin/go/bin:/home/dudin/.local/bin:/home/dudin/.npm-packages/bin:/usr/local/go/bin:/home/dudin/go/src/github.com/argoproj/argo-cd/hack
+ mkdir -p /home/dudin/go/src/github.com/argoproj/argo-cd/dist
+ gotestsum_version=1.11.0
++ go env GOOS
+ OS=linux
++ go env GOARCH
+ ARCH=amd64
+ export TARGET_FILE=gotestsum_1.11.0_linux_amd64.tar.gz
+ TARGET_FILE=gotestsum_1.11.0_linux_amd64.tar.gz
+ temp_path=/tmp/gotestsum_1.11.0_linux_amd64.tar.gz
+ url=https://github.com/gotestyourself/gotestsum/releases/download/v1.11.0/gotestsum_1.11.0_linux_amd64.tar.gz
+ '[' -e /tmp/gotestsum_1.11.0_linux_amd64.tar.gz ']'
+ mkdir -p /tmp/gotestsum-1.11.0
+ tar -xvzf /tmp/gotestsum_1.11.0_linux_amd64.tar.gz -C /tmp/gotestsum-1.11.0
LICENSE
LICENSE.md
README.md
gotestsum
+ cp /tmp/gotestsum-1.11.0/gotestsum /home/dudin/go/src/github.com/argoproj/argo-cd/dist/gotestsum
+ chmod +x /home/dudin/go/src/github.com/argoproj/argo-cd/dist/gotestsum
+ gotestsum --version
gotestsum version 1.11.0
./hack/install.sh codegen-tools
+ export DOWNLOADS=/tmp/dl
+ DOWNLOADS=/tmp/dl
+ export BIN=/home/dudin/go/bin
+ BIN=/home/dudin/go/bin
+ mkdir -p /tmp/dl
+ ARCHITECTURE=
+ case $(uname -m) in
++ uname -m
+ ARCHITECTURE=amd64
+ INSTALL_OS=
++ uname -s
+ unameOut=Linux
+ case "${unameOut}" in
+ INSTALL_OS=linux
+ for product in $*
++ dirname ./hack/install.sh
+ ARCHITECTURE=amd64
+ INSTALL_OS=linux
+ ./hack/installers/install-codegen-tools.sh
++ dirname ./hack/installers/install-codegen-tools.sh
+ KUSTOMIZE_VERSION=4.5.7
+ ./hack/installers/../install.sh kustomize protoc
+ export DOWNLOADS=/tmp/dl
+ DOWNLOADS=/tmp/dl
+ export BIN=/home/dudin/go/bin
+ BIN=/home/dudin/go/bin
+ mkdir -p /tmp/dl
+ ARCHITECTURE=
+ case $(uname -m) in
++ uname -m
+ ARCHITECTURE=amd64
+ INSTALL_OS=
++ uname -s
+ unameOut=Linux
+ case "${unameOut}" in
+ INSTALL_OS=linux
+ for product in $*
++ dirname ./hack/installers/../install.sh
+ ARCHITECTURE=amd64
+ INSTALL_OS=linux
+ ./hack/installers/../installers/install-kustomize.sh
++ dirname ./hack/installers/../installers/install-kustomize.sh
+ . ./hack/installers/../installers/../tool-versions.sh
++ helm3_version=3.15.4
++ kubectl_version=1.17.8
++ kubectx_version=0.6.3
++ kustomize5_version=5.4.3
++ protoc_version=27.2
+++ dirname ./hack/installers/../installers/install-kustomize.sh
++ cd ./hack/installers/../installers/../..
++ pwd
+ PROJECT_ROOT=/home/dudin/go/src/github.com/argoproj/argo-cd
+ INSTALL_PATH=/home/dudin/go/src/github.com/argoproj/argo-cd/dist
+ PATH=/home/dudin/go/src/github.com/argoproj/argo-cd/dist:/usr/lib/jvm/java-11-openjdk/bin/:/home/dudin/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/dudin/cross/bin:/home/dudin/go/bin:/usr/local/go/bin:/home/dudin/go/bin:/home/dudin/.local/bin:/home/dudin/.npm-packages/bin:/usr/local/go/bin:/home/dudin/go/src/github.com/argoproj/argo-cd/hack
+ '[' -d /home/dudin/go/src/github.com/argoproj/argo-cd/dist ']'
+ KUSTOMIZE_VERSION=4.5.7
+ '[' -z linux ']'
+ case $ARCHITECTURE in
+ case $KUSTOMIZE_VERSION in
+ export TARGET_FILE=kustomize_4.5.7_linux_amd64.tar.gz
+ TARGET_FILE=kustomize_4.5.7_linux_amd64.tar.gz
+ URL=https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/v4.5.7/kustomize_v4.5.7_linux_amd64.tar.gz
+ BINNAME=kustomize
+ '[' -e /tmp/dl/kustomize_4.5.7_linux_amd64.tar.gz ']'
++ dirname ./hack/installers/../installers/install-kustomize.sh
+ ./hack/installers/../installers/compare-chksum.sh
+ test kustomize_4.5.7_linux_amd64.tar.gz = ''
+++ dirname ./hack/installers/../installers/compare-chksum.sh
++ cd ./hack/installers/../installers
++ pwd
+ CHKSUM_FILE=/home/dudin/go/src/github.com/argoproj/argo-cd/hack/installers/checksums/kustomize_4.5.7_linux_amd64.tar.gz.sha256
+ cd /tmp/dl
+ test -f kustomize_4.5.7_linux_amd64.tar.gz
+ grep -q kustomize_4.5.7_linux_amd64.tar.gz /home/dudin/go/src/github.com/argoproj/argo-cd/hack/installers/checksums/kustomize_4.5.7_linux_amd64.tar.gz.sha256
+ shasum -a 256 -c /home/dudin/go/src/github.com/argoproj/argo-cd/hack/installers/checksums/kustomize_4.5.7_linux_amd64.tar.gz.sha256
kustomize_4.5.7_linux_amd64.tar.gz: OK
+ tar -C /tmp -xf /tmp/dl/kustomize_4.5.7_linux_amd64.tar.gz
+ sudo install -m 0755 /tmp/kustomize /home/dudin/go/src/github.com/argoproj/argo-cd/dist/kustomize
+ kustomize version
{Version:kustomize/v4.5.7 GitCommit:56d82a8378dfc8dc3b3b1085e5a6e67b82966bd7 BuildDate:2022-08-02T16:35:54Z GoOs:linux GoArch:amd64}
+ for product in $*
++ dirname ./hack/installers/../install.sh
+ ARCHITECTURE=amd64
+ INSTALL_OS=linux
+ ./hack/installers/../installers/install-protoc.sh
+++ dirname ./hack/installers/../installers/install-protoc.sh
++ cd ./hack/installers/../installers/../..
++ pwd
+ PROJECT_ROOT=/home/dudin/go/src/github.com/argoproj/argo-cd
+ DIST_PATH=/home/dudin/go/src/github.com/argoproj/argo-cd/dist
+ PATH=/home/dudin/go/src/github.com/argoproj/argo-cd/dist:/usr/lib/jvm/java-11-openjdk/bin/:/home/dudin/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/dudin/cross/bin:/home/dudin/go/bin:/usr/local/go/bin:/home/dudin/go/bin:/home/dudin/.local/bin:/home/dudin/.npm-packages/bin:/usr/local/go/bin:/home/dudin/go/src/github.com/argoproj/argo-cd/hack
++ dirname ./hack/installers/../installers/install-protoc.sh
+ . ./hack/installers/../installers/../tool-versions.sh
++ helm3_version=3.15.4
++ kubectl_version=1.17.8
++ kubectx_version=0.6.3
++ kustomize5_version=5.4.3
++ protoc_version=27.2
++ go env GOOS
+ OS=linux
+ case $OS in
+ protoc_os=linux
+ case $ARCHITECTURE in
+ protoc_arch=x86_64
+ export TARGET_FILE=protoc-27.2-linux-x86_64.zip
+ TARGET_FILE=protoc-27.2-linux-x86_64.zip
+ url=https://github.com/protocolbuffers/protobuf/releases/download/v27.2/protoc-27.2-linux-x86_64.zip
+ '[' -e /tmp/dl/protoc-27.2-linux-x86_64.zip ']'
++ dirname ./hack/installers/../installers/install-protoc.sh
+ ./hack/installers/../installers/compare-chksum.sh
+ test protoc-27.2-linux-x86_64.zip = ''
+++ dirname ./hack/installers/../installers/compare-chksum.sh
++ cd ./hack/installers/../installers
++ pwd
+ CHKSUM_FILE=/home/dudin/go/src/github.com/argoproj/argo-cd/hack/installers/checksums/protoc-27.2-linux-x86_64.zip.sha256
+ cd /tmp/dl
+ test -f protoc-27.2-linux-x86_64.zip
+ grep -q protoc-27.2-linux-x86_64.zip /home/dudin/go/src/github.com/argoproj/argo-cd/hack/installers/checksums/protoc-27.2-linux-x86_64.zip.sha256
+ shasum -a 256 -c /home/dudin/go/src/github.com/argoproj/argo-cd/hack/installers/checksums/protoc-27.2-linux-x86_64.zip.sha256
protoc-27.2-linux-x86_64.zip: OK
+ mkdir -p /tmp/protoc-27.2
+ unzip -o /tmp/dl/protoc-27.2-linux-x86_64.zip -d /tmp/protoc-27.2
Archive:  /tmp/dl/protoc-27.2-linux-x86_64.zip
  inflating: /tmp/protoc-27.2/bin/protoc  
  inflating: /tmp/protoc-27.2/include/google/protobuf/any.proto  
  inflating: /tmp/protoc-27.2/include/google/protobuf/api.proto  
  inflating: /tmp/protoc-27.2/include/google/protobuf/compiler/plugin.proto  
  inflating: /tmp/protoc-27.2/include/google/protobuf/cpp_features.proto  
  inflating: /tmp/protoc-27.2/include/google/protobuf/descriptor.proto  
  inflating: /tmp/protoc-27.2/include/google/protobuf/duration.proto  
  inflating: /tmp/protoc-27.2/include/google/protobuf/empty.proto  
  inflating: /tmp/protoc-27.2/include/google/protobuf/field_mask.proto  
  inflating: /tmp/protoc-27.2/include/google/protobuf/java_features.proto  
  inflating: /tmp/protoc-27.2/include/google/protobuf/source_context.proto  
  inflating: /tmp/protoc-27.2/include/google/protobuf/struct.proto  
  inflating: /tmp/protoc-27.2/include/google/protobuf/timestamp.proto  
  inflating: /tmp/protoc-27.2/include/google/protobuf/type.proto  
  inflating: /tmp/protoc-27.2/include/google/protobuf/wrappers.proto  
  inflating: /tmp/protoc-27.2/readme.txt  
+ mkdir -p /home/dudin/go/src/github.com/argoproj/argo-cd/dist/protoc-include
+ cp /tmp/protoc-27.2/bin/protoc /home/dudin/go/src/github.com/argoproj/argo-cd/dist/protoc
+ chmod +x /home/dudin/go/src/github.com/argoproj/argo-cd/dist/protoc
+ cp -a /tmp/protoc-27.2/include/google /home/dudin/go/src/github.com/argoproj/argo-cd/dist/protoc-include
+ chmod -R +rx /home/dudin/go/src/github.com/argoproj/argo-cd/dist/protoc-include
+ protoc --version
libprotoc 27.2
./hack/install.sh codegen-go-tools
+ export DOWNLOADS=/tmp/dl
+ DOWNLOADS=/tmp/dl
+ export BIN=/home/dudin/go/bin
+ BIN=/home/dudin/go/bin
+ mkdir -p /tmp/dl
+ ARCHITECTURE=
+ case $(uname -m) in
++ uname -m
+ ARCHITECTURE=amd64
+ INSTALL_OS=
++ uname -s
+ unameOut=Linux
+ case "${unameOut}" in
+ INSTALL_OS=linux
+ for product in $*
++ dirname ./hack/install.sh
+ ARCHITECTURE=amd64
+ INSTALL_OS=linux
+ ./hack/installers/install-codegen-go-tools.sh
+++ dirname ./hack/installers/install-codegen-go-tools.sh
++ CDPATH=
++ cd -- ./hack/installers/../..
++ pwd -P
+ SRCROOT=/home/dudin/go/src/github.com/argoproj/argo-cd
+ export GOBIN=/home/dudin/go/src/github.com/argoproj/argo-cd/dist
+ GOBIN=/home/dudin/go/src/github.com/argoproj/argo-cd/dist
+ mkdir -p /home/dudin/go/src/github.com/argoproj/argo-cd/dist
+ go_mod_install github.com/gogo/protobuf/protoc-gen-gogofast
++ go list -f '{{.Module}}' github.com/gogo/protobuf/protoc-gen-gogofast
++ awk '{print $1}'
+ module=github.com/gogo/protobuf
++ go list -m github.com/gogo/protobuf
++ awk '{print $NF}'
++ head -1
+ module_version=v1.3.2
+ go install github.com/gogo/protobuf/protoc-gen-gogofast@v1.3.2
+ go_mod_install github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway
++ go list -f '{{.Module}}' github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway
++ awk '{print $1}'
+ module=github.com/grpc-ecosystem/grpc-gateway
++ go list -m github.com/grpc-ecosystem/grpc-gateway
++ awk '{print $NF}'
++ head -1
+ module_version=v1.16.0
+ go install github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway@v1.16.0
+ go_mod_install github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger
++ go list -f '{{.Module}}' github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger
++ awk '{print $1}'
+ module=github.com/grpc-ecosystem/grpc-gateway
++ head -1
++ go list -m github.com/grpc-ecosystem/grpc-gateway
++ awk '{print $NF}'
+ module_version=v1.16.0
+ go install github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger@v1.16.0
+ go_mod_install k8s.io/code-generator/cmd/go-to-protobuf
++ go list -f '{{.Module}}' k8s.io/code-generator/cmd/go-to-protobuf
++ awk '{print $1}'
+ module=k8s.io/code-generator
++ go list -m k8s.io/code-generator
++ awk '{print $NF}'
++ head -1
+ module_version=v0.31.0
+ go install k8s.io/code-generator/cmd/go-to-protobuf@v0.31.0
go: k8s.io/code-generator@v0.31.0 requires go >= 1.22.0; switching to go1.22.9
+ go_mod_install k8s.io/code-generator/cmd/go-to-protobuf/protoc-gen-gogo
++ go list -f '{{.Module}}' k8s.io/code-generator/cmd/go-to-protobuf/protoc-gen-gogo
++ awk '{print $1}'
+ module=k8s.io/code-generator
++ go list -m k8s.io/code-generator
++ awk '{print $NF}'
++ head -1
+ module_version=v0.31.0
+ go install k8s.io/code-generator/cmd/go-to-protobuf/protoc-gen-gogo@v0.31.0
go: k8s.io/code-generator@v0.31.0 requires go >= 1.22.0; switching to go1.22.9
+ go_mod_install k8s.io/code-generator/cmd/client-gen
++ go list -f '{{.Module}}' k8s.io/code-generator/cmd/client-gen
++ awk '{print $1}'
+ module=k8s.io/code-generator
++ go list -m k8s.io/code-generator
++ awk '{print $NF}'
++ head -1
+ module_version=v0.31.0
+ go install k8s.io/code-generator/cmd/client-gen@v0.31.0
go: k8s.io/code-generator@v0.31.0 requires go >= 1.22.0; switching to go1.22.9
+ go_mod_install k8s.io/code-generator/cmd/deepcopy-gen
++ go list -f '{{.Module}}' k8s.io/code-generator/cmd/deepcopy-gen
++ awk '{print $1}'
+ module=k8s.io/code-generator
++ go list -m k8s.io/code-generator
++ awk '{print $NF}'
++ head -1
+ module_version=v0.31.0
+ go install k8s.io/code-generator/cmd/deepcopy-gen@v0.31.0
go: k8s.io/code-generator@v0.31.0 requires go >= 1.22.0; switching to go1.22.9
+ go_mod_install k8s.io/code-generator/cmd/defaulter-gen
++ go list -f '{{.Module}}' k8s.io/code-generator/cmd/defaulter-gen
++ awk '{print $1}'
+ module=k8s.io/code-generator
++ go list -m k8s.io/code-generator
++ awk '{print $NF}'
++ head -1
+ module_version=v0.31.0
+ go install k8s.io/code-generator/cmd/defaulter-gen@v0.31.0
go: k8s.io/code-generator@v0.31.0 requires go >= 1.22.0; switching to go1.22.9
+ go_mod_install k8s.io/code-generator/cmd/informer-gen
++ go list -f '{{.Module}}' k8s.io/code-generator/cmd/informer-gen
++ awk '{print $1}'
+ module=k8s.io/code-generator
++ go list -m k8s.io/code-generator
++ awk '{print $NF}'
++ head -1
+ module_version=v0.31.0
+ go install k8s.io/code-generator/cmd/informer-gen@v0.31.0
go: k8s.io/code-generator@v0.31.0 requires go >= 1.22.0; switching to go1.22.9
+ go_mod_install k8s.io/code-generator/cmd/lister-gen
++ go list -f '{{.Module}}' k8s.io/code-generator/cmd/lister-gen
++ awk '{print $1}'
+ module=k8s.io/code-generator
++ go list -m k8s.io/code-generator
++ awk '{print $NF}'
++ head -1
+ module_version=v0.31.0
+ go install k8s.io/code-generator/cmd/lister-gen@v0.31.0
go: k8s.io/code-generator@v0.31.0 requires go >= 1.22.0; switching to go1.22.9
+ go_mod_install k8s.io/kube-openapi/cmd/openapi-gen
++ go list -f '{{.Module}}' k8s.io/kube-openapi/cmd/openapi-gen
++ awk '{print $1}'
+ module=k8s.io/kube-openapi
++ go list -m k8s.io/kube-openapi
++ awk '{print $NF}'
++ head -1
+ module_version=v0.0.0-20240228011516-70dd3763d340
+ go install k8s.io/kube-openapi/cmd/openapi-gen@v0.0.0-20240228011516-70dd3763d340
+ go install sigs.k8s.io/controller-tools/cmd/controller-gen@v0.14.0
+ go install github.com/go-swagger/go-swagger/cmd/swagger@v0.28.0
+ go install golang.org/x/tools/cmd/goimports@v0.1.8
+ go install github.com/vektra/mockery/v2@v2.43.2
go: github.com/vektra/mockery/v2@v2.43.2 requires go >= 1.22; switching to go1.22.9

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcomponent:dev-envIssue related to the local development environment, linting, Dev Tools, debugging, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions