Skip to content

Promote OrderedNamespaceDeletion test to Conformance #132219

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
from

Conversation

BenTheElder
Copy link
Member

What type of PR is this?

/kind feature
/sig architecture api-machinery

What this PR does / why we need it:

Promoted ordered namespace deletion test(s) to Conformance.
This feature is a critical security behavior change and users should be able to rely on this behavior.

See: https://kep.k8s.io/5080 and the associated CVE: #126587

Which issue(s) this PR is related to:

Fixes #131532

Special notes for your reviewer:

Tests are reliably green here: https://testgrid.k8s.io/sig-release-master-informing#gce-cos-master-serial&width=20&include-filter-by-regex=OrderedNamespaceDeletion&include-filter-by-regex=OrderedNamespaceDeletion

Does this PR introduce a user-facing change?

Promote Ordered Namespace Deletion to Conformance

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

- [KEP] https://kep.k8s.io/5080

@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/feature Categorizes issue or PR as related to a new feature. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. sig/architecture Categorizes an issue or PR as relevant to SIG Architecture. sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. needs-priority Indicates a PR lacks a `priority/foo` label and requires one. labels Jun 11, 2025
@k8s-ci-robot k8s-ci-robot requested review from dims and logicalhan June 11, 2025 02:52
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: BenTheElder
Once this PR has been reviewed and has the lgtm label, please assign smarterclayton 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

@BenTheElder BenTheElder changed the title Add OrderedNamespaceDeletion to conformance Promote OrderedNamespaceDeletion to Conformance Jun 11, 2025
@k8s-ci-robot k8s-ci-robot added area/conformance Issues or PRs related to kubernetes conformance tests area/test sig/testing Categorizes an issue or PR as relevant to SIG Testing. labels Jun 11, 2025
@BenTheElder BenTheElder changed the title Promote OrderedNamespaceDeletion to Conformance Promote OrderedNamespaceDeletion test to Conformance Jun 11, 2025
@cici37
Copy link
Contributor

cici37 commented Jun 11, 2025

/lgtm
Thanks for the pr!

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

LGTM label has been added.

Git tree hash: d7ab40ea83a3c83343d3c49fd84816305c807234

@cici37
Copy link
Contributor

cici37 commented Jun 12, 2025

/triage accepted

@k8s-ci-robot k8s-ci-robot added triage/accepted Indicates an issue or PR is ready to be actively worked on. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Jun 12, 2025
@BenTheElder
Copy link
Member Author

@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 Jun 12, 2025
@aojea
Copy link
Member

aojea commented Jun 25, 2025

it will get more soak time after #132483

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 25, 2025
@BenTheElder
Copy link
Member Author

it will get more soak time after #132483

Hmm? it actually should already have 2 weeks as of now and the test results are 100% green.

@BenTheElder
Copy link
Member Author

Ah, I see we change it to no longer require serial.

@serathius
Copy link
Contributor

serathius commented Jun 27, 2025

The tests is nicely passing without any flakes since removing serial
image

This is a critical security fix that users should be able to depend on.
@BenTheElder BenTheElder force-pushed the conformance-ordered branch from 4eccf74 to b367626 Compare June 27, 2025 16:49
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 27, 2025
@k8s-ci-robot k8s-ci-robot requested a review from cici37 June 27, 2025 16:49
@k8s-ci-robot
Copy link
Contributor

New changes are detected. LGTM label has been removed.

@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 27, 2025
@BenTheElder
Copy link
Member Author

Kubernetes e2e suite: [It] [sig-cli] Kubectl Port forwarding Shutdown client connection while the remote stream is writing data to the port-forward connection port-forward should keep working after detect broken connection

failed [FAILED] couldn't get http response from port-forward: Get "http://127.0.0.1:38403/": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
In [It] at: k8s.io/kubernetes/test/e2e/kubectl/portforward.go:672 @ 06/27/25 17:19:59.872

https://prow.k8s.io/view/gs/kubernetes-ci-logs/pr-logs/pull/132219/pull-kubernetes-e2e-gce/1938640888754343936

/retest

Testname: Ordered Namespace Deletion
Description: Pods must be deleted before other objects when deleting a namespace. See https://kep.k8s.io/5080
*/
f.It("namespace deletion should delete pod first", framework.WithFeatureGate(features.OrderedNamespaceDeletion), framework.WithConformance(), func(ctx context.Context) {
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
f.It("namespace deletion should delete pod first", framework.WithFeatureGate(features.OrderedNamespaceDeletion), framework.WithConformance(), func(ctx context.Context) {
f.It("namespace deletion should delete pod first", framework.WithConformance(), func(ctx context.Context) {

if is conformance it should not carry feature gate, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/conformance Issues or PRs related to kubernetes conformance tests 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/feature Categorizes issue or PR as related to a new feature. needs-priority Indicates a PR lacks a `priority/foo` label and requires one. release-note Denotes a PR that will be considered when it comes time to generate release notes. sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery. sig/architecture Categorizes an issue or PR as relevant to SIG Architecture. sig/testing Categorizes an issue or PR as relevant to SIG Testing. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Promote Ordered Namespace Deletion Tests to Conformance
5 participants