tokers opened a new issue #473:
URL: https://github.com/apache/apisix-ingress-controller/issues/473


   The test case 
https://github.com/apache/apisix-ingress-controller/blob/master/test/e2e/ingress/tcp.go#L38
 is not stable, which makes the e2e test CI failed.
   
   ```
   Failure [21.853 seconds]
   ApisixRoute Testing
   
/home/runner/work/apisix-ingress-controller/apisix-ingress-controller/test/e2e/ingress/tcp.go:27
     tcp proxy [It]
     
/home/runner/work/apisix-ingress-controller/apisix-ingress-controller/test/e2e/ingress/tcp.go:38
   
     
        Error Trace:    reporter.go:23
                                                reporter.go:23
                                                chain.go:21
                                                request.go:1034
                                                request.go:954
                                                request.go:910
                                                tcp.go:66
                                                runner.go:113
                                                runner.go:64
                                                it_node.go:26
                                                spec.go:215
                                                spec.go:138
                                                spec_runner.go:200
                                                spec_runner.go:170
                                                spec_runner.go:66
                                                suite.go:79
                                                ginkgo_dsl.go:238
                                                ginkgo_dsl.go:213
                                                e2e_test.go:26
        Error:          
                                Error Trace:    reporter.go:23
                                                                        
chain.go:21
                                                                        
request.go:1034
                                                                        
request.go:954
                                                                        
request.go:910
                                                                        
tcp.go:66
                                                                        
runner.go:113
                                                                        
runner.go:64
                                                                        
it_node.go:26
                                                                        
spec.go:215
                                                                        
spec.go:138
                                                                        
spec_runner.go:200
                                                                        
spec_runner.go:170
                                                                        
spec_runner.go:66
                                                                        
suite.go:79
                                                                        
ginkgo_dsl.go:238
                                                                        
ginkgo_dsl.go:213
                                                                        
e2e_test.go:26
                                Error:          Get http://localhost:32608/ip: 
EOF
        Test:           ApisixRoute Testing tcp proxy
     
   
     /home/runner/go/pkg/mod/github.com/gavv/httpexpect/[email protected]/reporter.go:23
   
     Full Stack Trace
     github.com/gavv/httpexpect/v2.(*AssertReporter).Errorf(0xc0000104d0, 
0x19e6795, 0x3, 0xc0001bb470, 0x1, 0x1)
        
/home/runner/go/pkg/mod/github.com/gavv/httpexpect/[email protected]/reporter.go:23 
+0x8d
     github.com/stretchr/testify/assert.Fail(0x1d44bc0, 0xc0000104d0, 
0xc000b41500, 0x22, 0x0, 0x0, 0x0, 0xc000405c70)
        
/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/assert/assertions.go:262
 +0x2b3
     github.com/stretchr/testify/assert.(*Assertions).Fail(0xc0005ae800, 
0xc000b41500, 0x22, 0x0, 0x0, 0x0, 0x22)
        
/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/assert/assertion_forward.go:267
 +0xa4
     github.com/gavv/httpexpect/v2.(*AssertReporter).Errorf(0xc000010508, 
0xc000b414d0, 0x22, 0x0, 0x0, 0x0)
        
/home/runner/go/pkg/mod/github.com/gavv/httpexpect/[email protected]/reporter.go:23 
+0x8d
     github.com/gavv/httpexpect/v2.(*chain).fail(...)
        /home/runner/go/pkg/mod/github.com/gavv/httpexpect/[email protected]/chain.go:21
     github.com/gavv/httpexpect/v2.(*Request).sendRequest(0xc000cb10e0, 
0x13153be51cb)
        
/home/runner/go/pkg/mod/github.com/gavv/httpexpect/[email protected]/request.go:1034 
+0xb1
     github.com/gavv/httpexpect/v2.(*Request).roundTrip(0xc000cb10e0, 
0xc000d1ce00)
        
/home/runner/go/pkg/mod/github.com/gavv/httpexpect/[email protected]/request.go:954 
+0x3c0
     github.com/gavv/httpexpect/v2.(*Request).Expect(0xc000cb10e0, 0x19e66ba)
        
/home/runner/go/pkg/mod/github.com/gavv/httpexpect/[email protected]/request.go:910 
+0x43
     
github.com/apache/apisix-ingress-controller/test/e2e/ingress.glob..func11.1()
        
/home/runner/work/apisix-ingress-controller/apisix-ingress-controller/test/e2e/ingress/tcp.go:66
 +0x629
     github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc000276660, 
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        
/home/runner/go/pkg/mod/github.com/onsi/[email protected]/internal/leafnodes/runner.go:113
 +0xb8
     github.com/onsi/ginkgo/internal/leafnodes.(*runner).run(0xc000276660, 0x3, 
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        
/home/runner/go/pkg/mod/github.com/onsi/[email protected]/internal/leafnodes/runner.go:64
 +0xcf
     github.com/onsi/ginkgo/internal/leafnodes.(*ItNode).Run(0xc0001f04a0, 
0x1d457c0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        
/home/runner/go/pkg/mod/github.com/onsi/[email protected]/internal/leafnodes/it_node.go:26
 +0x64
     github.com/onsi/ginkgo/internal/spec.(*Spec).runSample(0xc0003664b0, 0x0, 
0x1d457c0, 0xc0000a49c0)
        
/home/runner/go/pkg/mod/github.com/onsi/[email protected]/internal/spec/spec.go:215
 +0x5b5
     github.com/onsi/ginkgo/internal/spec.(*Spec).Run(0xc0003664b0, 0x1d457c0, 
0xc0000a49c0)
        
/home/runner/go/pkg/mod/github.com/onsi/[email protected]/internal/spec/spec.go:138
 +0x101
     
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runSpec(0xc0000f42c0, 
0xc0003664b0, 0x0)
        
/home/runner/go/pkg/mod/github.com/onsi/[email protected]/internal/specrunner/spec_runner.go:200
 +0x10f
     
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runSpecs(0xc0000f42c0, 
0x1)
        
/home/runner/go/pkg/mod/github.com/onsi/[email protected]/internal/specrunner/spec_runner.go:170
 +0x120
     github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).Run(0xc0000f42c0, 
0xc000043ea0)
        
/home/runner/go/pkg/mod/github.com/onsi/[email protected]/internal/specrunner/spec_runner.go:66
 +0x117
     github.com/onsi/ginkgo/internal/suite.(*Suite).Run(0xc0000c2b60, 
0x7fb1fc553a00, 0xc00010e100, 0x1a06c4d, 0x1e, 0xc0001a8b30, 0x1, 0x1, 
0x1d8db00, 0xc0000a49c0, ...)
        
/home/runner/go/pkg/mod/github.com/onsi/[email protected]/internal/suite/suite.go:79
 +0x586
     github.com/onsi/ginkgo.runSpecsWithCustomReporters(0x1d46be0, 
0xc00010e100, 0x1a06c4d, 0x1e, 0xc000066f18, 0x1, 0x1, 0x0)
        
/home/runner/go/pkg/mod/github.com/onsi/[email protected]/ginkgo_dsl.go:238 +0x217
     github.com/onsi/ginkgo.RunSpecs(0x1d46be0, 0xc00010e100, 0x1a06c4d, 0x1e, 
0x6ab46aa93c)
        
/home/runner/go/pkg/mod/github.com/onsi/[email protected]/ginkgo_dsl.go:213 +0xa7
     
github.com/apache/apisix-ingress-controller/test/e2e.TestRunE2E(0xc00010e100)
        
/home/runner/work/apisix-ingress-controller/apisix-ingress-controller/test/e2e/e2e_test.go:26
 +0x5c
     testing.tRunner(0xc00010e100, 0x1abd0f0)
        /opt/hostedtoolcache/go/1.13.15/x64/src/testing/testing.go:909 +0xc9
     created by testing.(*T).Run
        /opt/hostedtoolcache/go/1.13.15/x64/src/testing/testing.go:960 +0x350
   ```


-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to