-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Prow integration test job report to github #20498
Prow integration test job report to github #20498
Conversation
The integration test introduced in kubernetes#20451 works as expected, make it reporting to github before make it required for presubmit
/cc @alvaroaleman |
@@ -102,7 +102,6 @@ presubmits: | |||
- master | |||
always_run: false | |||
decorate: true | |||
skip_report: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
skip_report: true is completely independent from the optional
setting btw
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alvaroaleman, chaodaiG The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@chaodaiG: Updated the
In response to this:
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. |
FYI: this caused a couple of PR's to get stuck. They passed their tests, then this context was made required, then the PR was approved... but the new context was never automatically triggered. I'm manually triggering now. How could we have added this in a less disruptive way? |
@spiffxp by finally deploying the status reconciler:
It was written to solve this exact problem automatically. It is in use by Openshift for O(years) and we are not aware of any issues. |
It's present at https://github.com/kubernetes/test-infra/blob/master/config/prow/cluster/statusreconciler_deployment.yaml And appears to be deployed
It's documented as handling this case
But it appears it didn't? |
@spiffxp actually the change that should have triggered that is #20501 It just shows that it didn't do anything 🙃 |
Not 100% sure, but have a hypothesis. I think statusreconciler figures out a new required prowjob by looking up previously stored data in memory, which tends to be lost when the pod is restarted, for example autobump. The PR makes this job required #20501 was merged almost right before prow bump #20497, so this could be the reason why statusreconciler didn't figure out this new job |
That would indeed explain it. I've created a PR to include the config git revision in the config itself, so the statusreconciler can add that to its log, which would allow us to actually debug a situations like this, right now its just guessing: #20527 |
The integration test introduced in #20451 works as expected, make it reporting to github before make it required for presubmit