Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Adding missing flags to SeparateDisk tests #130964

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
Loading
from

Conversation

p-shah256
Copy link

@p-shah256 p-shah256 commented Mar 21, 2025

What type of PR is this?

/kind bug
/kind failing-test

What this PR does / why we need it:

Adds missing test tags to SeparateDisk test to prevent it from running in inappropriate CI jobs.
This PR fixes an inconsistency in test tagging where one SeparateDisk test was missing the crucial [Slow] [Serial] [Disruptive] tags that other similar tests have. Without these tags, the test was being incorrectly included in general CI jobs that aren't configured to handle these specialized tests.
The SeparateDisk tests require a specific environment configuration and should only run in dedicated test lanes like pr-crio-cgroupv2-imagefs-e2e-separatedisktest. By adding the proper tags, we ensure test runners correctly filter this test out of standard jobs while still allowing it to run in its intended environment.

Which issue(s) this PR fixes:

Fixes #130952

Special notes for your reviewer:

Test affected:
E2eNode Suite.[It] [sig-node] Summary [Feature:SeparateDisk]

Does this PR introduce a user-facing change?

NONE

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:


@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. kind/bug Categorizes issue or PR as related to a bug. kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Mar 21, 2025
@k8s-ci-robot
Copy link
Contributor

This issue is currently awaiting triage.

If a SIG or subproject determines this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

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.

@k8s-ci-robot k8s-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Mar 21, 2025
@k8s-ci-robot
Copy link
Contributor

Hi @p-shah256. 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-sigs/prow repository.

@k8s-ci-robot k8s-ci-robot added the needs-priority Indicates a PR lacks a `priority/foo` label and requires one. label Mar 21, 2025
@p-shah256 p-shah256 changed the title adding disruptive, slow and serial flag Adding missing flags to test Mar 21, 2025
@k8s-ci-robot k8s-ci-robot added area/test sig/node Categorizes an issue or PR as relevant to SIG Node. sig/testing Categorizes an issue or PR as relevant to SIG Testing. labels Mar 21, 2025
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. label Mar 21, 2025
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: p-shah256
Once this PR has been reviewed and has the lgtm label, please assign klueska for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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

@p-shah256 p-shah256 changed the title Adding missing flags to test Adding missing flags to SeparateDiskTest Mar 21, 2025
@p-shah256 p-shah256 changed the title Adding missing flags to SeparateDiskTest Adding missing flags to SeparateDisk tests Mar 21, 2025
@p-shah256
Copy link
Author

testing to see if any SeparateDisk tests run on non relevant CI jobs

/test pull-crio-cgroupv1-node-e2e-features

@k8s-ci-robot
Copy link
Contributor

@p-shah256: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

In response to this:

testing to see if any SeparateDisk tests run on non relevant CI jobs

/test pull-crio-cgroupv1-node-e2e-features

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.

@dims
Copy link
Member

dims commented Mar 21, 2025

/ok-to-test

@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 Mar 21, 2025
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.

Unfortunately this is not the solution..

I think you have to add explicit skips to all the test infra that are failing. There is not yet a way to skip these feature jobs by default and many lanes pick up the “Feature:” label so you will want to say this job is skipped.

(@BenTheElder, @aojea @pohly this is the exact case I mentioned in your doc that happens every release)

this job should only run on a node that has two filesystems and we only have that in one presubmit.

This change by itself is fine as these tags can help but they won’t resolve the CI failures.

@pohly
Copy link
Contributor

pohly commented Mar 21, 2025

There is not yet a way to skip these feature jobs by default and many lanes pick up the “Feature:” label so you will want to say this job is skipped.

There is a solution: change you jobs to use --label-filter=feature: isSubsetOf { FeatureA, FeatureB, ... } for all features supported by the job setup. That's an allow list.

As long as you use explicitly skips instead, you are stuck with updating those deny lists each time you add a new feature.

@kannon92
Copy link
Contributor

There is not yet a way to skip these feature jobs by default and many lanes pick up the “Feature:” label so you will want to say this job is skipped.

There is a solution: change you jobs to use --label-filter=feature: isSubsetOf { FeatureA, FeatureB, ... } for all features supported by the job setup. That's an allow list.

As long as you use explicitly skips instead, you are stuck with updating those deny lists each time you add a new feature.

Yes, the solution is that but that is tricky to pull off for every existing job in sig-node.

Most people are just copying existing jobs. I've tried my best to block kubernetes_e2e.py and encourage copying kubetest2 from getting in but nothing gates people from adding "deprecated" jobs.

@pohly
Copy link
Contributor

pohly commented Mar 21, 2025

but nothing gates people from adding "deprecated" jobs

Reduce ownership to a handful of people who know where the SIG wants to go with its jobs? Then also add a README outlining what a job should look like and start converting the existing ones. Eventually you will only have "good" examples and approval can be opened up again.

@kannon92
Copy link
Contributor

#130964 (review)

/lgtm

/assign @mrunalp @SergeyKanzhelev @ffromani

We still need to exclude jobs from the CI in test-infra but this can help reduce the amount we need to exclude.

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

kannon92 commented Mar 21, 2025

/hold

I think maybe we just revert the other PR. The failures are pretty vast and its risky to leave these in.

@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 21, 2025
@dims
Copy link
Member

dims commented Mar 21, 2025

@kannon92 yes please add a revert for the other PR!

@kannon92
Copy link
Contributor

#130985 is open.

@k8s-ci-robot
Copy link
Contributor

PR needs rebase.

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.

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Mar 21, 2025
@p-shah256
Copy link
Author

p-shah256 commented Mar 21, 2025

Given the two proposed solutions (@pohly allowlist approach with --label-filter vs adding explicit skips to failing jobs), I'm looking for clear direction.
While the allowlist approach seems more architecturally sound, I recognize there may be practical constraints with existing jobs. I'm ready to execute on whichever approach the team prefers for moving forward.

  1. I'd modify the CI jobs to make sure it ignores new Feature flags
  2. revert the reverted PR once that's set up

@SergeyKanzhelev
Copy link
Member

@p-shah256 can you resubmit your tests as a PR?

@SergeyKanzhelev SergeyKanzhelev moved this from Triage to PRs Waiting on Author in SIG Node CI/Test Board Mar 26, 2025
@SergeyKanzhelev
Copy link
Member

/lgtm cancel

To clear it up from queries

@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/test cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. kind/bug Categorizes issue or PR as related to a bug. kind/failing-test Categorizes issue or PR as related to a consistently or frequently failing test. needs-priority Indicates a PR lacks a `priority/foo` label and requires one. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. release-note-none Denotes a PR that doesn't merit a release note. sig/node Categorizes an issue or PR as relevant to SIG Node. sig/testing Categorizes an issue or PR as relevant to SIG Testing. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
Status: PRs Waiting on Author
Development

Successfully merging this pull request may close these issues.

[SeparateDisk] tests are failing in CI jobs
8 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.