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

Traceflow e2e test failed in DualStack Cluster #2116

Closed
gran-vmv opened this issue Apr 21, 2021 · 1 comment · Fixed by #2114
Closed

Traceflow e2e test failed in DualStack Cluster #2116

gran-vmv opened this issue Apr 21, 2021 · 1 comment · Fixed by #2114
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@gran-vmv
Copy link
Contributor

gran-vmv commented Apr 21, 2021

Describe the bug
Traceflow e2e test failed in DualStack Cluster

To Reproduce
Run "/test-ipv6-ds-e2e" at any PR.
[OR]
Setup a DualStack e2e test Cluster.
Run "go test -v -timeout=30m github.com/vmware-tanzu/antrea/test/e2e -run TestTraceflowIntraNode"

Expected
The result should be "PASS".

Actual behavior
Some test case may fail like:
--- FAIL: TestTraceflowIntraNode/traceflowGroupTest/intraNodeUDPDstIPTraceflowIPv6 (15.02s)
[OR]
--- FAIL: TestTraceflowIntraNode/traceflowGroupTest/intraNodeICMPDstIPTraceflowIPv6 (15.02s)

Versions:
Please provide the following information:

  • Antrea version (Docker image tag).
    Antrea main branch at 2021/4/21
  • Kubernetes version (use kubectl version). If your Kubernetes components have different versions, please provide the version for all of them.
    K8s 1.19
  • Container runtime: which runtime are you using (e.g. containerd, cri-o, docker) and which version are you using?
    docker community 19.03.12
  • Linux kernel version on the Kubernetes Nodes (uname -r).
    4.15.0-142-generic
  • If you chose to compile the Open vSwitch kernel module manually instead of using the kernel module built into the Linux kernel, which version of the OVS kernel module are you using? Include the output of modinfo openvswitch for the Kubernetes Nodes.
    vermagic: 4.15.0-142-generic SMP mod_unload modversions

Additional context
According to the flow table, the traceflow packet was correctly captured and was sent to controller (antrea-agent).
cookie=0x5000000000000, duration=9.169s, table=110, n_packets=1, n_bytes=62, hard_timeout=20, priority=202,ipv6,reg0=0x10000/0x10000,nw_tos=28 actions=controller(max_len=128,id=36780)
However, the antrea-agent didn't receive the PacketIn message. Below log should be reported when PacketIn message received, but it doesn't exist for the failed case.
I0421 09:05:39.722783 1 ofctrl_bridge.go:210] Received packet: &{Header:{Version:4 Type:10 Length:240 Xid:0} BufferId: ...

@gran-vmv gran-vmv added the kind/bug Categorizes issue or PR as related to a bug. label Apr 21, 2021
@gran-vmv gran-vmv self-assigned this Apr 21, 2021
@gran-vmv
Copy link
Contributor Author

According to local test, this is because installed OVS flows cannot take effect immediately.
Will add a small sleep to fix this.

gran-vmv added a commit that referenced this issue Apr 27, 2021
This PR fixes unexpected IPv6 DualStack e2e issue #2116
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant