-
Notifications
You must be signed in to change notification settings - Fork 388
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
TestFlowAggregator failed when AntreaIPAM is used #2980
Comments
@srikartati could you please take a look or assign it to proper developer? |
Hi @dreamtalen, As this issue is very similar to the one you root caused before #2283 (comment) |
Sure, I will take a look. |
Update: looks like this failure may cause by a time difference between k8s pod and testbed host.
We could see there is a 6 seconds difference between antrea/test/e2e/flowaggregator_test.go Line 779 in 5db792d
In this case, 2nd data record could pass the condition which caused e2e test didn't wait for the 3rd data record. To solve this issue, we could check the time sync between host and k8s Pod on this testbed, or we could change our condition to use flowStartSeconds instead of timeStart .
|
@dreamtalen it's probably better to write the test in such a way that it doesn't assume time sync between 1) the host running the Go tests and 2) K8s Nodes / Pods. |
Thanks @dreamtalen
I think comparing |
In this PR, we change to comparing flow export time with flow start time in flow record instead of the test start time of the host running tests. Fix issue #2980 Signed-off-by: Yongming Ding <[email protected]>
In this PR, we change to comparing flow export time with flow start time in flow record instead of the test start time of the host running tests. Fix issue #2980 Signed-off-by: Yongming Ding <[email protected]>
In this PR, we change to comparing flow export time with flow start time in flow record instead of the test start time of the host running tests. Fix issue #2980 Signed-off-by: Yongming Ding <[email protected]>
In this PR, we change to comparing flow export time with flow start time in flow record instead of the test start time of the host running tests. Fix issue #2980 Signed-off-by: Yongming Ding <[email protected]>
In this PR, we change to comparing flow export time with flow start time in flow record instead of the test start time of the host running tests. Fix issue #2980 Signed-off-by: Yongming Ding <[email protected]>
Have a fix at #2983 by removing the comparing with host time, triggered |
In this PR, we change to comparing flow export time with flow start time in flow record instead of the test start time of the host running tests. Fix issue #2980 Signed-off-by: Yongming Ding <[email protected]>
Describe the bug
The test failed very frequently in "jenkins-flexible-ipam-e2e", on which cluster AntreaIPAM is enabled:
Versions:
The text was updated successfully, but these errors were encountered: