-
Notifications
You must be signed in to change notification settings - Fork 40.6k
go mod tidy fails in kubernetes/kubernetes on go1.13 #82506
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@fejta: There are no sig labels on this issue. Please add a sig label by either:
Note: Method 1 will trigger an email to the group. See the group list. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
we run What version of go are you running? |
And is that on a clean working directory? |
See kubernetes/hack/update-vendor.sh Lines 296 to 297 in 6348200
|
Yes, clean working directory. Using go1.13rc1. fejta@fejta3:~/src/gh/kubernetes$ go version
go version go1.13rc1 linux/amd64
fejta@fejta3:~/src/gh/kubernetes$ git reset --hard HEAD
HEAD is now at 6348200c92 Merge pull request #82501 from losipiuk/lo/ca-1.16-final
fejta@fejta3:~/src/gh/kubernetes$ git status
On branch rbe
nothing to commit, working tree clean
fejta@fejta3:~/src/gh/kubernetes$ git log
commit 6348200c92dec8848e55552f3e8039b3da95bd91 (HEAD -> rbe, upstream/master, origin/master, origin/HEAD)
Merge: 35cf6b6cbc b27e0b54f1
Author: Kubernetes Prow Robot <k8s-ci-robot@users.noreply.github.com>
Date: Mon Sep 9 14:12:54 2019 -0700
Merge pull request #82501 from losipiuk/lo/ca-1.16-final
Update Cluster Autoscaler version to 1.16.0
fejta@fejta3:~/src/gh/kubernetes$ go mod tidy
k8s.io/kubernetes/pkg/volume/glusterfs imports
github.com/heketi/heketi/client/api/go-client tested by
github.com/heketi/heketi/client/api/go-client.test imports
github.com/heketi/heketi/apps/glusterfs imports
github.com/heketi/heketi/pkg/kubernetes tested by
github.com/heketi/heketi/pkg/kubernetes.test imports
k8s.io/kubernetes/pkg/client/clientset_generated/clientset/fake: cannot find module providing package k8s.io/kubernetes/pkg/client/clientset_generated/clientset/fake |
Will try on a clean VM using both go1.12 and go1.13 |
Works on 1.12, fails on 1.13: fejta@erick:~/kubernetes$ ~/go1.12/bin/go mod tidy
warning: ignoring symlink /home/fejta/kubernetes/cluster/gce/cos
warning: ignoring symlink /home/fejta/kubernetes/cluster/gce/custom
warning: ignoring symlink /home/fejta/kubernetes/cluster/gce/ubuntu
fejta@erick:~/kubernetes$ ~/go1.13/bin/go mod tidy
warning: ignoring symlink /home/fejta/kubernetes/cluster/gce/cos
warning: ignoring symlink /home/fejta/kubernetes/cluster/gce/custom
warning: ignoring symlink /home/fejta/kubernetes/cluster/gce/ubuntu
k8s.io/kubernetes/pkg/volume/glusterfs imports
github.com/heketi/heketi/client/api/go-client tested by
github.com/heketi/heketi/client/api/go-client.test imports
github.com/heketi/heketi/apps/glusterfs imports
github.com/heketi/heketi/pkg/kubernetes imports
k8s.io/kubernetes/pkg/api: cannot find module providing package k8s.io/kubernetes/pkg/api
k8s.io/kubernetes/pkg/volume/glusterfs imports
github.com/heketi/heketi/client/api/go-client tested by
github.com/heketi/heketi/client/api/go-client.test imports
github.com/heketi/heketi/apps/glusterfs imports
github.com/heketi/heketi/pkg/kubernetes imports
k8s.io/kubernetes/pkg/api/v1: cannot find module providing package k8s.io/kubernetes/pkg/api/v1
k8s.io/kubernetes/pkg/volume/glusterfs imports
github.com/heketi/heketi/client/api/go-client tested by
github.com/heketi/heketi/client/api/go-client.test imports
github.com/heketi/heketi/apps/glusterfs imports
github.com/heketi/heketi/pkg/kubernetes imports
k8s.io/kubernetes/pkg/client/clientset_generated/clientset: cannot find module providing package k8s.io/kubernetes/pkg/client/clientset_generated/clientset
k8s.io/kubernetes/pkg/volume/glusterfs imports
github.com/heketi/heketi/client/api/go-client tested by
github.com/heketi/heketi/client/api/go-client.test imports
github.com/heketi/heketi/apps/glusterfs imports
github.com/heketi/heketi/pkg/kubernetes imports
k8s.io/kubernetes/pkg/volume/util/volumehelper: cannot find module providing package k8s.io/kubernetes/pkg/volume/util/volumehelper
k8s.io/kubernetes/pkg/volume/glusterfs imports
github.com/heketi/heketi/client/api/go-client tested by
github.com/heketi/heketi/client/api/go-client.test imports
github.com/heketi/heketi/apps/glusterfs imports
github.com/heketi/heketi/executors/kubeexec imports
github.com/heketi/heketi/pkg/remoteexec/kube imports
k8s.io/kubernetes/pkg/client/clientset_generated/clientset/typed/core/v1: cannot find module providing package k8s.io/kubernetes/pkg/client/clientset_generated/clientset/typed/core/v1
k8s.io/kubernetes/pkg/volume/glusterfs imports
github.com/heketi/heketi/client/api/go-client tested by
github.com/heketi/heketi/client/api/go-client.test imports
github.com/heketi/heketi/apps/glusterfs imports
github.com/heketi/heketi/executors/kubeexec imports
github.com/heketi/heketi/pkg/remoteexec/kube imports
k8s.io/kubernetes/pkg/client/unversioned/remotecommand: cannot find module providing package k8s.io/kubernetes/pkg/client/unversioned/remotecommand
k8s.io/kubernetes/pkg/volume/glusterfs imports
github.com/heketi/heketi/client/api/go-client tested by
github.com/heketi/heketi/client/api/go-client.test imports
github.com/heketi/heketi/apps/glusterfs imports
github.com/heketi/heketi/pkg/kubernetes tested by
github.com/heketi/heketi/pkg/kubernetes.test imports
k8s.io/kubernetes/pkg/client/clientset_generated/clientset/fake: cannot find module providing package k8s.io/kubernetes/pkg/client/clientset_generated/clientset/fake
fejta@erick:~/kubernetes$ |
there's a fair number of build/releng issues we'll have to deal with for go1.13 xref #78845 |
/remove-sig architecture |
looks like that means the outdated k8s.io/client-go library the current version of the heketi dependency uses will not work properly xref heketi/heketi#1542 |
|
https://github.com/golang/go/wiki/Modules#how-to-prepare-for-a-release specifies that we should run
go mod tidy
before a release to ensure ourgo.mod
file is limited to the set of imports we actually need.However this currently fails:
Slightly hard to understand how to parse this output. Are these due to circular dependencies?
ref #81878
The text was updated successfully, but these errors were encountered: