Skip to content

Conformance: Rename Infra Namespace #1315

@danehans

Description

@danehans

When running the Gateway API and Inference Extension conformance suites back-to-back, the conformance suite consistently fails because both suites use the same gateway-conformance-infra Namespace:

=== RUN   TestConformance
    conformance.go:217: Registering API types with scheme...
    conformance.go:217: Attempting to install inferencev1alpha2 types into scheme from package: inference.networking.x-k8s.io
    conformance.go:217: Running Inference Extension conformance tests with GatewayClass kgateway
    conformance.go:267: 2025-08-06T19:06:18.321447674Z: Test Setup: Ensuring GatewayClass has been accepted
    conformance.go:273: 2025-08-06T19:06:18.323533673Z: Test Setup: Applying base manifests
    apply.go:294: 2025-08-06T19:06:18.32633957Z: Updating gateway-conformance-infra Namespace
    apply.go:294: 2025-08-06T19:06:18.329435324Z: Updating gateway-conformance-app-backend Namespace
    apply.go:275: 2025-08-06T19:06:18.332338947Z: Creating conformance-primary-gateway Gateway
    apply.go:277: 
        	Error Trace:	/home/runner/go/pkg/mod/sigs.k8s.io/[email protected]/conformance/utils/kubernetes/apply.go:277
        	            				/home/runner/go/pkg/mod/sigs.k8s.io/[email protected]/conformance/conformance.go:274
        	            				/home/runner/go/pkg/mod/sigs.k8s.io/[email protected]/conformance/conformance.go:235
        	            				/home/runner/go/pkg/mod/sigs.k8s.io/[email protected]/conformance/conformance.go:217
        	            				/home/runner/go/pkg/mod/sigs.k8s.io/[email protected]/conformance/conformance_test.go:28
        	Error:      	Received unexpected error:
        	            	gateways.gateway.networking.k8s.io "conformance-primary-gateway" is forbidden: unable to create new content in namespace gateway-conformance-infra because it is being terminated
        	Test:       	TestConformance
        	Messages:   	error creating resource
    apply.go:301: 2025-08-06T19:06:18.333582296Z: Deleting gateway-conformance-app-backend Namespace
    apply.go:301: 2025-08-06T19:06:18.334896836Z: Deleting gateway-conformance-infra Namespace

Instead, Inference Extension conformance should use a unique infra Namespace, e.g., inference-conformance-infra.

Metadata

Metadata

Assignees

Labels

good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions