You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/12/16 08:12:40 UTC

[GitHub] [apisix-ingress-controller] Juneezee commented on pull request #1533: test(e2e): add stream tcp proxy with SNI test

Juneezee commented on PR #1533:
URL: https://github.com/apache/apisix-ingress-controller/pull/1533#issuecomment-1354363266

   My first attempt on Issue #1438.
   
   Currently the test fails with the following error:
   
   ```
     [FAILED] 
           Error Trace:    /home/jun/Desktop/github/apisix-ingress-controller/test/e2e/reporter.go:23
                                                   /home/jun/Desktop/github/apisix-ingress-controller/test/e2e/reporter.go:23
                                                   /home/jun/Desktop/github/apisix-ingress-controller/test/e2e/assertion.go:262
                                                   /home/jun/Desktop/github/apisix-ingress-controller/test/e2e/chain.go:132
                                                   /home/jun/Desktop/github/apisix-ingress-controller/test/e2e/request.go:1803
                                                   /home/jun/Desktop/github/apisix-ingress-controller/test/e2e/request.go:1705
                                                   /home/jun/Desktop/github/apisix-ingress-controller/test/e2e/request.go:1666
                                                   /home/jun/Desktop/github/apisix-ingress-controller/test/e2e/stream.go:266
                                                   /home/jun/Desktop/github/apisix-ingress-controller/test/e2e/node.go:445
                                                   /home/jun/Desktop/github/apisix-ingress-controller/test/e2e/suite.go:847
                                                   /home/jun/Desktop/github/apisix-ingress-controller/test/e2e/asm_amd64.s:1594
           Error:          
                                   Error Trace:    /home/jun/Desktop/github/apisix-ingress-controller/test/e2e/reporter.go:23
                                                                           /home/jun/Desktop/github/apisix-ingress-controller/test/e2e/assertion.go:262
                                                                           /home/jun/Desktop/github/apisix-ingress-controller/test/e2e/chain.go:132
                                                                           /home/jun/Desktop/github/apisix-ingress-controller/test/e2e/request.go:1803
                                                                           /home/jun/Desktop/github/apisix-ingress-controller/test/e2e/request.go:1705
                                                                           /home/jun/Desktop/github/apisix-ingress-controller/test/e2e/request.go:1666
                                                                           /home/jun/Desktop/github/apisix-ingress-controller/test/e2e/stream.go:266
                                                                           /home/jun/Desktop/github/apisix-ingress-controller/test/e2e/node.go:445
                                                                           /home/jun/Desktop/github/apisix-ingress-controller/test/e2e/suite.go:847
                                                                           /home/jun/Desktop/github/apisix-ingress-controller/test/e2e/asm_amd64.s:1594
                                   Error:          
                                                   failed to send http request
                                                     Get "https://localhost:30258/ip": EOF
                                                   
                                                   assertion:
                                                     Request("GET").Expect()
           Test:           suite-ingress-resource: ApisixRoute stream Testing SNI with v2 stream tcp proxy with SNI
   
   ```
   
   However, the test passes if I don't set the `host` field for the `ApisixRoute` resource and use `NewAPISIXClientWithTCPProxy`, as summarised in the following table:
   
   |               | `NewAPISIXClientWithTCPProxy` | `NewAPISIXClientWithTLSOverTCP` |
   |---------------|:-----------------------------:|:-------------------------------:|
   | No `host` set |              Pass             |            Fail (EOF)           |
   | `host` set    |           Fail (EOF)          |            Fail (EOF)           |
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org