Skip to content
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

cross-build: PR 56036 causing cross build failure #56238

Closed
cblecker opened this issue Nov 22, 2017 · 8 comments · Fixed by #56256
Closed

cross-build: PR 56036 causing cross build failure #56238

cblecker opened this issue Nov 22, 2017 · 8 comments · Fixed by #56256
Labels
kind/bug Categorizes issue or PR as related to a bug. kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. sig/network Categorizes an issue or PR as relevant to SIG Network.

Comments

@cblecker
Copy link
Member

cblecker commented Nov 22, 2017

I1122 09:21:38.273] # k8s.io/kubernetes/cmd/kube-proxy/app
I1122 09:21:38.273] cmd/kube-proxy/app/server.go:221:36: too many arguments in call to NewProxyServer
I1122 09:21:38.273] 	have (*kubeproxyconfig.KubeProxyConfiguration, bool, bool, *"k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/runtime".Scheme, string)
I1122 09:21:38.273] 	want (*kubeproxyconfig.KubeProxyConfiguration, bool, *"k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/runtime".Scheme, string)

func NewProxyServer(config *proxyconfigapi.KubeProxyConfiguration, cleanupAndExit bool, scheme *runtime.Scheme, master string) (*ProxyServer, error) {

#56036
https://k8s-testgrid.appspot.com/sig-release-misc#cross-build&graph-metrics=test-duration-minutes
https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/ci-kubernetes-cross-build/3958


cc: @kubernetes/sig-network-bugs @kubernetes/sig-network-test-failures @m1093782566 @thockin
/kind bug
/priority failing-test

@k8s-ci-robot k8s-ci-robot added kind/bug Categorizes issue or PR as related to a bug. sig/network Categorizes an issue or PR as relevant to SIG Network. kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. labels Nov 22, 2017
@BenTheElder
Copy link
Member

This is at least twice in a week we've had cross break due to a public method signature change not being brought to all platforms (#56002)
We should do: #55750

@thockin
Copy link
Member

thockin commented Nov 22, 2017

I'm lost - the PR in question adds an argument and fixes the call-site - what is broken?

@thockin
Copy link
Member

thockin commented Nov 22, 2017

Ahh, I see.

@thockin
Copy link
Member

thockin commented Nov 22, 2017

How did that PR get through, if it is so obviously broken on Cross?

@cblecker
Copy link
Member Author

@thockin Cross build doesn't run 100% of the time as a pre-submit (because it takes so long), and it can't block. It's something sig-testing is tracking, but there isn't a quick fix yet.

@gnufied
Copy link
Member

gnufied commented Nov 22, 2017

Looks like make cross was skipped for that PR:

"pull-kubernetes-cross Skipped"

not sure why yet.

@BenTheElder
Copy link
Member

Cross runs when a file matching:
'^(build\/|hack\/lib\/)|(Makefile)|(.*_(windows|linux|osx|unsupported)(_test)?\.go)$'
changes, (which needs to be fixed, opening a test-infra issue to expand the regex), but also some files could have build tags without the file name matching (#55749)

Additionally cross is not blocking (kubernetes/test-infra#5584), the underlying bug should be fixed now though so once we get the fix in to k/k we can make it blocking when it does run.

@m1093782566
Copy link
Contributor

m1093782566 commented Nov 23, 2017

I find @thockin has already sent a PR. Thanks!

k8s-github-robot pushed a commit that referenced this issue Nov 23, 2017
Automatic merge from submit-queue (batch tested with PRs 56249, 56118, 56255, 56252, 56256). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

kube-proxy: Fix NewProxyServer

Different OSes need different args.  This is not a great fix, but better
than adding an arg to Windows which doesn't need it.

Fixes #56238

```release-note
NONE
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. sig/network Categorizes an issue or PR as relevant to SIG Network.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants