Skip to content

Conversation

@taimurhafeez
Copy link

It has been integrated into tear-down phase after any test. For instance, it can be checked by running any test such as
make e2e-parallel E2E_GO_TEST_FLAGS="-v -run TestScanProducesRemediations"

expected output:

2025/11/27 13:06:34 cleaning up namespace osdk-e2e-37fc2766-e722-4768-98e7-87ee880b6898
2025/11/27 13:06:34 ========== OCP-54055: Verifying namespace osdk-e2e-37fc2766-e722-4768-98e7-87ee880b6898 deletion completes successfully ==========
2025/11/27 13:06:40 Waiting for namespace osdk-e2e-37fc2766-e722-4768-98e7-87ee880b6898 to be fully deleted...
2025/11/27 13:06:45 Waiting for namespace osdk-e2e-37fc2766-e722-4768-98e7-87ee880b6898 to be fully deleted...
2025/11/27 13:06:50 Waiting for namespace osdk-e2e-37fc2766-e722-4768-98e7-87ee880b6898 to be fully deleted...
2025/11/27 13:06:55 Waiting for namespace osdk-e2e-37fc2766-e722-4768-98e7-87ee880b6898 to be fully deleted...
2025/11/27 13:07:00 Waiting for namespace osdk-e2e-37fc2766-e722-4768-98e7-87ee880b6898 to be fully deleted...
2025/11/27 13:07:05 Waiting for namespace osdk-e2e-37fc2766-e722-4768-98e7-87ee880b6898 to be fully deleted...
2025/11/27 13:07:10 ========== OCP-54055: Namespace osdk-e2e-37fc2766-e722-4768-98e7-87ee880b6898 successfully deleted - verification PASSED ==========
ok  	github.com/ComplianceAsCode/compliance-operator/tests/e2e/parallel	301.574s

Important to note: Changes proposed in PR-960 need to be merged before testing it.

@openshift-ci-robot
Copy link
Collaborator

@taimurhafeez: This pull request references CMP-3846 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.21.0" version, but no target version was set.

Details

In response to this:

It has been integrated into tear-down phase after any test. For instance, it can be checked by running any test such as
make e2e-parallel E2E_GO_TEST_FLAGS="-v -run TestScanProducesRemediations"

expected output:

2025/11/27 13:06:34 cleaning up namespace osdk-e2e-37fc2766-e722-4768-98e7-87ee880b6898
2025/11/27 13:06:34 ========== OCP-54055: Verifying namespace osdk-e2e-37fc2766-e722-4768-98e7-87ee880b6898 deletion completes successfully ==========
2025/11/27 13:06:40 Waiting for namespace osdk-e2e-37fc2766-e722-4768-98e7-87ee880b6898 to be fully deleted...
2025/11/27 13:06:45 Waiting for namespace osdk-e2e-37fc2766-e722-4768-98e7-87ee880b6898 to be fully deleted...
2025/11/27 13:06:50 Waiting for namespace osdk-e2e-37fc2766-e722-4768-98e7-87ee880b6898 to be fully deleted...
2025/11/27 13:06:55 Waiting for namespace osdk-e2e-37fc2766-e722-4768-98e7-87ee880b6898 to be fully deleted...
2025/11/27 13:07:00 Waiting for namespace osdk-e2e-37fc2766-e722-4768-98e7-87ee880b6898 to be fully deleted...
2025/11/27 13:07:05 Waiting for namespace osdk-e2e-37fc2766-e722-4768-98e7-87ee880b6898 to be fully deleted...
2025/11/27 13:07:10 ========== OCP-54055: Namespace osdk-e2e-37fc2766-e722-4768-98e7-87ee880b6898 successfully deleted - verification PASSED ==========
ok  	github.com/ComplianceAsCode/compliance-operator/tests/e2e/parallel	301.574s

Important to note: Changes proposed in PR-960 need to be merged before testing it.

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.

@openshift-ci
Copy link

openshift-ci bot commented Nov 27, 2025

Hi @taimurhafeez. Thanks for your PR.

I'm waiting for a github.com 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.

Details

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.

Copy link
Collaborator

@rhmdnd rhmdnd left a comment

Choose a reason for hiding this comment

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

Looking good, and this is a perfect usecase for the tearDown phase.

Only minor comments on the test ID and the commented out log statement.

@xiaojiey
Copy link
Collaborator

xiaojiey commented Dec 4, 2025

/retest

1 similar comment
@xiaojiey
Copy link
Collaborator

xiaojiey commented Dec 5, 2025

/retest

@xiaojiey
Copy link
Collaborator

xiaojiey commented Dec 5, 2025

This error(seems unrelated to the change) is strange. Rerun the job to see whether it reproduce again.

2025/12/04 09:41:20 cleaning up Profile Bundles
removing label node-role.kubernetes.io/e2e from node ip-10-0-1-4.us-west-1.compute.internal
2025/12/04 09:41:21 failed to remove label node-role.kubernetes.io/e2e from node ip-10-0-1-4.us-west-1.compute.internal: Operation cannot be fulfilled on nodes "ip-10-0-1-4.us-west-1.compute.internal": the object has been modified; please apply your changes to the latest version and try again
FAIL	github.com/ComplianceAsCode/compliance-operator/tests/e2e/parallel	872.076s
FAIL

@openshift-ci
Copy link

openshift-ci bot commented Dec 5, 2025

@taimurhafeez: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-aws-parallel 1dfff77 link true /test e2e-aws-parallel
ci/prow/e2e-aws-serial 1dfff77 link true /test e2e-aws-serial

Full PR test history. Your PR dashboard.

Details

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. I understand the commands that are listed here.

@taimurhafeez
Copy link
Author

taimurhafeez commented Dec 8, 2025

This error(seems unrelated to the change) is strange. Rerun the job to see whether it reproduce again.

2025/12/04 09:41:20 cleaning up Profile Bundles
removing label node-role.kubernetes.io/e2e from node ip-10-0-1-4.us-west-1.compute.internal
2025/12/04 09:41:21 failed to remove label node-role.kubernetes.io/e2e from node ip-10-0-1-4.us-west-1.compute.internal: Operation cannot be fulfilled on nodes "ip-10-0-1-4.us-west-1.compute.internal": the object has been modified; please apply your changes to the latest version and try again
FAIL	github.com/ComplianceAsCode/compliance-operator/tests/e2e/parallel	872.076s
FAIL

@xiaojiey I tested it again and did not encounter the error. I ran on 4.20 aws.

2025/12/08 15:23:21 cleaning up Profile Bundles
removing label node-role.kubernetes.io/e2e from node ip-10-0-112-163.ec2.internal
waiting for nodes to reach rendered-e2e-e6d454726602568550684d1cd5f78388
Node ip-10-0-112-163.ec2.internal has config rendered-e2e-e6d454726602568550684d1cd5f78388, desired config rendered-e2e-e6d454726602568550684d1cd5f78388 state Done2025/12/08 15:23:25 node ip-10-0-112-163.ec2.internal was updated
2025/12/08 15:23:25 all nodes in Machine Config Pool e2e were updated successfully
2025/12/08 15:23:25 cleaning up Machine Config Pool e2e

@rhmdnd
Copy link
Collaborator

rhmdnd commented Dec 8, 2025

I think this looks good and the failure seems unrelated.

I'm chasing down the TestScheduledSuite failure in #1024

Copy link
Collaborator

@rhmdnd rhmdnd left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci
Copy link

openshift-ci bot commented Dec 8, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rhmdnd, taimurhafeez

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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

@openshift-ci openshift-ci bot added the approved label Dec 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants