Skip to content

Conversation

@sjenning
Copy link
Contributor

@sjenning sjenning commented Jan 10, 2025

openshift/cluster-network-operator#2612 broke our e2e because our assertions in EnsureValidatingAdmissionPoliciesExists make the assumption that the only VAPs in the guest cluster are ones that we create.

The PR refactors this check to:

  • Not assume no other VAPs exist
  • Not wait for VAPs to exist as this is called from after(), as in after the HostedCluster is fully deployed and the VAPs should already be created. It is a bug if they are not created by the time the check runs.

@openshift-ci openshift-ci bot requested review from csrwng and hasueki January 10, 2025 22:03
@openshift-ci openshift-ci bot added the area/testing Indicates the PR includes changes for e2e testing label Jan 10, 2025
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 10, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: sjenning

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 approved Indicates a PR has been approved by an approver from all required OWNERS files. and removed do-not-merge/needs-area labels Jan 10, 2025
@sjenning sjenning changed the title test/e2e: improve VAP test assertions NO-JIRA: test/e2e: improve VAP test assertions Jan 10, 2025
@openshift-ci-robot
Copy link

@sjenning: This pull request explicitly references no jira issue.

Details

In response to this:

openshift/cluster-network-operator#2612 broke our e2e because our assertions in EnsureValidatingAdmissionPoliciesExists make the assumption that the only VAPs in the guest cluster are ones that we create.

The PR refactors this check to:

  • Not assume no other VAPs exist
  • Does not wait for VAPs to exist as this is called from after(), as in after the HostedCluster is fully deployed and the VAPs should already be created. It is a bug if they are not created by the time the check runs.

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-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jan 10, 2025
@sjenning
Copy link
Contributor Author

/test e2e-aws

@sjenning
Copy link
Contributor Author

/retest

@sjenning sjenning added the lgtm Indicates that a PR is ready to be merged. label Jan 11, 2025
@sjenning
Copy link
Contributor Author

self lgtm'ing and overriding to fix e2e
/override ci/prow/e2e-aws
/override ci/prow/e2e-kubevirt-aws-ovn-reduced

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 11, 2025

@sjenning: Overrode contexts on behalf of sjenning: ci/prow/e2e-aws, ci/prow/e2e-kubevirt-aws-ovn-reduced

Details

In response to this:

self lgtm'ing and overriding to fix e2e
/override ci/prow/e2e-aws
/override ci/prow/e2e-kubevirt-aws-ovn-reduced

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.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 11, 2025

@sjenning: all tests passed!

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.

@openshift-merge-bot openshift-merge-bot bot merged commit a39bf24 into main Jan 11, 2025
13 checks passed
@openshift-bot
Copy link

[ART PR BUILD NOTIFIER]

Distgit: hypershift
This PR has been included in build ose-hypershift-container-v4.19.0-202501110441.p0.ga39bf24.assembly.stream.el9.
All builds following this will include this PR.

@sjenning sjenning deleted the improve-vap-e2e-assertions branch February 20, 2025 20:11
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/testing Indicates the PR includes changes for e2e testing jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants