<?xml version="1.0" encoding="utf-8"?><testsuites name="pytest tests"><testsuite name="pytest" errors="0" failures="2" skipped="25" tests="277" time="2079.328" timestamp="2026-11-02T14:08:39.433095+00:00" hostname="maas-group-test-th79g-e2e-maas-openshift-pod"><testcase classname="tests.test_namespace_scoping.TestMaaSAPIWatchNamespace" name="test_subscription_in_subscription_namespace_visible_to_api@security" time="0.002"><skipped type="pytest.skip" message="test_namespace_scoping validates single-tenant dormant mode; skipped when ENABLE_TENANT_NAMESPACE_DISCOVERY=true">/workspace/source/test/e2e/tests/test_namespace_scoping.py:214: test_namespace_scoping validates single-tenant dormant mode; skipped when ENABLE_TENANT_NAMESPACE_DISCOVERY=true</skipped></testcase><testcase classname="tests.test_namespace_scoping.TestMaaSAPIWatchNamespace" name="test_subscription_in_another_namespace_not_visible_to_api@security" time="0.000"><skipped type="pytest.skip" message="test_namespace_scoping validates single-tenant dormant mode; skipped when ENABLE_TENANT_NAMESPACE_DISCOVERY=true">/workspace/source/test/e2e/tests/test_namespace_scoping.py:247: test_namespace_scoping validates single-tenant dormant mode; skipped when ENABLE_TENANT_NAMESPACE_DISCOVERY=true</skipped></testcase><testcase classname="tests.test_namespace_scoping.TestMaaSControllerWatchNamespace" name="test_authpolicy_and_subscription_in_maas_subscription_namespace@security" time="0.000"><skipped type="pytest.skip" message="test_namespace_scoping validates single-tenant dormant mode; skipped when ENABLE_TENANT_NAMESPACE_DISCOVERY=true">/workspace/source/test/e2e/tests/test_namespace_scoping.py:287: test_namespace_scoping validates single-tenant dormant mode; skipped when ENABLE_TENANT_NAMESPACE_DISCOVERY=true</skipped></testcase><testcase classname="tests.test_namespace_scoping.TestMaaSControllerWatchNamespace" name="test_authpolicy_and_subscription_in_another_namespace@security" time="0.000"><skipped type="pytest.skip" message="test_namespace_scoping validates single-tenant dormant mode; skipped when ENABLE_TENANT_NAMESPACE_DISCOVERY=true">/workspace/source/test/e2e/tests/test_namespace_scoping.py:324: test_namespace_scoping validates single-tenant dormant mode; skipped when ENABLE_TENANT_NAMESPACE_DISCOVERY=true</skipped></testcase><testcase classname="tests.test_namespace_scoping.TestModelRef" name="test_auth_policy_model_ref@security" time="0.000"><skipped type="pytest.skip" message="test_namespace_scoping validates single-tenant dormant mode; skipped when ENABLE_TENANT_NAMESPACE_DISCOVERY=true">/workspace/source/test/e2e/tests/test_namespace_scoping.py:382: test_namespace_scoping validates single-tenant dormant mode; skipped when ENABLE_TENANT_NAMESPACE_DISCOVERY=true</skipped></testcase><testcase classname="tests.test_namespace_scoping.TestModelRef" name="test_subscription_model_ref@security" time="0.000"><skipped type="pytest.skip" message="test_namespace_scoping validates single-tenant dormant mode; skipped when ENABLE_TENANT_NAMESPACE_DISCOVERY=true">/workspace/source/test/e2e/tests/test_namespace_scoping.py:456: test_namespace_scoping validates single-tenant dormant mode; skipped when ENABLE_TENANT_NAMESPACE_DISCOVERY=true</skipped></testcase><testcase classname="tests.test_negative_security.TestAPIKeyManagementIsolation" name="test_api_key_cannot_mint_another_api_key@security" time="0.467" /><testcase classname="tests.test_authpolicy_generation_stability.TestAuthPolicyGenerationStability" name="test_generation_does_not_increase_during_quiet_window@readonly" time="62.599" /><testcase classname="tests.test_negative_security.TestHeaderSpoofing" name="test_forged_identity_headers_rejected_on_key_mint[username-only]@security" time="0.650" /><testcase classname="tests.test_negative_security.TestHeaderSpoofing" name="test_forged_identity_headers_rejected_on_key_mint[group-only]@security" time="0.756" /><testcase classname="tests.test_negative_security.TestHeaderSpoofing" name="test_forged_identity_headers_rejected_on_key_mint[keyname-only]@security" time="0.660" /><testcase classname="tests.test_negative_security.TestHeaderSpoofing" name="test_forged_identity_headers_rejected_on_key_mint[identity-envelope]@security" time="0.627" /><testcase classname="tests.test_negative_security.TestHeaderSpoofing" name="test_forged_identity_headers_rejected_on_key_mint[admin-scope]@security" time="0.646" /><testcase classname="tests.test_negative_security.TestHeaderSpoofing" name="test_injected_identity_headers_rejected_on_inference@security" time="0.326" /><testcase classname="tests.test_negative_security.TestHeaderSpoofing" name="test_duplicate_subscription_headers_ignored@security" time="8.465" /><testcase classname="tests.test_negative_security.TestExpiredKeyRejection" name="test_expired_key_rejected_at_gateway@security" time="5.173" /><testcase classname="tests.test_negative_security.TestCrossModelAccess" name="test_key_cannot_access_model_outside_subscription@security" time="0.383" /><testcase classname="tests.test_negative_security.TestMissingModelRef" name="test_subscription_with_nonexistent_model_ref@security" time="23.844" /><testcase classname="tests.test_negative_security.TestMissingModelRef" name="test_authpolicy_with_nonexistent_model_ref@security" time="3.244" /><testcase classname="tests.test_negative_security.TestHeaderAbuse" name="test_special_characters_in_subscription_header@security" time="0.701" /><testcase classname="tests.test_negative_security.TestInternalEndpointIsolation" name="test_internal_endpoint_not_routable[subscriptions-select]@security" time="0.201" /><testcase classname="tests.test_negative_security.TestInternalEndpointIsolation" name="test_internal_endpoint_not_routable[api-keys-cleanup]@security" time="0.221" /><testcase classname="tests.test_negative_security.TestInternalEndpointIsolation" name="test_internal_endpoint_not_routable[api-keys-validate]@security" time="0.219" /><testcase classname="tests.test_negative_security.TestInternalEndpointIsolation" name="test_health_endpoint_accessible@security" time="0.045" /><testcase classname="tests.test_negative_security.TestInternalEndpointIsolation" name="test_v1_models_via_maas_api_prefix@security" time="0.262" /><testcase classname="tests.test_authpolicy_generation_stability.TestAuthPolicyGenerationStability" name="test_no_rapid_resource_version_changes@readonly" time="60.501" /><testcase classname="tests.test_api_keys.TestAPIKeyCRUD" name="test_create_api_key@api_keys_core" time="99.528" /><testcase classname="tests.test_api_keys.TestAPIKeyCRUD" name="test_list_api_keys@api_keys_core" time="0.397" /><testcase classname="tests.test_api_keys.TestAPIKeyCRUD" name="test_revoke_api_key@api_keys_core" time="0.300" /><testcase classname="tests.test_api_keys.TestAPIKeyAuthorization" name="test_admin_manage_other_users_keys@api_keys_core" time="1.038" /><testcase classname="tests.test_api_keys.TestAPIKeyAuthorization" name="test_non_admin_cannot_access_other_users_keys@api_keys_core" time="0.284" /><testcase classname="tests.test_api_keys.TestAPIKeyBulkOperations" name="test_bulk_revoke_own_keys@api_keys_core" time="0.690" /><testcase classname="tests.test_api_keys.TestAPIKeyBulkOperations" name="test_bulk_revoke_other_user_forbidden@api_keys_core" time="0.100" /><testcase classname="tests.test_api_keys.TestAPIKeyBulkOperations" name="test_bulk_revoke_admin_can_revoke_any_user@api_keys_core" time="0.258" /><testcase classname="tests.test_api_keys.TestAPIKeyBulkOperations" name="test_bulk_revoke_by_subscription@api_keys_core" time="14.956" /><testcase classname="tests.test_subscription.TestAuthEnforcement" name="test_authorized_user_gets_200@api_unconfigured_model" time="114.769" /><testcase classname="tests.test_subscription.TestAuthEnforcement" name="test_no_auth_gets_401@api_unconfigured_model" time="0.041" /><testcase classname="tests.test_subscription.TestAuthEnforcement" name="test_invalid_token_gets_403@api_unconfigured_model" time="0.094" /><testcase classname="tests.test_subscription.TestAuthEnforcement" name="test_wrong_group_gets_403@api_unconfigured_model" time="0.059" /><testcase classname="tests.test_subscription.TestAPIKeySubscriptionBinding" name="test_create_api_key_uses_highest_priority_subscription@api_unconfigured_model" time="2.750" /><testcase classname="tests.test_api_keys.TestAPIKeyBulkOperations" name="test_bulk_revoke_by_subscription_forbidden_for_non_admin@api_keys_core" time="0.130" /><testcase classname="tests.test_api_keys.TestAPIKeyBulkOperations" name="test_bulk_revoke_dry_run@api_keys_core" time="0.559" /><testcase classname="tests.test_subscription.TestAPIKeySubscriptionBinding" name="test_create_api_key_with_explicit_simulator_subscription@api_unconfigured_model" time="0.232" /><testcase classname="tests.test_subscription.TestAPIKeySubscriptionBinding" name="test_create_api_key_nonexistent_subscription_errors@api_unconfigured_model" time="10.455" /><testcase classname="tests.test_api_keys.TestAPIKeyBulkOperations" name="test_bulk_revoke_dry_run_by_subscription@api_keys_core" time="14.994" /><testcase classname="tests.test_config_tenant.TestConfigAnchorPresence" name="test_cluster_config_default_exists@readonly" time="0.581" /><testcase classname="tests.test_config_tenant.TestConfigAnchorPresence" name="test_cluster_config_not_terminating@readonly" time="0.209" /><testcase classname="tests.test_config_tenant.TestConfigTenantOwnership" name="test_default_aitenant_lists_config_owner_reference@readonly" time="0.150" /><testcase classname="tests.test_config_tenant.TestConfigTenantOwnership" name="test_tenant_config_lists_config_owner_reference@readonly" time="0.148" /><testcase classname="tests.test_config_tenant.TestConfigTenantOwnership" name="test_maas_controller_deployment_does_not_list_config_owner_reference@readonly" time="0.158" /><testcase classname="tests.test_subscription.TestSubscriptionEnforcement" name="test_subscribed_user_gets_200@api_unconfigured_model" time="0.266" /><testcase classname="tests.test_subscription.TestOrderingEdgeCases" name="test_subscription_before_auth_policy@api_unconfigured_model" time="17.401" /><testcase classname="tests.test_gateway_filter_chain_praxis.TestGatewayFilterChainPraxis" name="test_no_listener_rejected@readonly" time="5.949" /><testcase classname="tests.test_gateway_filter_chain_praxis.TestGatewayFilterChainPraxis" name="test_payload_processing_precedes_router@readonly" time="0.001" /><testcase classname="tests.test_networkpolicy.TestPayloadProcessingNetworkPolicyExists" name="test_networkpolicy_exists@readonly" time="0.148" /><testcase classname="tests.test_networkpolicy.TestPayloadProcessingNetworkPolicyExists" name="test_pod_selector_covers_both_processors@readonly" time="0.153" /><testcase classname="tests.test_networkpolicy.TestPayloadProcessingNetworkPolicyExists" name="test_ingress_uses_istio_managed_label@readonly" time="0.170" /><testcase classname="tests.test_networkpolicy.TestPayloadProcessingNetworkPolicyExists" name="test_egress_allows_otlp_to_monitoring_namespace@readonly" time="0.306"><skipped type="pytest.skip" message="AIGC praxis NetworkPolicy does not include OTLP 4317 egress (MaaS Go IPP bundle only)">/workspace/source/test/e2e/tests/test_networkpolicy.py:119: AIGC praxis NetworkPolicy does not include OTLP 4317 egress (MaaS Go IPP bundle only)</skipped></testcase><testcase classname="tests.test_networkpolicy.TestPayloadProcessingNetworkPolicyExists" name="test_ingress_does_not_hardcode_single_gateway@readonly" time="0.145" /><testcase classname="tests.test_networkpolicy.TestMaaSAuthorinoNetworkPolicy" name="test_rhcl_authorino_namespace_is_allowed@readonly" time="0.142" /><testcase classname="tests.test_networkpolicy.TestPayloadProcessingConnectivity" name="test_maas_gateway_pod_exists@readonly" time="0.189" /><testcase classname="tests.test_networkpolicy.TestPayloadProcessingConnectivity" name="test_maas_gateway_has_istio_managed_label@readonly" time="0.193" /><testcase classname="tests.test_networkpolicy.TestPayloadProcessingConnectivity" name="test_payload_processing_pods_running@readonly" time="0.182" /><testcase classname="tests.test_networkpolicy.TestMaaSGatewayFunctional" name="test_maas_api_health@readonly" time="0.045" /><testcase classname="tests.test_networkpolicy.TestMaaSGatewayFunctional" name="test_maas_api_models_reachable@readonly" time="0.112" /><testcase classname="tests.test_smoke" name="test_healthz_or_404@readonly" time="0.036" /><testcase classname="tests.test_smoke" name="test_tokens_endpoint_replaced_by_api_keys@readonly" time="0.049" /><testcase classname="tests.test_smoke" name="test_models_catalog@readonly" time="0.097" /><testcase classname="tests.test_smoke" name="test_chat_completions_gateway_alive@readonly" time="0.246" /><testcase classname="tests.test_smoke" name="test_chat_completions_streaming_sse@readonly" time="0.094" /><testcase classname="tests.test_smoke" name="test_legacy_completions_optionally@readonly" time="0.087" /><testcase classname="tests.test_tenant.TestTenantLifecycle" name="test_tenant_ready_and_phase_healthy@readonly" time="0.471" /><testcase classname="tests.test_tenant.TestTenantContract" name="test_status_has_phase_and_conditions@readonly" time="0.145" /><testcase classname="tests.test_api_keys.TestAPIKeyBulkOperations" name="test_bulk_revoke_combined_user_and_subscription@api_keys_core" time="15.696" /><testcase classname="tests.test_tenant.TestTenantContract" name="test_spec_is_well_formed@readonly" time="0.151" /><testcase classname="tests.test_tenant.TestTenantContract" name="test_conditions_use_kubernetes_metav1_shape@readonly" time="0.155" /><testcase classname="tests.test_tenant.TestTenantNoFalseOwnership" name="test_maas_user_crs_not_owned_by_tenant@readonly" time="0.453" /><testcase classname="tests.test_tenant_discovery" name="test_tenant_discovery_requires_auth@readonly" time="4.626" /><testcase classname="tests.test_tenant_discovery" name="test_tenant_discovery_with_invalid_token@readonly" time="2.271" /><testcase classname="tests.test_tenant_discovery" name="test_tenant_discovery_authenticated@readonly" time="0.001"><skipped type="pytest.skip" message="Skipping when Gateway uses ClusterIP + OpenShift Route (unsupported configuration). This mixes incompatible routing paradigms. Gateway has no external hostname in spec.listeners, so /v1/tenants returns an error. Supported configuration: LoadBalancer service with hostname in spec.listeners.">/workspace/source/test/e2e/tests/test_tenant_discovery.py:79: Skipping when Gateway uses ClusterIP + OpenShift Route (unsupported configuration). This mixes incompatible routing paradigms. Gateway has no external hostname in spec.listeners, so /v1/tenants returns an error. Supported configuration: LoadBalancer service with hostname in spec.listeners.</skipped></testcase><testcase classname="tests.test_tenant_discovery" name="test_tenant_discovery_gateway_matches_deployment@readonly" time="0.000"><skipped type="pytest.skip" message="Skipping when Gateway uses ClusterIP + OpenShift Route (unsupported configuration). This mixes incompatible routing paradigms. Gateway has no external hostname in spec.listeners, so /v1/tenants returns an error. Supported configuration: LoadBalancer service with hostname in spec.listeners.">/workspace/source/test/e2e/tests/test_tenant_discovery.py:155: Skipping when Gateway uses ClusterIP + OpenShift Route (unsupported configuration). This mixes incompatible routing paradigms. Gateway has no external hostname in spec.listeners, so /v1/tenants returns an error. Supported configuration: LoadBalancer service with hostname in spec.listeners.</skipped></testcase><testcase classname="tests.test_tenant_discovery" name="test_tenant_discovery_not_exposed_through_gateway@readonly" time="0.033" /><testcase classname="tests.test_xdist_config" name="test_pytest_version_supports_loadgroup@readonly" time="0.000" /><testcase classname="tests.test_xdist_config" name="test_xdist_group_suffix_present@readonly" time="0.000" /><testcase classname="tests.test_subscription.TestE2ESubscriptionFlow" name="test_e2e_with_both_access_and_subscription_gets_200@api_unconfigured_model" time="13.139" /><testcase classname="tests.test_api_keys.TestAPIKeyBulkOperations" name="test_bulk_revoke_missing_scope_returns_400@api_keys_core" time="0.100" /><testcase classname="tests.test_api_keys.TestAPIKeyExpiration" name="test_expiration_policy_boundaries[within-limit]@api_keys_core" time="0.095" /><testcase classname="tests.test_api_keys.TestAPIKeyExpiration" name="test_expiration_policy_boundaries[at-limit]@api_keys_core" time="0.101" /><testcase classname="tests.test_api_keys.TestAPIKeyExpiration" name="test_expiration_policy_boundaries[exceeds-limit]@api_keys_core" time="0.096" /><testcase classname="tests.test_api_keys.TestAPIKeyExpiration" name="test_expiration_policy_boundaries[without-expiration]@api_keys_core" time="0.142" /><testcase classname="tests.test_api_keys.TestAPIKeyExpiration" name="test_expiration_policy_boundaries[short-expiration]@api_keys_core" time="0.096" /><testcase classname="tests.test_api_keys.TestAPIKeyModelInference" name="test_api_key_model_access_success@api_keys_core" time="0.238" /><testcase classname="tests.test_api_keys.TestAPIKeyModelInference" name="test_invalid_api_key_rejected@api_keys_core" time="0.057" /><testcase classname="tests.test_api_keys.TestAPIKeyModelInference" name="test_no_auth_header_rejected@api_keys_core" time="0.094" /><testcase classname="tests.test_api_keys.TestAPIKeyModelInference" name="test_revoked_api_key_rejected@api_keys_core" time="2.433" /><testcase classname="tests.test_api_keys.TestAPIKeyModelInference" name="test_api_key_chat_completions@api_keys_core" time="0.099" /><testcase classname="tests.test_api_keys.TestAPIKeyRevocationE2E" name="test_double_revoke_returns_404@api_keys_core" time="0.273" /><testcase classname="tests.test_api_keys.TestAPIKeyRevocationE2E" name="test_revoke_nonexistent_key_returns_404@api_keys_core" time="0.097" /><testcase classname="tests.test_api_keys.TestAPIKeyRevocationE2E" name="test_revoke_then_create_new_key_works@api_keys_core" time="0.417" /><testcase classname="tests.test_api_keys.TestAPIKeyRevocationE2E" name="test_individual_revoke_multiple_keys@api_keys_core" time="0.548" /><testcase classname="tests.test_api_keys.TestAPIKeyRevocationE2E" name="test_revoke_keys_rejected_at_gateway@api_keys_core" time="0.758" /><testcase classname="tests.test_api_keys.TestEphemeralKeyCleanup" name="test_cronjob_exists_and_configured@api_keys_core" time="0.161" /><testcase classname="tests.test_api_keys.TestEphemeralKeyCleanup" name="test_cleanup_networkpolicy_exists@api_keys_core" time="0.155" /><testcase classname="tests.test_api_keys.TestEphemeralKeyCleanup" name="test_create_ephemeral_key@api_keys_core" time="0.290" /><testcase classname="tests.test_api_keys.TestEphemeralKeyCleanup" name="test_trigger_cleanup_preserves_active_keys@api_keys_core" time="0.259"><skipped type="pytest.skip" message="Cannot find maas-api pod in odh-ai-gateway-infra: error: error executing jsonpath &quot;{.items[0].metadata.name}&quot;: Error executing template: array index out of bounds: index 0, length 0. Printing more information for debugging the template:&#10;&#09;template was:&#10;&#09;&#09;{.items[0].metadata.name}&#10;&#09;object given to jsonpath engine was:&#10;&#09;&#09;map[string]interface {}{&quot;apiVersion&quot;:&quot;v1&quot;, &quot;items&quot;:[]interface {}{}, &quot;kind&quot;:&quot;List&quot;, &quot;metadata&quot;:map[string]interface {}{&quot;resourceVersion&quot;:&quot;&quot;}}">/workspace/source/test/e2e/tests/test_api_keys.py:1429: Cannot find maas-api pod in odh-ai-gateway-infra: error: error executing jsonpath "{.items[0].metadata.name}": Error executing template: array index out of bounds: index 0, length 0. Printing more information for debugging the template:
	template was:
		{.items[0].metadata.name}
	object given to jsonpath engine was:
		map[string]interface {}{"apiVersion":"v1", "items":[]interface {}{}, "kind":"List", "metadata":map[string]interface {}{"resourceVersion":""}}</skipped></testcase><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_empty_subscription_header_value@models_endpoint" time="156.158" /><testcase classname="tests.test_api_keys.TestAPIKeySubscriptionPhases" name="test_create_key_for_active_subscription@api_keys_core" time="14.597" /><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_deduplication_same_model_multiple_refs@models_endpoint" time="25.653" /><testcase classname="tests.test_subscription.TestE2ESubscriptionFlow" name="test_e2e_with_subscription_but_no_access_gets_403@api_unconfigured_model" time="12.937" /><testcase classname="tests.test_api_keys.TestAPIKeySubscriptionPhases" name="test_create_key_for_degraded_subscription@api_keys_core" time="14.887" /><testcase classname="tests.test_subscription.TestE2ESubscriptionFlow" name="test_e2e_multiple_subscriptions_separate_keys_gets_200@api_unconfigured_model" time="36.313" /><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_multiple_distinct_models_in_subscription@models_endpoint" time="15.309" /><testcase classname="tests.test_api_keys.TestAPIKeySubscriptionPhases" name="test_create_key_for_failed_subscription@api_keys_core" time="15.477" /><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_user_token_returns_all_models@models_endpoint" time="24.873" /><testcase classname="tests.test_api_keys.TestAPIKeySubscriptionFilter" name="test_search_filters_by_subscription@api_keys_core" time="39.783" /><testcase classname="tests.test_subscription.TestE2ESubscriptionFlow" name="test_e2e_mint_api_key_denied_for_inaccessible_subscription@api_unconfigured_model" time="36.220" /><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_user_token_with_subscription_header_filters@models_endpoint" time="14.670" /><testcase classname="tests.test_tenant_model_inference.TestTenantModelInference" name="test_model_routes_through_tenant_gateway@tenant_inference" time="182.839" /><testcase classname="tests.test_tenant_model_inference.TestTenantModelInference" name="test_inference_succeeds_through_tenant_gateway[tenant_a]@tenant_inference" time="7.661" /><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_response_schema_and_metadata@models_endpoint" time="0.748" /><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_api_key_scoped_to_subscription@models_endpoint" time="26.951" /><testcase classname="tests.test_tenant_model_inference.TestTenantModelInference" name="test_inference_succeeds_through_tenant_gateway[tenant_b]@tenant_inference" time="0.385" /><testcase classname="tests.test_tenant_model_inference.TestTenantModelInference" name="test_auth_envoyfilters_select_their_gateway_workloads@tenant_inference" time="0.688" /><testcase classname="tests.test_tenant_model_inference.TestTenantModelInference" name="test_tenant_isolation_cross_gateway_blocked@tenant_inference" time="0.834" /><testcase classname="tests.test_tenant_model_inference.TestTenantGatewayNegativeSecurity" name="test_missing_api_key_denied_on_tenant_gateway[tenant_a]@tenant_inference" time="0.212" /><testcase classname="tests.test_tenant_model_inference.TestTenantGatewayNegativeSecurity" name="test_missing_api_key_denied_on_tenant_gateway[tenant_b]@tenant_inference" time="0.202" /><testcase classname="tests.test_tenant_model_inference.TestTenantGatewayNegativeSecurity" name="test_invalid_api_key_denied_on_tenant_gateway[tenant_a]@tenant_inference" time="0.224" /><testcase classname="tests.test_tenant_model_inference.TestTenantGatewayNegativeSecurity" name="test_invalid_api_key_denied_on_tenant_gateway[tenant_b]@tenant_inference" time="0.212" /><testcase classname="tests.test_tenant_model_inference.TestTenantGatewayNegativeSecurity" name="test_forged_identity_headers_denied_on_tenant_gateway[tenant_a]@tenant_inference" time="0.393" /><testcase classname="tests.test_api_keys.TestAPIKeySubscriptionFilter" name="test_search_without_subscription_returns_all@api_keys_core" time="0.831" /><testcase classname="tests.test_tenant_model_inference.TestTenantGatewayNegativeSecurity" name="test_forged_identity_headers_denied_on_tenant_gateway[tenant_b]@tenant_inference" time="0.393" /><testcase classname="tests.test_tenant_model_inference.TestTenantBodyRouting" name="test_model_in_body_routing[correct-model]@tenant_inference" time="0.407" /><testcase classname="tests.test_api_keys.TestAPIKeyLabels" name="test_create_api_key_with_labels@api_keys_core" time="0.202" /><testcase classname="tests.test_api_keys.TestAPIKeyLabels" name="test_search_api_keys_by_labels@api_keys_core" time="0.480" /><testcase classname="tests.test_tenant_model_inference.TestTenantBodyRouting" name="test_model_in_body_routing[wrong-model]@tenant_inference" time="0.439" /><testcase classname="tests.test_api_keys.TestAPIKeyLabels" name="test_labels_validation_errors@api_keys_core" time="0.290" /><testcase classname="tests.test_tenant_model_inference.TestTenantBodyRouting" name="test_model_in_body_routing[missing-model]@tenant_inference" time="0.425" /><testcase classname="tests.test_api_keys.TestAPIKeyLabels" name="test_backward_compatibility_no_labels@api_keys_core" time="0.572" /><testcase classname="tests.test_tenant_model_inference.TestTenantBodyRouting" name="test_each_tenant_routes_to_own_model@tenant_inference" time="91.297" /><testcase classname="tests.test_subscription.TestE2ESubscriptionFlow" name="test_e2e_group_based_access_gets_200@api_unconfigured_model" time="12.912" /><testcase classname="tests.test_subscription.TestE2ESubscriptionFlow" name="test_e2e_group_based_subscription_but_no_auth_gets_403@api_unconfigured_model" time="12.373" /><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_api_key_with_deleted_subscription_403@models_endpoint" time="41.432" /><testcase classname="tests.test_tenant_external_model_attachment.TestUserNamespaceAttachmentServing" name="test_attachment_status_ready@tenant_ipp_ext_attach" time="134.986" /><testcase classname="tests.test_tenant_external_model_attachment.TestUserNamespaceAttachmentServing" name="test_one_httproute_in_model_namespace@tenant_ipp_ext_attach" time="0.165" /><testcase classname="tests.test_tenant_external_model_attachment.TestUserNamespaceAttachmentServing" name="test_credential_copy_delivered_to_tenant@tenant_ipp_ext_attach" time="0.329" /><testcase classname="tests.test_tenant_external_model_attachment.TestUserNamespaceAttachmentServing" name="test_unselected_gateway_not_serving@tenant_ipp_ext_attach" time="0.583" /><testcase classname="tests.test_tenant_external_model_attachment.TestUserNamespaceAttachmentServing" name="test_inference_serves_with_user_namespace_credential@tenant_ipp_ext_attach" time="7.489" /><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_api_key_with_inaccessible_subscription_403@models_endpoint" time="22.779" /><testcase classname="tests.test_tenant_external_model_attachment.TestAttachmentLifecycleCleanup" name="test_detach_removes_only_that_attachment@tenant_ipp_ext_attach" time="79.699" /><testcase classname="tests.test_subscription.TestStatusReporting" name="test_subscription_active_status_with_valid_model@api_unconfigured_model" time="79.325" /><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_invalid_subscription_header_403@models_endpoint" time="22.607" /><testcase classname="tests.test_per_tenant_praxis_isolation.TestPerTenantPraxisInfrastructure" name="test_per_tenant_praxis_deployments_exist@tenant_ipp_praxis" time="107.649" /><testcase classname="tests.test_subscription.TestStatusReporting" name="test_subscription_failed_status_with_missing_model@api_unconfigured_model" time="11.338" /><testcase classname="tests.test_per_tenant_praxis_isolation.TestPerTenantPraxisInfrastructure" name="test_per_tenant_envoyfilter_workload_selector_isolated@tenant_ipp_praxis" time="0.500" /><testcase classname="tests.test_per_tenant_praxis_isolation.TestPerTenantPraxisInfrastructure" name="test_per_tenant_envoyfilter_grpc_clusters@tenant_ipp_praxis" time="0.331" /><testcase classname="tests.test_per_tenant_praxis_isolation.TestPerTenantPraxisInfrastructure" name="test_default_tenant_keeps_unsuffixed_payload_processing_names@tenant_ipp_praxis" time="1.268" /><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_access_denied_to_subscription_403@models_endpoint" time="34.193" /><testcase classname="tests.test_per_tenant_praxis_isolation.TestPerTenantPraxisInfrastructure" name="test_multiple_tenant_praxis_stacks_coexist@tenant_ipp_praxis" time="0.494" /><testcase classname="tests.test_per_tenant_praxis_isolation.TestPerTenantPraxisInfrastructure" name="test_per_tenant_networkpolicy_when_applied@tenant_ipp_praxis" time="0.318" /><testcase classname="tests.test_per_tenant_praxis_isolation.TestPerTenantPraxisRouting" name="test_default_gateway_hits_default_praxis_only@tenant_ipp_praxis" time="0.619" /><testcase classname="tests.test_subscription.TestStatusReporting" name="test_authpolicy_active_status_with_valid_model@api_unconfigured_model" time="3.689" /><testcase classname="tests.test_tenant_external_model_attachment.TestAttachmentLifecycleCleanup" name="test_model_delete_removes_serving_config@tenant_ipp_ext_attach" time="9.866" /><testcase classname="tests.test_subscription.TestStatusReporting" name="test_authpolicy_failed_status_with_missing_model@api_unconfigured_model" time="3.445" /><testcase classname="tests.test_subscription.TestStatusReporting" name="test_subscription_degraded_status_with_partial_models@api_unconfigured_model" time="14.298" /><testcase classname="tests.test_tenant_external_model_attachment.TestListenerNotAllowed" name="test_attachment_reports_not_allowed_by_listeners@tenant_ipp_ext_attach" time="6.220" /><testcase classname="tests.test_tenant_external_model_attachment.TestListenerNotAllowed" name="test_nothing_published_into_tenant@tenant_ipp_ext_attach" time="6.276" /><testcase classname="tests.test_subscription.TestStatusReporting" name="test_authpolicy_degraded_status_with_partial_models@api_unconfigured_model" time="3.543" /><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_api_key_ignores_subscription_header@models_endpoint" time="26.565" /><testcase classname="tests.test_subscription.TestStatusReporting" name="test_subscription_status_transitions_on_model_deletion@api_unconfigured_model" time="24.739" /><testcase classname="tests.test_tenant_external_model_attachment.TestListenerNotAllowed" name="test_route_not_admitted_and_not_served@tenant_ipp_ext_attach" time="11.809" /><testcase classname="tests.test_subscription.TestDegradedSubscriptionFiltering" name="test_degraded_healthy_model_allows_inference@api_unconfigured_model" time="14.839" /><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_multiple_api_keys_different_subscriptions@models_endpoint" time="25.030" /><testcase classname="tests.test_per_tenant_praxis_isolation.TestPerTenantPraxisRouting" name="test_tenant_gateway_hits_tenant_praxis_only@tenant_ipp_praxis" time="72.689" /><testcase classname="tests.test_subscription.TestDegradedSubscriptionFiltering" name="test_models_endpoint_with_degraded_subscription_api_key@api_unconfigured_model" time="14.465" /><testcase classname="tests.test_tenant_external_model_attachment.TestListenerAdmissionRecovery" name="test_refused_model_does_not_break_tenant_models@tenant_ipp_ext_attach" time="28.041" /><testcase classname="tests.test_per_tenant_praxis_isolation.TestPerTenantPraxisCleanup" name="test_praxis_resources_removed_on_aitenant_delete@tenant_ipp_praxis" time="112.974" /><testcase classname="tests.test_tenant_external_model_attachment.TestListenerAdmissionRecovery" name="test_readmission_recovers_attachment_without_model_edit@tenant_ipp_ext_attach" time="35.542" /><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_service_account_token_multiple_subs_no_header@models_endpoint" time="35.435" /><testcase classname="tests.test_subscription.TestDegradedSubscriptionFiltering" name="test_models_endpoint_with_degraded_subscription_kube_token@api_unconfigured_model" time="15.912" /><testcase classname="tests.test_tenant_external_model_crossns.TestCrossNsProviderGrant" name="test_grant_permits_cross_namespace_provider@tenant_ipp_ext_crossns" time="0.000"><skipped type="pytest.skip" message="cross-namespace provider E2E is gated until AGC ships cross-namespace provider support; set TENANT_EXTERNAL_MODEL_CROSSNS_E2E=true to enable">/workspace/source/test/e2e/tests/test_tenant_external_model_crossns.py:196: cross-namespace provider E2E is gated until AGC ships cross-namespace provider support; set TENANT_EXTERNAL_MODEL_CROSSNS_E2E=true to enable</skipped></testcase><testcase classname="tests.test_tenant_external_model_crossns.TestMissingGrant" name="test_missing_grant_rejects_then_restores@tenant_ipp_ext_crossns" time="0.000"><skipped type="pytest.skip" message="cross-namespace provider E2E is gated until AGC ships cross-namespace provider support; set TENANT_EXTERNAL_MODEL_CROSSNS_E2E=true to enable">/workspace/source/test/e2e/tests/test_tenant_external_model_crossns.py:224: cross-namespace provider E2E is gated until AGC ships cross-namespace provider support; set TENANT_EXTERNAL_MODEL_CROSSNS_E2E=true to enable</skipped></testcase><testcase classname="tests.test_tenant_external_model_crossns.TestMissingGrant" name="test_non_matching_grant_rejects@tenant_ipp_ext_crossns" time="0.000"><skipped type="pytest.skip" message="cross-namespace provider E2E is gated until AGC ships cross-namespace provider support; set TENANT_EXTERNAL_MODEL_CROSSNS_E2E=true to enable">/workspace/source/test/e2e/tests/test_tenant_external_model_crossns.py:248: cross-namespace provider E2E is gated until AGC ships cross-namespace provider support; set TENANT_EXTERNAL_MODEL_CROSSNS_E2E=true to enable</skipped></testcase><testcase classname="tests.test_tenant_external_model_crossns.TestGrantRevocation" name="test_revoke_stops_access@tenant_ipp_ext_crossns" time="0.000"><skipped type="pytest.skip" message="cross-namespace provider E2E is gated until AGC ships cross-namespace provider support; set TENANT_EXTERNAL_MODEL_CROSSNS_E2E=true to enable">/workspace/source/test/e2e/tests/test_tenant_external_model_crossns.py:265: cross-namespace provider E2E is gated until AGC ships cross-namespace provider support; set TENANT_EXTERNAL_MODEL_CROSSNS_E2E=true to enable</skipped></testcase><testcase classname="tests.test_tenant_external_model_crossns.TestGrantRevocation" name="test_narrowed_grant_stops_access@tenant_ipp_ext_crossns" time="0.000"><skipped type="pytest.skip" message="cross-namespace provider E2E is gated until AGC ships cross-namespace provider support; set TENANT_EXTERNAL_MODEL_CROSSNS_E2E=true to enable">/workspace/source/test/e2e/tests/test_tenant_external_model_crossns.py:304: cross-namespace provider E2E is gated until AGC ships cross-namespace provider support; set TENANT_EXTERNAL_MODEL_CROSSNS_E2E=true to enable</skipped></testcase><testcase classname="tests.test_tenant_external_model_crossns.TestCredentialSourceSelection" name="test_provider_local_credential_used_by_default@tenant_ipp_ext_crossns" time="0.000"><skipped type="pytest.skip" message="cross-namespace provider E2E is gated until AGC ships cross-namespace provider support; set TENANT_EXTERNAL_MODEL_CROSSNS_E2E=true to enable">/workspace/source/test/e2e/tests/test_tenant_external_model_crossns.py:338: cross-namespace provider E2E is gated until AGC ships cross-namespace provider support; set TENANT_EXTERNAL_MODEL_CROSSNS_E2E=true to enable</skipped></testcase><testcase classname="tests.test_tenant_external_model_crossns.TestCredentialSourceSelection" name="test_missing_model_local_override_fails_without_fallback@tenant_ipp_ext_crossns" time="0.000"><skipped type="pytest.skip" message="cross-namespace provider E2E is gated until AGC ships cross-namespace provider support; set TENANT_EXTERNAL_MODEL_CROSSNS_E2E=true to enable">/workspace/source/test/e2e/tests/test_tenant_external_model_crossns.py:393: cross-namespace provider E2E is gated until AGC ships cross-namespace provider support; set TENANT_EXTERNAL_MODEL_CROSSNS_E2E=true to enable</skipped></testcase><testcase classname="tests.test_tenant_external_model_crossns.TestSameNamedProvidersTwoNamespaces" name="test_same_named_providers_both_serve@tenant_ipp_ext_crossns" time="0.000"><skipped type="pytest.skip" message="cross-namespace provider E2E is gated until AGC ships cross-namespace provider support; set TENANT_EXTERNAL_MODEL_CROSSNS_E2E=true to enable">/workspace/source/test/e2e/tests/test_tenant_external_model_crossns.py:431: cross-namespace provider E2E is gated until AGC ships cross-namespace provider support; set TENANT_EXTERNAL_MODEL_CROSSNS_E2E=true to enable</skipped></testcase><testcase classname="tests.test_tenant_external_model_attachment.TestListenerAdmissionRecovery" name="test_narrowing_admission_stops_serving@tenant_ipp_ext_attach" time="37.205" /><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_service_account_token_multiple_subs_with_header@models_endpoint" time="25.047" /><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_unauthenticated_request_401@models_endpoint" time="1.247" /><testcase classname="tests.test_subscription_list_endpoints.TestListSubscriptions" name="test_returns_accessible_subscriptions@api_keys_sub_endpoints" time="187.899" /><testcase classname="tests.test_tenant_external_model_attachment.TestCredentialRotationFollowsSource" name="test_rotation_updates_copy_and_serving@tenant_ipp_ext_attach" time="193.134" /><testcase classname="tests.test_subscription_list_endpoints.TestListSubscriptions" name="test_unauthenticated_returns_401[all-subscriptions]@api_keys_sub_endpoints" time="0.065" /><testcase classname="tests.test_subscription_list_endpoints.TestListSubscriptions" name="test_unauthenticated_returns_401[subscriptions-for-model]@api_keys_sub_endpoints" time="0.063" /><testcase classname="tests.test_subscription_list_endpoints.TestListSubscriptions" name="test_subscription_includes_model_refs@api_keys_sub_endpoints" time="11.623" /><testcase classname="tests.test_subscription_list_endpoints.TestListSubscriptions" name="test_model_ref_display_name_and_description_enriched@api_keys_sub_endpoints" time="13.200" /><testcase classname="tests.test_tenant_namespace_discovery.TestTenantNamespaceDiscovery" name="test_labeled_tenant_namespace_is_discovered@mt_lc_ns_discovery" time="283.477"><failure message="AssertionError: maasauthpolicy/e2e-policy-79764701 in ai-tenant-e2e-mt-79764701 did not satisfy condition. Last object: {'apiVersion': 'maas.opendatahub.io/v1alpha1', 'kind': 'MaaSAuthPolicy', 'metadata': {'annotations': {'kubectl.kubernetes.io/last-applied-configuration': '{&quot;apiVersion&quot;:&quot;maas.opendatahub.io/v1alpha1&quot;,&quot;kind&quot;:&quot;MaaSAuthPolicy&quot;,&quot;metadata&quot;:{&quot;annotations&quot;:{},&quot;name&quot;:&quot;e2e-policy-79764701&quot;,&quot;namespace&quot;:&quot;ai-tenant-e2e-mt-79764701&quot;},&quot;spec&quot;:{&quot;modelRefs&quot;:[{&quot;name&quot;:&quot;facebook-opt-125m-simulated&quot;,&quot;namespace&quot;:&quot;llm&quot;}],&quot;subjects&quot;:{&quot;groups&quot;:[{&quot;name&quot;:&quot;system:authenticated&quot;}]}}}\n'}, 'creationTimestamp': '2026-11-02T14:17:51Z', 'finalizers': ['maas.opendatahub.io/authpolicy-cleanup'], 'generation': 1, 'name': 'e2e-policy-79764701', 'namespace': 'ai-tenant-e2e-mt-79764701', 'resourceVersion': '53812', 'uid': '51faf157-7c2b-47bf-a111-b354b142b8a8'}, 'spec': {'modelRefs': [{'name': 'facebook-opt-125m-simulated', 'namespace': 'llm'}], 'subjects': {'groups': [{'name': 'system:authenticated'}]}}, 'status': {'conditions': [{'lastTransitionTime': '2026-11-02T14:17:52Z', 'message': 'Waiting for gateway AuthPolicy openshift-ingress/maas-gateway-auth to be accepted and enforced: AuthPolicy status observed generation 3, current generation is 47', 'observedGeneration': 1, 'reason': 'Unknown', 'status': 'Unknown', 'type': 'Ready'}], 'phase': 'Pending'}}">self = &lt;test_tenant_namespace_discovery.TestTenantNamespaceDiscovery object at 0x7f3326541210&gt;

    def test_labeled_tenant_namespace_is_discovered(self):
        """1.1: Controller discovers labeled tenant namespaces and reconciles CRs."""
        case = new_discovery_case(use_default_gateway=True)
        try:
            apply_discovery_labels(case["tenant_ns"], case["tenant_label_name"])
            apply_tenant_cr(case["tenant_ns"], DEFAULT_GATEWAY_NAME)
            apply_maas_auth_policy(case["policy_name"], case["tenant_ns"])
            apply_maas_subscription(case["subscription_name"], case["tenant_ns"])
    
            wait_for_finalizer("maasauthpolicy", case["policy_name"], case["tenant_ns"], FINALIZER_AUTHPOLICY)
            wait_for_finalizer("maassubscription", case["subscription_name"], case["tenant_ns"], FINALIZER_SUBSCRIPTION)
&gt;           auth = wait_for_status_phase(
                "maasauthpolicy",
                case["policy_name"],
                case["tenant_ns"],
                expected_phase="Active",
            )

test/e2e/tests/test_tenant_namespace_discovery.py:92: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
test/e2e/tests/multitenancy_helpers.py:356: in wait_for_status_phase
    return wait_for_json(kind, name, namespace, predicate=_predicate, timeout=timeout, interval=interval)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

kind = 'maasauthpolicy', name = 'e2e-policy-79764701'
namespace = 'ai-tenant-e2e-mt-79764701'
predicate = &lt;function wait_for_status_phase.&lt;locals&gt;._predicate at 0x7f33263f8e00&gt;
timeout = 180, interval = 5

    def wait_for_json(
        kind: str,
        name: str,
        namespace: Optional[str] = None,
        *,
        predicate=None,
        timeout: int = 180,
        interval: int = 5,
    ) -&gt; dict:
        deadline = time.time() + timeout
        last_obj = None
        while time.time() &lt; deadline:
            obj = get_json_or_none(kind, name, namespace)
            if obj is not None:
                last_obj = obj
                if predicate is None or predicate(obj):
                    return obj
            time.sleep(interval)
&gt;       raise AssertionError(
            f"{kind}/{name} in {namespace or '&lt;cluster&gt;'} did not satisfy condition. Last object: {last_obj}"
        )
E       AssertionError: maasauthpolicy/e2e-policy-79764701 in ai-tenant-e2e-mt-79764701 did not satisfy condition. Last object: {'apiVersion': 'maas.opendatahub.io/v1alpha1', 'kind': 'MaaSAuthPolicy', 'metadata': {'annotations': {'kubectl.kubernetes.io/last-applied-configuration': '{"apiVersion":"maas.opendatahub.io/v1alpha1","kind":"MaaSAuthPolicy","metadata":{"annotations":{},"name":"e2e-policy-79764701","namespace":"ai-tenant-e2e-mt-79764701"},"spec":{"modelRefs":[{"name":"facebook-opt-125m-simulated","namespace":"llm"}],"subjects":{"groups":[{"name":"system:authenticated"}]}}}\n'}, 'creationTimestamp': '2026-11-02T14:17:51Z', 'finalizers': ['maas.opendatahub.io/authpolicy-cleanup'], 'generation': 1, 'name': 'e2e-policy-79764701', 'namespace': 'ai-tenant-e2e-mt-79764701', 'resourceVersion': '53812', 'uid': '51faf157-7c2b-47bf-a111-b354b142b8a8'}, 'spec': {'modelRefs': [{'name': 'facebook-opt-125m-simulated', 'namespace': 'llm'}], 'subjects': {'groups': [{'name': 'system:authenticated'}]}}, 'status': {'conditions': [{'lastTransitionTime': '2026-11-02T14:17:52Z', 'message': 'Waiting for gateway AuthPolicy openshift-ingress/maas-gateway-auth to be accepted and enforced: AuthPolicy status observed generation 3, current generation is 47', 'observedGeneration': 1, 'reason': 'Unknown', 'status': 'Unknown', 'type': 'Ready'}], 'phase': 'Pending'}}

test/e2e/tests/multitenancy_helpers.py:301: AssertionError</failure></testcase><testcase classname="tests.test_subscription_list_endpoints.TestListSubscriptionsForModel" name="test_returns_subscriptions_for_model@api_keys_sub_endpoints" time="36.934" /><testcase classname="tests.test_tenant_external_model_shared.TestSharedModelTwoGateways" name="test_one_httproute_per_attachment@tenant_ipp_ext_shared" time="118.452" /><testcase classname="tests.test_tenant_external_model_shared.TestSharedModelTwoGateways" name="test_per_gateway_status@tenant_ipp_ext_shared" time="0.608" /><testcase classname="tests.test_subscription_list_endpoints.TestListSubscriptionsForModel" name="test_unknown_model_returns_empty@api_keys_sub_endpoints" time="0.701" /><testcase classname="tests.test_subscription_list_endpoints.TestSubscriptionModelAccessFiltering" name="test_filters_unauthorized_models@api_keys_sub_endpoints" time="14.586" /><testcase classname="tests.test_subscription_list_endpoints.TestSubscriptionModelAccessFiltering" name="test_omits_subscription_with_no_authorized_models@api_keys_sub_endpoints" time="14.486" /><testcase classname="tests.test_aitenant_lifecycle.TestAITenantLifecycle" name="test_default_aitenant_bootstraps_maas_tenant_config_without_gateway_mutation@mt_lc_aitenant" time="12.385" /><testcase classname="tests.test_aitenant_lifecycle.TestAITenantLifecycle" name="test_aitenant_rejected_outside_ai_tenants_namespace@mt_lc_aitenant" time="7.803" /><testcase classname="tests.test_aitenant_lifecycle.TestAITenantLifecycle" name="test_aitenant_create_bootstrap_resources@mt_lc_aitenant" time="71.346" /><testcase classname="tests.test_tenant_external_model_shared.TestSharedModelTwoGateways" name="test_both_gateways_serve@tenant_ipp_ext_shared" time="151.816" /><testcase classname="tests.test_tenant_external_model_default_tenant.TestDefaultTenantServesModelWithoutGatewayRefs" name="test_attached_to_default_gateway@tenant_ipp_ext_default" time="159.498" /><testcase classname="tests.test_tenant_external_model_default_tenant.TestDefaultTenantServesModelWithoutGatewayRefs" name="test_provider_reports_ready@tenant_ipp_ext_default" time="0.210" /><testcase classname="tests.test_tenant_external_model_default_tenant.TestDefaultTenantServesModelWithoutGatewayRefs" name="test_served_through_default_gateway@tenant_ipp_ext_default" time="0.195" /><testcase classname="tests.test_tenant_external_model_default_tenant.TestDefaultTenantServesModelWithoutGatewayRefs" name="test_unknown_key_rejected@tenant_ipp_ext_default" time="0.110" /><testcase classname="tests.test_tenant_external_model_default_tenant.TestDefaultTenantServesModelWithoutGatewayRefs" name="test_subscription_header_reaches_provider_and_replaces_client_value@tenant_ipp_ext_default" time="13.278" /><testcase classname="tests.test_aitenant_lifecycle.TestAITenantLifecycle" name="test_aitenant_migrates_and_removes_legacy_tenant@mt_lc_aitenant" time="74.177" /><testcase classname="tests.test_tenant_external_model_shared.TestTenantAuthIsolation" name="test_tenant_keys_authorized_only_on_their_own_gateway@tenant_ipp_ext_shared" time="58.777" /><testcase classname="tests.test_tenant_auth_isolation.TestTenantAuthIsolation" name="test_api_key_creation_scoped_to_tenant@tenant_iso_auth" time="287.122" /><testcase classname="tests.test_tenant_external_model_shared.TestTenantAuthIsolation" name="test_unknown_key_rejected_on_both_gateways@tenant_ipp_ext_shared" time="0.584" /><testcase classname="tests.test_tenant_auth_isolation.TestTenantAuthIsolation" name="test_api_key_validates_against_correct_tenant@tenant_iso_auth" time="0.355" /><testcase classname="tests.test_tenant_auth_isolation.TestTenantAuthIsolation" name="test_api_key_rejected_cross_tenant@tenant_iso_auth" time="0.281" /><testcase classname="tests.test_tenant_external_model_default_tenant.TestImplicitAttachmentLifecycle" name="test_gateway_refs_replace_implicit_attachment@tenant_ipp_ext_default" time="31.062" /><testcase classname="tests.test_tenant_auth_isolation.TestTenantAuthIsolation" name="test_oidc_token_validation_per_tenant@tenant_iso_auth" time="0.000"><skipped type="pytest.skip" message="Per-tenant OIDC token sources not configured (OIDC_TOKEN_URL / OIDC_TOKEN_URL_TENANT_B or OIDC_TOKEN_TENANT_A / OIDC_TOKEN_TENANT_B); skipping at collection so the tenant fixture is not built for nothing">/workspace/source/test/e2e/tests/test_tenant_auth_isolation.py:226: Per-tenant OIDC token sources not configured (OIDC_TOKEN_URL / OIDC_TOKEN_URL_TENANT_B or OIDC_TOKEN_TENANT_A / OIDC_TOKEN_TENANT_B); skipping at collection so the tenant fixture is not built for nothing</skipped></testcase><testcase classname="tests.test_tenant_auth_isolation.TestTenantAuthIsolation" name="test_api_key_list_scoped_to_tenant@tenant_iso_auth" time="0.834" /><testcase classname="tests.test_tenant_auth_isolation.TestTenantAuthIsolation" name="test_api_key_metadata_not_leaked_cross_tenant@tenant_iso_auth" time="0.647" /><testcase classname="tests.test_tenant_auth_isolation.TestTenantAuthIsolation" name="test_api_key_subscription_selection_uses_tenant_namespace@tenant_iso_auth" time="45.027" /><testcase classname="tests.test_tenant_external_model_shared.TestSharedModelAmbiguousModelRef" name="test_tenantless_model_ref_reports_ambiguity@tenant_ipp_ext_shared" time="7.190" /><testcase classname="tests.test_tenant_external_model_shared.TestSharedModelAmbiguousModelRef" name="test_pinned_model_refs_stay_ready@tenant_ipp_ext_shared" time="0.298" /><testcase classname="tests.test_tenant_external_model_default_tenant.TestImplicitAttachmentLifecycle" name="test_model_delete_removes_implicit_attachment@tenant_ipp_ext_default" time="16.983" /><testcase classname="tests.test_tenant_namespace_discovery.TestTenantNamespaceDiscovery" name="test_label_removal_stops_reconciliation@mt_lc_ns_discovery" time="117.654" /><testcase classname="tests.test_gateway_scoped_authpolicy.TestGatewayAuthPolicyStructure" name="test_gateway_auth_policy_contract@models_gw_authpolicy" time="0.516" /><testcase classname="tests.test_gateway_scoped_authpolicy.TestGatewayAuthPolicyLifecycle" name="test_gateway_auth_rego_is_fixed_size@models_gw_authpolicy" time="16.891" /><testcase classname="tests.test_gateway_scoped_authpolicy.TestGatewayAuthPolicyLifecycle" name="test_only_one_gateway_authpolicy_named_maas_gateway_auth@models_gw_authpolicy" time="0.366" /><testcase classname="tests.test_gateway_scoped_authpolicy.TestGatewayAuthPolicyManagementEndpointAccess" name="test_management_rules_have_model_identity_guards@models_gw_authpolicy" time="0.168" /><testcase classname="tests.test_gateway_scoped_authpolicy.TestGatewayAuthPolicyManagementEndpointAccess" name="test_gateway_default_auth_scoped_if_present@models_gw_authpolicy" time="0.001"><skipped type="pytest.skip" message="legacy gateway-default-auth is scoped to the shared default gateway">/workspace/source/test/e2e/tests/test_gateway_scoped_authpolicy.py:212: legacy gateway-default-auth is scoped to the shared default gateway</skipped></testcase><testcase classname="tests.test_aitenant_lifecycle.TestAITenantLifecycle" name="test_aitenant_delete_cleans_maas_resources_and_preserves_user_objects@mt_lc_aitenant" time="81.342" /><testcase classname="tests.test_external_model_routing.TestProviderSwitching" name="test_switch_a_to_b_to_a_without_extproc_restart@external" time="91.731" /><testcase classname="tests.test_tenant_external_model_shared.TestTenantQuotaIsolation" name="test_quota_exhaustion_isolated_per_tenant@tenant_ipp_ext_shared" time="410.689"><failure message="AssertionError: unexpected inference response on tenant A:">self = &lt;test_tenant_external_model_shared.TestTenantQuotaIsolation object at 0x7fbb23a9f250&gt;
shared_env = {'tenant_a': {'suffix': '9ba664', 'tenant_ns': 'ai-tenant-e2e-extmod-a-9ba664', 'tenant_label_name': 'e2e-extmod-a-9ba...d-shr-user-c05168', 'resources': &lt;tenant_external_model_helpers.TenantExternalModelResources object at 0x7fbb23b03c90&gt;}
quota_model = {'model': {'name': 'e2e-shr-quota-3060d1', 'namespace': 'e2e-extmod-shr-user-c05168', 'client_name': 'e2e-shr-quota-30...ge-c8b392', 'provider_config': {'tls.caCertificates': '/var/run/secrets/kubernetes.io/serviceaccount/service-ca.crt'}}}

    def test_quota_exhaustion_isolated_per_tenant(self, shared_env, quota_model):
        env = shared_env
        model = quota_model["model"]
        provider_path = quota_model["usage"]["provider_path"]
        _require_client_name_alias(model, env["tenant_a"])
    
        # Drive tenant A past its budget: at least one 200 must precede the
        # 429 (a fresh budget always admits the first request — see
        # test_tenant_rate_limit_isolation._exhaust_until_429).
        successes = 0
        limited = None
        deadline = time.time() + 90
        while time.time() &lt; deadline:
            limited = infer_external_chat(
                env["tenant_a"]["gateway_url"],
                model["namespace"],
                model["client_name"],
                quota_model["access_a"]["api_key"],
                provider_path=provider_path,
            )
            if limited.status_code == 200:
                successes += 1
            elif limited.status_code == 429:
                if successes:
                    break
            else:
&gt;               raise AssertionError(
                    f"unexpected inference response on tenant A: {redact_sensitive(limited.text)}"
                )
E               AssertionError: unexpected inference response on tenant A:

test/e2e/tests/test_tenant_external_model_shared.py:669: AssertionError</failure></testcase><testcase classname="tests.test_aitenant_lifecycle.TestAITenantLifecycle" name="test_aitenant_delete_releases_tenantconfig_finalizer@mt_lc_aitenant" time="84.245" /><testcase classname="tests.test_tenant_namespace_discovery.TestTenantNamespaceDiscovery" name="test_unlabeled_namespace_ignored@mt_lc_ns_discovery" time="106.596" /><testcase classname="tests.test_tenant_external_model_conflicts.TestModelNameConflict" name="test_tenant_own_model_wins_over_older_user_namespace_model@tenant_ipp_ext_conflicts" time="185.457" /><testcase classname="tests.test_external_model_routing.TestEqualProviderSelection" name="test_both_providers_receive_traffic@external" time="34.778" /><testcase classname="tests.test_external_model_routing.TestPartialWithdrawal" name="test_requests_survive_provider_b_removal@external" time="0.000"><skipped type="pytest.skip" message="provider withdrawal E2E for #108 is gated; set TENANT_EXTERNAL_MODEL_PARTIAL_WITHDRAWAL_E2E=true to enable (with it set, the #108 contract is expected to hold and a violation fails red)">/workspace/source/test/e2e/tests/test_external_model_routing.py:481: provider withdrawal E2E for #108 is gated; set TENANT_EXTERNAL_MODEL_PARTIAL_WITHDRAWAL_E2E=true to enable (with it set, the #108 contract is expected to hold and a violation fails red)</skipped></testcase><testcase classname="tests.test_external_model_routing.TestLastProviderWithdrawal" name="test_no_route_then_restored_after_recreate@external" time="25.357"><skipped type="pytest.skip" message="provider withdrawal E2E for #106 is gated; set TENANT_EXTERNAL_MODEL_LAST_PROVIDER_WITHDRAWAL_E2E=true to enable (with it set, the #106 contract is expected to hold and a violation fails red)">/workspace/source/test/e2e/tests/test_external_model_routing.py:564: provider withdrawal E2E for #106 is gated; set TENANT_EXTERNAL_MODEL_LAST_PROVIDER_WITHDRAWAL_E2E=true to enable (with it set, the #106 contract is expected to hold and a violation fails red)</skipped></testcase><testcase classname="tests.test_tenant_discovery_isolation" name="test_tenant_discovery_same_tenant_access@tenant_iso_discovery" time="0.001"><skipped type="pytest.skip" message="Skipping when Gateway uses ClusterIP + OpenShift Route (unsupported configuration). This mixes incompatible routing paradigms. Gateway has no external hostname in spec.listeners, so /v1/tenants returns an error. Supported configuration: LoadBalancer service with hostname in spec.listeners.">/workspace/source/test/e2e/tests/test_tenant_discovery_isolation.py:93: Skipping when Gateway uses ClusterIP + OpenShift Route (unsupported configuration). This mixes incompatible routing paradigms. Gateway has no external hostname in spec.listeners, so /v1/tenants returns an error. Supported configuration: LoadBalancer service with hostname in spec.listeners.</skipped></testcase><testcase classname="tests.test_tenant_discovery_isolation" name="test_tenant_discovery_cross_tenant_isolation@tenant_iso_discovery" time="0.001"><skipped type="pytest.skip" message="Skipping when Gateway uses ClusterIP + OpenShift Route (unsupported configuration). This mixes incompatible routing paradigms. Gateway has no external hostname in spec.listeners, so /v1/tenants returns an error. Supported configuration: LoadBalancer service with hostname in spec.listeners.">/workspace/source/test/e2e/tests/test_tenant_discovery_isolation.py:141: Skipping when Gateway uses ClusterIP + OpenShift Route (unsupported configuration). This mixes incompatible routing paradigms. Gateway has no external hostname in spec.listeners, so /v1/tenants returns an error. Supported configuration: LoadBalancer service with hostname in spec.listeners.</skipped></testcase><testcase classname="tests.test_tenant_discovery_isolation" name="test_tenant_discovery_unauthorized_access@tenant_iso_discovery" time="8.419" /><testcase classname="tests.test_tenant_discovery_isolation" name="test_tenant_discovery_each_tenant_returns_own_gateway@tenant_iso_discovery" time="0.001"><skipped type="pytest.skip" message="Skipping when Gateway uses ClusterIP + OpenShift Route (unsupported configuration). This mixes incompatible routing paradigms. Gateway has no external hostname in spec.listeners, so /v1/tenants returns an error. Supported configuration: LoadBalancer service with hostname in spec.listeners.">/workspace/source/test/e2e/tests/test_tenant_discovery_isolation.py:228: Skipping when Gateway uses ClusterIP + OpenShift Route (unsupported configuration). This mixes incompatible routing paradigms. Gateway has no external hostname in spec.listeners, so /v1/tenants returns an error. Supported configuration: LoadBalancer service with hostname in spec.listeners.</skipped></testcase><testcase classname="tests.test_tenant_external_model_conflicts.TestModelNameConflict" name="test_oldest_wins_when_no_tenant_own_model@tenant_ipp_ext_conflicts" time="34.316" /><testcase classname="tests.test_tenant_auto_resolve.TestTenantAutoResolve" name="test_auto_resolve_populates_resolved_tenant_ref@tenant_auto_resolve" time="127.118" /><testcase classname="tests.test_aitenant_lifecycle.TestAITenantLifecycle" name="test_aitenant_derives_non_default_tenant_namespace@mt_lc_aitenant" time="88.073" /><testcase classname="tests.test_tenant_namespace_discovery.TestTenantNamespaceDiscovery" name="test_dynamic_discovery_after_label_added@mt_lc_ns_discovery" time="143.582" /><testcase classname="tests.test_tenant_external_model_conflicts.TestSameNamedObjectsTwoNamespaces" name="test_same_named_objects_both_attach@tenant_ipp_ext_conflicts" time="65.249" /><testcase classname="tests.test_tenant_external_model_conflicts.TestSameNamedObjectsTwoNamespaces" name="test_same_named_objects_both_serve@tenant_ipp_ext_conflicts" time="0.518" /><testcase classname="tests.test_tenant_auto_resolve.TestTenantAutoResolve" name="test_explicit_tenant_ref_preserved@tenant_auto_resolve" time="156.339" /><testcase classname="tests.test_tenant_external_model_conflicts.TestForeignBrokenModelIsolation" name="test_broken_foreign_model_does_not_break_tenant_models@tenant_ipp_ext_conflicts" time="46.345" /><testcase classname="tests.test_tenant_external_model_conflicts.TestForeignBrokenModelIsolation" name="test_tenant_models_serve_after_broken_model_deleted@tenant_ipp_ext_conflicts" time="79.311" /><testcase classname="tests.test_tenant_namespace_discovery.TestTenantNamespaceDiscovery" name="test_namespace_qualified_collision_prevention@mt_lc_ns_discovery" time="215.568" /><testcase classname="tests.test_multi_tenant_integration.TestMultiTenantIntegration" name="test_full_tenant_lifecycle_create_to_delete@models_mt_integration" time="539.843" /><testcase classname="tests.test_tenant_auto_resolve.TestTenantAutoResolve" name="test_no_matching_tenant_enters_failed@tenant_auto_resolve" time="67.231" /><testcase classname="tests.test_tenant_external_model_compat.TestOmittedGatewayRefsUnchanged" name="test_omitted_gateway_refs_serve_via_tenant_local_resolution@tenant_ipp_ext_compat" time="64.903" /><testcase classname="tests.test_tenant_external_model_compat.TestOmittedGatewayRefsUnchanged" name="test_adding_own_tenant_gateway_refs_recreates_nothing@tenant_ipp_ext_compat" time="19.261" /><testcase classname="tests.test_multi_tenant_maas_api.TestPerTenantMaaSAPI" name="test_aitenant_creates_dedicated_maas_api_infrastructure@mt_lc_maas_api" time="145.016" /><testcase classname="tests.test_multi_tenant_maas_api.TestPerTenantMaaSAPI" name="test_tenant_name_environment_variable_set@mt_lc_maas_api" time="0.334" /><testcase classname="tests.test_multi_tenant_maas_api.TestPerTenantMaaSAPI" name="test_service_routing_isolation@mt_lc_maas_api" time="0.636" /><testcase classname="tests.test_multi_tenant_maas_api.TestPerTenantMaaSAPI" name="test_httproute_tenant_attachment@mt_lc_maas_api" time="0.327" /><testcase classname="tests.test_multi_tenant_maas_api.TestPerTenantMaaSAPI" name="test_default_and_multiple_tenants_coexist@mt_lc_maas_api" time="72.028" /><testcase classname="tests.test_tenant_namespace_discovery.TestTenantNamespaceDiscovery" name="test_tenant_admin_rbac_is_namespace_scoped@mt_lc_ns_discovery" time="254.988" /><testcase classname="tests.test_tenant_rate_limit_isolation.TestTenantRateLimitIsolation" name="test_rate_limit_enforced_per_tenant@tenant_iso_rate" time="199.318" /><testcase classname="tests.test_tenant_external_model_failure.TestTenantProviderFailureIsolation" name="test_upstream_failure_in_one_tenant_does_not_degrade_the_other@tenant_ipp_ext_failure" time="291.185" /><testcase classname="tests.test_tenant_subscription_isolation.TestTenantSubscriptionIsolation" name="test_subscription_list_scoped_to_tenant@tenant_iso_sub" time="342.419" /><testcase classname="tests.test_multi_tenant_integration.TestMultiTenantIntegration" name="test_default_tenant_unaffected_by_multitenancy_enablement@models_mt_integration" time="11.487" /><testcase classname="tests.test_tenant_namespace_discovery.TestTenantWebhookValidation" name="test_maassubscription_rejected_without_tenant_config_cr@mt_lc_ns_discovery" time="8.186" /><testcase classname="tests.test_multi_tenant_integration.TestMultiTenantIntegration" name="test_same_named_resources_across_tenants@models_mt_integration" time="205.182" /><testcase classname="tests.test_tenant_namespace_discovery.TestTenantWebhookValidation" name="test_maasauthpolicy_rejected_without_tenant_config_cr@mt_lc_ns_discovery" time="8.595" /><testcase classname="tests.test_tenant_namespace_discovery.TestLegacyDefaultNamespaceStillWorks" name="test_models_as_a_service_namespace_reconciles@mt_lc_ns_discovery" time="162.847" /><testcase classname="tests.test_tenant_rate_limit_isolation.TestTenantRateLimitIsolation" name="test_independent_tenant_rate_limits@tenant_iso_rate" time="330.419" /><testcase classname="tests.test_tenant_subscription_isolation.TestTenantSubscriptionIsolation" name="test_subscription_selection_per_tenant@tenant_iso_sub" time="174.742" /><testcase classname="tests.test_model_identity_conflict.TestModelIdentityConflictDetection" name="test_colliding_model_names_flagged_then_resolved@models_identity" time="185.943" /><testcase classname="tests.test_multi_tenant_integration.TestMultiTenantIntegration" name="test_tenant_namespace_label_change_triggers_reconciliation@models_mt_integration" time="199.128" /></testsuite></testsuites>