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/03/21 12:58:21 UTC

[GitHub] [apisix-ingress-controller] gxthrj commented on pull request #919: fix: watch all namespaces by default

gxthrj commented on pull request #919:
URL: https://github.com/apache/apisix-ingress-controller/pull/919#issuecomment-1073863015


   Should check the failed case.
   ```
   • Failure [71.433 seconds]
   namespacing filtering
   /home/runner/work/apisix-ingress-controller/apisix-ingress-controller/test/e2e/ingress/namespace.go:39
     without namespace_selector
     /home/runner/work/apisix-ingress-controller/apisix-ingress-controller/test/e2e/ingress/namespace.go:104
       all resources will be watched [It]
       /home/runner/work/apisix-ingress-controller/apisix-ingress-controller/test/e2e/ingress/namespace.go:125
   
       
       	Error Trace:	namespace.go:177
       	            				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:      	Expected nil, but got: &errors.errorString{s:"timed out waiting for the condition"}
       	Test:       	namespacing filtering without namespace_selector all resources will be watched
       	Messages:   	checking number of routes
       
   
       /home/runner/work/apisix-ingress-controller/apisix-ingress-controller/test/e2e/ingress/namespace.go:177
   
       Full Stack Trace
       github.com/apache/apisix-ingress-controller/test/e2e/ingress.glob..func7.2.3()
       	/home/runner/work/apisix-ingress-controller/apisix-ingress-controller/test/e2e/ingress/namespace.go:177 +0x9cf
       github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc000091ec0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
       	/home/runner/go/pkg/mod/github.com/onsi/ginkgo@v1.16.4/internal/leafnodes/runner.go:113 +0xa3
       github.com/onsi/ginkgo/internal/leafnodes.(*runner).run(0xc000091ec0, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
       	/home/runner/go/pkg/mod/github.com/onsi/ginkgo@v1.16.4/internal/leafnodes/runner.go:64 +0x15c
       github.com/onsi/ginkgo/internal/leafnodes.(*ItNode).Run(0xc0008671e0, 0x2106040, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
       	/home/runner/go/pkg/mod/github.com/onsi/ginkgo@v1.16.4/internal/leafnodes/it_node.go:26 +0x87
       github.com/onsi/ginkgo/internal/spec.(*Spec).runSample(0xc000a28870, 0x0, 0x2106040, 0xc0001628c0)
       	/home/runner/go/pkg/mod/github.com/onsi/ginkgo@v1.16.4/internal/spec/spec.go:215 +0x72f
       github.com/onsi/ginkgo/internal/spec.(*Spec).Run(0xc000a28870, 0x2106040, 0xc0001628c0)
       	/home/runner/go/pkg/mod/github.com/onsi/ginkgo@v1.16.4/internal/spec/spec.go:138 +0xf2
       github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runSpec(0xc0002ce6e0, 0xc000a28870, 0x0)
       	/home/runner/go/pkg/mod/github.com/onsi/ginkgo@v1.16.4/internal/specrunner/spec_runner.go:200 +0x111
       github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).runSpecs(0xc0002ce6e0, 0x1)
       	/home/runner/go/pkg/mod/github.com/onsi/ginkgo@v1.16.4/internal/specrunner/spec_runner.go:170 +0x147
       github.com/onsi/ginkgo/internal/specrunner.(*SpecRunner).Run(0xc0002ce6e0, 0xc0002ee570)
       	/home/runner/go/pkg/mod/github.com/onsi/ginkgo@v1.16.4/internal/specrunner/spec_runner.go:66 +0x117
       github.com/onsi/ginkgo/internal/suite.(*Suite).Run(0xc0001829a0, 0x7f945d065e80, 0xc0004b4d80, 0x1e52816, 0x1e, 0xc000057b00, 0x1, 0x1, 0x21468f8, 0xc0001628c0, ...)
       	/home/runner/go/pkg/mod/github.com/onsi/ginkgo@v1.16.4/internal/suite/suite.go:79 +0x546
       github.com/onsi/ginkgo.runSpecsWithCustomReporters(0x2107d40, 0xc0004b4d80, 0x1e52816, 0x1e, 0xc000068f28, 0x1, 0x1, 0x0)
       	/home/runner/go/pkg/mod/github.com/onsi/ginkgo@v1.16.4/ginkgo_dsl.go:238 +0x218
       github.com/onsi/ginkgo.RunSpecs(0x2107d40, 0xc0004b4d80, 0x1e52816, 0x1e, 0xac1ec19958)
       	/home/runner/go/pkg/mod/github.com/onsi/ginkgo@v1.16.4/ginkgo_dsl.go:213 +0xa7
       github.com/apache/apisix-ingress-controller/test/e2e.TestRunE2E(0xc0004b4d80)
       	/home/runner/work/apisix-ingress-controller/apisix-ingress-controller/test/e2e/e2e_test.go:26 +0x5c
       testing.tRunner(0xc0004b4d80, 0x1f209e0)
       	/opt/hostedtoolcache/go/1.16.14/x64/src/testing/testing.go:1203 +0xe5
       created by testing.(*T).Run
       	/opt/hostedtoolcache/go/1.16.14/x64/src/testing/testing.go:1248 +0x2b3
   ```


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