Skip to content

test: microshift: Don't force network-mode to 'user' #3804

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 2 commits into
base: main
Choose a base branch
from

Conversation

cfergeau
Copy link
Contributor

Filing this now so that we don't forget it when we have bundles with crc-org/snc#797. This will be put on hold until this happens.

We want our testing to be as close as possible to what end-users will
experience. Changing network-mode is a significant difference from the
default. With crc-org/snc#797 fixed, we no longer
need to force it to user.

@openshift-ci openshift-ci bot requested review from adrianriobo and jsliacan August 25, 2023 10:18
@cfergeau
Copy link
Contributor Author

/hold

@praveenkumar
Copy link
Member

@jsliacan Can you try that and see if that works as expected.

Copy link

openshift-ci bot commented Mar 24, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

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

@cfergeau
Copy link
Contributor Author

With the switch to user-mode networking everywhere, this probably can go in now.

@praveenkumar
Copy link
Member

Now by default network mode is user so we dont' force it anymore.

/close

@openshift-ci openshift-ci bot closed this May 19, 2025
Copy link

openshift-ci bot commented May 19, 2025

@praveenkumar: Closed this PR.

In response to this:

Now by default network mode is user so we dont' force it anymore.

/close

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.

@cfergeau
Copy link
Contributor Author

This needs rebase, it’s now less important as it’s just a cleanup now that usermode networking is default, but I’m not sure there is nothing to do anymore

cfergeau added 2 commits May 19, 2025 16:13
We want our testing to be as close as possible to what end-users will
experience. Changing `network-mode` is a significant difference from the
default.
`user` is now the default so we don’t need to explicitly set it.

Signed-off-by: Christophe Fergeau <[email protected]>
…latform"

This reverts commit 557ec94.

We no longer set network-mode as part of the tests, so this code is not
needed.

Signed-off-by: Christophe Fergeau <[email protected]>
@cfergeau
Copy link
Contributor Author

The updated PR removes no longer needed code.
Maybe we want to add a step which makes sure we are using the default networking mode.

Copy link

openshift-ci bot commented May 19, 2025

@cfergeau: The following test 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-crc 5127ff3 link true /test e2e-crc

Full PR test history. Your PR dashboard.

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.

// Since network-mode is only supported on Linux, we skip this property test for non-linux platforms
if property == "network-mode" && runtime.GOOS != "linux" {
return nil
}
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't this still true? On linux network-mode is still have option for system and user (being default)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants