-
Notifications
You must be signed in to change notification settings - Fork 375
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
[CI][Windows] Support Windows tests with proxyAll enabled #2899
Conversation
CONTRIBUTING.md
Outdated
@@ -157,6 +157,9 @@ Here are the trigger phrases for individual checks: | |||
* `/test-windows-e2e`: Windows IPv4 e2e tests | |||
* `/test-windows-conformance`: Windows IPv4 conformance tests | |||
* `/test-windows-networkpolicy`: Windows IPv4 networkpolicy tests | |||
* `/test-windows-proxyall-e2e`: Windows IPv4 e2e tests with proxyAll enabled | |||
* `/test-windows-proxyall-conformance`: Windows IPv4 conformance tests with proxyAll enabled | |||
* `/test-windows-proxyall-networkpolicy`: Windows IPv4 networkpolicy tests with proxyAll enabled |
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 think e2e has a full set of test cases can cover Service test, it may be not necessary to test proxyall with conformance and networkpolicy. In the future, we may make the default windows e2e, conformance, networkpolicy run with proxyAll enabled directly.
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.
Updated.
8a041ad
to
450ffc5
Compare
/test-windows-proxyall-e2e |
450ffc5
to
dc10c31
Compare
ci/jenkins/test.sh
Outdated
@@ -270,6 +278,15 @@ function deliver_antrea_windows { | |||
export KUBECONFIG=$KUBECONFIG_PATH | |||
export_govc_env_var | |||
|
|||
echo "====== If proxyAll is enabled, update yaml files ======" |
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.
Having a log saying "If proxyAll is enabled" doesn't help track how the script runs. I think it's more meaningful to move the log to the branch of the "if" below and just say "Updating yaml files to enabled proxyAll".
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.
Updated
I didn't see the test succeed |
dc10c31
to
5814107
Compare
I checked the cluster and failures are 1) kube-proxy-windows cannot start and 2) agent-windows crashed. They result from 1) no kube-proxy configmap and daemonset; 2) bug in #2905. So in this PR I skip kube-proxy-windows if proxyAll enabled. |
5814107
to
b4346ea
Compare
Codecov Report
@@ Coverage Diff @@
## main #2899 +/- ##
===========================================
- Coverage 61.44% 40.85% -20.60%
===========================================
Files 283 157 -126
Lines 23587 19624 -3963
===========================================
- Hits 14493 8017 -6476
- Misses 7528 10842 +3314
+ Partials 1566 765 -801
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Signed-off-by: Zhecheng Li <[email protected]> Co-authored-by: Quan Tian <[email protected]>
e9bc1e8
to
42f5e65
Compare
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
@lzhecheng can this be merged? or it needs to wait for the other two PRs merged first?
I suggest merging it now. I can debug with other PRs. |
/skip-all |
Signed-off-by: Zhecheng Li [email protected]