solo-io / gloo

The Feature-rich, Kubernetes-native, Next-Generation API Gateway Built on Envoy
https://docs.solo.io/
Apache License 2.0
4.07k stars 434 forks source link

TestK8sGatewayNoValidation/ListenerOptions failure #9737

Closed sheidkamp closed 1 week ago

sheidkamp commented 1 month ago

Which tests failed?

TestK8sGatewayNoValidation/ListenerOptions

=== NAME  TestK8sGatewayNoValidation
    pods.go:45: 
        Timed out after 20.000s.
        Failed to match pod
        The function passed to Eventually failed at /home/runner/work/gloo/gloo/test/kubernetes/testutils/assertions/pods.go:40 with:
        Expected pod to have status 'Running', but it was not found
=== NAME  TestK8sGatewayNoValidation/ListenerOptions
    testing.go:1576: test executed panic(nil) or runtime.Goexit: subtest may have called FailNow on a parent test
"Tue, 09 Jul 2024 05:43:17 UTC: /home/runner/work/gloo/gloo/test/kubernetes/testutils/helper/install.go:337"    uninstalling gloo...
  Uninstalling Gloo Edge...
  Removing Gloo system components from namespace k8s-gw-test-no-validation...
  Removing Gloo CRDs...
E0709 05:43:30.462970   51503 reflector.go:147] pkg/mod/k8s.io/client-go@v0.29.2/tools/cache/reflector.go:229: Failed to watch *v1.Resource: the server could not find the requested resource (get upstreams.gloo.solo.io)

Initial Investigation

Possible slowness in pod coming up.

Additional Information

No response

sheidkamp commented 1 month ago

nightly tests: https://github.com/solo-io/gloo/actions/runs/9868464530/job/27250540207

npolshakova commented 1 month ago

Maybe resource not applied?

{"level":"error","ts":"2024-07-10T05:45:41.128Z","logger":"k8s-gw-syncer","caller":"routeoptions/route_options_plugin.go:186","msg":"error getting RouteOptions for Route: extensionRef 'gateway.solo.io' of type RouteOption.basic-rto in namespace 'default' not found","stacktrace":"github.com/solo-io/gloo/projects/gateway2/translator/plugins/routeoptions.(*plugin).handleAttachment\n\t/home/runner/work/gloo/gloo/projects/gateway2/translator/plugins/routeoptions/route_options_plugin.go:186\ngithub.com/solo-io/gloo/projects/gateway2/translator/plugins/routeoptions.(*plugin).ApplyRoutePlugin\n\t/home/runner/work/gloo/gloo/projects/gateway2/translator/plugins/routeoptions/route_options_plugin.go:82\ngithub.com/solo-io/gloo/projects/gateway2/translator/httproute.translateGatewayHTTPRouteRule\n\t/home/runner/work/gloo/gloo/projects/gateway2/translator/httproute/gateway_http_route_translator.go:166\ngithub.com/solo-io/gloo/projects/gateway2/translator/httproute.translateGatewayHTTPRouteRulesUtil\n\t/home/runner/work/gloo/gloo/projects/gateway2/translator/httproute/gateway_http_route_translator.go:85\ngithub.com/solo-io/gloo/projects/gateway2/translator/httproute.TranslateGatewayHTTPRouteRules\n\t/home/runner/work/gloo/gloo/projects/gateway2/translator/httproute/gateway_http_route_translator.go:57\ngithub.com/solo-io/gloo/projects/gateway2/translator/listener.buildRoutesPerHost\n\t/home/runner/work/gloo/gloo/projects/gateway2/translator/listener/gateway_listener_translator.go:434\ngithub.com/solo-io/gloo/projects/gateway2/translator/listener.(*httpFilterChain).translateHttpFilterChain\n\t/home/runner/work/gloo/gloo/projects/gateway2/translator/listener/gateway_listener_translator.go:307\ngithub.com/solo-io/gloo/projects/gateway2/translator/listener.(*mergedListener).translateListener\n\t/home/runner/work/gloo/gloo/projects/gateway2/translator/listener/gateway_listener_translator.go:226\ngithub.com/solo-io/gloo/projects/gateway2/translator/listener.(*mergedListeners).translateListeners\n\t/home/runner/work/gloo/gloo/projects/gateway2/translator/listener/gateway_listener_translator.go:184\ngithub.com/solo-io/gloo/projects/gateway2/translator/listener.TranslateListeners\n\t/home/runner/work/gloo/gloo/projects/gateway2/translator/listener/gateway_listener_translator.go:40\ngithub.com/solo-io/gloo/projects/gateway2/translator.(*translator).TranslateProxy\n\t/home/runner/work/gloo/gloo/projects/gateway2/translator/gateway_translator.go:74\ngithub.com/solo-io/gloo/projects/gateway2/proxy_syncer.(*ProxySyncer).Start.func1\n\t/home/runner/work/gloo/gloo/projects/gateway2/proxy_syncer/proxy_syncer.go:134\ngithub.com/solo-io/gloo/projects/gateway2/proxy_syncer.(*ProxySyncer).Start\n\t/home/runner/work/gloo/gloo/projects/gateway2/proxy_syncer/proxy_syncer.go:168\nsigs.k8s.io/controller-runtime/pkg/manager.(*runnableGroup).reconcile.func1\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.17.4/pkg/manager/runnable_group.go:223"}
npolshakova commented 2 weeks ago

Nightly failure on main: https://github.com/solo-io/gloo/actions/runs/10465575217/job/28981041376

sheidkamp commented 1 week ago

Failure in nightlies: https://github.com/solo-io/gloo/actions/runs/10553867873/job/29234837095