Skip to content
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

Failures in TestANPNetworkPolicyStatsWithDropAction on dual-stack clusters #2359

Closed
srikartati opened this issue Jul 7, 2021 · 1 comment
Labels
area/test Issues or PRs related to unit and integration tests. kind/bug Categorizes issue or PR as related to a bug. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

Comments

@srikartati
Copy link
Member

srikartati commented Jul 7, 2021

Describe the bug
Failure in TestANPNetworkPolicyStatsWithDropAction on dual-stack cluster bed continuously on two runs.
http://10.176.27.169:8080/job/antrea-ipv6-ds-e2e-for-pull-request/444/consoleFull
http://10.176.27.169:8080/job/antrea-ipv6-ds-e2e-for-pull-request/443/consoleFull

Seems intermittent; last success was on July 1st
http://10.176.27.169:8080/job/antrea-ipv6-ds-e2e-for-pull-request/

To Reproduce
Run the Jenkins test using /test-ipv6-e2e

Expected
The test should pass on dual-stack cluster testbeds.

Actual behavior

=== RUN   TestANPNetworkPolicyStatsWithDropAction
    fixtures.go:146: Creating 'antrea-test' K8s Namespace
    fixtures.go:109: Applying Antrea YAML
    fixtures.go:113: Waiting for all Antrea DaemonSet Pods
    fixtures.go:117: Checking CoreDNS deployment
I0706 19:04:12.998367   22412 k8s_util.go:623] Creating/updating Antrea NetworkPolicy antrea-test/np1
    antreapolicy_test.go:2805: Waiting for ANP 'antrea-test/np1' to be realized
E0706 19:04:18.402715   22412 antreapolicy_test.go:81] error when waiting for ANP 'antrea-test/np1' to be realized: timed out waiting for the condition
I0706 19:04:18.607066   22412 k8s_util.go:808] Deleting test Namespace x
E0706 19:04:18.609924   22412 k8s_util.go:810] Error when deleting Namespace 'x': namespaces "x" not found
I0706 19:04:18.609966   22412 k8s_util.go:808] Deleting test Namespace y
E0706 19:04:18.612024   22412 k8s_util.go:810] Error when deleting Namespace 'y': namespaces "y" not found
I0706 19:04:18.612063   22412 k8s_util.go:808] Deleting test Namespace z
E0706 19:04:18.617708   22412 k8s_util.go:810] Error when deleting Namespace 'z': namespaces "z" not found
    antreapolicy_test.go:83: test failed: error when waiting for ANP 'antrea-test/np1' to be realized: timed out waiting for the condition
    fixtures.go:352: Deleting Pod 'test-client-w8087k9e'
    fixtures.go:352: Deleting Pod 'test-server-rzqlitag'
    fixtures.go:220: Exporting test logs to '/var/lib/jenkins/workspace/antrea-ipv6-ds-e2e-for-pull-request/antrea-test-logs/TestANPNetworkPolicyStatsWithDropAction/beforeTeardown.Jul06-19-04-18'
    fixtures.go:324: Error when exporting kubelet logs: error when running journalctl on Node 'antrea-ipv6-5-0', is it available? Error: <nil>
    fixtures.go:345: Deleting 'antrea-test' K8s Namespace
--- FAIL: TestANPNetworkPolicyStatsWithDropAction (69.92

Antrea controller logs:

I0706 19:04:13.032176       1 antreanetworkpolicy.go:32] Processing Antrea NetworkPolicy antrea-test/np1 ADD event
I0706 19:04:13.040492       1 antreanetworkpolicy.go:47] Processing Antrea NetworkPolicy antrea-test/np1 UPDATE event
E0706 19:04:13.044968       1 status_controller.go:247] Failed to sync NetworkPolicy status a19a355a-58e1-42eb-9137-b45fdca38287: Operation cannot be fulfilled on networkpolicies.crd.antrea.io "np1": the object has been modified; please apply your changes to the latest version and try again
I0706 19:04:13.051487       1 antreanetworkpolicy.go:47] Processing Antrea NetworkPolicy antrea-test/np1 UPDATE event
I0706 19:04:21.046780       1 antreanetworkpolicy.go:47] Processing Antrea NetworkPolicy antrea-test/np1 UPDATE event

Versions:
Please provide the following information:

Additional context

@srikartati srikartati added kind/bug Categorizes issue or PR as related to a bug. area/test Issues or PRs related to unit and integration tests. labels Jul 7, 2021
@github-actions
Copy link
Contributor

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment, or this will be closed in 90 days

@github-actions github-actions bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/test Issues or PRs related to unit and integration tests. kind/bug Categorizes issue or PR as related to a bug. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

No branches or pull requests

1 participant