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

update common file #2551

Merged
merged 1 commit into from
Nov 13, 2019
Merged

update common file #2551

merged 1 commit into from
Nov 13, 2019

Conversation

bianpengyuan
Copy link
Contributor

Meanwhile test the new proxy builder image with prow.

@bianpengyuan bianpengyuan requested a review from a team November 12, 2019 18:16
@googlebot googlebot added the cla: yes Set by the Google CLA bot to indicate the author of a PR has signed the Google CLA. label Nov 12, 2019
@istio-testing istio-testing added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Nov 12, 2019
Copy link
Member

@venilnoronha venilnoronha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this need to first go in the istio/common-files repo?

@bianpengyuan
Copy link
Contributor Author

@venilnoronha Yeah, I run make update-common to generate this change.

@bianpengyuan
Copy link
Contributor Author

Hmm... that's strange, why tide is not here..

@bianpengyuan
Copy link
Contributor Author

/retest

@bianpengyuan
Copy link
Contributor Author

@clarketm Any idea?

@clarketm
Copy link
Member

clarketm commented Nov 13, 2019

@bianpengyuan

@clarketm Any idea?

I see an issue in tide logs. I think this job is to blame: https://github.com/istio/test-infra/blob/c33be824a61027045427c0d5f61c681a5c6263ec/prow/cluster/jobs/istio/proxy/istio.proxy.master.yaml#L42. If we omit the context here it should default to job name and not conflict.

 jsonPayload: {
  base-sha: "90b1d9f97e105d20698ece0ebd6fe2f75b44c7ea"   
  branch: "master"   
  component: "tide"   
  controller: "sync"   
  error: "error setting up context checker for pr 2553: contexts prow/proxy-presubmit.sh are defined as required and optional"   
  file: "prow/tide/tide.go:449"   
  func: "k8s.io/test-infra/prow/tide.(*Controller).filterSubpools.func1"   
  level: "error"   
  msg: "Error initializing subpool."   
  org: "istio"   
  repo: "proxy"   
 }

@bianpengyuan
Copy link
Contributor Author

I see. Should this be fixed or context should be the only key for job? But anyway let me remove the job. New builder test is already done.

@howardjohn
Copy link
Member

@bianpengyuan we should probably remove the context field from proxy entirely, as we have done with other repos. Basically context is what shows up on the github list. It is confusing since in some places it shows up as the context (like prow/proxy-presubmit.sh) and other places the name (like prow/proxy-presubmit I think). If you remove context everything uses name

@istio-testing istio-testing merged commit ca7a907 into istio:master Nov 13, 2019
@clarketm
Copy link
Member

clarketm commented Nov 13, 2019

@bianpengyuan
The core problem was that there were different jobs with the same context field. As @howardjohn stated a good way around this is to simply omit the context field and let Prow default it to the job name (or set context to unique value).

@howardjohn
Copy link
Member

howardjohn commented Nov 13, 2019 via email

@clarketm
Copy link
Member

clarketm commented Nov 13, 2019

the job names are also not unique for proxy. We should probably just make it over to use the config generation, I don't think there are any blockers anymore?

Personally, I do not know the history for why these istio/proxy jobs were not generated. The less attractive alternative is to update the job names.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Set by the Google CLA bot to indicate the author of a PR has signed the Google CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
6 participants