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

The build controller is crash looping #14976

Closed
Katharine opened this issue Oct 25, 2019 · 4 comments · Fixed by #14982
Closed

The build controller is crash looping #14976

Katharine opened this issue Oct 25, 2019 · 4 comments · Fixed by #14982
Assignees
Labels
area/prow/knative-build Issues or PRs related to prow's knative-build controller component kind/oncall-hotlist Categorizes issue or PR as tracked by test-infra oncall. priority/critical-urgent Highest priority. Must be actively worked on as someone's top priority right now.

Comments

@Katharine
Copy link
Member

Katharine commented Oct 25, 2019

This was triggered by yesterday's bump (#14936). I don't know why. The complete log is this:

{"component":"build","file":"prow/cmd/build/main.go:84","func":"main.(*options).parse","level":"info","msg":"--build-cluster is deprecated, please switch to --kubeconfig","time":"2019-10-25T16:01:06Z"}
{"component":"build","file":"prow/kube/config.go:143","func":"k8s.io/test-infra/prow/kube.LoadClusterConfigs","level":"info","msg":"Loading cluster contexts...","time":"2019-10-25T16:01:06Z"}
{"component":"build","file":"prow/kube/config.go:97","func":"k8s.io/test-infra/prow/kube.buildConfigs","level":"info","msg":"* gke_rules-k8s_us-central1-f_testing","time":"2019-10-25T16:01:06Z"}
{"component":"build","file":"prow/kube/config.go:97","func":"k8s.io/test-infra/prow/kube.buildConfigs","level":"info","msg":"* k8s-tpu-operator","time":"2019-10-25T16:01:06Z"}
{"component":"build","file":"prow/kube/config.go:97","func":"k8s.io/test-infra/prow/kube.buildConfigs","level":"info","msg":"* scalability","time":"2019-10-25T16:01:06Z"}
{"component":"build","file":"prow/kube/config.go:97","func":"k8s.io/test-infra/prow/kube.buildConfigs","level":"info","msg":"* test-infra-trusted","time":"2019-10-25T16:01:06Z"}
{"component":"build","file":"prow/kube/config.go:97","func":"k8s.io/test-infra/prow/kube.buildConfigs","level":"info","msg":"* default","time":"2019-10-25T16:01:06Z"}
{"component":"build","error":"no matches for kind \"Build\" in version \"build.knative.dev/v1alpha1\"","file":"prow/cmd/build/main.go:189","func":"main.main","level":"warning","msg":"Ignoring scalability: knative build CRD not deployed","time":"2019-10-25T16:01:07Z"}
{"component":"build","error":"the cache is not started, can not read objects","file":"prow/cmd/build/main.go:193","func":"main.main","level":"fatal","msg":"Failed to create test-infra-trusted build client","time":"2019-10-25T16:01:07Z"}

I'd roll back, but I'm not sure we actually care? Perhaps we should just remove the build controller entirely instead.

@Katharine Katharine added priority/critical-urgent Highest priority. Must be actively worked on as someone's top priority right now. area/prow/knative-build Issues or PRs related to prow's knative-build controller component kind/oncall-hotlist Categorizes issue or PR as tracked by test-infra oncall. labels Oct 25, 2019
@cjwagner
Copy link
Member

We should remove remaining agent: knative-build jobs then remove the controller.
Ref: #14681

@fejta
Copy link
Contributor

fejta commented Oct 25, 2019

@alvaroaleman

Think this could be related to #14939?

@alvaroaleman
Copy link
Member

yeah it is, just saw this, I can issue a quick fix
/assign

@fejta
Copy link
Contributor

fejta commented Oct 25, 2019

awesome, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/prow/knative-build Issues or PRs related to prow's knative-build controller component kind/oncall-hotlist Categorizes issue or PR as tracked by test-infra oncall. priority/critical-urgent Highest priority. Must be actively worked on as someone's top priority right now.
Projects
None yet
4 participants