-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
✨ Support e2e for WSL #10402
✨ Support e2e for WSL #10402
Conversation
|
Welcome @nasusoba! |
Hi @nasusoba. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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/test-infra repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/ok-to-test
need to verify if this change breaks normal Linux Docker engine (that is not |
If you can that would be good - but I think this change will run through the e2e tests in linux so we should have at least one data point |
/approve /assign @chrischdi Thx folks for testing! Let's go ahead with this. |
Seems that the conformance test is broken after the change... kubetest relies on docker network ref . Need more works to check nothing is broken for all platforms |
/hold |
/test help |
@chrischdi: The specified target(s) for
The following commands are available to trigger optional jobs:
Use
In 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 kubernetes/test-infra repository. |
/test pull-cluster-api-e2e-conformance-main |
fixConfig
for all platforms
I'm able to get the conformance test run on
|
Sorry, no idea. In general if it helps, it's fine to incrementally improve (and merge) and that only these tests fail is a big step forward |
@chrischdi, I have verified the change enables e2e on WSL. Please help continue with the review! |
/test pull-cluster-api-e2e-conformance-main |
Signed-off-by: nasusoba <zhengrunyu2020@outlook.com>
/test pull-cluster-api-e2e-conformance-main |
/lgtm Fine to merge (remove hold) from my side |
LGTM label has been added. Git tree hash: 08dddd4c4465a4c0839419a3d18441701e7b46b8
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sbueringer The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also for me
/hold cancel
What this PR does / why we need it:
When running
e2e
with WSL, the API address from the Docker network could not be used to connect to the workload cluster, instead, we need to uselocalhost:load-balancer-host-port
.fixConfig
done the fix, but for now it only applies todarwin
.This PR add check to see if the current environment is WSL, based on the env variable
WSL_DISTRO_NAME
. If so, it will use load balancer host port to access the workload cluster.After the fix, on WSL, the e2e will be supported.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #10103
/area testing