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

Adjust base timeouts for integration and E2E tests #1919

Merged
merged 1 commit into from Mar 26, 2024

Conversation

alculquicondor
Copy link
Contributor

What type of PR is this?

/kind cleanup

What this PR does / why we need it:

Based on experience fixing flaky tests, a timeout of 30s just adds to development time.
If Kueue doesn't react within 5 seconds, it likely won't in a longer time.

And for operations which require multiple pieces to interact (mainly E2E tests), we still have the LongTimeout variable which can be used on a case-by-case basis.

The duration for Consistent checks can also be limited, as these are more of sanity checks. We try not to use these checks.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?

NONE

@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. labels Mar 26, 2024
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Mar 26, 2024
@alculquicondor
Copy link
Contributor Author

/assign @tenzen-y

@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Mar 26, 2024
Copy link

netlify bot commented Mar 26, 2024

Deploy Preview for kubernetes-sigs-kueue failed.

Name Link
🔨 Latest commit b31f397
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-sigs-kueue/deploys/66030034bd553200082a500c

@tenzen-y
Copy link
Member

For some cases, it seems that we need to use the long timeout based on the result of CI.

Change-Id: I4269e45313d0d058bec1157f6813eb0f425a6289
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Mar 26, 2024
@@ -237,21 +237,9 @@ var _ = ginkgo.Describe("Pod groups", func() {
gomega.Expect(k8sClient.Create(ctx, excess)).To(gomega.Succeed())
})
ginkgo.By("Use events to observe the excess pods are getting stopped", func() {
preemptedPods := sets.New[types.NamespacedName]()
gomega.Eventually(func(g gomega.Gomega) sets.Set[types.NamespacedName] {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This implementation only processed one event every 250ms

Copy link
Member

@tenzen-y tenzen-y left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

Let us try to perform tests 3 times.
/hold

@k8s-ci-robot k8s-ci-robot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. lgtm "Looks good to me", indicates that a PR is ready to be merged. labels Mar 26, 2024
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 1a058ac9a444c484f930422ca841551ff132e1e1

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alculquicondor, tenzen-y

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

@tenzen-y
Copy link
Member

tenzen-y commented Mar 26, 2024

2/3

/test pull-kueue-test-integration-main
/test pull-kueue-test-e2e-main-1-27
/test pull-kueue-test-e2e-main-1-28
/test pull-kueue-test-e2e-main-1-29

@alculquicondor
Copy link
Contributor Author

3/3

/test pull-kueue-test-integration-main
/test pull-kueue-test-e2e-main-1-27
/test pull-kueue-test-e2e-main-1-28
/test pull-kueue-test-e2e-main-1-29

/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 26, 2024
@k8s-ci-robot k8s-ci-robot merged commit 69385f4 into kubernetes-sigs:main Mar 26, 2024
13 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v0.7 milestone Mar 26, 2024
vsoch pushed a commit to researchapps/kueue that referenced this pull request Apr 18, 2024
)

Change-Id: I4269e45313d0d058bec1157f6813eb0f425a6289
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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants