-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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 runs postsubmit tests as presubmit sometimes #14125
Comments
Post-submits run when code is merged to the repo. You are making PRs from branches on the repo itself, not from a fork, and you have not configured the postsubmit to run on a particular branch or subsets of branches, so this is all working as expected. I would suggest, in the following order:
|
/cc @cjwagner |
Oh, I see. Thanks for the explanation. I usually use forks, but just this time I used GitHub's editor. TBH, I think this wasn't an issue before and I was able to create mergeable PRs from the main repo branches. But I cannot find any proof right now. So I'm closing the issue.
Thanks for the suggestions. |
I've submitted the PR from a fork and yet the postsumbit test still runs: kubeflow/pipelines#1990 |
At some point you pushed that commit to the
/close |
@stevekuznetsov: Closing this issue. 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. |
Is that information a part of the commit or does Prow or GitHub remember that? |
It's interesting since that branch no longer exists in that repo. |
We have presubmit and postsubmit tests (https://github.com/kubernetes/test-infra/blob/master/config/jobs/kubeflow/kubeflow-postsubmits.yaml)
Usually presubmit tests run for PR branch commits and postsubmit tests run for master merges.
Sometimes though, the postsubmit test is executed for the PR and blocks attempts to merge the PR since the postsubmit test is only supposed to be run for master commits.
kubeflow/pipelines#1984
https://prow.k8s.io/view/gcs/kubernetes-jenkins/logs/kubeflow-pipeline-postsubmit/1166849049677008896
I expect postsubmit tests to only run post-submit.
How can we recover from this issue?
The text was updated successfully, but these errors were encountered: