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

add JobSet periodic release and main tests #32532

Conversation

omerap12
Copy link
Contributor

@omerap12 omerap12 commented Apr 29, 2024

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Apr 29, 2024
@k8s-ci-robot
Copy link
Contributor

Hi @omerap12. Thanks for your PR.

I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

@k8s-ci-robot k8s-ci-robot added needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Apr 29, 2024
@k8s-ci-robot k8s-ci-robot added area/config Issues or PRs related to code in /config area/jobs sig/testing Categorizes an issue or PR as relevant to SIG Testing. labels Apr 29, 2024
@omerap12 omerap12 changed the title Added periodic jobs for main branch and presubmit for release branche… Added periodic jobs for main branch and presubmit for release branches Apr 29, 2024
@omerap12 omerap12 force-pushed the jobset-added_periodi_jobs_testing_release_branches branch from 9ee346d to 52a636f Compare April 29, 2024 12:22
@omerap12 omerap12 requested a review from kannon92 April 29, 2024 12:39
Copy link
Contributor

@kannon92 kannon92 left a comment

Choose a reason for hiding this comment

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

/retitle add JobSet periodic release and main tests

@k8s-ci-robot k8s-ci-robot changed the title Added periodic jobs for main branch and presubmit for release branches add JobSet periodic release and main tests Apr 29, 2024
Copy link
Contributor

@kannon92 kannon92 left a comment

Choose a reason for hiding this comment

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

/ok-to-test

/assign @danielvegamyhre

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Apr 29, 2024
@kannon92
Copy link
Contributor

LGTM but I’m not by computer so hope @danielvegamyhre can give a second look

@kannon92
Copy link
Contributor

Check linter. You may have duplicate names or indentation issues

@omerap12
Copy link
Contributor Author

Check linter. You may have duplicate names or indentation issues

Yes, noticed. I'll get home and fix this. Thanks :)

@omerap12
Copy link
Contributor Author

/retest

@omerap12 omerap12 requested a review from kannon92 April 29, 2024 18:08
Copy link
Contributor

@kannon92 kannon92 left a comment

Choose a reason for hiding this comment

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

@omerap12
Copy link
Contributor Author

omerap12 commented May 5, 2024

Hey @kannon92 @danielvegamyhre ,
any update?

@danielvegamyhre
Copy link
Member

Thanks @omerap12 I will take a look at this tomorrow

@danielvegamyhre
Copy link
Member

@omerap12 did you use any existing tests as a reference when building this? If so can you share them

@omerap12
Copy link
Contributor Author

omerap12 commented May 6, 2024

@omerap12 did you use any existing tests as a reference when building this? If so can you share them

Yes, this is the presubmit tests for jobset:
https://github.com/kubernetes/test-infra/blob/master/config/jobs/kubernetes-sigs/jobset/jobset-presubmit.yaml

So I implemented those tests with using a reference from kueue:
https://github.com/kubernetes/test-infra/tree/master/config/jobs/kubernetes-sigs/kueue

@omerap12
Copy link
Contributor Author

Hey Guys, any update on this one? @kannon92 @danielvegamyhre

@@ -0,0 +1,190 @@
periodics:
Copy link
Member

Choose a reason for hiding this comment

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

I thought we were just adding periodic tests on the release branches, what are the other presubmit files about?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I thought of adding presubmit checks for release branches as well. I can remove them if you'd like

Copy link
Member

Choose a reason for hiding this comment

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

Would the presubmits only trigger when we are merging a PR into the given release branch? Or does it run unconditionally?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Presubmit jobs runs for pull requests into the given branch. periodic jobs run unconditionally

Copy link
Member

Choose a reason for hiding this comment

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

Ok perfect

@omerap12 omerap12 force-pushed the jobset-added_periodi_jobs_testing_release_branches branch from b032ddc to 390d9ee Compare May 13, 2024 15:11
- make
- test
securityContext:
privileged: true
Copy link
Member

Choose a reason for hiding this comment

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

any idea why this is necessary?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because you are running Docker in Docker I think it is necessary

Copy link
Member

Choose a reason for hiding this comment

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

Gotcha, ok

@danielvegamyhre
Copy link
Member

/lgtm
/approve

Thanks @omerap12!

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

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: danielvegamyhre, omerap12

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 May 13, 2024
@k8s-ci-robot k8s-ci-robot merged commit a9bd71b into kubernetes:master May 13, 2024
7 checks passed
@k8s-ci-robot
Copy link
Contributor

@omerap12: Updated the job-config configmap in namespace default at cluster test-infra-trusted using the following files:

  • key jobset-periodics-main.yaml using file config/jobs/kubernetes-sigs/jobset/jobset-periodics-main.yaml
  • key jobset-periodics-release-0-4.yaml using file config/jobs/kubernetes-sigs/jobset/jobset-periodics-release-0-4.yaml
  • key jobset-periodics-release-0-5.yaml using file config/jobs/kubernetes-sigs/jobset/jobset-periodics-release-0-5.yaml
  • key jobset-presubmit.yaml using file ``
  • key jobset-presubmit-main.yaml using file config/jobs/kubernetes-sigs/jobset/jobset-presubmit-main.yaml
  • key jobset-presubmit-release-0.4.yaml using file config/jobs/kubernetes-sigs/jobset/jobset-presubmit-release-0.4.yaml
  • key jobset-presubmit-release-0.5.yaml using file config/jobs/kubernetes-sigs/jobset/jobset-presubmit-release-0.5.yaml

In response to this:

issue: kubernetes-sigs/jobset#524

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-sigs/prow repository.

@danielvegamyhre
Copy link
Member

@omerap12 some of the tests added here are failing (example) can you take a look please?

@omerap12
Copy link
Contributor Author

@omerap12 some of the tests added here are failing (example) can you take a look please?

sure, Ill take a look

@omerap12
Copy link
Contributor Author

@omerap12 some of the tests added here are failing (example) can you take a look please?

Found the problem. Ill create another PR to fix this soon.

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/config Issues or PRs related to code in /config area/jobs 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. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. sig/testing Categorizes an issue or PR as relevant to SIG Testing. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants