apisix-ingress-controller: request help: make e2etest local error

Issue description

When i run make e2e-test-local, there are such errors output

<< End Captured StdOut/StdErr Output


  	Error Trace:	/Users/xiangtianyu/workspace/code/github/contribute/apisix-ingress-controller/test/e2e/scaffold.go:391
  	            				/Users/xiangtianyu/workspace/code/github/contribute/apisix-ingress-controller/test/e2e/suite.go:596
  	            				/Users/xiangtianyu/workspace/code/github/contribute/apisix-ingress-controller/test/e2e/asm_arm64.s:1263
  	Error:      	Expected nil, but got: &errors.errorString{s:"timed out waiting for the condition"}
  	Test:       	suite-features: route match exprs suite-features: scaffold v2 operator is regex match in case insensitive mode
  	Messages:   	waiting for etcd ready

  In [BeforeEach] at: /Users/xiangtianyu/workspace/code/github/contribute/apisix-ingress-controller/test/e2e/scaffold/scaffold.go:391

  Full Stack Trace
    github.com/apache/apisix-ingress-controller/test/e2e/scaffold.(*Scaffold).beforeEach(0x140001769c0)
    	/Users/xiangtianyu/workspace/code/github/contribute/apisix-ingress-controller/test/e2e/scaffold/scaffold.go:391 +0x408
------------------------------
• [FAILED] [67.244 seconds]
suite-annotations: authorization annotations
/Users/xiangtianyu/workspace/code/github/contribute/apisix-ingress-controller/test/e2e/suite-annotations/authorization.go:28
  suite-annotations: scaffold v2beta3 [BeforeEach]
  /Users/xiangtianyu/workspace/code/github/contribute/apisix-ingress-controller/test/e2e/scaffold/scaffold.go:153
    enable keyAuth in ingress networking/v1
    /Users/xiangtianyu/workspace/code/github/contribute/apisix-ingress-controller/test/e2e/suite-annotations/authorization.go:32

  Begin Captured StdOut/StdErr Output >>

Environment

  • your apisix-ingress-controller version (output of apisix-ingress-controller version --long):
  • your Kubernetes cluster version (output of kubectl version):
  • if you run apisix-ingress-controller in Bare-metal environment, also show your OS version (uname -a): I used docker desktop and minikube to build container env

kubectl version

WARNING: This version information is deprecated and will be replaced with the output from kubectl version --short. Use --output=yaml|json to get the full version. Client Version: version.Info{Major:“1”, Minor:“24”, GitVersion:“v1.24.3”, GitCommit:“aef86a93758dc3cb2c658dd9657ab4ad4afc21cb”, GitTreeState:“clean”, BuildDate:“2022-07-13T14:21:56Z”, GoVersion:“go1.18.4”, Compiler:“gc”, Platform:“darwin/arm64”} Kustomize Version: v4.5.4 Server Version: version.Info{Major:“1”, Minor:“21”, GitVersion:“v1.21.1”, GitCommit:“5e58841cce77d4bc13713ad2b91fa0d961e69192”, GitTreeState:“clean”, BuildDate:“2021-05-21T23:06:30Z”, GoVersion:“go1.16.4”, Compiler:“gc”, Platform:“linux/arm64”} WARNING: version difference between client (1.24) and server (1.21) exceeds the supported minor version skew of +/-1

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 24 (22 by maintainers)

Most upvoted comments

Thanks a lot! I changed all “locahost” to “127.0.0.1” in makefile and kind-with-registry.sh and the error disappears! But its still confused to me what’s the difference between them