-
Notifications
You must be signed in to change notification settings - Fork 386
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] Support traceflow #3022
Conversation
Codecov Report
@@ Coverage Diff @@
## main #3022 +/- ##
===========================================
- Coverage 64.69% 46.19% -18.50%
===========================================
Files 279 246 -33
Lines 39784 35914 -3870
===========================================
- Hits 25738 16592 -9146
- Misses 12051 17691 +5640
+ Partials 1995 1631 -364
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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
/test-integration |
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
c2b8706
to
e4a7ee7
Compare
/test-windows-e2e |
d4a31a2
to
311cf4d
Compare
cc50a2f
to
cf8e369
Compare
@wenyingd According to latest test result, the "tunnel-first-packet-issue" still exists in our private testbed. |
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, only two minor comments.
require.NoError(t, err) | ||
svcIPv6Name = svcIPv6.Name | ||
} | ||
|
||
// Mesh ping to activate tunnel on Windows Node |
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.
Please add todo here to explain this is a workaround, and will be removed after Windows OVS fixes the issue that first packet is possibly dropped on tunnel because the ARP entry doesn't exist in host cache. The OVS issue link is: openvswitch/ovs-issues#253
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.
Thanks. Added TODO here.
b7828aa
to
30fc40c
Compare
/test-windows-e2e |
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
/test-all |
/test-ipv6-all |
/test-all-features-conformance |
test/e2e/traceflow_test.go
Outdated
} | ||
if encapMode != config.TrafficEncapModeNoEncap { | ||
// https://github.com/antrea-io/antrea/issues/897 | ||
skipIfProviderIs(t, "kind", "Skipping inter-Node Traceflow test for Kind because of #897") |
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.
OVS datapath has switched to kernel, all issues related to #897 should be resolved now.
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.
Thanks, removed.
@@ -328,15 +340,16 @@ func testTraceflowIntraNode(t *testing.T, data *TestData) { | |||
} | |||
}() | |||
|
|||
antreaPod, err := data.getAntreaPodOnNode(node1) | |||
if err = data.waitForNetworkpolicyRealized(antreaPod, allowAllEgressName, v1beta2.K8sNetworkPolicy); err != nil { |
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.
Why it no longer needs to wait for policy realization?
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.
Discussed with wenying, and reverted this change.
c833b09
to
a16ae20
Compare
/test-windows-e2e |
/test-conformance |
Signed-off-by: gran <gran@vmware.com>
/test-all |
/test-all-features-conformance |
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
Signed-off-by: gran gran@vmware.com