-
Notifications
You must be signed in to change notification settings - Fork 431
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
Windows upstream e2e #1119
Windows upstream e2e #1119
Conversation
Skipping CI for Draft Pull Request. |
@jsturtevant: The label(s) 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. |
fbe4ed5
to
247ec83
Compare
247ec83
to
e95e75e
Compare
@CecileRobertMichon @nader-ziada This is ready for a review. I am running the suite now and will post results once it is complete. Sorry this took so long. |
Added a comment in https://github.com/kubernetes/test-infra/pull/21544/files#r602575057, we should add a PR test equivalent to the periodic job and use it to validate this PR |
I got the test results back and had a few failures. Looking into today. |
update: there are a few tests that fail due to networking configuration. I am working with the networking team to get the correct settings. |
/test pull-cluster-api-provider-azure-upstream-v1alpha4-windows |
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.
Superficial nits
templates/test/ci/prow-machine-pool-windows/patches/windows-tmp-folder.yaml
Outdated
Show resolved
Hide resolved
@@ -0,0 +1,3 @@ | |||
gcAuthenticatedRegistry: e2eprivate | |||
gcEtcdRegistry: k8sprow.azurecr.io/kubernetes-e2e-test-images | |||
privateRegistry: e2eteam |
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.
new line nit
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.
This was directly pulled during make
from https://github.com/kubernetes-sigs/windows-testing/blob/master/images/image-repo-list-master. And it looks like that file doesn't have the file endings.
I checked it in here for an example file and so it was standalone.
155a07f
to
142dc4a
Compare
Will take a little longer to run but until kubernetes/test-infra#22180 merges but will be a signal nothing else changed and we can run it again for additional validation since this is a new test. /test pull-cluster-api-provider-azure-upstream-v1alpha4-windows |
this one is good to go as well, @devigned any final thoughts since you had requested changes before |
Running one last time with the updates in kubernetes/test-infra#22180 /test pull-cluster-api-provider-azure-upstream-v1alpha4-windows |
/test pull-cluster-api-provider-azure-upstream-v1alpha4-windows |
@devigned @nader-ziada @chewong any further thoughts on this? |
@@ -298,6 +298,10 @@ spec: | |||
New-HnsNetwork -Type Overlay -AddressPrefix "192.168.255.0/30" -Gateway "192.168.255.1" -Name "External" -AdapterName "Ethernet 2" -SubnetPolicies @(@{Type = "VSID"; VSID = 9999; }) | |||
path: C:/create-external-network.ps1 | |||
permissions: "0744" | |||
- content: | | |||
New-Item -ItemType Directory -Force -Path C:\tmp\ | |||
path: C:/create-temp-folder.ps1 |
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.
what is this temp folder useful for?
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.
It is required for the end to end tests. It is assume to be already created on the machines for several of the tests. I swear I left a comment here but it looks like it might have been dropped during a rebase
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.
add a comment
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.
dbd6d2a
to
3537f83
Compare
3537f83
to
3cc5960
Compare
Good call. Updated. |
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.
Outside of a naming question, lgtm
@@ -93,4 +94,8 @@ cleanup() { | |||
|
|||
trap cleanup EXIT | |||
|
|||
make test-conformance | |||
if [[ "${WINDOWS}" == "true" ]]; then | |||
make test-windows-upstream |
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.
nit: what do you think about make test-conformance-windows
?
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.
I named it this way since there is no official "Conformance" for windows. We run a good set of conformance test but not all and additional Windows tests.
kubernetes/kubernetes#96639 for more info on where we are with Conformance for Windows
We should run this again since there were changes /test pull-cluster-api-provider-azure-upstream-v1alpha4-windows |
I do not think the failure was not related to these changes:
/test pull-cluster-api-provider-azure-upstream-v1alpha4-windows |
The management cluster didn't come online, error was:
/test pull-cluster-api-provider-azure-upstream-v1alpha4-windows |
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.
lgtm
/assign @nader-ziada
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.
/lgtm
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: CecileRobertMichon 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 |
What type of PR is this?
/kind other
What this PR does / why we need it:
Add testing support for upstream windows tests similar to https://testgrid.k8s.io/sig-cluster-lifecycle-cluster-api-provider-azure#periodic-capz-conformance-k8s-master.
TODO:
Add ability to inject kube binaries similiar to https://github.com/kubernetes-sigs/cluster-api-provider-azure/blob/a3525d2d89821192dbaeef270f46eff09e4c4587/templates/test/prow-machine-pool-ci-version/patches/machine-pool-ci-version.yamlwill follow up with separate pr. tracking in Add ability to inject kube binaries from kubernetes CI builds on Windows #1276Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #
Special notes for your reviewer:
Some more work needs to be done to make this ready and it relies on:
Windows doesn't currently have Conformance tests but does have a set of tests that can verify Windows behavior. Defining Conformance tests for windows is a Work in progress and this set of tests can be updated later.
Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.
TODOs:
Release note: