Skip to content
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

Networking: Add user defined networks EgressIP tests #29420

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

Conversation

martinkennelly
Copy link
Contributor

For layer 3 and layer 2 primary user defined networks.

For layer 2 and layer 3 primary user defined
networks.

Signed-off-by: Martin Kennelly <[email protected]>
@martinkennelly
Copy link
Contributor Author

/test e2e-gcp-ovn-techpreview

@martinkennelly
Copy link
Contributor Author

/payload-job periodic-ci-openshift-release-master-nightly-4.19-e2e-metal-ipi-ovn-dualstack-techpreview

/payload-job periodic-ci-openshift-release-master-nightly-4.19-e2e-metal-ipi-ovn-ipv6-techpreview

@openshift-ci openshift-ci bot requested review from deads2k and knobunc January 10, 2025 10:07
Copy link
Contributor

openshift-ci bot commented Jan 10, 2025

@martinkennelly: trigger 2 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

  • periodic-ci-openshift-release-master-nightly-4.19-e2e-metal-ipi-ovn-dualstack-techpreview
  • periodic-ci-openshift-release-master-nightly-4.19-e2e-metal-ipi-ovn-ipv6-techpreview

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/bb3525d0-cf3a-11ef-94e5-3e744d8b3b00-0

Copy link
Contributor

openshift-ci bot commented Jan 10, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

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

@martinkennelly
Copy link
Contributor Author

/retest

Comment on lines +708 to +709
g.Entry("[OCPFeatureGate:NetworkSegmentation][Feature:UserDefinedPrimaryNetworks]", networkAttachmentConfigParams{name: "l3udn", topology: "layer3", role: "primary", cidr: correctCIDRFamily(newPrivilegedEIPOC(), "30.10.0.0/16", "2014:100:200::0/60")}),
g.Entry("[OCPFeatureGate:NetworkSegmentation][Feature:UserDefinedPrimaryNetworks]", networkAttachmentConfigParams{name: "l2udn", topology: "layer2", role: "primary", cidr: correctCIDRFamily(newPrivilegedEIPOC(), "30.10.0.0/16", "2014:100:200::0/60")}))
Copy link
Member

Choose a reason for hiding this comment

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

It looks to me that these should be skipped for MicroShift. It does not have a networks.operator.openshift.io so GetIPAddressFamily() fails.
@pacevedom correct me if I'm wrong

Copy link
Contributor

Choose a reason for hiding this comment

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

Am I right assuming that g.DescribeTableSubtree will execute code for creating the entries before the test themselves, and these entries are executing correctCIDRFamily, that now panics instead of returning an error?

The behavior I see in microshift jobs seems to go this way but I would like to confirm.
We do not have some of the apigroups you would expect in that function in microshift, and this code is executed before the automatic skipping based on feature gates, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants