argoproj / argo-cd

Declarative Continuous Deployment for Kubernetes
https://argo-cd.readthedocs.io
Apache License 2.0
17.82k stars 5.44k forks source link

argo-cd e2e test fails on a remote OpenShift cluster #6341

Closed amitkrout closed 3 years ago

amitkrout commented 3 years ago

If you are trying to resolve an environment-specific issue or have a one-off question about the edge case that does not require a feature then please consider asking a question in argocd slack channel.

Checklist:

Describe the bug

I am hitting an issue while running the steps provided here - https://github.com/argoproj/argo-cd/tree/master/test/remote#on-remote-openshift-cluster for running argo-cd e2e test on a remote OpenShift cluster.

$ ./test/remote/run-e2e-remote.sh make test-local ARGOCD_E2E_SKIP_OPENSHIFT=true
if test "" = ""; then \
        ./hack/test.sh -coverprofile=coverage.out `go list ./... | grep -v 'test/e2e'`; \
else \
        ./hack/test.sh -coverprofile=coverage.out ""; \
fi
+ which go-junit-report
/usr/local/bin/go-junit-report
+ TEST_RESULTS=test-results
+ TEST_FLAGS=
+ test '' '!=' ''
+ test '' '!=' ''
+ mkdir -p test-results
+ trap report EXIT
+ tee test-results/test.out
+ go test -failfast -coverprofile=coverage.out github.com/argoproj/argo-cd/v2/assets github.com/argoproj/argo-cd/v2/cmd github.com/argoproj/argo-cd/v2/cmd/argocd/commands github.com/argoproj/argo-cd/v2/cmd/argocd-application-controller/commands github.com/argoproj/argo-cd/v2/cmd/argocd-dex/commands github.com/argoproj/argo-cd/v2/cmd/argocd-repo-server/commands github.com/argoproj/argo-cd/v2/cmd/argocd-server/commands github.com/argoproj/argo-cd/v2/cmd/argocd-util/commands github.com/argoproj/argo-cd/v2/cmd/util github.com/argoproj/argo-cd/v2/common github.com/argoproj/argo-cd/v2/controller github.com/argoproj/argo-cd/v2/controller/cache github.com/argoproj/argo-cd/v2/controller/cache/mocks github.com/argoproj/argo-cd/v2/controller/metrics github.com/argoproj/argo-cd/v2/controller/sharding github.com/argoproj/argo-cd/v2/hack/dev-mounter github.com/argoproj/argo-cd/v2/hack/gen-crd-spec github.com/argoproj/argo-cd/v2/hack/k8s github.com/argoproj/argo-cd/v2/hack/known_types github.com/argoproj/argo-cd/v2/pkg/apiclient github.com/argoproj/argo-cd/v2/pkg/apiclient/account github.com/argoproj/argo-cd/v2/pkg/apiclient/application github.com/argoproj/argo-cd/v2/pkg/apiclient/certificate github.com/argoproj/argo-cd/v2/pkg/apiclient/cluster github.com/argoproj/argo-cd/v2/pkg/apiclient/cluster/mocks github.com/argoproj/argo-cd/v2/pkg/apiclient/gpgkey github.com/argoproj/argo-cd/v2/pkg/apiclient/project github.com/argoproj/argo-cd/v2/pkg/apiclient/repocreds github.com/argoproj/argo-cd/v2/pkg/apiclient/repository github.com/argoproj/argo-cd/v2/pkg/apiclient/session github.com/argoproj/argo-cd/v2/pkg/apiclient/session/mocks github.com/argoproj/argo-cd/v2/pkg/apiclient/settings github.com/argoproj/argo-cd/v2/pkg/apiclient/version github.com/argoproj/argo-cd/v2/pkg/apis/application github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1 github.com/argoproj/argo-cd/v2/pkg/client/clientset/versioned github.com/argoproj/argo-cd/v2/pkg/client/clientset/versioned/fake github.com/argoproj/argo-cd/v2/pkg/client/clientset/versioned/scheme github.com/argoproj/argo-cd/v2/pkg/client/clientset/versioned/typed/application/v1alpha1 github.com/argoproj/argo-cd/v2/pkg/client/clientset/versioned/typed/application/v1alpha1/fake github.com/argoproj/argo-cd/v2/pkg/client/informers/externalversions github.com/argoproj/argo-cd/v2/pkg/client/informers/externalversions/application github.com/argoproj/argo-cd/v2/pkg/client/informers/externalversions/application/v1alpha1 github.com/argoproj/argo-cd/v2/pkg/client/informers/externalversions/internalinterfaces github.com/argoproj/argo-cd/v2/pkg/client/listers/application/v1alpha1 github.com/argoproj/argo-cd/v2/reposerver github.com/argoproj/argo-cd/v2/reposerver/apiclient github.com/argoproj/argo-cd/v2/reposerver/apiclient/mocks github.com/argoproj/argo-cd/v2/reposerver/cache github.com/argoproj/argo-cd/v2/reposerver/metrics github.com/argoproj/argo-cd/v2/reposerver/repository github.com/argoproj/argo-cd/v2/resource_customizations github.com/argoproj/argo-cd/v2/server github.com/argoproj/argo-cd/v2/server/account github.com/argoproj/argo-cd/v2/server/application github.com/argoproj/argo-cd/v2/server/badge github.com/argoproj/argo-cd/v2/server/cache github.com/argoproj/argo-cd/v2/server/certificate github.com/argoproj/argo-cd/v2/server/cluster github.com/argoproj/argo-cd/v2/server/gpgkey github.com/argoproj/argo-cd/v2/server/logout github.com/argoproj/argo-cd/v2/server/metrics github.com/argoproj/argo-cd/v2/server/project github.com/argoproj/argo-cd/v2/server/rbacpolicy github.com/argoproj/argo-cd/v2/server/repocreds github.com/argoproj/argo-cd/v2/server/repository github.com/argoproj/argo-cd/v2/server/session github.com/argoproj/argo-cd/v2/server/settings github.com/argoproj/argo-cd/v2/server/settings/oidc github.com/argoproj/argo-cd/v2/server/version github.com/argoproj/argo-cd/v2/test github.com/argoproj/argo-cd/v2/test/fixture/log github.com/argoproj/argo-cd/v2/test/fixture/path github.com/argoproj/argo-cd/v2/test/fixture/revision_metadata github.com/argoproj/argo-cd/v2/test/fixture/test github.com/argoproj/argo-cd/v2/tools/cmd-docs github.com/argoproj/argo-cd/v2/util github.com/argoproj/argo-cd/v2/util/app/discovery github.com/argoproj/argo-cd/v2/util/app/path github.com/argoproj/argo-cd/v2/util/argo github.com/argoproj/argo-cd/v2/util/argo/normalizers github.com/argoproj/argo-cd/v2/util/assets github.com/argoproj/argo-cd/v2/util/cache github.com/argoproj/argo-cd/v2/util/cache/appstate github.com/argoproj/argo-cd/v2/util/cert github.com/argoproj/argo-cd/v2/util/cli github.com/argoproj/argo-cd/v2/util/clusterauth github.com/argoproj/argo-cd/v2/util/config github.com/argoproj/argo-cd/v2/util/db github.com/argoproj/argo-cd/v2/util/db/mocks github.com/argoproj/argo-cd/v2/util/dex github.com/argoproj/argo-cd/v2/util/env github.com/argoproj/argo-cd/v2/util/errors github.com/argoproj/argo-cd/v2/util/exec github.com/argoproj/argo-cd/v2/util/git github.com/argoproj/argo-cd/v2/util/git/mocks github.com/argoproj/argo-cd/v2/util/glob github.com/argoproj/argo-cd/v2/util/gpg github.com/argoproj/argo-cd/v2/util/grpc github.com/argoproj/argo-cd/v2/util/hash github.com/argoproj/argo-cd/v2/util/health github.com/argoproj/argo-cd/v2/util/healthz github.com/argoproj/argo-cd/v2/util/helm github.com/argoproj/argo-cd/v2/util/helm/mocks github.com/argoproj/argo-cd/v2/util/http github.com/argoproj/argo-cd/v2/util/io github.com/argoproj/argo-cd/v2/util/jwt github.com/argoproj/argo-cd/v2/util/ksonnet github.com/argoproj/argo-cd/v2/util/kube github.com/argoproj/argo-cd/v2/util/kustomize github.com/argoproj/argo-cd/v2/util/localconfig github.com/argoproj/argo-cd/v2/util/log github.com/argoproj/argo-cd/v2/util/lua github.com/argoproj/argo-cd/v2/util/oidc github.com/argoproj/argo-cd/v2/util/password github.com/argoproj/argo-cd/v2/util/rand github.com/argoproj/argo-cd/v2/util/rbac github.com/argoproj/argo-cd/v2/util/resource github.com/argoproj/argo-cd/v2/util/security github.com/argoproj/argo-cd/v2/util/session github.com/argoproj/argo-cd/v2/util/settings github.com/argoproj/argo-cd/v2/util/stats github.com/argoproj/argo-cd/v2/util/swagger github.com/argoproj/argo-cd/v2/util/templates github.com/argoproj/argo-cd/v2/util/text github.com/argoproj/argo-cd/v2/util/text/label github.com/argoproj/argo-cd/v2/util/tls github.com/argoproj/argo-cd/v2/util/webhook
assets/embed.go:3:8: package embed is not in GOROOT (/usr/lib/golang/src/embed)
+ report
+ set -eux -o pipefail
+ go-junit-report
make: *** [Makefile:370: test-local] Error 1
[arout@localhost argo-cd]$

A clear and concise description of what the bug is.

To Reproduce

A list of the steps required to reproduce the issue. Best of all, give us the URL to a repository that exhibits this issue.

Explained Describe the bug section

Expected behavior

A clear and concise description of what you expected to happen. Should not fail

github.com/argoproj/argo-cd/v2/util/settings github.com/argoproj/argo-cd/v2/util/stats github.com/argoproj/argo-cd/v2/util/swagger github.com/argoproj/argo-cd/v2/util/templates github.com/argoproj/argo-cd/v2/util/text github.com/argoproj/argo-cd/v2/util/text/label github.com/argoproj/argo-cd/v2/util/tls github.com/argoproj/argo-cd/v2/util/webhook
assets/embed.go:3:8: package embed is not in GOROOT (/usr/lib/golang/src/embed)

Screenshots

If applicable, add screenshots to help explain your problem.

Version

master

Logs

Paste any relevant application logs here.
amitkrout commented 3 years ago

ping @jannfis

varshab1210 commented 3 years ago

I am hitting the same issue

jannfis commented 3 years ago

I believe your Go version is incompatible, since embed package was introduced with Go v1.16.

Can you please check whether you a) are using Go v1.16.x and b) if not, how upgrade to v1.16 behaves?

amitkrout commented 3 years ago

I believe your Go version is incompatible, since embed package was introduced with Go v1.16.

Can you please check whether you a) are using Go v1.16.x and b) if not, how upgrade to v1.16 behaves?

embed package dependency was resolved after upgrading go version to 1.16. Also i can see argo-cd master uses go version - https://github.com/argoproj/argo-cd/blob/master/go.mod#L3

I will keep this issue open and will keep posted further failure if any. After the successful run i will close this issue.

@varshab1210 Please feel free to post your observation too

varshab1210 commented 3 years ago

Yes, the embed package dependency was resolved after upgrading go version to 1.16. But now I am hitting a new issue

github.com/golang/protobuf/descriptor
go.mongodb.org/mongo-driver/bson/bsoncodec
github.com/google/go-jsonnet
go.mongodb.org/mongo-driver/bson
make: *** [Makefile:213: cli-local] Error 1
jannfis commented 3 years ago

@varshab1210 I believe there must be more information on the error somewhere up the terminal.

varshab1210 commented 3 years ago

@varshab1210 I believe there must be more information on the error somewhere up the terminal.

$ ./test/remote/run-e2e-remote.sh make test-e2e-local ARGOCD_E2E_SKIP_GPG=true ARGOCD_E2E_SKIP_HELM2=true ARGOCD_E2E_SKIP_OPENSHIFT=true ARGOCD_E2E_SKIP_KSONNET=true
find /home/varshab/go/src/gitlab.com/argocd-automated-testing/scripts/argo-cd -name debug.test | xargs rm -f
CGO_ENABLED=0 go build -v -i -ldflags '-X github.com/argoproj/argo-cd/v2/common.version=2.0.0 -X github.com/argoproj/argo-cd/v2/common.buildDate=2021-05-27T13:10:57Z -X github.com/argoproj/argo-cd/v2/common.gitCommit=54ec2fcadbde259bfe5b4461ba4cc3a395fc147e -X github.com/argoproj/argo-cd/v2/common.gitTreeState=dirty -X github.com/argoproj/argo-cd/v2/common.gitTreeState=dirty -X github.com/argoproj/argo-cd/v2/common.kubectlVersion=v0.20.4 -extldflags "-static"' -o /home/varshab/go/src/gitlab.com/argocd-automated-testing/scripts/argo-cd/dist/argocd ./cmd
go build: -i flag is deprecated
golang.org/x/crypto/internal/subtle
github.com/go-git/go-git/v5/plumbing/color
golang.org/x/sys/internal/unsafeheader
github.com/gobwas/glob/util/runes
github.com/dgryski/go-rendezvous
go.opentelemetry.io/otel/unit
github.com/vmihailenco/msgpack/v5/msgpcode
go.opentelemetry.io/otel/internal
github.com/vmihailenco/tagparser/internal
github.com/argoproj/gitops-engine/pkg/utils/json
golang.org/x/crypto/chacha20
golang.org/x/crypto/poly1305
golang.org/x/crypto/blowfish
net
golang.org/x/crypto/ed25519
golang.org/x/crypto/curve25519
github.com/go-logr/logr
golang.org/x/sys/unix
github.com/argoproj/pkg/rand
github.com/pkg/errors
golang.org/x/crypto/ssh/internal/bcrypt_pbkdf
github.com/argoproj/gitops-engine/pkg/utils/io
github.com/argoproj/gitops-engine/pkg/utils/tracing
github.com/google/go-querystring/query
golang.org/x/crypto/openpgp/errors
golang.org/x/crypto/cast5
golang.org/x/crypto/openpgp/elgamal
golang.org/x/crypto/openpgp/armor
golang.org/x/crypto/openpgp/s2k
github.com/go-git/go-billy/v5
github.com/go-git/go-git/v5/internal/url
github.com/go-git/go-git/v5/plumbing
github.com/go-git/gcfg/token
github.com/go-git/gcfg/types
github.com/go-git/go-billy/v5/helper/polyfill
github.com/go-git/go-billy/v5/util
golang.org/x/crypto/openpgp/packet
github.com/go-git/go-billy/v5/helper/chroot
gopkg.in/warnings.v0
github.com/go-git/gcfg/scanner
github.com/mitchellh/go-homedir
github.com/go-git/go-git/v5/internal/revision
github.com/go-git/go-git/v5/plumbing/cache
github.com/go-git/go-git/v5/plumbing/filemode
golang.org/x/net/context
github.com/go-git/gcfg
github.com/jbenet/go-context/io
os/user
github.com/go-git/go-git/v5/utils/binary
github.com/emirpasic/gods/utils
github.com/go-git/go-git/v5/utils/ioutil
github.com/emirpasic/gods/containers
github.com/go-git/go-git/v5/plumbing/format/index
github.com/go-git/go-git/v5/plumbing/format/idxfile
github.com/go-git/go-git/v5/plumbing/format/config
go build os/user: copying /tmp/go-build2983972919/b181/_pkg_.a: open /usr/local/go/pkg/linux_amd64/os/user.a: permission denied
github.com/go-git/go-git/v5/plumbing/format/diff
github.com/emirpasic/gods/lists
github.com/emirpasic/gods/lists/arraylist
github.com/go-git/go-git/v5/config
github.com/go-git/go-git/v5/plumbing/storer
github.com/emirpasic/gods/trees
github.com/sergi/go-diff/diffmatchpatch
github.com/go-git/go-git/v5/utils/merkletrie/noder
github.com/emirpasic/gods/trees/binaryheap
golang.org/x/crypto/openpgp
github.com/go-git/go-git/v5/utils/merkletrie/internal/frame
github.com/sirupsen/logrus
github.com/go-git/go-billy/v5/osfs
github.com/go-git/go-git/v5/utils/merkletrie
github.com/go-git/go-git/v5/plumbing/format/packfile
github.com/go-git/go-git/v5/storage
github.com/go-git/go-git/v5/plumbing/format/pktline
github.com/go-git/go-git/v5/plumbing/protocol/packp/capability
github.com/go-git/go-git/v5/utils/diff
github.com/go-git/go-git/v5/plumbing/protocol/packp/sideband
github.com/go-git/go-git/v5/storage/memory
github.com/go-git/go-git/v5/utils/merkletrie/filesystem
github.com/go-git/go-git/v5/utils/merkletrie/index
github.com/go-git/go-git/v5/plumbing/object
go build net: copying /tmp/go-build2983972919/b078/_pkg_.a: open /usr/local/go/pkg/linux_amd64/net.a: permission denied
github.com/imdario/mergo
github.com/patrickmn/go-cache
github.com/gobwas/glob/util/strings
github.com/gobwas/glob/syntax/lexer
github.com/gobwas/glob/match
github.com/bombsimon/logrusr
github.com/argoproj/pkg/exec
github.com/go-git/go-git/v5/plumbing/protocol/packp
github.com/go-git/go-git/v5/plumbing/format/objfile
github.com/gobwas/glob/syntax/ast
github.com/Masterminds/semver
github.com/argoproj/pkg/time
github.com/gobwas/glob/syntax
github.com/go-git/go-git/v5/storage/filesystem/dotgit
github.com/cespare/xxhash/v2
github.com/go-redis/redis/v8/internal/util
github.com/gobwas/glob/compiler
github.com/go-redis/redis/v8/internal/proto
github.com/go-redis/redis/v8/internal/rand
go.opentelemetry.io/otel/label
go.opentelemetry.io/otel/codes
github.com/gobwas/glob
github.com/go-redis/redis/v8/internal/hashtag
github.com/klauspost/compress/s2
github.com/vmihailenco/bufpool
github.com/vmihailenco/go-tinylfu
github.com/go-git/go-git/v5/plumbing/transport
github.com/vmihailenco/tagparser/internal/parser
golang.org/x/exp/rand
github.com/go-git/go-git/v5/storage/filesystem
github.com/vmihailenco/tagparser
github.com/go-git/go-git/v5/plumbing/revlist
github.com/go-git/go-git/v5/plumbing/transport/internal/common
go.opentelemetry.io/otel/api/metric
go.opentelemetry.io/otel/api/trace
go.opentelemetry.io/otel/internal/baggage
golang.org/x/sync/singleflight
github.com/vmihailenco/msgpack/v5
gopkg.in/yaml.v2
github.com/kballard/go-shellquote
github.com/argoproj/pkg/sync
github.com/gogo/protobuf/proto
go.opentelemetry.io/otel/internal/trace/noop
github.com/go-git/go-git/v5/plumbing/transport/server
k8s.io/apimachinery/third_party/forked/golang/reflect
k8s.io/apimachinery/pkg/conversion/queryparams
k8s.io/apimachinery/pkg/util/sets
k8s.io/apimachinery/pkg/util/json
k8s.io/apimachinery/pkg/conversion
k8s.io/apimachinery/pkg/util/naming
github.com/go-git/go-git/v5/plumbing/transport/file
github.com/modern-go/concurrent
go.opentelemetry.io/otel
go.opentelemetry.io/otel/api/metric/registry
github.com/modern-go/reflect2
k8s.io/apimachinery/pkg/util/errors
k8s.io/apimachinery/pkg/util/framer
github.com/gogo/protobuf/sortkeys
go.opentelemetry.io/otel/api/global/internal
github.com/google/gofuzz
gopkg.in/inf.v0
k8s.io/apimachinery/pkg/selection
k8s.io/apimachinery/pkg/fields
k8s.io/apimachinery/pkg/util/validation/field
go.opentelemetry.io/otel/api/global
k8s.io/apimachinery/pkg/types
golang.org/x/text/transform
golang.org/x/text/unicode/bidi
golang.org/x/net/http2/hpack
github.com/go-redis/redis/v8/internal
k8s.io/utils/pointer
golang.org/x/text/unicode/norm
github.com/opencontainers/go-digest
github.com/ghodss/yaml
sigs.k8s.io/yaml
github.com/docker/distribution/digestset
github.com/evanphx/json-patch
github.com/davecgh/go-spew/spew
golang.org/x/text/secure/bidirule
k8s.io/apimachinery/third_party/forked/golang/json
github.com/docker/distribution/reference
google.golang.org/protobuf/internal/detrand
google.golang.org/protobuf/internal/errors
google.golang.org/protobuf/internal/pragma
google.golang.org/protobuf/internal/flags
google.golang.org/protobuf/encoding/protowire
google.golang.org/protobuf/internal/set
google.golang.org/protobuf/internal/version
k8s.io/apimachinery/pkg/util/mergepatch
gopkg.in/yaml.v3
k8s.io/kubernetes/pkg/util/parsers
k8s.io/kubernetes/pkg/util/hash
google.golang.org/protobuf/reflect/protoreflect
golang.org/x/sync/errgroup
k8s.io/apimachinery/pkg/util/jsonmergepatch
k8s.io/apimachinery/pkg/util/clock
github.com/liggitt/tabwriter
github.com/json-iterator/go
golang.org/x/net/idna
k8s.io/apimachinery/pkg/util/duration
k8s.io/client-go/third_party/forked/golang/template
golang.org/x/text/encoding/internal/identifier
golang.org/x/text/internal/utf8internal
golang.org/x/text/encoding
golang.org/x/text/runes
google.golang.org/protobuf/reflect/protoregistry
google.golang.org/protobuf/internal/strs
google.golang.org/protobuf/internal/encoding/text
google.golang.org/protobuf/internal/genid
google.golang.org/protobuf/internal/mapsort
google.golang.org/protobuf/internal/fieldsort
k8s.io/apimachinery/pkg/runtime/schema
k8s.io/apimachinery/pkg/api/resource
google.golang.org/protobuf/internal/encoding/messageset
google.golang.org/protobuf/runtime/protoiface
google.golang.org/protobuf/internal/descfmt
google.golang.org/protobuf/internal/descopts
k8s.io/client-go/util/jsonpath
google.golang.org/protobuf/proto
google.golang.org/protobuf/internal/encoding/defval
golang.org/x/text/encoding/internal
sigs.k8s.io/kustomize/pkg/gvk
sigs.k8s.io/kustomize/pkg/image
golang.org/x/text/encoding/unicode
sigs.k8s.io/kustomize/pkg/patch
sigs.k8s.io/kustomize/pkg/internal/error
sigs.k8s.io/kustomize/pkg/types
sigs.k8s.io/kustomize/pkg/resid
sigs.k8s.io/kustomize/pkg/expansion
github.com/mailru/easyjson/jlexer
github.com/mailru/easyjson/buffer
github.com/PuerkitoBio/urlesc
golang.org/x/text/width
sigs.k8s.io/kustomize/pkg/ifc
github.com/googleapis/gnostic/jsonschema
github.com/emicklei/go-restful/log
github.com/mailru/easyjson/jwriter
sigs.k8s.io/kustomize/pkg/resource
sigs.k8s.io/kustomize/pkg/transformers/config/defaultconfig
github.com/PuerkitoBio/purell
sigs.k8s.io/kustomize/pkg/constants
k8s.io/apimachinery/pkg/version
sigs.k8s.io/kustomize/pkg/fs
golang.org/x/crypto/ssh/terminal
k8s.io/client-go/pkg/version
sigs.k8s.io/kustomize/pkg/resmap
k8s.io/client-go/tools/metrics
golang.org/x/time/rate
google.golang.org/protobuf/encoding/prototext
google.golang.org/protobuf/internal/filedesc
k8s.io/utils/integer
k8s.io/client-go/util/flowcontrol
github.com/google/btree
k8s.io/client-go/util/homedir
sigs.k8s.io/kustomize/pkg/git
github.com/jonboulle/clockwork
k8s.io/component-base/version
sigs.k8s.io/structured-merge-diff/v4/value
github.com/MakeNowJust/heredoc
github.com/russross/blackfriday
sigs.k8s.io/kustomize/pkg/loader
github.com/mitchellh/go-wordwrap
github.com/moby/term
github.com/peterbourgon/diskv
k8s.io/apimachinery/third_party/forked/golang/netutil
k8s.io/client-go/util/exec
k8s.io/kubectl/pkg/util/interrupt
github.com/exponent-io/jsonpath
k8s.io/utils/exec
github.com/hashicorp/golang-lru/simplelru
github.com/google/go-cmp/cmp/internal/flags
github.com/hashicorp/golang-lru
github.com/google/go-cmp/cmp/internal/diff
k8s.io/kubectl/pkg/validation
github.com/gregjones/httpcache/diskcache
github.com/google/go-cmp/cmp/internal/function
k8s.io/apimachinery/pkg/util/cache
github.com/google/go-cmp/cmp/internal/value
k8s.io/utils/buffer
github.com/chai2010/gettext-go/gettext/mo
github.com/chai2010/gettext-go/gettext/plural
github.com/chai2010/gettext-go/gettext/po
k8s.io/kubectl/pkg/cmd/util/editor/crlf
k8s.io/kubectl/pkg/generated
github.com/fatih/camelcase
k8s.io/kubectl/pkg/util/slice
github.com/robfig/cron
github.com/google/go-cmp/cmp
google.golang.org/grpc/codes
golang.org/x/sync/semaphore
google.golang.org/protobuf/internal/encoding/tag
github.com/beorn7/perks/quantile
github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg
github.com/chai2010/gettext-go/gettext
github.com/prometheus/common/model
github.com/prometheus/procfs/internal/fs
github.com/prometheus/procfs/internal/util
google.golang.org/protobuf/internal/impl
github.com/gogo/protobuf/types
golang.org/x/net/internal/timeseries
google.golang.org/grpc/grpclog
google.golang.org/grpc/resolver
google.golang.org/grpc/encoding
google.golang.org/grpc/internal
google.golang.org/grpc/internal/grpcrand
google.golang.org/grpc/internal/envconfig
google.golang.org/grpc/connectivity
google.golang.org/grpc/keepalive
google.golang.org/grpc/internal/backoff
google.golang.org/grpc/metadata
google.golang.org/grpc/tap
google.golang.org/grpc/resolver/passthrough
google.golang.org/protobuf/internal/encoding/json
github.com/grpc-ecosystem/grpc-gateway/utilities
github.com/grpc-ecosystem/go-grpc-middleware/util/backoffutils
github.com/gogo/protobuf/protoc-gen-gogo/descriptor
github.com/grpc-ecosystem/go-grpc-middleware/util/metautils
golang.org/x/crypto/bcrypt
github.com/yuin/gopher-lua/ast
github.com/yuin/gopher-lua/pm
github.com/argoproj/gitops-engine/pkg/utils/text
github.com/blang/semver
google.golang.org/protobuf/encoding/protojson
github.com/yuin/gopher-lua/parse
k8s.io/apimachinery/pkg/util/diff
github.com/google/shlex
github.com/argoproj/pkg/stats
github.com/TomOnTime/utfutil
github.com/google/go-jsonnet/ast
github.com/Knetic/govaluate
github.com/casbin/casbin/effect
github.com/casbin/casbin/log
github.com/casbin/casbin/config
github.com/gogo/protobuf/gogoproto
github.com/casbin/casbin/rbac
github.com/casbin/casbin/errors
golang.org/x/crypto/pbkdf2
github.com/casbin/casbin/rbac/default-role-manager
github.com/yuin/gopher-lua
github.com/google/go-jsonnet/internal/errors
github.com/google/go-jsonnet/astgen
gopkg.in/square/go-jose.v2/cipher
gopkg.in/square/go-jose.v2/json
github.com/fsnotify/fsnotify
github.com/google/go-jsonnet/internal/parser
github.com/go-openapi/analysis/internal
go.mongodb.org/mongo-driver/bson/bsontype
go.mongodb.org/mongo-driver/bson/primitive
github.com/go-stack/stack
github.com/go-openapi/runtime/logger
github.com/gogo/protobuf/jsonpb
go.mongodb.org/mongo-driver/x/bsonx/bsoncore
github.com/Azure/go-autorest/autorest/date
golang.org/x/crypto/pkcs12/internal/rc2
golang.org/x/oauth2/jws
github.com/google/go-jsonnet/internal/program
google.golang.org/protobuf/internal/filetype
github.com/dustin/go-humanize
github.com/mattn/go-isatty
github.com/skratchdot/open-golang/open
go.mongodb.org/mongo-driver/bson/bsonrw
google.golang.org/protobuf/runtime/protoimpl
google.golang.org/protobuf/types/known/anypb
google.golang.org/protobuf/types/known/timestamppb
google.golang.org/protobuf/types/known/durationpb
github.com/golang/protobuf/proto
google.golang.org/protobuf/types/descriptorpb
github.com/golang/protobuf/ptypes/any
github.com/golang/protobuf/ptypes/duration
github.com/golang/protobuf/ptypes/timestamp
google.golang.org/protobuf/types/known/wrapperspb
google.golang.org/protobuf/types/known/fieldmaskpb
google.golang.org/protobuf/types/known/emptypb
github.com/golang/protobuf/ptypes/wrappers
github.com/golang/protobuf/ptypes/empty
layeh.com/gopher-json
google.golang.org/genproto/protobuf/field_mask
github.com/golang/protobuf/protoc-gen-go/descriptor
google.golang.org/protobuf/reflect/protodesc
google.golang.org/genproto/googleapis/rpc/status
github.com/golang/protobuf/ptypes
github.com/prometheus/client_model/go
github.com/matttproud/golang_protobuf_extensions/pbutil
google.golang.org/grpc/encoding/proto
github.com/golang/protobuf/jsonpb
github.com/grpc-ecosystem/grpc-gateway/internal
google.golang.org/genproto/googleapis/api/httpbody
github.com/googleapis/gnostic/extensions
google.golang.org/grpc/status
github.com/prometheus/client_golang/prometheus/internal
google.golang.org/genproto/googleapis/api/annotations
go.mongodb.org/mongo-driver/bson/bsoncodec
github.com/golang/protobuf/descriptor
go.mongodb.org/mongo-driver/bson
github.com/google/go-jsonnet
make: *** [Makefile:213: cli-local] Error 1
$
jannfis commented 3 years ago

@varshab1210 Please observe errors such as go build os/user: copying /tmp/go-build2983972919/b181/_pkg_.a: open /usr/local/go/pkg/linux_amd64/os/user.a: permission denied. I think this due to us using the -i flag for go build (which is now also deprecated).

Two options:

1) Make /usr/local/go/pkg/linux_amd64 writeable for your user 2) Remove -i flag from go build in the Makefile

amitkrout commented 3 years ago

As per the slack confirmation i am closing the issue.

Slack message from @varshab1210

I have executed successfully upstream argocd-e2e test against gitops operator 1.1.1.
[...]