-
Notifications
You must be signed in to change notification settings - Fork 708
Closed
Labels
area/ciCI and build related issuesCI and build related issuesarea/conformanceGateway API Conformance Related IssuesGateway API Conformance Related Issueshelp wantedExtra attention is neededExtra attention is neededkind/bugSomething isn't workingSomething isn't working
Milestone
Description
The HTTPRouteInvalidBackendRefUnknownKind conformance test is failing.
Test Logs:
...
http.go:159: Response expectation failed, not ready yet: expected status code to be 500, got 503
Sending Request:
< GET /v2 HTTP/1.1
< Host: 127.0.0.1:80
< User-Agent: Go-http-client/1.1
< Accept-Encoding: gzip
<
<
Received Response:
< HTTP/1.1 503 Service Unavailable
< Content-Length: 19
< Content-Type: text/plain
< Date: Tue, 27 Sep 2022 17:21:31 GMT
< Server: envoy
<
< no healthy upstream
http.go:159: Response expectation failed, not ready yet: expected status code to be 500, got 503
http.go:140: timeout while waiting after 30 attempts, 0/3 sucessess
--- FAIL: TestGatewayAPIConformance (53.61s)
--- FAIL: TestGatewayAPIConformance/HTTPRouteInvalidBackendRefUnknownKind (32.20s)
--- PASS: TestGatewayAPIConformance/HTTPRouteInvalidBackendRefUnknownKind/HTTPRoute_with_Invalid_Kind_has_a_ResolvedRefs_Condition_with_status_False_and_Reason_InvalidKind (0.09s)
--- FAIL: TestGatewayAPIConformance/HTTPRouteInvalidBackendRefUnknownKind/HTTP_Request_to_invalid_backend_with_invalid_Kind_receives_a_500 (30.00s)
FAIL
EG Logs:
2022-09-27T17:21:08.584Z ERROR controller/controller.go:326 Reconciler error {"runner": "provider", "controller": "httproute", "object": {"name":"invalid-backend-ref-unknown-kind","namespace":"gateway-conformance-infra"}, "namespace": "gateway-conformance-infra", "name": "invalid-backend-ref-unknown-kind", "reconcileID": "5326eb1b-705b-4bab-9273-fa806b3b2403", "error": "invalid backendRef: invalid group; must be nil or empty string"}
Similar to #431, it appears that validateBackendRef() needs to support group references.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/ciCI and build related issuesCI and build related issuesarea/conformanceGateway API Conformance Related IssuesGateway API Conformance Related Issueshelp wantedExtra attention is neededExtra attention is neededkind/bugSomething isn't workingSomething isn't working