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

sig-testing: uses LABEL_FILTER instead of FOCUS #32867

Merged
merged 1 commit into from
Jul 19, 2024

Conversation

carlory
Copy link
Member

@carlory carlory commented Jun 28, 2024

xref: #32648

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jun 28, 2024
@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. 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 Jun 28, 2024
@@ -454,8 +454,8 @@ presubmits:
value: '{"EventedPLEG":true}'
- name: RUNTIME_CONFIG
value: '{"api/alpha":"true", "api/ga":"true"}'
- name: FOCUS
Copy link
Member Author

@carlory carlory Jun 28, 2024

Choose a reason for hiding this comment

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

@pacoxu should the job pull-kubernetes-e2e-kind-evented-pleg be moved into sig-node?

Copy link
Member

Choose a reason for hiding this comment

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

+1

Copy link
Member

Choose a reason for hiding this comment

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

this can be done later 😄

- name: FOCUS
value: "."
- name: LABEL_FILTER
value: "!/Feature:.+/"
# TODO(bentheelder): reduce the skip list further
- name: SKIP
value: \[Slow\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\]|\[sig-storage\]|PodSecurityPolicy|LoadBalancer|load.balancer|In-tree.Volumes.\[Driver:.nfs\]|PersistentVolumes.NFS|Simple.pod.should.support.exec.through.an.HTTP.proxy|subPath.should.support.existing
Copy link
Member Author

Choose a reason for hiding this comment

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

why skip sig-storage ?

Copy link
Member

Choose a reason for hiding this comment

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

those tests used to be very flaky

Copy link
Contributor

Choose a reason for hiding this comment

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

This SKIP is historic. It looks like some tests were specifically added probably because they didn't work in this environment, others (like this blanket exclusion of sig-storage) perhaps because they don't add value and ran too long.

As @BenTheElder said above in the TODO, this list should get reduced. I'm just not sure how to do that safely. Aggressively prune, monitor the result, and fix it up afterwards if something becomes worse (test failures, significantly longer runtime)?

Unrelated to that, when using LABEL_FILTER let's drop the SKIP. That makes the jobs simpler.

Copy link
Member

Choose a reason for hiding this comment

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

let's do incremental steps, if we do multiple changes at the same time and something fails we'll not be able to trace it back easily

Copy link
Contributor

Choose a reason for hiding this comment

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

Then at least remove |\[Feature:.+\] from SKIP because that is what "!/Feature:.+/" replaces. Otherwise it's not different from before.

Actually, let's not use the regexp. Instead: Feature: isEmpty.

Copy link
Member Author

Choose a reason for hiding this comment

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

@pohly @aojea I open a PR to make the canary job identical to the normal job. #32907

Let’s reduce the SKIP list later.

I want to make ci pass in kubernetes/kubernetes#125452

Copy link
Member Author

Choose a reason for hiding this comment

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

kindly ping @pohly

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm okay with keeping the SKIP different. Perhaps add a comment about it to the YAML?

Copy link
Contributor

Choose a reason for hiding this comment

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

Also cross-reference the jobs and explain that one should update the canary first when making potentially intrusive changes. This is tribal knowledge - we should start documenting this.

Copy link
Member Author

Choose a reason for hiding this comment

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

@pohly added. Please review it again. thanks

@carlory
Copy link
Member Author

carlory commented Jun 28, 2024

/cc @pohly

@k8s-ci-robot k8s-ci-robot requested a review from pohly June 28, 2024 09:16
@aojea
Copy link
Member

aojea commented Jul 1, 2024

/approve

defer @pohly for LGTM

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 1, 2024
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jul 2, 2024
@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jul 4, 2024
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jul 12, 2024
Copy link
Contributor

@pohly pohly left a comment

Choose a reason for hiding this comment

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

/lgtm

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

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: aojea, carlory, pohly

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 merged commit 12d874a into kubernetes:master Jul 19, 2024
7 checks passed
@k8s-ci-robot
Copy link
Contributor

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

  • key kubernetes-kind.yaml using file config/jobs/kubernetes/sig-testing/kubernetes-kind.yaml

In response to this:

xref: #32648

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.

@carlory carlory deleted the update-job branch July 20, 2024 16:45
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. sig/testing Categorizes an issue or PR as relevant to SIG Testing. 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

6 participants