Closed antoninbas closed 5 months ago
@tnqn the only recent related change I can think of is the logging fix, but that should not have impacted NP enforcement
If it started two days ago, https://github.com/antrea-io/antrea/pull/4537 may be related.
The current log doesn't provide any infromation as all agents were restarted before collecting the logs. We need to invert the order to know what happened.
@hongliangl could you check this one?
If it started two days ago, #4537 may be related.
The current log doesn't provide any infromation as all agents were restarted before collecting the logs. We need to invert the order to know what happened.
@hongliangl could you check this one?
Will do
Describe the bug I have seen the
TestL7NetworkPolicy
e2e tests fail consistently for a few recent PRs in Github CI. All the subtests are marked as failed, not a specific one. Example of a failed test: https://github.com/antrea-io/antrea/actions/runs/8365150919/job/22902786915 Expand the section below for the full output.Full test output
``` 2024-03-20T20:51:02.7716987Z === RUN TestL7NetworkPolicy 2024-03-20T20:51:02.7717806Z 2024/03/20 20:51:02 Applying Antrea YAML 2024-03-20T20:51:04.2231461Z 2024/03/20 20:51:04 Waiting for all Antrea DaemonSet Pods 2024-03-20T20:51:05.2300461Z 2024/03/20 20:51:05 Checking CoreDNS deployment 2024-03-20T20:51:05.2319945Z fixtures.go:260: Creating 'testl7networkpolicy-po20rlkw' K8s Namespace 2024-03-20T20:51:05.3742943Z I0320 20:51:05.373896 24505 framework.go:2656] Sending SIGINT to 'antrea-agent-coverage' 2024-03-20T20:51:05.4269252Z I0320 20:51:05.426512 24505 framework.go:2662] Copying coverage files from Pod 'antrea-agent-kqcnr' 2024-03-20T20:51:05.6261831Z I0320 20:51:05.625891 24505 framework.go:2656] Sending SIGINT to 'antrea-agent-coverage' 2024-03-20T20:51:05.6834810Z I0320 20:51:05.683139 24505 framework.go:2662] Copying coverage files from Pod 'antrea-agent-n45jp' 2024-03-20T20:51:05.8582958Z I0320 20:51:05.857893 24505 framework.go:2656] Sending SIGINT to 'antrea-agent-coverage' 2024-03-20T20:51:05.9204027Z I0320 20:51:05.920064 24505 framework.go:2662] Copying coverage files from Pod 'antrea-agent-v6zsb' 2024-03-20T20:51:21.0456648Z === RUN TestL7NetworkPolicy/HTTP 2024-03-20T20:51:25.0664974Z === RUN TestL7NetworkPolicy/HTTP/Ingress 2024-03-20T20:51:25.0666763Z l7networkpolicy_test.go:121: Creating ANNP test-l7-http-allow-path-hostname 2024-03-20T20:51:25.0766651Z l7networkpolicy_test.go:121: Creating ANNP test-l7-http-allow-any-path 2024-03-20T20:51:32.0842075Z l7networkpolicy_test.go:131: 2024-03-20T20:51:32.0843511Z Error Trace: /home/runner/work/antrea/antrea/test/e2e/l7networkpolicy_test.go:131 2024-03-20T20:51:32.0845673Z /home/runner/work/antrea/antrea/test/e2e/l7networkpolicy_test.go:247 2024-03-20T20:51:32.0846441Z Error: Condition never satisfied 2024-03-20T20:51:32.0847100Z Test: TestL7NetworkPolicy/HTTP/Ingress 2024-03-20T20:51:41.4391008Z === RUN TestL7NetworkPolicy/HTTP/Egress 2024-03-20T20:51:41.4393345Z l7networkpolicy_test.go:121: Creating ANNP test-l7-http-allow-path-hostname 2024-03-20T20:51:41.4465603Z l7networkpolicy_test.go:121: Creating ANNP test-l7-http-allow-any-path 2024-03-20T20:51:48.4533157Z l7networkpolicy_test.go:131: 2024-03-20T20:51:48.4534350Z Error Trace: /home/runner/work/antrea/antrea/test/e2e/l7networkpolicy_test.go:131 2024-03-20T20:51:48.4536091Z /home/runner/work/antrea/antrea/test/e2e/l7networkpolicy_test.go:274 2024-03-20T20:51:48.4537253Z Error: Condition never satisfied 2024-03-20T20:51:48.4538182Z Test: TestL7NetworkPolicy/HTTP/Egress 2024-03-20T20:51:55.7755564Z === RUN TestL7NetworkPolicy/TLS 2024-03-20T20:51:58.7859616Z l7networkpolicy_test.go:121: Creating ANNP test-l7-tls-allow-sni-google 2024-03-20T20:51:58.7910802Z l7networkpolicy_test.go:121: Creating ANNP test-l7-tls-allow-sni-facebook 2024-03-20T20:52:05.7987747Z l7networkpolicy_test.go:173: 2024-03-20T20:52:05.7989740Z Error Trace: /home/runner/work/antrea/antrea/test/e2e/l7networkpolicy_test.go:173 2024-03-20T20:52:05.7991991Z /home/runner/work/antrea/antrea/test/e2e/l7networkpolicy_test.go:323 2024-03-20T20:52:05.7994137Z /home/runner/work/antrea/antrea/test/e2e/l7networkpolicy_test.go:60 2024-03-20T20:52:05.7995427Z Error: Condition never satisfied 2024-03-20T20:52:05.7996262Z Test: TestL7NetworkPolicy/TLS 2024-03-20T20:52:10.7994194Z l7networkpolicy_test.go:173: 2024-03-20T20:52:10.7995620Z Error Trace: /home/runner/work/antrea/antrea/test/e2e/l7networkpolicy_test.go:173 2024-03-20T20:52:10.7997925Z /home/runner/work/antrea/antrea/test/e2e/l7networkpolicy_test.go:324 2024-03-20T20:52:10.8000493Z /home/runner/work/antrea/antrea/test/e2e/l7networkpolicy_test.go:60 2024-03-20T20:52:10.8001813Z Error: Condition never satisfied 2024-03-20T20:52:10.8002902Z Test: TestL7NetworkPolicy/TLS 2024-03-20T20:52:13.3406879Z l7networkpolicy_test.go:179: Expected not to access the server, but the request succeeded. 2024-03-20T20:52:13.3407765Z Stdout: 2024-03-20T20:52:13.3408544Z 2024-03-20T20:52:13.3419612ZUpdate Your Browser
To get a better experience, go to one of these sites and get the latest version of your preferred browser: