Sindweller commented on pull request #670:
URL:
https://github.com/apache/apisix-ingress-controller/pull/670#issuecomment-942091282
Here is the e2e test log, could you please help to look at the reason?
@tokers @gxthrj Thanks for help!
```
• Failure [120.761 seconds]
traffic split
/Users/sindweller/apisix-ingress-controller/test/e2e/features/traffic_split.go:27
sanity [It]
/Users/sindweller/apisix-ingress-controller/test/e2e/features/traffic_split.go:37
Error Trace: traffic_split.go:80
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: invalid status code
Test: traffic split sanity
/Users/sindweller/apisix-ingress-controller/test/e2e/features/traffic_split.go:80
Full Stack Trace
github.com/apache/apisix-ingress-controller/test/e2e/features.glob..func11.1()
/Users/sindweller/apisix-ingress-controller/test/e2e/features/traffic_split.go:80
+0x70c
github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc0003229c0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/sindweller/go/pkg/mod/github.com/onsi/[email protected]/internal/leafnodes/runner.go:113
+0xa3
github.com/onsi/ginkgo/internal/leafnodes.(*runner).run(0xc0003229c0, 0x3,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/sindweller/go/pkg/mod/github.com/onsi/[email protected]/internal/leafnodes/runner.go:64
+0xd7
github.com/onsi/ginkgo/internal/leafnodes.(*ItNode).Run(0xc00000f5c0,
0x2a944e0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/sindweller/go/pkg/mod/github.com/onsi/[email protected]/internal/leafnodes/it_node.go:26
+0x67
github.com/onsi/ginkgo/internal/spec.(*Spec).runSample(0xc0000de0f0, 0x0,
0x2a944e0, 0xc00015e980)
/Users/sindweller/go/pkg/mod/github.com/onsi/[email protected]/internal/spec/spec.go:215
+0x691
github.com/onsi/ginkgo/internal/spec.(*Spec).Run(0xc0000de0f0, 0x2a944e0,
0xc00015e980)
/Users/sindweller/go/pkg/mod/github.com/onsi/[email protected]/internal/spec/spec.go:138
+0xf2
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runSpec(0xc00038a6e0,
0xc0000de0f0, 0x0)
/Users/sindweller/go/pkg/mod/github.com/onsi/[email protected]/internal/specrunner/spec_runner.go:200
+0x111
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runSpecs(0xc00038a6e0,
0x1)
/Users/sindweller/go/pkg/mod/github.com/onsi/[email protected]/internal/specrunner/spec_runner.go:170
+0x127
github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).Run(0xc00038a6e0,
0xc000126998)
/Users/sindweller/go/pkg/mod/github.com/onsi/[email protected]/internal/specrunner/spec_runner.go:66
+0x117
github.com/onsi/ginkgo/internal/suite.(*Suite).Run(0xc000132a10,
0xbc4fc60, 0xc0004baf00, 0x284b210, 0x1e, 0xc00052c2e0, 0x1, 0x1, 0x2ad8ec0,
0xc00015e980, ...)
/Users/sindweller/go/pkg/mod/github.com/onsi/[email protected]/internal/suite/suite.go:79
+0x586
github.com/onsi/ginkgo.runSpecsWithCustomReporters(0x2a95680,
0xc0004baf00, 0x284b210, 0x1e, 0xc000505f28, 0x1, 0x1, 0x27b930e47e395)
/Users/sindweller/go/pkg/mod/github.com/onsi/[email protected]/ginkgo_dsl.go:238
+0x238
github.com/onsi/ginkgo.RunSpecs(0x2a95680, 0xc0004baf00, 0x284b210, 0x1e,
0x27b930e47e395)
/Users/sindweller/go/pkg/mod/github.com/onsi/[email protected]/ginkgo_dsl.go:213
+0xa7
github.com/apache/apisix-ingress-controller/test/e2e.TestRunE2E(0xc0004baf00)
/Users/sindweller/apisix-ingress-controller/test/e2e/e2e_test.go:26
+0x5c
testing.tRunner(0xc0004baf00, 0x290d700)
/usr/local/go/src/testing/testing.go:1123 +0xef
created by testing.(*T).Run
/usr/local/go/src/testing/testing.go:1168 +0x2b3
```
```
ApisixConsumer ApisixRoute with basicAuth consumer 2021-10-13T16:58:02+08:00
logger.go:66: apisixconsumer.apisix.apache.org/basicvalue created
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x48 pc=0x23020bb]
goroutine 2663 [running]:
github.com/apache/apisix-ingress-controller/pkg/apisix.(*cluster).getList(0xc000c40240,
0x2ad1740, 0xc000126008, 0xc000fde060, 0x30, 0x282b680, 0x6, 0x0, 0x0, 0x0,
...)
/Users/sindweller/apisix-ingress-controller/pkg/apisix/cluster.go:711
+0x19b
github.com/apache/apisix-ingress-controller/pkg/apisix.(*pluginClient).List(0xc000526cc0,
0x2ad1740, 0xc000126008, 0x0, 0x0, 0x0, 0x6e6b4a5a77696748, 0x455449324b43434c)
/Users/sindweller/apisix-ingress-controller/pkg/apisix/plugin.go:44
+0x3f9
github.com/apache/apisix-ingress-controller/pkg/apisix.(*cluster).syncSchemaOnce(0xc000c40240,
0x2ad1740, 0xc000126008, 0xc000a44700, 0x0)
/Users/sindweller/apisix-ingress-controller/pkg/apisix/cluster.go:365
+0x7c2
github.com/apache/apisix-ingress-controller/pkg/apisix.(*cluster).syncSchema(0xc000c40240,
0x2ad1740, 0xc000126008, 0x13a52453c000)
/Users/sindweller/apisix-ingress-controller/pkg/apisix/cluster.go:329
+0xa5
created by github.com/apache/apisix-ingress-controller/pkg/apisix.newCluster
/Users/sindweller/apisix-ingress-controller/pkg/apisix/cluster.go:150
+0x866
Ginkgo ran 1 suite in 14m56.836105822s
Test Suite Failed
make: *** [e2e-test] Error 1
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]