<?xml version="1.0" encoding="utf-8"?><testsuites name="pytest tests"><testsuite name="pytest" errors="5" failures="2" skipped="43" tests="231" time="894.529" timestamp="2026-09-08T14:09:17.703103+00:00" hostname="maas-group-test-tmhlf-e2e-maas-openshift-pod"><testcase classname="tests.test_model_identity_conflict.TestModelIdentityConflictDetection" name="test_colliding_model_names_flagged_then_resolved@models" time="226.130"><failure message="AssertionError: maasmodelref/e2e-conflict-a-ce93b475 in llm did not satisfy condition. Last object: {'apiVersion': 'maas.opendatahub.io/v1alpha1', 'kind': 'MaaSModelRef', 'metadata': {'annotations': {'kubectl.kubernetes.io/last-applied-configuration': '{&quot;apiVersion&quot;:&quot;maas.opendatahub.io/v1alpha1&quot;,&quot;kind&quot;:&quot;MaaSModelRef&quot;,&quot;metadata&quot;:{&quot;annotations&quot;:{},&quot;name&quot;:&quot;e2e-conflict-a-ce93b475&quot;,&quot;namespace&quot;:&quot;llm&quot;},&quot;spec&quot;:{&quot;modelRef&quot;:{&quot;kind&quot;:&quot;LLMInferenceService&quot;,&quot;name&quot;:&quot;e2e-conflict-a-ce93b475&quot;}}}\n'}, 'creationTimestamp': '2026-09-08T14:09:19Z', 'finalizers': ['maas.opendatahub.io/model-cleanup'], 'generation': 1, 'name': 'e2e-conflict-a-ce93b475', 'namespace': 'llm', 'resourceVersion': '31204', 'uid': 'a5011add-9252-419c-b5c5-388d61b40186'}, 'spec': {'modelRef': {'kind': 'LLMInferenceService', 'name': 'e2e-conflict-a-ce93b475'}}, 'status': {'conditions': [{'lastTransitionTime': '2026-09-08T14:09:20Z', 'message': 'Awaiting governance pairing', 'observedGeneration': 1, 'reason': 'BackendNotReady', 'status': 'False', 'type': 'Ready'}, {'lastTransitionTime': '2026-09-08T14:10:44Z', 'message': 'No active subscription and auth policy pairing found', 'observedGeneration': 1, 'reason': 'NoPairingFound', 'status': 'False', 'type': 'GovernanceAttached'}, {'lastTransitionTime': '2026-09-08T14:12:20Z', 'message': 'Backend is healthy', 'observedGeneration': 1, 'reason': 'RuntimeHealthy', 'status': 'True', 'type': 'RuntimeReady'}, {'lastTransitionTime': '2026-09-08T14:10:47Z', 'message': 'No other MaaSModelRef in this namespace resolves to the same model identity', 'observedGeneration': 1, 'reason': 'UniqueIdentity', 'status': 'True', 'type': 'ModelIdentityUnique'}], 'httpRouteGatewayName': 'maas-default-gateway', 'httpRouteGatewayNamespace': 'openshift-ingress', 'httpRouteName': 'e2e-conflict-a-ce93b475-kserve-route', 'httpRouteNamespace': 'llm', 'phase': 'Pending', 'resolvedModelAlias': 'publishers/llm/models/test/e2e-identity-conflict-ce93b475', 'resolvedTenantRef': 'models-as-a-service'}}">self = &lt;test_model_identity_conflict.TestModelIdentityConflictDetection object at 0x7f0ab0638bb0&gt;

    def test_colliding_model_names_flagged_then_resolved(self):
        suffix = uuid.uuid4().hex[:8]
        shared_model_name = f"test/e2e-identity-conflict-{suffix}"
        llmis_a = f"e2e-conflict-a-{suffix}"
        llmis_b = f"e2e-conflict-b-{suffix}"
        ref_a, ref_b = llmis_a, llmis_b
    
        try:
            # A single model with no siblings must be reported unique.
            _create_llmis(llmis_a, MODEL_NAMESPACE, DEFAULT_GATEWAY_NAME, GATEWAY_NAMESPACE, model_name=shared_model_name)
            _create_maas_model_ref(ref_a, MODEL_NAMESPACE, llmis_a)
    
            obj_a = wait_for_status_condition(
                "maasmodelref", ref_a, MODEL_NAMESPACE,
                condition_type=CONDITION, expected_status="True", timeout=120,
            )
            assert (obj_a.get("status") or {}).get("resolvedModelAlias"), (
                f"expected {ref_a} to have a resolvedModelAlias once the LLMIS exists"
            )
    
            # A second MaaSModelRef whose LLMIS declares the SAME spec.model.name
            # introduces a collision — this mirrors the reported production bug.
            _create_llmis(llmis_b, MODEL_NAMESPACE, DEFAULT_GATEWAY_NAME, GATEWAY_NAMESPACE, model_name=shared_model_name)
            _create_maas_model_ref(ref_b, MODEL_NAMESPACE, llmis_b)
    
&gt;           obj_a = wait_for_status_condition(
                "maasmodelref", ref_a, MODEL_NAMESPACE,
                condition_type=CONDITION, expected_status="False", timeout=120,
            )

test/e2e/tests/test_model_identity_conflict.py:94: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
test/e2e/tests/multitenancy_helpers.py:303: in wait_for_status_condition
    return wait_for_json(kind, name, namespace, predicate=_predicate, timeout=timeout, interval=interval)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

kind = 'maasmodelref', name = 'e2e-conflict-a-ce93b475', namespace = 'llm'

    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: maasmodelref/e2e-conflict-a-ce93b475 in llm did not satisfy condition. Last object: {'apiVersion': 'maas.opendatahub.io/v1alpha1', 'kind': 'MaaSModelRef', 'metadata': {'annotations': {'kubectl.kubernetes.io/last-applied-configuration': '{"apiVersion":"maas.opendatahub.io/v1alpha1","kind":"MaaSModelRef","metadata":{"annotations":{},"name":"e2e-conflict-a-ce93b475","namespace":"llm"},"spec":{"modelRef":{"kind":"LLMInferenceService","name":"e2e-conflict-a-ce93b475"}}}\n'}, 'creationTimestamp': '2026-09-08T14:09:19Z', 'finalizers': ['maas.opendatahub.io/model-cleanup'], 'generation': 1, 'name': 'e2e-conflict-a-ce93b475', 'namespace': 'llm', 'resourceVersion': '31204', 'uid': 'a5011add-9252-419c-b5c5-388d61b40186'}, 'spec': {'modelRef': {'kind': 'LLMInferenceService', 'name': 'e2e-conflict-a-ce93b475'}}, 'status': {'conditions': [{'lastTransitionTime': '2026-09-08T14:09:20Z', 'message': 'Awaiting governance pairing', 'observedGeneration': 1, 'reason': 'BackendNotReady', 'status': 'False', 'type': 'Ready'}, {'lastTransitionTime': '2026-09-08T14:10:44Z', 'message': 'No active subscription and auth policy pairing found', 'observedGeneration': 1, 'reason': 'NoPairingFound', 'status': 'False', 'type': 'GovernanceAttached'}, {'lastTransitionTime': '2026-09-08T14:12:20Z', 'message': 'Backend is healthy', 'observedGeneration': 1, 'reason': 'RuntimeHealthy', 'status': 'True', 'type': 'RuntimeReady'}, {'lastTransitionTime': '2026-09-08T14:10:47Z', 'message': 'No other MaaSModelRef in this namespace resolves to the same model identity', 'observedGeneration': 1, 'reason': 'UniqueIdentity', 'status': 'True', 'type': 'ModelIdentityUnique'}], 'httpRouteGatewayName': 'maas-default-gateway', 'httpRouteGatewayNamespace': 'openshift-ingress', 'httpRouteName': 'e2e-conflict-a-ce93b475-kserve-route', 'httpRouteNamespace': 'llm', 'phase': 'Pending', 'resolvedModelAlias': 'publishers/llm/models/test/e2e-identity-conflict-ce93b475', 'resolvedTenantRef': 'models-as-a-service'}}

test/e2e/tests/multitenancy_helpers.py:229: AssertionError</failure></testcase><testcase classname="tests.test_smoke" name="test_healthz_or_404@readonly" time="0.040" /><testcase classname="tests.test_namespace_scoping.TestMaaSAPIWatchNamespace" name="test_subscription_in_subscription_namespace_visible_to_api@security" time="0.004"><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.TestHeaderSpoofing" name="test_forged_identity_headers_rejected_on_key_mint[username-only]@security" time="0.340" /><testcase classname="tests.test_smoke" name="test_tokens_endpoint_replaced_by_api_keys@readonly" time="0.035" /><testcase classname="tests.test_smoke" name="test_models_catalog@readonly" time="0.040" /><testcase classname="tests.test_smoke" name="test_chat_completions_gateway_alive@readonly" time="0.081" /><testcase classname="tests.test_api_keys.TestAPIKeyCRUD" name="test_create_api_key@api_keys" time="0.261" /><testcase classname="tests.test_smoke" name="test_legacy_completions_optionally@readonly" time="0.052" /><testcase classname="tests.test_api_keys.TestAPIKeyCRUD" name="test_list_api_keys@api_keys" time="0.167" /><testcase classname="tests.test_negative_security.TestHeaderSpoofing" name="test_forged_identity_headers_rejected_on_key_mint[group-only]@security" time="0.928" /><testcase classname="tests.test_aitenant_lifecycle.TestAITenantLifecycle" name="test_default_aitenant_bootstraps_maas_tenant_config_without_gateway_mutation@mt_lifecycle" time="1.626" /><testcase classname="tests.test_api_keys.TestAPIKeyCRUD" name="test_revoke_api_key@api_keys" time="0.751" /><testcase classname="tests.test_tenant.TestTenantLifecycle" name="test_tenant_ready_and_phase_healthy@readonly" time="0.348" /><testcase classname="tests.test_tenant.TestTenantContract" name="test_status_has_phase_and_conditions@readonly" time="0.112" /><testcase classname="tests.test_tenant.TestTenantContract" name="test_spec_is_well_formed@readonly" time="0.110" /><testcase classname="tests.test_tenant.TestTenantContract" name="test_conditions_use_kubernetes_metav1_shape@readonly" time="0.106" /><testcase classname="tests.test_tenant.TestTenantNoFalseOwnership" name="test_maas_user_crs_not_owned_by_tenant@readonly" time="0.362" /><testcase classname="tests.test_api_keys.TestAPIKeyAuthorization" name="test_admin_manage_other_users_keys@api_keys" time="0.143" /><testcase classname="tests.test_negative_security.TestHeaderSpoofing" name="test_injected_identity_headers_rejected_on_inference@security" time="0.194" /><testcase classname="tests.test_api_keys.TestAPIKeyAuthorization" name="test_non_admin_cannot_access_other_users_keys@api_keys" time="0.107" /><testcase classname="tests.test_api_keys.TestAPIKeyBulkOperations" name="test_bulk_revoke_own_keys@api_keys" time="0.285" /><testcase classname="tests.test_negative_security.TestHeaderSpoofing" name="test_duplicate_subscription_headers_ignored@security" time="0.236" /><testcase classname="tests.test_config_tenant.TestConfigAnchorPresence" name="test_cluster_config_default_exists@readonly" time="0.394" /><testcase classname="tests.test_aitenant_lifecycle.TestAITenantLifecycle" name="test_aitenant_rejected_outside_ai_tenants_namespace@mt_lifecycle" time="9.672" /><testcase classname="tests.test_config_tenant.TestConfigAnchorPresence" name="test_cluster_config_not_terminating@readonly" time="0.136" /><testcase classname="tests.test_negative_security.TestExpiredKeyRejection" name="test_expired_key_rejected_at_gateway@security" time="5.077" /><testcase classname="tests.test_api_keys.TestAPIKeyBulkOperations" name="test_bulk_revoke_other_user_forbidden@api_keys" time="0.031" /><testcase classname="tests.test_api_keys.TestAPIKeyBulkOperations" name="test_bulk_revoke_admin_can_revoke_any_user@api_keys" time="0.099" /><testcase classname="tests.test_config_tenant.TestConfigTenantOwnership" name="test_default_aitenant_lists_config_owner_reference@readonly" time="0.106" /><testcase classname="tests.test_api_keys.TestAPIKeyBulkOperations" name="test_bulk_revoke_by_subscription@api_keys" time="1.648" /><testcase classname="tests.test_config_tenant.TestConfigTenantOwnership" name="test_tenant_config_lists_config_owner_reference@readonly" time="0.103" /><testcase classname="tests.test_config_tenant.TestConfigTenantOwnership" name="test_maas_controller_deployment_does_not_list_config_owner_reference@readonly" time="0.110" /><testcase classname="tests.test_tenant_discovery" name="test_tenant_discovery_requires_auth@readonly" time="3.213" /><testcase classname="tests.test_api_keys.TestAPIKeyBulkOperations" name="test_bulk_revoke_by_subscription_forbidden_for_non_admin@api_keys" time="0.038" /><testcase classname="tests.test_api_keys.TestAPIKeyBulkOperations" name="test_bulk_revoke_dry_run@api_keys" time="0.185" /><testcase classname="tests.test_api_keys.TestAPIKeyBulkOperations" name="test_bulk_revoke_dry_run_by_subscription@api_keys" time="1.546" /><testcase classname="tests.test_api_keys.TestAPIKeyBulkOperations" name="test_bulk_revoke_combined_user_and_subscription@api_keys" time="35.841" /><testcase classname="tests.test_tenant_discovery" name="test_tenant_discovery_with_invalid_token@readonly" time="3.967" /><testcase classname="tests.test_negative_security.TestCrossModelAccess" name="test_key_cannot_access_model_outside_subscription@security" time="34.169" /><testcase classname="tests.test_external_models.TestExternalModelDiscovery" name="test_maasmodelref_created@external" time="8.162" /><testcase classname="tests.test_external_models.TestExternalModelDiscovery" name="test_reconciler_created_httproute@external" time="0.111" /><testcase classname="tests.test_external_models.TestExternalModelDiscovery" name="test_reconciler_created_backend_service@external" time="0.115" /><testcase classname="tests.test_external_models.TestExternalModelAuth" name="test_invalid_key_returns_401@external" time="0.060" /><testcase classname="tests.test_external_models.TestExternalModelAuth" name="test_no_key_returns_401@external" time="0.028" /><testcase classname="tests.test_external_models.TestExternalModelEgress" name="test_request_forwarded_returns_200@external" time="0.089" /><testcase classname="tests.test_external_models.TestExternalModelCleanup" name="test_delete_removes_httproute@external" time="12.656" /><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:136: 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:212: 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.032" /><testcase classname="tests.test_tenant_auto_resolve.TestTenantAutoResolve" name="test_auto_resolve_populates_resolved_tenant_ref@tenant_auto_resolve" time="218.419" /><testcase classname="tests.test_aitenant_lifecycle.TestAITenantLifecycle" name="test_aitenant_create_bootstrap_resources@mt_lifecycle" time="45.150" /><testcase classname="tests.test_external_models.TestExternalModelPathRouting" name="test_wrong_path_returns_not_found@external" time="0.036" /><testcase classname="tests.test_external_models.TestLegacyExternalModelMigration" name="test_migration_sets_legacy_status_and_removes_networking@external" time="3.648" /><testcase classname="tests.test_external_models.TestExternalModelBodyRouting" name="test_correct_model_in_body_succeeds@external" time="0.338" /><testcase classname="tests.test_external_models.TestExternalModelBodyRouting" name="test_wrong_model_in_body_does_not_error@external" time="0.075" /><testcase classname="tests.test_external_models.TestExternalModelBodyRouting" name="test_missing_model_in_body_does_not_error@external" time="1.133" /><testcase classname="tests.test_external_oidc.TestOIDCTokenFlow" name="test_oidc_token_can_create_api_key@external" time="0.000"><skipped type="pytest.skip" message="EXTERNAL_OIDC is not true">/workspace/source/test/e2e/tests/test_external_oidc.py:252: EXTERNAL_OIDC is not true</skipped></testcase><testcase classname="tests.test_external_oidc.TestOIDCTokenFlow" name="test_invalid_oidc_token_gets_401@external" time="0.000"><skipped type="pytest.skip" message="EXTERNAL_OIDC is not true">/workspace/source/test/e2e/tests/test_external_oidc.py:263: EXTERNAL_OIDC is not true</skipped></testcase><testcase classname="tests.test_external_oidc.TestOIDCTokenFlow" name="test_empty_bearer_token_gets_401@external" time="0.000"><skipped type="pytest.skip" message="EXTERNAL_OIDC is not true">/workspace/source/test/e2e/tests/test_external_oidc.py:277: EXTERNAL_OIDC is not true</skipped></testcase><testcase classname="tests.test_external_oidc.TestOIDCTokenFlow" name="test_no_auth_header_gets_401@external" time="0.000"><skipped type="pytest.skip" message="EXTERNAL_OIDC is not true">/workspace/source/test/e2e/tests/test_external_oidc.py:290: EXTERNAL_OIDC is not true</skipped></testcase><testcase classname="tests.test_external_oidc.TestOIDCTokenFlow" name="test_tampered_expired_oidc_token_gets_401@external" time="0.000"><skipped type="pytest.skip" message="EXTERNAL_OIDC is not true">/workspace/source/test/e2e/tests/test_external_oidc.py:303: EXTERNAL_OIDC is not true</skipped></testcase><testcase classname="tests.test_external_oidc.TestOIDCTokenFlow" name="test_real_expired_oidc_token_gets_401@external" time="0.000"><skipped type="pytest.skip" message="EXTERNAL_OIDC is not true">/workspace/source/test/e2e/tests/test_external_oidc.py:335: EXTERNAL_OIDC is not true</skipped></testcase><testcase classname="tests.test_external_oidc.TestOIDCTokenClaims" name="test_token_contains_groups_claim@external" time="0.000"><skipped type="pytest.skip" message="EXTERNAL_OIDC is not true">/workspace/source/test/e2e/tests/test_external_oidc.py:379: EXTERNAL_OIDC is not true</skipped></testcase><testcase classname="tests.test_external_oidc.TestOIDCTokenClaims" name="test_token_contains_preferred_username@external" time="0.000"><skipped type="pytest.skip" message="EXTERNAL_OIDC is not true">/workspace/source/test/e2e/tests/test_external_oidc.py:395: EXTERNAL_OIDC is not true</skipped></testcase><testcase classname="tests.test_external_oidc.TestOIDCTokenClaims" name="test_different_users_have_different_groups@external" time="0.000"><skipped type="pytest.skip" message="EXTERNAL_OIDC is not true">/workspace/source/test/e2e/tests/test_external_oidc.py:405: EXTERNAL_OIDC is not true</skipped></testcase><testcase classname="tests.test_external_oidc.TestOIDCMultiUser" name="test_bob_sre_can_mint_api_key@external" time="0.000"><skipped type="pytest.skip" message="EXTERNAL_OIDC is not true">/workspace/source/test/e2e/tests/test_external_oidc.py:428: EXTERNAL_OIDC is not true</skipped></testcase><testcase classname="tests.test_external_oidc.TestOIDCMultiUser" name="test_wrong_password_gets_rejected@external" time="0.000"><skipped type="pytest.skip" message="EXTERNAL_OIDC is not true">/workspace/source/test/e2e/tests/test_external_oidc.py:436: EXTERNAL_OIDC is not true</skipped></testcase><testcase classname="tests.test_external_oidc.TestOIDCMultiUser" name="test_nonexistent_user_gets_rejected@external" time="0.000"><skipped type="pytest.skip" message="EXTERNAL_OIDC is not true">/workspace/source/test/e2e/tests/test_external_oidc.py:441: EXTERNAL_OIDC is not true</skipped></testcase><testcase classname="tests.test_external_oidc.TestOIDCModelAccess" name="test_minted_api_key_can_list_models_and_infer@external" time="0.000"><skipped type="pytest.skip" message="EXTERNAL_OIDC is not true">/workspace/source/test/e2e/tests/test_external_oidc.py:454: EXTERNAL_OIDC is not true</skipped></testcase><testcase classname="tests.test_external_oidc.TestOIDCModelAccess" name="test_revoked_api_key_cannot_access_models@external" time="0.000"><skipped type="pytest.skip" message="EXTERNAL_OIDC is not true">/workspace/source/test/e2e/tests/test_external_oidc.py:501: EXTERNAL_OIDC is not true</skipped></testcase><testcase classname="tests.test_external_oidc.TestOIDCModelAccess" name="test_oidc_user_without_group_access_gets_empty_list@external" time="0.000"><skipped type="pytest.skip" message="EXTERNAL_OIDC is not true">/workspace/source/test/e2e/tests/test_external_oidc.py:537: EXTERNAL_OIDC is not true</skipped></testcase><testcase classname="tests.test_external_oidc.TestOIDCMultiTenant" name="test_tenant_b_token_rejected_by_maas@external" time="0.000"><skipped type="pytest.skip" message="EXTERNAL_OIDC is not true">/workspace/source/test/e2e/tests/test_external_oidc.py:602: EXTERNAL_OIDC is not true</skipped></testcase><testcase classname="tests.test_external_oidc.TestOIDCMultiTenant" name="test_tenant_a_users_are_isolated@external" time="0.000"><skipped type="pytest.skip" message="EXTERNAL_OIDC is not true">/workspace/source/test/e2e/tests/test_external_oidc.py:633: EXTERNAL_OIDC is not true</skipped></testcase><testcase classname="tests.test_external_oidc.TestOIDCAPIKeyLifecycle" name="test_create_and_revoke_api_key@external" time="0.000"><skipped type="pytest.skip" message="EXTERNAL_OIDC is not true">/workspace/source/test/e2e/tests/test_external_oidc.py:659: EXTERNAL_OIDC is not true</skipped></testcase><testcase classname="tests.test_external_oidc.TestOIDCAPIKeyLifecycle" name="test_api_key_owner_matches_oidc_username@external" time="0.000"><skipped type="pytest.skip" message="EXTERNAL_OIDC is not true">/workspace/source/test/e2e/tests/test_external_oidc.py:690: EXTERNAL_OIDC is not true</skipped></testcase><testcase classname="tests.test_external_oidc.TestOIDCHeaderInjection" name="test_injected_username_header_rejected@external" time="0.000"><skipped type="pytest.skip" message="EXTERNAL_OIDC is not true">/workspace/source/test/e2e/tests/test_external_oidc.py:750: EXTERNAL_OIDC is not true</skipped></testcase><testcase classname="tests.test_external_oidc.TestOIDCHeaderInjection" name="test_injected_group_header_rejected@external" time="0.000"><skipped type="pytest.skip" message="EXTERNAL_OIDC is not true">/workspace/source/test/e2e/tests/test_external_oidc.py:786: EXTERNAL_OIDC is not true</skipped></testcase><testcase classname="tests.test_external_oidc.TestOIDCHeaderInjection" name="test_injected_subscription_header_ignored@external" time="0.000"><skipped type="pytest.skip" message="EXTERNAL_OIDC is not true">/workspace/source/test/e2e/tests/test_external_oidc.py:824: EXTERNAL_OIDC is not true</skipped></testcase><testcase classname="tests.test_external_oidc.TestOIDCHeaderInjection" name="test_injected_username_on_oidc_token_rejected@external" time="0.000"><skipped type="pytest.skip" message="EXTERNAL_OIDC is not true">/workspace/source/test/e2e/tests/test_external_oidc.py:872: EXTERNAL_OIDC is not true</skipped></testcase><testcase classname="tests.test_external_oidc.TestOIDCClientBinding" name="test_wrong_oauth_client_token_is_rejected@external" time="0.000"><skipped type="pytest.skip" message="EXTERNAL_OIDC not enabled">/workspace/source/test/e2e/tests/test_external_oidc.py:961: EXTERNAL_OIDC not enabled</skipped></testcase><testcase classname="tests.test_external_oidc.TestOIDCGroupSafety" name="test_unsafe_group_name_is_rejected@external" time="0.000"><skipped type="pytest.skip" message="EXTERNAL_OIDC not enabled">/workspace/source/test/e2e/tests/test_external_oidc.py:1013: EXTERNAL_OIDC not enabled</skipped></testcase><testcase classname="tests.test_external_oidc.TestOIDCGroupSafety" name="test_mixed_safe_and_unsafe_groups_is_rejected@external" time="0.000"><skipped type="pytest.skip" message="EXTERNAL_OIDC not enabled">/workspace/source/test/e2e/tests/test_external_oidc.py:1049: EXTERNAL_OIDC not enabled</skipped></testcase><testcase classname="tests.test_external_oidc.TestOIDCDirectModelAccess" name="test_oidc_token_can_list_models_directly@external" time="0.000"><skipped type="pytest.skip" message="EXTERNAL_OIDC not enabled">/workspace/source/test/e2e/tests/test_external_oidc.py:1103: EXTERNAL_OIDC not enabled</skipped></testcase><testcase classname="tests.test_external_oidc.TestOIDCAlertingInfra" name="test_authorino_prometheusrule_exists@external" time="0.001"><skipped type="pytest.skip" message="EXTERNAL_OIDC not enabled">/workspace/source/test/e2e/tests/test_external_oidc.py:1142: EXTERNAL_OIDC not enabled</skipped></testcase><testcase classname="tests.test_negative_security.TestMissingModelRef" name="test_subscription_with_nonexistent_model_ref@security" time="1.041" /><testcase classname="tests.test_api_keys.TestAPIKeyBulkOperations" name="test_bulk_revoke_missing_scope_returns_400@api_keys" time="0.039" /><testcase classname="tests.test_api_keys.TestAPIKeyExpiration" name="test_create_key_within_expiration_limit@api_keys" time="0.084" /><testcase classname="tests.test_api_keys.TestAPIKeyExpiration" name="test_create_key_at_expiration_limit@api_keys" time="0.035" /><testcase classname="tests.test_api_keys.TestAPIKeyExpiration" name="test_create_key_exceeds_expiration_limit@api_keys" time="0.067" /><testcase classname="tests.test_api_keys.TestAPIKeyExpiration" name="test_create_key_without_expiration@api_keys" time="0.091" /><testcase classname="tests.test_api_keys.TestAPIKeyExpiration" name="test_create_key_with_short_expiration@api_keys" time="0.038" /><testcase classname="tests.test_api_keys.TestAPIKeyModelInference" name="test_api_key_model_access_success@api_keys" time="0.204" /><testcase classname="tests.test_api_keys.TestAPIKeyModelInference" name="test_invalid_api_key_rejected@api_keys" time="0.069" /><testcase classname="tests.test_api_keys.TestAPIKeyModelInference" name="test_no_auth_header_rejected@api_keys" time="0.077" /><testcase classname="tests.test_api_keys.TestAPIKeyModelInference" name="test_revoked_api_key_rejected@api_keys" time="2.250" /><testcase classname="tests.test_negative_security.TestMissingModelRef" name="test_authpolicy_with_nonexistent_model_ref@security" time="0.712" /><testcase classname="tests.test_negative_security.TestHeaderAbuse" name="test_special_characters_in_subscription_header@security" time="0.457" /><testcase classname="tests.test_negative_security.TestWebhookValidation" name="test_subscription_rejected_in_unlabeled_namespace@security" time="7.341" /><testcase classname="tests.test_api_keys.TestAPIKeyModelInference" name="test_api_key_chat_completions@api_keys" time="0.043" /><testcase classname="tests.test_api_keys.TestAPIKeyRevocationE2E" name="test_double_revoke_returns_404@api_keys" time="0.129" /><testcase classname="tests.test_api_keys.TestAPIKeyRevocationE2E" name="test_revoke_nonexistent_key_returns_404@api_keys" time="0.038" /><testcase classname="tests.test_api_keys.TestAPIKeyRevocationE2E" name="test_revoke_then_create_new_key_works@api_keys" time="0.221" /><testcase classname="tests.test_api_keys.TestAPIKeyRevocationE2E" name="test_individual_revoke_multiple_keys@api_keys" time="0.217" /><testcase classname="tests.test_api_keys.TestAPIKeyRevocationE2E" name="test_revoke_keys_rejected_at_gateway@api_keys" time="0.349" /><testcase classname="tests.test_api_keys.TestEphemeralKeyCleanup" name="test_cronjob_exists_and_configured@api_keys" time="0.116" /><testcase classname="tests.test_api_keys.TestEphemeralKeyCleanup" name="test_cleanup_networkpolicy_exists@api_keys" time="0.110" /><testcase classname="tests.test_api_keys.TestEphemeralKeyCleanup" name="test_create_ephemeral_key@api_keys" time="0.115" /><testcase classname="tests.test_api_keys.TestEphemeralKeyCleanup" name="test_trigger_cleanup_preserves_active_keys@api_keys" time="0.463" /><testcase classname="tests.test_api_keys.TestAPIKeySubscriptionPhases" name="test_create_key_for_active_subscription@api_keys" time="1.491" /><testcase classname="tests.test_api_keys.TestAPIKeySubscriptionPhases" name="test_create_key_for_degraded_subscription@api_keys" time="1.520" /><testcase classname="tests.test_api_keys.TestAPIKeySubscriptionPhases" name="test_create_key_for_failed_subscription@api_keys" time="1.483" /><testcase classname="tests.test_api_keys.TestAPIKeySubscriptionFilter" name="test_search_filters_by_subscription@api_keys" time="2.258" /><testcase classname="tests.test_negative_security.TestWebhookValidation" name="test_authpolicy_rejected_in_unlabeled_namespace@security" time="8.120" /><testcase classname="tests.test_api_keys.TestAPIKeySubscriptionFilter" name="test_search_without_subscription_returns_all@api_keys" time="0.282" /><testcase classname="tests.test_api_keys.TestAPIKeyLabels" name="test_create_api_key_with_labels@api_keys" time="0.062" /><testcase classname="tests.test_api_keys.TestAPIKeyLabels" name="test_search_api_keys_by_labels@api_keys" time="0.158" /><testcase classname="tests.test_api_keys.TestAPIKeyLabels" name="test_labels_validation_errors@api_keys" time="0.095" /><testcase classname="tests.test_api_keys.TestAPIKeyLabels" name="test_backward_compatibility_no_labels@api_keys" time="0.065" /><testcase classname="tests.test_subscription.TestAuthEnforcement" name="test_authorized_user_gets_200@api_keys" time="0.071" /><testcase classname="tests.test_subscription.TestAuthEnforcement" name="test_no_auth_gets_401@api_keys" time="0.035" /><testcase classname="tests.test_subscription.TestAuthEnforcement" name="test_invalid_token_gets_403@api_keys" time="0.038" /><testcase classname="tests.test_subscription.TestAuthEnforcement" name="test_wrong_group_gets_403@api_keys" time="0.032" /><testcase classname="tests.test_subscription.TestAPIKeySubscriptionBinding" name="test_create_api_key_uses_highest_priority_subscription@api_keys" time="0.322" /><testcase classname="tests.test_subscription.TestAPIKeySubscriptionBinding" name="test_create_api_key_with_explicit_simulator_subscription@api_keys" time="0.079" /><testcase classname="tests.test_subscription.TestAPIKeySubscriptionBinding" name="test_create_api_key_nonexistent_subscription_errors@api_keys" time="0.255" /><testcase classname="tests.test_subscription.TestSubscriptionEnforcement" name="test_subscribed_user_gets_200@api_keys" time="0.150" /><testcase classname="tests.test_subscription.TestSubscriptionEnforcement" name="test_auth_pass_no_subscription_gets_403@api_keys" time="0.616" /><testcase classname="tests.test_subscription.TestMultipleAuthPoliciesPerModel" name="test_two_auth_policies_or_logic@api_keys" time="1.092" /><testcase classname="tests.test_subscription.TestCascadeDeletion" name="test_unconfigured_model_denied_by_gateway_auth@api_keys" time="0.495" /><testcase classname="tests.test_aitenant_lifecycle.TestAITenantLifecycle" name="test_aitenant_migrates_and_removes_legacy_tenant@mt_lifecycle" time="35.109" /><testcase classname="tests.test_subscription.TestOrderingEdgeCases" name="test_subscription_before_auth_policy@api_keys" time="3.983" /><testcase classname="tests.test_negative_security.TestInternalEndpointIsolation" name="test_internal_endpoint_not_routable[subscriptions-select]@security" time="0.607" /><testcase classname="tests.test_negative_security.TestInternalEndpointIsolation" name="test_internal_endpoint_not_routable[api-keys-cleanup]@security" time="0.141" /><testcase classname="tests.test_negative_security.TestInternalEndpointIsolation" name="test_internal_endpoint_not_routable[api-keys-validate]@security" time="0.140" /><testcase classname="tests.test_negative_security.TestInternalEndpointIsolation" name="test_health_endpoint_accessible@security" time="0.025" /><testcase classname="tests.test_negative_security.TestInternalEndpointIsolation" name="test_v1_models_via_maas_api_prefix@security" time="0.150" /><testcase classname="tests.test_subscription.TestManagedAnnotation" name="test_authpolicy_managed_false_prevents_update@api_keys" time="0.226"><skipped type="pytest.skip" message="gateway-only mode: per-model AuthPolicy is not created">/workspace/source/test/e2e/tests/test_subscription.py:1069: gateway-only mode: per-model AuthPolicy is not created</skipped></testcase><testcase classname="tests.test_subscription.TestManagedAnnotation" name="test_trlp_managed_false_prevents_update@api_keys" time="5.868" /><testcase classname="tests.test_subscription.TestE2ESubscriptionFlow" name="test_e2e_with_both_access_and_subscription_gets_200@api_keys" time="1.892" /><testcase classname="tests.test_subscription.TestE2ESubscriptionFlow" name="test_e2e_with_subscription_but_no_access_gets_403@api_keys" time="2.004" /><testcase classname="tests.test_subscription.TestE2ESubscriptionFlow" name="test_e2e_multiple_subscriptions_separate_keys_gets_200@api_keys" time="1.915" /><testcase classname="tests.test_subscription.TestE2ESubscriptionFlow" name="test_e2e_mint_api_key_denied_for_inaccessible_subscription@api_keys" time="2.130" /><testcase classname="tests.test_subscription.TestE2ESubscriptionFlow" name="test_e2e_group_based_access_gets_200@api_keys" time="1.399" /><testcase classname="tests.test_subscription.TestE2ESubscriptionFlow" name="test_e2e_group_based_subscription_but_no_auth_gets_403@api_keys" time="1.543" /><testcase classname="tests.test_subscription.TestStatusReporting" name="test_subscription_active_status_with_valid_model@api_keys" time="1.393" /><testcase classname="tests.test_subscription.TestStatusReporting" name="test_subscription_failed_status_with_missing_model@api_keys" time="0.877" /><testcase classname="tests.test_subscription.TestStatusReporting" name="test_authpolicy_active_status_with_valid_model@api_keys" time="3.158" /><testcase classname="tests.test_subscription.TestStatusReporting" name="test_authpolicy_failed_status_with_missing_model@api_keys" time="0.947" /><testcase classname="tests.test_subscription.TestStatusReporting" name="test_subscription_degraded_status_with_partial_models@api_keys" time="1.335" /><testcase classname="tests.test_subscription.TestStatusReporting" name="test_authpolicy_degraded_status_with_partial_models@api_keys" time="0.887" /><testcase classname="tests.test_subscription.TestStatusReporting" name="test_subscription_status_transitions_on_model_deletion@api_keys" time="10.835" /><testcase classname="tests.test_aitenant_lifecycle.TestAITenantLifecycle" name="test_aitenant_delete_cleans_maas_resources_and_preserves_user_objects@mt_lifecycle" time="36.651" /><testcase classname="tests.test_subscription.TestDegradedSubscriptionFiltering" name="test_degraded_healthy_model_allows_inference@api_keys" time="1.317" /><testcase classname="tests.test_subscription.TestDegradedSubscriptionFiltering" name="test_failed_subscription_blocks_inference@api_keys" time="1.579" /><testcase classname="tests.test_subscription.TestDegradedSubscriptionFiltering" name="test_models_endpoint_with_degraded_subscription_api_key@api_keys" time="1.302" /><testcase classname="tests.test_subscription.TestDegradedSubscriptionFiltering" name="test_models_endpoint_with_degraded_subscription_kube_token@api_keys" time="1.282" /><testcase classname="tests.test_subscription_list_endpoints.TestListSubscriptions" name="test_returns_accessible_subscriptions@api_keys" time="0.402" /><testcase classname="tests.test_subscription_list_endpoints.TestListSubscriptions" name="test_unauthenticated_returns_401@api_keys" time="0.125" /><testcase classname="tests.test_subscription_list_endpoints.TestListSubscriptions" name="test_subscription_includes_model_refs@api_keys" time="0.929" /><testcase classname="tests.test_subscription_list_endpoints.TestListSubscriptions" name="test_model_ref_display_name_and_description_enriched@api_keys" time="18.548" /><testcase classname="tests.test_subscription_list_endpoints.TestListSubscriptionsForModel" name="test_returns_subscriptions_for_model@api_keys" time="9.033" /><testcase classname="tests.test_aitenant_lifecycle.TestAITenantLifecycle" name="test_aitenant_derives_non_default_tenant_namespace@mt_lifecycle" time="35.888" /><testcase classname="tests.test_subscription_list_endpoints.TestListSubscriptionsForModel" name="test_unknown_model_returns_empty@api_keys" time="0.403" /><testcase classname="tests.test_subscription_list_endpoints.TestListSubscriptionsForModel" name="test_unauthenticated_returns_401@api_keys" time="0.029" /><testcase classname="tests.test_subscription_list_endpoints.TestSubscriptionModelAccessFiltering" name="test_filters_unauthorized_models@api_keys" time="11.863" /><testcase classname="tests.test_subscription_list_endpoints.TestSubscriptionModelAccessFiltering" name="test_omits_subscription_with_no_authorized_models@api_keys" time="11.916" /><testcase classname="tests.test_embedding_inference.TestEmbeddingPathRouting" name="test_embedding_path_based_200@api_keys" time="0.053" /><testcase classname="tests.test_embedding_inference.TestEmbeddingPathRouting" name="test_embedding_bbr_llmisvc_200@api_keys" time="13.751" /><testcase classname="tests.test_tenant_namespace_discovery.TestTenantNamespaceDiscovery" name="test_labeled_tenant_namespace_is_discovered@mt_lifecycle" time="8.454" /><testcase classname="tests.test_tenant_namespace_discovery.TestTenantNamespaceDiscovery" name="test_label_removal_stops_reconciliation@mt_lifecycle" time="32.911" /><testcase classname="tests.test_tenant_namespace_discovery.TestTenantNamespaceDiscovery" name="test_unlabeled_namespace_ignored@mt_lifecycle" time="23.017" /><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_explicit_subscription_header@models" time="1.270" /><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_empty_subscription_header_value@models" time="0.418" /><testcase classname="tests.test_tenant_auto_resolve.TestTenantAutoResolve" name="test_explicit_tenant_ref_preserved@tenant_auto_resolve" time="76.483" /><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_models_filtered_by_subscription@models" time="0.946" /><testcase classname="tests.test_tenant_namespace_discovery.TestTenantNamespaceDiscovery" name="test_dynamic_discovery_after_label_added@mt_lifecycle" time="18.059" /><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_deduplication_same_model_multiple_refs@models" time="1.506" /><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_multiple_distinct_models_in_subscription@models" time="18.693" /><testcase classname="tests.test_tenant_namespace_discovery.TestTenantNamespaceDiscovery" name="test_per_tenant_oidc_configuration@mt_lifecycle" time="0.001"><skipped type="pytest.skip" message="OIDC_ISSUER_URL not set; per-tenant OIDC E2E requires external OIDC deploy">/workspace/source/test/e2e/tests/test_tenant_namespace_discovery.py:189: OIDC_ISSUER_URL not set; per-tenant OIDC E2E requires external OIDC deploy</skipped></testcase><testcase classname="tests.test_tenant_namespace_discovery.TestTenantNamespaceDiscovery" name="test_namespace_qualified_collision_prevention@mt_lifecycle" time="16.763" /><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_user_token_returns_all_models@models" time="19.731" /><testcase classname="tests.test_tenant_namespace_discovery.TestTenantNamespaceDiscovery" name="test_tenant_admin_rbac_is_namespace_scoped@mt_lifecycle" time="56.540" /><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_user_token_with_subscription_header_filters@models" time="1.434" /><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_response_schema_matches_openapi@models" time="0.379" /><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_model_metadata_preserved@models" time="0.390" /><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_api_key_scoped_to_subscription@models" time="1.498" /><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_api_key_with_deleted_subscription_403@models" time="1.553" /><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_api_key_with_inaccessible_subscription_403@models" time="1.745" /><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_invalid_subscription_header_403@models" time="1.580" /><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_access_denied_to_subscription_403@models" time="2.334" /><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_api_key_ignores_subscription_header@models" time="21.005" /><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_multiple_api_keys_different_subscriptions@models" time="15.481" /><testcase classname="tests.test_tenant_auto_resolve.TestTenantAutoResolve" name="test_no_matching_tenant_enters_failed@tenant_auto_resolve" time="45.176" /><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_service_account_token_multiple_subs_no_header@models" time="11.142" /><testcase classname="tests.test_tenant_namespace_discovery.TestTenantWebhookValidation" name="test_maassubscription_rejected_without_tenant_config_cr@mt_lifecycle" time="8.190" /><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_service_account_token_multiple_subs_with_header@models" time="11.251" /><testcase classname="tests.test_tenant_namespace_discovery.TestTenantWebhookValidation" name="test_maasauthpolicy_rejected_without_tenant_config_cr@mt_lifecycle" time="7.357" /><testcase classname="tests.test_tenant_namespace_discovery.TestTenantDiscoveryDormantMode" name="test_dormant_mode_ignores_labeled_namespace@mt_lifecycle" time="0.001"><skipped type="pytest.skip" message="Dormant-mode test mutates controller flags; set ENABLE_TENANT_DISCOVERY_DORMANT_E2E=true">/workspace/source/test/e2e/tests/test_tenant_namespace_discovery.py:355: Dormant-mode test mutates controller flags; set ENABLE_TENANT_DISCOVERY_DORMANT_E2E=true</skipped></testcase><testcase classname="tests.test_tenant_namespace_discovery.TestLegacyDefaultNamespaceStillWorks" name="test_models_as_a_service_namespace_reconciles@mt_lifecycle" time="0.598" /><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_unauthenticated_request_401@models" time="0.038" /><testcase classname="tests.test_gateway_scoped_authpolicy.TestGatewayAuthPolicyStructure" name="test_target_ref_points_to_gateway@models" time="0.248" /><testcase classname="tests.test_gateway_scoped_authpolicy.TestGatewayAuthPolicyStructure" name="test_no_per_model_authpolicy_for_fixture_model@models" time="0.116" /><testcase classname="tests.test_gateway_scoped_authpolicy.TestGatewayAuthPolicyLifecycle" name="test_gateway_auth_rego_is_fixed_size@models" time="1.186" /><testcase classname="tests.test_gateway_scoped_authpolicy.TestGatewayAuthPolicyLifecycle" name="test_only_one_gateway_authpolicy_named_maas_gateway_auth@models" time="0.246" /><testcase classname="tests.test_gateway_scoped_authpolicy.TestGatewayAuthPolicyManagementEndpointAccess" name="test_gateway_auth_group_membership_has_when_guard@models" time="0.115" /><testcase classname="tests.test_gateway_scoped_authpolicy.TestGatewayAuthPolicyManagementEndpointAccess" name="test_gateway_auth_subscription_check_gated_by_model_identity@models" time="0.112" /><testcase classname="tests.test_gateway_scoped_authpolicy.TestGatewayAuthPolicyManagementEndpointAccess" name="test_gateway_default_auth_scoped_if_present@models" time="0.119"><skipped type="pytest.skip" message="gateway-default-auth not present (maas-gateway-auth is active); scoping is validated by unit tests">/workspace/source/test/e2e/tests/test_gateway_scoped_authpolicy.py:212: gateway-default-auth not present (maas-gateway-auth is active); scoping is validated by unit tests</skipped></testcase><testcase classname="tests.test_tenant_discovery_isolation" name="test_tenant_discovery_same_tenant_access@mt_lifecycle" time="58.670"><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:133: 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@mt_lifecycle" 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:181: 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@mt_lifecycle" time="12.821" /><testcase classname="tests.test_tenant_model_inference.TestTenantModelInference" name="test_model_routes_through_tenant_gateway@tenant_isolation" time="397.084"><error message="failed on setup with &quot;AssertionError: maasmodelref/test-model-cb068d in ai-tenant-e2e-inf-a-cb068d did not satisfy condition. Last object: {'apiVersion': 'maas.opendatahub.io/v1alpha1', 'kind': 'MaaSModelRef', 'metadata': {'annotations': {'kubectl.kubernetes.io/last-applied-configuration': '{&quot;apiVersion&quot;:&quot;maas.opendatahub.io/v1alpha1&quot;,&quot;kind&quot;:&quot;MaaSModelRef&quot;,&quot;metadata&quot;:{&quot;annotations&quot;:{},&quot;name&quot;:&quot;test-model-cb068d&quot;,&quot;namespace&quot;:&quot;ai-tenant-e2e-inf-a-cb068d&quot;},&quot;spec&quot;:{&quot;modelRef&quot;:{&quot;kind&quot;:&quot;LLMInferenceService&quot;,&quot;name&quot;:&quot;test-model-cb068d&quot;}}}\n'}, 'creationTimestamp': '2026-09-08T14:12:14Z', 'finalizers': ['maas.opendatahub.io/model-cleanup'], 'generation': 1, 'name': 'test-model-cb068d', 'namespace': 'ai-tenant-e2e-inf-a-cb068d', 'resourceVersion': '31119', 'uid': 'b91d8826-bee8-4133-94b9-52ace8c672c3'}, 'spec': {'modelRef': {'kind': 'LLMInferenceService', 'name': 'test-model-cb068d'}}, 'status': {'conditions': [{'lastTransitionTime': '2026-09-08T14:12:14Z', 'message': 'Active governance pairing found', 'observedGeneration': 1, 'reason': 'GovernancePaired', 'status': 'True', 'type': 'GovernanceAttached'}, {'lastTransitionTime': '2026-09-08T14:12:14Z', 'message': 'Backend is not ready', 'observedGeneration': 1, 'reason': 'RuntimeHealthFailure', 'status': 'False', 'type': 'RuntimeReady'}, {'lastTransitionTime': '2026-09-08T14:12:14Z', 'message': 'No other MaaSModelRef in this namespace resolves to the same model identity', 'observedGeneration': 1, 'reason': 'UniqueIdentity', 'status': 'True', 'type': 'ModelIdentityUnique'}, {'lastTransitionTime': '2026-09-08T14:12:14Z', 'message': 'Governed but backend is not ready', 'observedGeneration': 1, 'reason': 'BackendNotReady', 'status': 'False', 'type': 'Ready'}], 'httpRouteGatewayName': 'e2e-inf-a-cb068d', 'httpRouteGatewayNamespace': 'openshift-ingress', 'httpRouteName': 'test-model-cb068d-kserve-route', 'httpRouteNamespace': 'ai-tenant-e2e-inf-a-cb068d', 'phase': 'Unhealthy', 'resolvedModelAlias': 'publishers/ai-tenant-e2e-inf-a-cb068d/models/facebook/opt-125m', 'resolvedTenantRef': 'e2e-inf-a-cb068d'}}&quot;">@pytest.fixture(scope="module")
    def tenant_inference_cases():
        """Set up two tenants with models for inference testing."""
        require_aitenant_crd()
        case_a = new_named_tenant_case("e2e-inf-a")
        case_b = new_named_tenant_case("e2e-inf-b")
    
        try:
            # Bootstrap tenants
            for case in (case_a, case_b):
                bootstrap_aitenant_tenant(case)
    
            # Create models in each tenant namespace
            for case in (case_a, case_b):
                model_name = f"test-model-{case['suffix']}"
                # Track model name early for cleanup
                case["model_name"] = model_name
    
                # Create LLMIS pointing to tenant gateway
                _create_llmis(
                    model_name,
                    case["tenant_ns"],
                    case["gateway_name"],
                    GATEWAY_NAMESPACE,
                )
    
                # Wait for HTTPRoute to be accepted on the tenant gateway
                wait_for_httproute_accepted(
                    f"{model_name}-kserve-route",
                    case["tenant_ns"],
                    case["gateway_name"],
                    timeout=180,
                )
    
                # Create MaaSModelRef
                _create_maas_model_ref(model_name, case["tenant_ns"], model_name)
    
                # Create subscription and auth policy (both needed for Ready status)
                apply_maas_subscription(
                    f"{model_name}-sub",
                    case["tenant_ns"],
                    model_ref=model_name,
                    model_namespace=case["tenant_ns"],
                    token_limit=10000,
                )
                apply_maas_auth_policy(
                    f"{model_name}-auth",
                    case["tenant_ns"],
                    model_ref=model_name,
                    model_namespace=case["tenant_ns"],
                )
    
                # Wait for MaaSModelRef to report Ready
&gt;               wait_for_status_phase(
                    "maasmodelref",
                    model_name,
                    case["tenant_ns"],
                    expected_phase="Ready",
                    timeout=180,
                )

test/e2e/tests/test_tenant_model_inference.py:128: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
test/e2e/tests/multitenancy_helpers.py:284: in wait_for_status_phase
    return wait_for_json(kind, name, namespace, predicate=_predicate, timeout=timeout, interval=interval)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

kind = 'maasmodelref', name = 'test-model-cb068d'
namespace = 'ai-tenant-e2e-inf-a-cb068d'

    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: maasmodelref/test-model-cb068d in ai-tenant-e2e-inf-a-cb068d did not satisfy condition. Last object: {'apiVersion': 'maas.opendatahub.io/v1alpha1', 'kind': 'MaaSModelRef', 'metadata': {'annotations': {'kubectl.kubernetes.io/last-applied-configuration': '{"apiVersion":"maas.opendatahub.io/v1alpha1","kind":"MaaSModelRef","metadata":{"annotations":{},"name":"test-model-cb068d","namespace":"ai-tenant-e2e-inf-a-cb068d"},"spec":{"modelRef":{"kind":"LLMInferenceService","name":"test-model-cb068d"}}}\n'}, 'creationTimestamp': '2026-09-08T14:12:14Z', 'finalizers': ['maas.opendatahub.io/model-cleanup'], 'generation': 1, 'name': 'test-model-cb068d', 'namespace': 'ai-tenant-e2e-inf-a-cb068d', 'resourceVersion': '31119', 'uid': 'b91d8826-bee8-4133-94b9-52ace8c672c3'}, 'spec': {'modelRef': {'kind': 'LLMInferenceService', 'name': 'test-model-cb068d'}}, 'status': {'conditions': [{'lastTransitionTime': '2026-09-08T14:12:14Z', 'message': 'Active governance pairing found', 'observedGeneration': 1, 'reason': 'GovernancePaired', 'status': 'True', 'type': 'GovernanceAttached'}, {'lastTransitionTime': '2026-09-08T14:12:14Z', 'message': 'Backend is not ready', 'observedGeneration': 1, 'reason': 'RuntimeHealthFailure', 'status': 'False', 'type': 'RuntimeReady'}, {'lastTransitionTime': '2026-09-08T14:12:14Z', 'message': 'No other MaaSModelRef in this namespace resolves to the same model identity', 'observedGeneration': 1, 'reason': 'UniqueIdentity', 'status': 'True', 'type': 'ModelIdentityUnique'}, {'lastTransitionTime': '2026-09-08T14:12:14Z', 'message': 'Governed but backend is not ready', 'observedGeneration': 1, 'reason': 'BackendNotReady', 'status': 'False', 'type': 'Ready'}], 'httpRouteGatewayName': 'e2e-inf-a-cb068d', 'httpRouteGatewayNamespace': 'openshift-ingress', 'httpRouteName': 'test-model-cb068d-kserve-route', 'httpRouteNamespace': 'ai-tenant-e2e-inf-a-cb068d', 'phase': 'Unhealthy', 'resolvedModelAlias': 'publishers/ai-tenant-e2e-inf-a-cb068d/models/facebook/opt-125m', 'resolvedTenantRef': 'e2e-inf-a-cb068d'}}

test/e2e/tests/multitenancy_helpers.py:229: AssertionError</error></testcase><testcase classname="tests.test_tenant_model_inference.TestTenantModelInference" name="test_inference_succeeds_through_tenant_gateway@tenant_isolation" time="0.001"><error message="failed on setup with &quot;AssertionError: maasmodelref/test-model-cb068d in ai-tenant-e2e-inf-a-cb068d did not satisfy condition. Last object: {'apiVersion': 'maas.opendatahub.io/v1alpha1', 'kind': 'MaaSModelRef', 'metadata': {'annotations': {'kubectl.kubernetes.io/last-applied-configuration': '{&quot;apiVersion&quot;:&quot;maas.opendatahub.io/v1alpha1&quot;,&quot;kind&quot;:&quot;MaaSModelRef&quot;,&quot;metadata&quot;:{&quot;annotations&quot;:{},&quot;name&quot;:&quot;test-model-cb068d&quot;,&quot;namespace&quot;:&quot;ai-tenant-e2e-inf-a-cb068d&quot;},&quot;spec&quot;:{&quot;modelRef&quot;:{&quot;kind&quot;:&quot;LLMInferenceService&quot;,&quot;name&quot;:&quot;test-model-cb068d&quot;}}}\n'}, 'creationTimestamp': '2026-09-08T14:12:14Z', 'finalizers': ['maas.opendatahub.io/model-cleanup'], 'generation': 1, 'name': 'test-model-cb068d', 'namespace': 'ai-tenant-e2e-inf-a-cb068d', 'resourceVersion': '31119', 'uid': 'b91d8826-bee8-4133-94b9-52ace8c672c3'}, 'spec': {'modelRef': {'kind': 'LLMInferenceService', 'name': 'test-model-cb068d'}}, 'status': {'conditions': [{'lastTransitionTime': '2026-09-08T14:12:14Z', 'message': 'Active governance pairing found', 'observedGeneration': 1, 'reason': 'GovernancePaired', 'status': 'True', 'type': 'GovernanceAttached'}, {'lastTransitionTime': '2026-09-08T14:12:14Z', 'message': 'Backend is not ready', 'observedGeneration': 1, 'reason': 'RuntimeHealthFailure', 'status': 'False', 'type': 'RuntimeReady'}, {'lastTransitionTime': '2026-09-08T14:12:14Z', 'message': 'No other MaaSModelRef in this namespace resolves to the same model identity', 'observedGeneration': 1, 'reason': 'UniqueIdentity', 'status': 'True', 'type': 'ModelIdentityUnique'}, {'lastTransitionTime': '2026-09-08T14:12:14Z', 'message': 'Governed but backend is not ready', 'observedGeneration': 1, 'reason': 'BackendNotReady', 'status': 'False', 'type': 'Ready'}], 'httpRouteGatewayName': 'e2e-inf-a-cb068d', 'httpRouteGatewayNamespace': 'openshift-ingress', 'httpRouteName': 'test-model-cb068d-kserve-route', 'httpRouteNamespace': 'ai-tenant-e2e-inf-a-cb068d', 'phase': 'Unhealthy', 'resolvedModelAlias': 'publishers/ai-tenant-e2e-inf-a-cb068d/models/facebook/opt-125m', 'resolvedTenantRef': 'e2e-inf-a-cb068d'}}&quot;">@pytest.fixture(scope="module")
    def tenant_inference_cases():
        """Set up two tenants with models for inference testing."""
        require_aitenant_crd()
        case_a = new_named_tenant_case("e2e-inf-a")
        case_b = new_named_tenant_case("e2e-inf-b")
    
        try:
            # Bootstrap tenants
            for case in (case_a, case_b):
                bootstrap_aitenant_tenant(case)
    
            # Create models in each tenant namespace
            for case in (case_a, case_b):
                model_name = f"test-model-{case['suffix']}"
                # Track model name early for cleanup
                case["model_name"] = model_name
    
                # Create LLMIS pointing to tenant gateway
                _create_llmis(
                    model_name,
                    case["tenant_ns"],
                    case["gateway_name"],
                    GATEWAY_NAMESPACE,
                )
    
                # Wait for HTTPRoute to be accepted on the tenant gateway
                wait_for_httproute_accepted(
                    f"{model_name}-kserve-route",
                    case["tenant_ns"],
                    case["gateway_name"],
                    timeout=180,
                )
    
                # Create MaaSModelRef
                _create_maas_model_ref(model_name, case["tenant_ns"], model_name)
    
                # Create subscription and auth policy (both needed for Ready status)
                apply_maas_subscription(
                    f"{model_name}-sub",
                    case["tenant_ns"],
                    model_ref=model_name,
                    model_namespace=case["tenant_ns"],
                    token_limit=10000,
                )
                apply_maas_auth_policy(
                    f"{model_name}-auth",
                    case["tenant_ns"],
                    model_ref=model_name,
                    model_namespace=case["tenant_ns"],
                )
    
                # Wait for MaaSModelRef to report Ready
&gt;               wait_for_status_phase(
                    "maasmodelref",
                    model_name,
                    case["tenant_ns"],
                    expected_phase="Ready",
                    timeout=180,
                )

test/e2e/tests/test_tenant_model_inference.py:128: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
test/e2e/tests/multitenancy_helpers.py:284: in wait_for_status_phase
    return wait_for_json(kind, name, namespace, predicate=_predicate, timeout=timeout, interval=interval)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

kind = 'maasmodelref', name = 'test-model-cb068d'
namespace = 'ai-tenant-e2e-inf-a-cb068d'

    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: maasmodelref/test-model-cb068d in ai-tenant-e2e-inf-a-cb068d did not satisfy condition. Last object: {'apiVersion': 'maas.opendatahub.io/v1alpha1', 'kind': 'MaaSModelRef', 'metadata': {'annotations': {'kubectl.kubernetes.io/last-applied-configuration': '{"apiVersion":"maas.opendatahub.io/v1alpha1","kind":"MaaSModelRef","metadata":{"annotations":{},"name":"test-model-cb068d","namespace":"ai-tenant-e2e-inf-a-cb068d"},"spec":{"modelRef":{"kind":"LLMInferenceService","name":"test-model-cb068d"}}}\n'}, 'creationTimestamp': '2026-09-08T14:12:14Z', 'finalizers': ['maas.opendatahub.io/model-cleanup'], 'generation': 1, 'name': 'test-model-cb068d', 'namespace': 'ai-tenant-e2e-inf-a-cb068d', 'resourceVersion': '31119', 'uid': 'b91d8826-bee8-4133-94b9-52ace8c672c3'}, 'spec': {'modelRef': {'kind': 'LLMInferenceService', 'name': 'test-model-cb068d'}}, 'status': {'conditions': [{'lastTransitionTime': '2026-09-08T14:12:14Z', 'message': 'Active governance pairing found', 'observedGeneration': 1, 'reason': 'GovernancePaired', 'status': 'True', 'type': 'GovernanceAttached'}, {'lastTransitionTime': '2026-09-08T14:12:14Z', 'message': 'Backend is not ready', 'observedGeneration': 1, 'reason': 'RuntimeHealthFailure', 'status': 'False', 'type': 'RuntimeReady'}, {'lastTransitionTime': '2026-09-08T14:12:14Z', 'message': 'No other MaaSModelRef in this namespace resolves to the same model identity', 'observedGeneration': 1, 'reason': 'UniqueIdentity', 'status': 'True', 'type': 'ModelIdentityUnique'}, {'lastTransitionTime': '2026-09-08T14:12:14Z', 'message': 'Governed but backend is not ready', 'observedGeneration': 1, 'reason': 'BackendNotReady', 'status': 'False', 'type': 'Ready'}], 'httpRouteGatewayName': 'e2e-inf-a-cb068d', 'httpRouteGatewayNamespace': 'openshift-ingress', 'httpRouteName': 'test-model-cb068d-kserve-route', 'httpRouteNamespace': 'ai-tenant-e2e-inf-a-cb068d', 'phase': 'Unhealthy', 'resolvedModelAlias': 'publishers/ai-tenant-e2e-inf-a-cb068d/models/facebook/opt-125m', 'resolvedTenantRef': 'e2e-inf-a-cb068d'}}

test/e2e/tests/multitenancy_helpers.py:229: AssertionError</error></testcase><testcase classname="tests.test_tenant_model_inference.TestTenantModelInference" name="test_tenant_isolation_cross_gateway_blocked@tenant_isolation" time="0.000"><error message="failed on setup with &quot;AssertionError: maasmodelref/test-model-cb068d in ai-tenant-e2e-inf-a-cb068d did not satisfy condition. Last object: {'apiVersion': 'maas.opendatahub.io/v1alpha1', 'kind': 'MaaSModelRef', 'metadata': {'annotations': {'kubectl.kubernetes.io/last-applied-configuration': '{&quot;apiVersion&quot;:&quot;maas.opendatahub.io/v1alpha1&quot;,&quot;kind&quot;:&quot;MaaSModelRef&quot;,&quot;metadata&quot;:{&quot;annotations&quot;:{},&quot;name&quot;:&quot;test-model-cb068d&quot;,&quot;namespace&quot;:&quot;ai-tenant-e2e-inf-a-cb068d&quot;},&quot;spec&quot;:{&quot;modelRef&quot;:{&quot;kind&quot;:&quot;LLMInferenceService&quot;,&quot;name&quot;:&quot;test-model-cb068d&quot;}}}\n'}, 'creationTimestamp': '2026-09-08T14:12:14Z', 'finalizers': ['maas.opendatahub.io/model-cleanup'], 'generation': 1, 'name': 'test-model-cb068d', 'namespace': 'ai-tenant-e2e-inf-a-cb068d', 'resourceVersion': '31119', 'uid': 'b91d8826-bee8-4133-94b9-52ace8c672c3'}, 'spec': {'modelRef': {'kind': 'LLMInferenceService', 'name': 'test-model-cb068d'}}, 'status': {'conditions': [{'lastTransitionTime': '2026-09-08T14:12:14Z', 'message': 'Active governance pairing found', 'observedGeneration': 1, 'reason': 'GovernancePaired', 'status': 'True', 'type': 'GovernanceAttached'}, {'lastTransitionTime': '2026-09-08T14:12:14Z', 'message': 'Backend is not ready', 'observedGeneration': 1, 'reason': 'RuntimeHealthFailure', 'status': 'False', 'type': 'RuntimeReady'}, {'lastTransitionTime': '2026-09-08T14:12:14Z', 'message': 'No other MaaSModelRef in this namespace resolves to the same model identity', 'observedGeneration': 1, 'reason': 'UniqueIdentity', 'status': 'True', 'type': 'ModelIdentityUnique'}, {'lastTransitionTime': '2026-09-08T14:12:14Z', 'message': 'Governed but backend is not ready', 'observedGeneration': 1, 'reason': 'BackendNotReady', 'status': 'False', 'type': 'Ready'}], 'httpRouteGatewayName': 'e2e-inf-a-cb068d', 'httpRouteGatewayNamespace': 'openshift-ingress', 'httpRouteName': 'test-model-cb068d-kserve-route', 'httpRouteNamespace': 'ai-tenant-e2e-inf-a-cb068d', 'phase': 'Unhealthy', 'resolvedModelAlias': 'publishers/ai-tenant-e2e-inf-a-cb068d/models/facebook/opt-125m', 'resolvedTenantRef': 'e2e-inf-a-cb068d'}}&quot;">@pytest.fixture(scope="module")
    def tenant_inference_cases():
        """Set up two tenants with models for inference testing."""
        require_aitenant_crd()
        case_a = new_named_tenant_case("e2e-inf-a")
        case_b = new_named_tenant_case("e2e-inf-b")
    
        try:
            # Bootstrap tenants
            for case in (case_a, case_b):
                bootstrap_aitenant_tenant(case)
    
            # Create models in each tenant namespace
            for case in (case_a, case_b):
                model_name = f"test-model-{case['suffix']}"
                # Track model name early for cleanup
                case["model_name"] = model_name
    
                # Create LLMIS pointing to tenant gateway
                _create_llmis(
                    model_name,
                    case["tenant_ns"],
                    case["gateway_name"],
                    GATEWAY_NAMESPACE,
                )
    
                # Wait for HTTPRoute to be accepted on the tenant gateway
                wait_for_httproute_accepted(
                    f"{model_name}-kserve-route",
                    case["tenant_ns"],
                    case["gateway_name"],
                    timeout=180,
                )
    
                # Create MaaSModelRef
                _create_maas_model_ref(model_name, case["tenant_ns"], model_name)
    
                # Create subscription and auth policy (both needed for Ready status)
                apply_maas_subscription(
                    f"{model_name}-sub",
                    case["tenant_ns"],
                    model_ref=model_name,
                    model_namespace=case["tenant_ns"],
                    token_limit=10000,
                )
                apply_maas_auth_policy(
                    f"{model_name}-auth",
                    case["tenant_ns"],
                    model_ref=model_name,
                    model_namespace=case["tenant_ns"],
                )
    
                # Wait for MaaSModelRef to report Ready
&gt;               wait_for_status_phase(
                    "maasmodelref",
                    model_name,
                    case["tenant_ns"],
                    expected_phase="Ready",
                    timeout=180,
                )

test/e2e/tests/test_tenant_model_inference.py:128: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
test/e2e/tests/multitenancy_helpers.py:284: in wait_for_status_phase
    return wait_for_json(kind, name, namespace, predicate=_predicate, timeout=timeout, interval=interval)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

kind = 'maasmodelref', name = 'test-model-cb068d'
namespace = 'ai-tenant-e2e-inf-a-cb068d'

    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: maasmodelref/test-model-cb068d in ai-tenant-e2e-inf-a-cb068d did not satisfy condition. Last object: {'apiVersion': 'maas.opendatahub.io/v1alpha1', 'kind': 'MaaSModelRef', 'metadata': {'annotations': {'kubectl.kubernetes.io/last-applied-configuration': '{"apiVersion":"maas.opendatahub.io/v1alpha1","kind":"MaaSModelRef","metadata":{"annotations":{},"name":"test-model-cb068d","namespace":"ai-tenant-e2e-inf-a-cb068d"},"spec":{"modelRef":{"kind":"LLMInferenceService","name":"test-model-cb068d"}}}\n'}, 'creationTimestamp': '2026-09-08T14:12:14Z', 'finalizers': ['maas.opendatahub.io/model-cleanup'], 'generation': 1, 'name': 'test-model-cb068d', 'namespace': 'ai-tenant-e2e-inf-a-cb068d', 'resourceVersion': '31119', 'uid': 'b91d8826-bee8-4133-94b9-52ace8c672c3'}, 'spec': {'modelRef': {'kind': 'LLMInferenceService', 'name': 'test-model-cb068d'}}, 'status': {'conditions': [{'lastTransitionTime': '2026-09-08T14:12:14Z', 'message': 'Active governance pairing found', 'observedGeneration': 1, 'reason': 'GovernancePaired', 'status': 'True', 'type': 'GovernanceAttached'}, {'lastTransitionTime': '2026-09-08T14:12:14Z', 'message': 'Backend is not ready', 'observedGeneration': 1, 'reason': 'RuntimeHealthFailure', 'status': 'False', 'type': 'RuntimeReady'}, {'lastTransitionTime': '2026-09-08T14:12:14Z', 'message': 'No other MaaSModelRef in this namespace resolves to the same model identity', 'observedGeneration': 1, 'reason': 'UniqueIdentity', 'status': 'True', 'type': 'ModelIdentityUnique'}, {'lastTransitionTime': '2026-09-08T14:12:14Z', 'message': 'Governed but backend is not ready', 'observedGeneration': 1, 'reason': 'BackendNotReady', 'status': 'False', 'type': 'Ready'}], 'httpRouteGatewayName': 'e2e-inf-a-cb068d', 'httpRouteGatewayNamespace': 'openshift-ingress', 'httpRouteName': 'test-model-cb068d-kserve-route', 'httpRouteNamespace': 'ai-tenant-e2e-inf-a-cb068d', 'phase': 'Unhealthy', 'resolvedModelAlias': 'publishers/ai-tenant-e2e-inf-a-cb068d/models/facebook/opt-125m', 'resolvedTenantRef': 'e2e-inf-a-cb068d'}}

test/e2e/tests/multitenancy_helpers.py:229: AssertionError</error></testcase><testcase classname="tests.test_tenant_model_inference.TestTenantBodyRouting" name="test_correct_model_in_body_succeeds@tenant_isolation" time="0.000"><error message="failed on setup with &quot;AssertionError: maasmodelref/test-model-cb068d in ai-tenant-e2e-inf-a-cb068d did not satisfy condition. Last object: {'apiVersion': 'maas.opendatahub.io/v1alpha1', 'kind': 'MaaSModelRef', 'metadata': {'annotations': {'kubectl.kubernetes.io/last-applied-configuration': '{&quot;apiVersion&quot;:&quot;maas.opendatahub.io/v1alpha1&quot;,&quot;kind&quot;:&quot;MaaSModelRef&quot;,&quot;metadata&quot;:{&quot;annotations&quot;:{},&quot;name&quot;:&quot;test-model-cb068d&quot;,&quot;namespace&quot;:&quot;ai-tenant-e2e-inf-a-cb068d&quot;},&quot;spec&quot;:{&quot;modelRef&quot;:{&quot;kind&quot;:&quot;LLMInferenceService&quot;,&quot;name&quot;:&quot;test-model-cb068d&quot;}}}\n'}, 'creationTimestamp': '2026-09-08T14:12:14Z', 'finalizers': ['maas.opendatahub.io/model-cleanup'], 'generation': 1, 'name': 'test-model-cb068d', 'namespace': 'ai-tenant-e2e-inf-a-cb068d', 'resourceVersion': '31119', 'uid': 'b91d8826-bee8-4133-94b9-52ace8c672c3'}, 'spec': {'modelRef': {'kind': 'LLMInferenceService', 'name': 'test-model-cb068d'}}, 'status': {'conditions': [{'lastTransitionTime': '2026-09-08T14:12:14Z', 'message': 'Active governance pairing found', 'observedGeneration': 1, 'reason': 'GovernancePaired', 'status': 'True', 'type': 'GovernanceAttached'}, {'lastTransitionTime': '2026-09-08T14:12:14Z', 'message': 'Backend is not ready', 'observedGeneration': 1, 'reason': 'RuntimeHealthFailure', 'status': 'False', 'type': 'RuntimeReady'}, {'lastTransitionTime': '2026-09-08T14:12:14Z', 'message': 'No other MaaSModelRef in this namespace resolves to the same model identity', 'observedGeneration': 1, 'reason': 'UniqueIdentity', 'status': 'True', 'type': 'ModelIdentityUnique'}, {'lastTransitionTime': '2026-09-08T14:12:14Z', 'message': 'Governed but backend is not ready', 'observedGeneration': 1, 'reason': 'BackendNotReady', 'status': 'False', 'type': 'Ready'}], 'httpRouteGatewayName': 'e2e-inf-a-cb068d', 'httpRouteGatewayNamespace': 'openshift-ingress', 'httpRouteName': 'test-model-cb068d-kserve-route', 'httpRouteNamespace': 'ai-tenant-e2e-inf-a-cb068d', 'phase': 'Unhealthy', 'resolvedModelAlias': 'publishers/ai-tenant-e2e-inf-a-cb068d/models/facebook/opt-125m', 'resolvedTenantRef': 'e2e-inf-a-cb068d'}}&quot;">@pytest.fixture(scope="module")
    def tenant_inference_cases():
        """Set up two tenants with models for inference testing."""
        require_aitenant_crd()
        case_a = new_named_tenant_case("e2e-inf-a")
        case_b = new_named_tenant_case("e2e-inf-b")
    
        try:
            # Bootstrap tenants
            for case in (case_a, case_b):
                bootstrap_aitenant_tenant(case)
    
            # Create models in each tenant namespace
            for case in (case_a, case_b):
                model_name = f"test-model-{case['suffix']}"
                # Track model name early for cleanup
                case["model_name"] = model_name
    
                # Create LLMIS pointing to tenant gateway
                _create_llmis(
                    model_name,
                    case["tenant_ns"],
                    case["gateway_name"],
                    GATEWAY_NAMESPACE,
                )
    
                # Wait for HTTPRoute to be accepted on the tenant gateway
                wait_for_httproute_accepted(
                    f"{model_name}-kserve-route",
                    case["tenant_ns"],
                    case["gateway_name"],
                    timeout=180,
                )
    
                # Create MaaSModelRef
                _create_maas_model_ref(model_name, case["tenant_ns"], model_name)
    
                # Create subscription and auth policy (both needed for Ready status)
                apply_maas_subscription(
                    f"{model_name}-sub",
                    case["tenant_ns"],
                    model_ref=model_name,
                    model_namespace=case["tenant_ns"],
                    token_limit=10000,
                )
                apply_maas_auth_policy(
                    f"{model_name}-auth",
                    case["tenant_ns"],
                    model_ref=model_name,
                    model_namespace=case["tenant_ns"],
                )
    
                # Wait for MaaSModelRef to report Ready
&gt;               wait_for_status_phase(
                    "maasmodelref",
                    model_name,
                    case["tenant_ns"],
                    expected_phase="Ready",
                    timeout=180,
                )

test/e2e/tests/test_tenant_model_inference.py:128: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
test/e2e/tests/multitenancy_helpers.py:284: in wait_for_status_phase
    return wait_for_json(kind, name, namespace, predicate=_predicate, timeout=timeout, interval=interval)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

kind = 'maasmodelref', name = 'test-model-cb068d'
namespace = 'ai-tenant-e2e-inf-a-cb068d'

    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: maasmodelref/test-model-cb068d in ai-tenant-e2e-inf-a-cb068d did not satisfy condition. Last object: {'apiVersion': 'maas.opendatahub.io/v1alpha1', 'kind': 'MaaSModelRef', 'metadata': {'annotations': {'kubectl.kubernetes.io/last-applied-configuration': '{"apiVersion":"maas.opendatahub.io/v1alpha1","kind":"MaaSModelRef","metadata":{"annotations":{},"name":"test-model-cb068d","namespace":"ai-tenant-e2e-inf-a-cb068d"},"spec":{"modelRef":{"kind":"LLMInferenceService","name":"test-model-cb068d"}}}\n'}, 'creationTimestamp': '2026-09-08T14:12:14Z', 'finalizers': ['maas.opendatahub.io/model-cleanup'], 'generation': 1, 'name': 'test-model-cb068d', 'namespace': 'ai-tenant-e2e-inf-a-cb068d', 'resourceVersion': '31119', 'uid': 'b91d8826-bee8-4133-94b9-52ace8c672c3'}, 'spec': {'modelRef': {'kind': 'LLMInferenceService', 'name': 'test-model-cb068d'}}, 'status': {'conditions': [{'lastTransitionTime': '2026-09-08T14:12:14Z', 'message': 'Active governance pairing found', 'observedGeneration': 1, 'reason': 'GovernancePaired', 'status': 'True', 'type': 'GovernanceAttached'}, {'lastTransitionTime': '2026-09-08T14:12:14Z', 'message': 'Backend is not ready', 'observedGeneration': 1, 'reason': 'RuntimeHealthFailure', 'status': 'False', 'type': 'RuntimeReady'}, {'lastTransitionTime': '2026-09-08T14:12:14Z', 'message': 'No other MaaSModelRef in this namespace resolves to the same model identity', 'observedGeneration': 1, 'reason': 'UniqueIdentity', 'status': 'True', 'type': 'ModelIdentityUnique'}, {'lastTransitionTime': '2026-09-08T14:12:14Z', 'message': 'Governed but backend is not ready', 'observedGeneration': 1, 'reason': 'BackendNotReady', 'status': 'False', 'type': 'Ready'}], 'httpRouteGatewayName': 'e2e-inf-a-cb068d', 'httpRouteGatewayNamespace': 'openshift-ingress', 'httpRouteName': 'test-model-cb068d-kserve-route', 'httpRouteNamespace': 'ai-tenant-e2e-inf-a-cb068d', 'phase': 'Unhealthy', 'resolvedModelAlias': 'publishers/ai-tenant-e2e-inf-a-cb068d/models/facebook/opt-125m', 'resolvedTenantRef': 'e2e-inf-a-cb068d'}}

test/e2e/tests/multitenancy_helpers.py:229: AssertionError</error></testcase><testcase classname="tests.test_tenant_model_inference.TestTenantBodyRouting" name="test_wrong_model_in_body_rejected@tenant_isolation" time="0.001"><error message="failed on setup with &quot;AssertionError: maasmodelref/test-model-cb068d in ai-tenant-e2e-inf-a-cb068d did not satisfy condition. Last object: {'apiVersion': 'maas.opendatahub.io/v1alpha1', 'kind': 'MaaSModelRef', 'metadata': {'annotations': {'kubectl.kubernetes.io/last-applied-configuration': '{&quot;apiVersion&quot;:&quot;maas.opendatahub.io/v1alpha1&quot;,&quot;kind&quot;:&quot;MaaSModelRef&quot;,&quot;metadata&quot;:{&quot;annotations&quot;:{},&quot;name&quot;:&quot;test-model-cb068d&quot;,&quot;namespace&quot;:&quot;ai-tenant-e2e-inf-a-cb068d&quot;},&quot;spec&quot;:{&quot;modelRef&quot;:{&quot;kind&quot;:&quot;LLMInferenceService&quot;,&quot;name&quot;:&quot;test-model-cb068d&quot;}}}\n'}, 'creationTimestamp': '2026-09-08T14:12:14Z', 'finalizers': ['maas.opendatahub.io/model-cleanup'], 'generation': 1, 'name': 'test-model-cb068d', 'namespace': 'ai-tenant-e2e-inf-a-cb068d', 'resourceVersion': '31119', 'uid': 'b91d8826-bee8-4133-94b9-52ace8c672c3'}, 'spec': {'modelRef': {'kind': 'LLMInferenceService', 'name': 'test-model-cb068d'}}, 'status': {'conditions': [{'lastTransitionTime': '2026-09-08T14:12:14Z', 'message': 'Active governance pairing found', 'observedGeneration': 1, 'reason': 'GovernancePaired', 'status': 'True', 'type': 'GovernanceAttached'}, {'lastTransitionTime': '2026-09-08T14:12:14Z', 'message': 'Backend is not ready', 'observedGeneration': 1, 'reason': 'RuntimeHealthFailure', 'status': 'False', 'type': 'RuntimeReady'}, {'lastTransitionTime': '2026-09-08T14:12:14Z', 'message': 'No other MaaSModelRef in this namespace resolves to the same model identity', 'observedGeneration': 1, 'reason': 'UniqueIdentity', 'status': 'True', 'type': 'ModelIdentityUnique'}, {'lastTransitionTime': '2026-09-08T14:12:14Z', 'message': 'Governed but backend is not ready', 'observedGeneration': 1, 'reason': 'BackendNotReady', 'status': 'False', 'type': 'Ready'}], 'httpRouteGatewayName': 'e2e-inf-a-cb068d', 'httpRouteGatewayNamespace': 'openshift-ingress', 'httpRouteName': 'test-model-cb068d-kserve-route', 'httpRouteNamespace': 'ai-tenant-e2e-inf-a-cb068d', 'phase': 'Unhealthy', 'resolvedModelAlias': 'publishers/ai-tenant-e2e-inf-a-cb068d/models/facebook/opt-125m', 'resolvedTenantRef': 'e2e-inf-a-cb068d'}}&quot;">@pytest.fixture(scope="module")
    def tenant_inference_cases():
        """Set up two tenants with models for inference testing."""
        require_aitenant_crd()
        case_a = new_named_tenant_case("e2e-inf-a")
        case_b = new_named_tenant_case("e2e-inf-b")
    
        try:
            # Bootstrap tenants
            for case in (case_a, case_b):
                bootstrap_aitenant_tenant(case)
    
            # Create models in each tenant namespace
            for case in (case_a, case_b):
                model_name = f"test-model-{case['suffix']}"
                # Track model name early for cleanup
                case["model_name"] = model_name
    
                # Create LLMIS pointing to tenant gateway
                _create_llmis(
                    model_name,
                    case["tenant_ns"],
                    case["gateway_name"],
                    GATEWAY_NAMESPACE,
                )
    
                # Wait for HTTPRoute to be accepted on the tenant gateway
                wait_for_httproute_accepted(
                    f"{model_name}-kserve-route",
                    case["tenant_ns"],
                    case["gateway_name"],
                    timeout=180,
                )
    
                # Create MaaSModelRef
                _create_maas_model_ref(model_name, case["tenant_ns"], model_name)
    
                # Create subscription and auth policy (both needed for Ready status)
                apply_maas_subscription(
                    f"{model_name}-sub",
                    case["tenant_ns"],
                    model_ref=model_name,
                    model_namespace=case["tenant_ns"],
                    token_limit=10000,
                )
                apply_maas_auth_policy(
                    f"{model_name}-auth",
                    case["tenant_ns"],
                    model_ref=model_name,
                    model_namespace=case["tenant_ns"],
                )
    
                # Wait for MaaSModelRef to report Ready
&gt;               wait_for_status_phase(
                    "maasmodelref",
                    model_name,
                    case["tenant_ns"],
                    expected_phase="Ready",
                    timeout=180,
                )

test/e2e/tests/test_tenant_model_inference.py:128: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
test/e2e/tests/multitenancy_helpers.py:284: in wait_for_status_phase
    return wait_for_json(kind, name, namespace, predicate=_predicate, timeout=timeout, interval=interval)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

kind = 'maasmodelref', name = 'test-model-cb068d'
namespace = 'ai-tenant-e2e-inf-a-cb068d'

    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: maasmodelref/test-model-cb068d in ai-tenant-e2e-inf-a-cb068d did not satisfy condition. Last object: {'apiVersion': 'maas.opendatahub.io/v1alpha1', 'kind': 'MaaSModelRef', 'metadata': {'annotations': {'kubectl.kubernetes.io/last-applied-configuration': '{"apiVersion":"maas.opendatahub.io/v1alpha1","kind":"MaaSModelRef","metadata":{"annotations":{},"name":"test-model-cb068d","namespace":"ai-tenant-e2e-inf-a-cb068d"},"spec":{"modelRef":{"kind":"LLMInferenceService","name":"test-model-cb068d"}}}\n'}, 'creationTimestamp': '2026-09-08T14:12:14Z', 'finalizers': ['maas.opendatahub.io/model-cleanup'], 'generation': 1, 'name': 'test-model-cb068d', 'namespace': 'ai-tenant-e2e-inf-a-cb068d', 'resourceVersion': '31119', 'uid': 'b91d8826-bee8-4133-94b9-52ace8c672c3'}, 'spec': {'modelRef': {'kind': 'LLMInferenceService', 'name': 'test-model-cb068d'}}, 'status': {'conditions': [{'lastTransitionTime': '2026-09-08T14:12:14Z', 'message': 'Active governance pairing found', 'observedGeneration': 1, 'reason': 'GovernancePaired', 'status': 'True', 'type': 'GovernanceAttached'}, {'lastTransitionTime': '2026-09-08T14:12:14Z', 'message': 'Backend is not ready', 'observedGeneration': 1, 'reason': 'RuntimeHealthFailure', 'status': 'False', 'type': 'RuntimeReady'}, {'lastTransitionTime': '2026-09-08T14:12:14Z', 'message': 'No other MaaSModelRef in this namespace resolves to the same model identity', 'observedGeneration': 1, 'reason': 'UniqueIdentity', 'status': 'True', 'type': 'ModelIdentityUnique'}, {'lastTransitionTime': '2026-09-08T14:12:14Z', 'message': 'Governed but backend is not ready', 'observedGeneration': 1, 'reason': 'BackendNotReady', 'status': 'False', 'type': 'Ready'}], 'httpRouteGatewayName': 'e2e-inf-a-cb068d', 'httpRouteGatewayNamespace': 'openshift-ingress', 'httpRouteName': 'test-model-cb068d-kserve-route', 'httpRouteNamespace': 'ai-tenant-e2e-inf-a-cb068d', 'phase': 'Unhealthy', 'resolvedModelAlias': 'publishers/ai-tenant-e2e-inf-a-cb068d/models/facebook/opt-125m', 'resolvedTenantRef': 'e2e-inf-a-cb068d'}}

test/e2e/tests/multitenancy_helpers.py:229: AssertionError</error></testcase><testcase classname="tests.test_tenant_discovery_isolation" name="test_tenant_discovery_each_tenant_returns_own_gateway@mt_lifecycle" time="0.002"><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:268: 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_multi_tenant_integration.TestMultiTenantIntegration" name="test_full_tenant_lifecycle_create_to_delete@mt_lifecycle" time="286.346"><failure message="AssertionError: maasmodelref/e2e-lifecycle-model-ec7c379e in ai-tenant-e2e-mt-ec7c379e did not satisfy condition. Last object: {'apiVersion': 'maas.opendatahub.io/v1alpha1', 'kind': 'MaaSModelRef', 'metadata': {'annotations': {'kubectl.kubernetes.io/last-applied-configuration': '{&quot;apiVersion&quot;:&quot;maas.opendatahub.io/v1alpha1&quot;,&quot;kind&quot;:&quot;MaaSModelRef&quot;,&quot;metadata&quot;:{&quot;annotations&quot;:{},&quot;name&quot;:&quot;e2e-lifecycle-model-ec7c379e&quot;,&quot;namespace&quot;:&quot;ai-tenant-e2e-mt-ec7c379e&quot;},&quot;spec&quot;:{&quot;modelRef&quot;:{&quot;kind&quot;:&quot;LLMInferenceService&quot;,&quot;name&quot;:&quot;e2e-lifecycle-model-ec7c379e&quot;}}}\n'}, 'creationTimestamp': '2026-09-08T14:16:48Z', 'finalizers': ['maas.opendatahub.io/model-cleanup'], 'generation': 1, 'name': 'e2e-lifecycle-model-ec7c379e', 'namespace': 'ai-tenant-e2e-mt-ec7c379e', 'resourceVersion': '39096', 'uid': '6181caeb-4a35-4cf6-a70e-d05051a46d9f'}, 'spec': {'modelRef': {'kind': 'LLMInferenceService', 'name': 'e2e-lifecycle-model-ec7c379e'}}, 'status': {'conditions': [{'lastTransitionTime': '2026-09-08T14:16:48Z', 'message': 'No active subscription and auth policy pairing found', 'observedGeneration': 1, 'reason': 'NoPairingFound', 'status': 'False', 'type': 'GovernanceAttached'}, {'lastTransitionTime': '2026-09-08T14:16:48Z', 'message': 'Backend is not ready', 'observedGeneration': 1, 'reason': 'RuntimeHealthFailure', 'status': 'False', 'type': 'RuntimeReady'}, {'lastTransitionTime': '2026-09-08T14:16:48Z', 'message': 'No other MaaSModelRef in this namespace resolves to the same model identity', 'observedGeneration': 1, 'reason': 'UniqueIdentity', 'status': 'True', 'type': 'ModelIdentityUnique'}, {'lastTransitionTime': '2026-09-08T14:16:48Z', 'message': 'Awaiting governance pairing and backend readiness', 'observedGeneration': 1, 'reason': 'BackendNotReady', 'status': 'False', 'type': 'Ready'}], 'httpRouteGatewayName': 'e2e-mt-ec7c379e', 'httpRouteGatewayNamespace': 'openshift-ingress', 'httpRouteName': 'e2e-lifecycle-model-ec7c379e-kserve-route', 'httpRouteNamespace': 'ai-tenant-e2e-mt-ec7c379e', 'phase': 'Pending', 'resolvedModelAlias': 'publishers/ai-tenant-e2e-mt-ec7c379e/models/facebook/opt-125m', 'resolvedTenantRef': 'e2e-mt-ec7c379e'}}">self = &lt;test_multi_tenant_integration.TestMultiTenantIntegration object at 0x7ff2ddd24760&gt;

    def test_full_tenant_lifecycle_create_to_delete(self):
        """7.1: Full tenant lifecycle from create through policy/subscription reconcile to delete."""
        case = new_discovery_case()
        role_name = f"aitenant-{case['tenant_label_name']}-tenant-admin"
        try:
            bootstrap_aitenant_tenant(case)
    
            tenant = wait_for_json(TENANT_CONFIG_KIND, TENANT_CR_NAME, case["tenant_ns"], timeout=180)
            tenant_labels = tenant["metadata"].get("labels") or {}
            tenant_annotations = tenant["metadata"].get("annotations") or {}
            assert tenant_labels[LABEL_MANAGED_BY_AITENANT] == "true"
            assert tenant_labels[LABEL_TENANT_NAME] == case["tenant_label_name"]
            assert tenant_labels[LABEL_TENANT_NAMESPACE] == case["tenant_ns"]
            assert tenant_annotations[ANNOTATION_AITENANT_NAME] == case["tenant_label_name"]
            assert tenant_annotations[ANNOTATION_AITENANT_NAMESPACE] == AITENANT_NAMESPACE
            aitenant = wait_for_json(AITENANT_KIND, case["tenant_label_name"], AITENANT_NAMESPACE, timeout=180)
            assert aitenant["status"]["gatewayRef"]["name"] == case["gateway_name"]
            assert get_json_or_none("role", role_name, case["tenant_ns"]) is not None
    
            model_name = f"e2e-lifecycle-model-{case['suffix']}"
&gt;           provision_tenant_model(model_name, case["tenant_ns"], case["gateway_name"])

test/e2e/tests/test_multi_tenant_integration.py:94: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
test/e2e/tests/multitenancy_helpers.py:912: in provision_tenant_model
    wait_for_status_condition(
test/e2e/tests/multitenancy_helpers.py:303: in wait_for_status_condition
    return wait_for_json(kind, name, namespace, predicate=_predicate, timeout=timeout, interval=interval)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

kind = 'maasmodelref', name = 'e2e-lifecycle-model-ec7c379e'
namespace = 'ai-tenant-e2e-mt-ec7c379e'

    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: maasmodelref/e2e-lifecycle-model-ec7c379e in ai-tenant-e2e-mt-ec7c379e did not satisfy condition. Last object: {'apiVersion': 'maas.opendatahub.io/v1alpha1', 'kind': 'MaaSModelRef', 'metadata': {'annotations': {'kubectl.kubernetes.io/last-applied-configuration': '{"apiVersion":"maas.opendatahub.io/v1alpha1","kind":"MaaSModelRef","metadata":{"annotations":{},"name":"e2e-lifecycle-model-ec7c379e","namespace":"ai-tenant-e2e-mt-ec7c379e"},"spec":{"modelRef":{"kind":"LLMInferenceService","name":"e2e-lifecycle-model-ec7c379e"}}}\n'}, 'creationTimestamp': '2026-09-08T14:16:48Z', 'finalizers': ['maas.opendatahub.io/model-cleanup'], 'generation': 1, 'name': 'e2e-lifecycle-model-ec7c379e', 'namespace': 'ai-tenant-e2e-mt-ec7c379e', 'resourceVersion': '39096', 'uid': '6181caeb-4a35-4cf6-a70e-d05051a46d9f'}, 'spec': {'modelRef': {'kind': 'LLMInferenceService', 'name': 'e2e-lifecycle-model-ec7c379e'}}, 'status': {'conditions': [{'lastTransitionTime': '2026-09-08T14:16:48Z', 'message': 'No active subscription and auth policy pairing found', 'observedGeneration': 1, 'reason': 'NoPairingFound', 'status': 'False', 'type': 'GovernanceAttached'}, {'lastTransitionTime': '2026-09-08T14:16:48Z', 'message': 'Backend is not ready', 'observedGeneration': 1, 'reason': 'RuntimeHealthFailure', 'status': 'False', 'type': 'RuntimeReady'}, {'lastTransitionTime': '2026-09-08T14:16:48Z', 'message': 'No other MaaSModelRef in this namespace resolves to the same model identity', 'observedGeneration': 1, 'reason': 'UniqueIdentity', 'status': 'True', 'type': 'ModelIdentityUnique'}, {'lastTransitionTime': '2026-09-08T14:16:48Z', 'message': 'Awaiting governance pairing and backend readiness', 'observedGeneration': 1, 'reason': 'BackendNotReady', 'status': 'False', 'type': 'Ready'}], 'httpRouteGatewayName': 'e2e-mt-ec7c379e', 'httpRouteGatewayNamespace': 'openshift-ingress', 'httpRouteName': 'e2e-lifecycle-model-ec7c379e-kserve-route', 'httpRouteNamespace': 'ai-tenant-e2e-mt-ec7c379e', 'phase': 'Pending', 'resolvedModelAlias': 'publishers/ai-tenant-e2e-mt-ec7c379e/models/facebook/opt-125m', 'resolvedTenantRef': 'e2e-mt-ec7c379e'}}

test/e2e/tests/multitenancy_helpers.py:229: AssertionError</failure></testcase><testcase classname="tests.test_multi_tenant_integration.TestMultiTenantIntegration" name="test_default_tenant_unaffected_by_multitenancy_enablement@mt_lifecycle" time="0.968" /><testcase classname="tests.test_multi_tenant_integration.TestMultiTenantIntegration" name="test_same_named_resources_across_tenants@mt_lifecycle" time="15.333" /><testcase classname="tests.test_multi_tenant_integration.TestMultiTenantIntegration" name="test_tenant_namespace_label_change_triggers_reconciliation@mt_lifecycle" time="38.488" /><testcase classname="tests.test_multi_tenant_maas_api.TestPerTenantMaaSAPI" name="test_aitenant_creates_dedicated_maas_api_infrastructure@mt_lifecycle" time="59.477" /><testcase classname="tests.test_multi_tenant_maas_api.TestPerTenantMaaSAPI" name="test_tenant_name_environment_variable_set@mt_lifecycle" time="0.234" /><testcase classname="tests.test_multi_tenant_maas_api.TestPerTenantMaaSAPI" name="test_service_routing_isolation@mt_lifecycle" time="0.476" /><testcase classname="tests.test_multi_tenant_maas_api.TestPerTenantMaaSAPI" name="test_httproute_tenant_attachment@mt_lifecycle" time="0.234" /><testcase classname="tests.test_multi_tenant_maas_api.TestPerTenantMaaSAPI" name="test_default_and_multiple_tenants_coexist@mt_lifecycle" time="83.236" /></testsuite></testsuites>