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

🌱 Allow overriding gingko args in e2e tests #8365

Merged

Conversation

killianmuldoon
Copy link
Contributor

Allow overriding the value of GINKGO_ARGS in the CI test script. This will allow us to disable fail-fast and give us full runs of e2e tests in the CI.

/area testing

@k8s-ci-robot k8s-ci-robot added area/testing Issues or PRs related to testing cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Mar 24, 2023
@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Mar 24, 2023
@killianmuldoon
Copy link
Contributor Author

/hold

Will keep this until after the 1.4 release to ensure we don't interfere with the signal for now.

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 24, 2023
@fabriziopandini
Copy link
Member

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 24, 2023
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 8237d7a0e6167c72c90b8fc25060f98ebd7ae162

@oscr
Copy link
Contributor

oscr commented Mar 27, 2023

/lgtm

@killianmuldoon
Copy link
Contributor Author

/hold remove

@killianmuldoon
Copy link
Contributor Author

/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 28, 2023
@killianmuldoon
Copy link
Contributor Author

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: killianmuldoon

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 29, 2023
@k8s-ci-robot k8s-ci-robot merged commit 344ccb8 into kubernetes-sigs:main Mar 29, 2023
@k8s-ci-robot k8s-ci-robot added this to the v1.5 milestone Mar 29, 2023
@sbueringer
Copy link
Member

@killianmuldoon looks like something we should cherry-pick? Was there a corresponding test infra pr?

@killianmuldoon
Copy link
Contributor Author

@killianmuldoon looks like something we should cherry-pick? Was there a corresponding test infra pr?

We didn't cherry-pick as this was pretty much an experiment to see how things would go. There's a PR to implement the "fail fast" behaviour here: kubernetes/test-infra#29135

I'm not sure yet if we want to extend this to other test runs, but cherry-picking doesn't hurt IMO.

@sbueringer
Copy link
Member

What I like about --fail-fast false is that we get better and more data. (with --fail-fast we obviously don't run all tests, but also we always get 2 additional tests flagged as failing even though they didn't fail and it's a bit more effort to find the actual failing test in the Prow UI).

I would be in favor of using --fail-fast false everywhere. If we use it everywhere, should we simply set the default to false in the repo (+ release branches) and revert the test-infra PR?

@killianmuldoon
Copy link
Contributor Author

I would be in favor of using --fail-fast false everywhere

I'm fine with this, but limited to periodic jobs. I think it makes sense to get the fail-fast behaviour for PRs - WDYT?

@sbueringer
Copy link
Member

I would be in favor of using --fail-fast false everywhere

I'm fine with this, but limited to periodic jobs. I think it makes sense to get the fail-fast behaviour for PRs - WDYT?

Good question. Depends on if we prefer to get all errors with one run or if we want to fix one after another.

I think on PRs this only really affects e2e-full. All the others run only 1 test case or 2 in parallel (or something similar).

I think I would prefer to keeping it everywhere the same (and thus simple). I.e. I would stop using fail-fast everywhere.

It's still possible to see test failures earlier in e2e-full jobs if someone cares about that by looking at the logs as they are "livestreamed" to the Prow UI.

@killianmuldoon
Copy link
Contributor Author

killianmuldoon commented Apr 24, 2023

Makes sense to me - I'll open a WIP PR to do this and track it. Let's continue any converstaion over there - #8548

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/testing Issues or PRs related to testing cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants