NO-JIRA: fix(test): add aws-node-termination-handler to safe-evict audited list#7816
NO-JIRA: fix(test): add aws-node-termination-handler to safe-evict audited list#7816csrwng wants to merge 1 commit intoopenshift:mainfrom
Conversation
The EnsurePodsWithEmptyDirPVsHaveSafeToEvictAnnotations e2e test was failing because aws-node-termination-handler is a control plane component that gets the safe-to-evict annotation automatically via the component framework, but was not included in the test's audited list. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
WalkthroughA single entry for "aws-node-termination-handler" was added to the auditedApps list in a test utility function. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: csrwng The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@csrwng: This pull request explicitly references no jira issue. DetailsIn response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
|
/lgtm |
|
Scheduling tests matching the |
|
/verified by e2e |
|
@bryan-cox: This PR has been marked as verified by DetailsIn response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
|
/retest-required |
Test Resultse2e-aws
Failed TestsTotal failed tests: 7
... and 2 more failed tests e2e-aks
|
|
@csrwng: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. I understand the commands that are listed here. |
Summary
aws-node-termination-handlerto theauditedAppListin theEnsurePodsWithEmptyDirPVsHaveSafeToEvictAnnotationse2e testNewDeploymentComponent), which automatically sets thecluster-autoscaler.kubernetes.io/safe-to-evict-local-volumesannotation on its podstmp,token,cloud-token)Fix this failure: https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/openshift_hypershift/7814/pull-ci-openshift-hypershift-main-e2e-aws/2027149274311036928
Test plan
EnsurePodsWithEmptyDirPVsHaveSafeToEvictAnnotationse2e test passes on AWS clusters with the termination handler enabled🤖 Generated with Claude Code
Summary by CodeRabbit