<?xml version="1.0" encoding="utf-8"?><testsuites name="pytest tests"><testsuite name="pytest" errors="10" failures="0" skipped="42" tests="154" time="1464.732" timestamp="2026-09-10T12:43:50.883670+00:00" hostname="maas-group-test-42ccc-e2e-maas-openshift-pod"><testcase classname="tests.test_smoke" name="test_healthz_or_404@readonly" time="0.032" /><testcase classname="tests.test_namespace_scoping.TestMaaSAPIWatchNamespace" name="test_subscription_in_subscription_namespace_visible_to_api@security" time="0.001"><skipped type="pytest.skip" message="test_namespace_scoping validates single-tenant dormant mode; skipped when ENABLE_TENANT_NAMESPACE_DISCOVERY=true">/workspace/source/test/e2e/tests/test_namespace_scoping.py:214: test_namespace_scoping validates single-tenant dormant mode; skipped when ENABLE_TENANT_NAMESPACE_DISCOVERY=true</skipped></testcase><testcase classname="tests.test_namespace_scoping.TestMaaSAPIWatchNamespace" name="test_subscription_in_another_namespace_not_visible_to_api@security" time="0.000"><skipped type="pytest.skip" message="test_namespace_scoping validates single-tenant dormant mode; skipped when ENABLE_TENANT_NAMESPACE_DISCOVERY=true">/workspace/source/test/e2e/tests/test_namespace_scoping.py:247: test_namespace_scoping validates single-tenant dormant mode; skipped when ENABLE_TENANT_NAMESPACE_DISCOVERY=true</skipped></testcase><testcase classname="tests.test_namespace_scoping.TestMaaSControllerWatchNamespace" name="test_authpolicy_and_subscription_in_maas_subscription_namespace@security" time="0.000"><skipped type="pytest.skip" message="test_namespace_scoping validates single-tenant dormant mode; skipped when ENABLE_TENANT_NAMESPACE_DISCOVERY=true">/workspace/source/test/e2e/tests/test_namespace_scoping.py:287: test_namespace_scoping validates single-tenant dormant mode; skipped when ENABLE_TENANT_NAMESPACE_DISCOVERY=true</skipped></testcase><testcase classname="tests.test_namespace_scoping.TestMaaSControllerWatchNamespace" name="test_authpolicy_and_subscription_in_another_namespace@security" time="0.000"><skipped type="pytest.skip" message="test_namespace_scoping validates single-tenant dormant mode; skipped when ENABLE_TENANT_NAMESPACE_DISCOVERY=true">/workspace/source/test/e2e/tests/test_namespace_scoping.py:324: test_namespace_scoping validates single-tenant dormant mode; skipped when ENABLE_TENANT_NAMESPACE_DISCOVERY=true</skipped></testcase><testcase classname="tests.test_namespace_scoping.TestModelRef" name="test_auth_policy_model_ref@security" time="0.000"><skipped type="pytest.skip" message="test_namespace_scoping validates single-tenant dormant mode; skipped when ENABLE_TENANT_NAMESPACE_DISCOVERY=true">/workspace/source/test/e2e/tests/test_namespace_scoping.py:382: test_namespace_scoping validates single-tenant dormant mode; skipped when ENABLE_TENANT_NAMESPACE_DISCOVERY=true</skipped></testcase><testcase classname="tests.test_namespace_scoping.TestModelRef" name="test_subscription_model_ref@security" time="0.000"><skipped type="pytest.skip" message="test_namespace_scoping validates single-tenant dormant mode; skipped when ENABLE_TENANT_NAMESPACE_DISCOVERY=true">/workspace/source/test/e2e/tests/test_namespace_scoping.py:456: test_namespace_scoping validates single-tenant dormant mode; skipped when ENABLE_TENANT_NAMESPACE_DISCOVERY=true</skipped></testcase><testcase classname="tests.test_negative_security.TestAPIKeyManagementIsolation" name="test_api_key_cannot_mint_another_api_key@security" time="0.225" /><testcase classname="tests.test_smoke" name="test_tokens_endpoint_replaced_by_api_keys@readonly" time="0.029" /><testcase classname="tests.test_smoke" name="test_models_catalog@readonly" time="0.035" /><testcase classname="tests.test_smoke" name="test_chat_completions_gateway_alive@readonly" time="0.081" /><testcase classname="tests.test_smoke" name="test_legacy_completions_optionally@readonly" time="0.042" /><testcase classname="tests.test_negative_security.TestHeaderSpoofing" name="test_forged_identity_headers_rejected_on_key_mint[username-only]@security" time="0.311" /><testcase classname="tests.test_aitenant_lifecycle.TestAITenantLifecycle" name="test_default_aitenant_bootstraps_maas_tenant_config_without_gateway_mutation@mt_lifecycle" time="1.735" /><testcase classname="tests.test_tenant.TestTenantLifecycle" name="test_tenant_ready_and_phase_healthy@readonly" time="0.360" /><testcase classname="tests.test_negative_security.TestHeaderSpoofing" name="test_forged_identity_headers_rejected_on_key_mint[group-only]@security" time="0.352" /><testcase classname="tests.test_tenant.TestTenantContract" name="test_status_has_phase_and_conditions@readonly" time="0.139" /><testcase classname="tests.test_tenant.TestTenantContract" name="test_spec_is_well_formed@readonly" time="0.121" /><testcase classname="tests.test_tenant.TestTenantContract" name="test_conditions_use_kubernetes_metav1_shape@readonly" time="0.112" /><testcase classname="tests.test_negative_security.TestHeaderSpoofing" name="test_injected_identity_headers_rejected_on_inference@security" time="0.202" /><testcase classname="tests.test_tenant.TestTenantNoFalseOwnership" name="test_maas_user_crs_not_owned_by_tenant@readonly" time="0.387" /><testcase classname="tests.test_negative_security.TestHeaderSpoofing" name="test_duplicate_subscription_headers_ignored@security" time="0.260" /><testcase classname="tests.test_negative_security.TestExpiredKeyRejection" name="test_expired_key_rejected_at_gateway@security" time="5.120" /><testcase classname="tests.test_config_tenant.TestConfigAnchorPresence" name="test_cluster_config_default_exists@readonly" time="0.376" /><testcase classname="tests.test_config_tenant.TestConfigAnchorPresence" name="test_cluster_config_not_terminating@readonly" time="0.137" /><testcase classname="tests.test_aitenant_lifecycle.TestAITenantLifecycle" name="test_aitenant_rejected_outside_ai_tenants_namespace@mt_lifecycle" time="15.120" /><testcase classname="tests.test_config_tenant.TestConfigTenantOwnership" name="test_default_aitenant_lists_config_owner_reference@readonly" time="0.114" /><testcase classname="tests.test_config_tenant.TestConfigTenantOwnership" name="test_tenant_config_lists_config_owner_reference@readonly" time="0.115" /><testcase classname="tests.test_config_tenant.TestConfigTenantOwnership" name="test_maas_controller_deployment_does_not_list_config_owner_reference@readonly" time="0.140" /><testcase classname="tests.test_tenant_discovery" name="test_tenant_discovery_requires_auth@readonly" time="4.660" /><testcase classname="tests.test_external_models.TestExternalModelDiscovery" name="test_maasmodelref_created@external" time="5.923" /><testcase classname="tests.test_external_models.TestExternalModelDiscovery" name="test_reconciler_created_httproute@external" time="0.115" /><testcase classname="tests.test_external_models.TestExternalModelDiscovery" name="test_reconciler_created_backend_service@external" time="0.103" /><testcase classname="tests.test_external_models.TestExternalModelAuth" name="test_invalid_key_returns_401@external" time="0.358" /><testcase classname="tests.test_negative_security.TestCrossModelAccess" name="test_key_cannot_access_model_outside_subscription@security" time="30.039" /><testcase classname="tests.test_external_models.TestExternalModelAuth" name="test_no_key_returns_401@external" time="0.030" /><testcase classname="tests.test_external_models.TestExternalModelEgress" name="test_request_forwarded_returns_200@external" time="0.095" /><testcase classname="tests.test_external_models.TestExternalModelCleanup" name="test_delete_removes_httproute@external" time="12.695" /><testcase classname="tests.test_tenant_discovery" name="test_tenant_discovery_with_invalid_token@readonly" time="2.402" /><testcase classname="tests.test_tenant_discovery" name="test_tenant_discovery_authenticated@readonly" time="0.001"><skipped type="pytest.skip" message="Skipping when Gateway uses ClusterIP + OpenShift Route (unsupported configuration). This mixes incompatible routing paradigms. Gateway has no external hostname in spec.listeners, so /v1/tenants returns an error. Supported configuration: LoadBalancer service with hostname in spec.listeners.">/workspace/source/test/e2e/tests/test_tenant_discovery.py:79: Skipping when Gateway uses ClusterIP + OpenShift Route (unsupported configuration). This mixes incompatible routing paradigms. Gateway has no external hostname in spec.listeners, so /v1/tenants returns an error. Supported configuration: LoadBalancer service with hostname in spec.listeners.</skipped></testcase><testcase classname="tests.test_tenant_discovery" name="test_tenant_discovery_gateway_matches_deployment@readonly" time="0.000"><skipped type="pytest.skip" message="Skipping when Gateway uses ClusterIP + OpenShift Route (unsupported configuration). This mixes incompatible routing paradigms. Gateway has no external hostname in spec.listeners, so /v1/tenants returns an error. Supported configuration: LoadBalancer service with hostname in spec.listeners.">/workspace/source/test/e2e/tests/test_tenant_discovery.py:155: Skipping when Gateway uses ClusterIP + OpenShift Route (unsupported configuration). This mixes incompatible routing paradigms. Gateway has no external hostname in spec.listeners, so /v1/tenants returns an error. Supported configuration: LoadBalancer service with hostname in spec.listeners.</skipped></testcase><testcase classname="tests.test_tenant_discovery" name="test_tenant_discovery_not_exposed_through_gateway@readonly" time="0.031" /><testcase classname="tests.test_tenant_auto_resolve.TestTenantAutoResolve" name="test_auto_resolve_populates_resolved_tenant_ref@tenant_auto_resolve" time="175.311" /><testcase classname="tests.test_aitenant_lifecycle.TestAITenantLifecycle" name="test_aitenant_create_bootstrap_resources@mt_lifecycle" time="50.586" /><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="4.007" /><testcase classname="tests.test_external_models.TestExternalModelBodyRouting" name="test_correct_model_in_body_succeeds@external" time="0.092" /><testcase classname="tests.test_external_models.TestExternalModelBodyRouting" name="test_wrong_model_in_body_does_not_error@external" time="0.086" /><testcase classname="tests.test_external_models.TestExternalModelBodyRouting" name="test_missing_model_in_body_does_not_error@external" time="1.636" /><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.074" /><testcase classname="tests.test_negative_security.TestMissingModelRef" name="test_authpolicy_with_nonexistent_model_ref@security" time="3.108" /><testcase classname="tests.test_negative_security.TestHeaderAbuse" name="test_special_characters_in_subscription_header@security" time="0.406" /><testcase classname="tests.test_negative_security.TestWebhookValidation" name="test_subscription_rejected_in_unlabeled_namespace@security" time="11.670" /><testcase classname="tests.test_negative_security.TestWebhookValidation" name="test_authpolicy_rejected_in_unlabeled_namespace@security" time="7.431" /><testcase classname="tests.test_negative_security.TestInternalEndpointIsolation" name="test_internal_endpoint_not_routable[subscriptions-select]@security" time="0.152" /><testcase classname="tests.test_negative_security.TestInternalEndpointIsolation" name="test_internal_endpoint_not_routable[api-keys-cleanup]@security" time="0.135" /><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.039" /><testcase classname="tests.test_negative_security.TestInternalEndpointIsolation" name="test_v1_models_via_maas_api_prefix@security" time="0.150" /><testcase classname="tests.test_aitenant_lifecycle.TestAITenantLifecycle" name="test_aitenant_migrates_and_removes_legacy_tenant@mt_lifecycle" time="35.811" /><testcase classname="tests.test_aitenant_lifecycle.TestAITenantLifecycle" name="test_aitenant_delete_cleans_maas_resources_and_preserves_user_objects@mt_lifecycle" time="37.997" /><testcase classname="tests.test_aitenant_lifecycle.TestAITenantLifecycle" name="test_aitenant_derives_non_default_tenant_namespace@mt_lifecycle" time="36.669" /><testcase classname="tests.test_tenant_namespace_discovery.TestTenantNamespaceDiscovery" name="test_labeled_tenant_namespace_is_discovered@mt_lifecycle" time="13.566" /><testcase classname="tests.test_tenant_auto_resolve.TestTenantAutoResolve" name="test_explicit_tenant_ref_preserved@tenant_auto_resolve" time="111.321" /><testcase classname="tests.test_tenant_namespace_discovery.TestTenantNamespaceDiscovery" name="test_label_removal_stops_reconciliation@mt_lifecycle" time="34.440" /><testcase classname="tests.test_tenant_namespace_discovery.TestTenantNamespaceDiscovery" name="test_unlabeled_namespace_ignored@mt_lifecycle" time="23.350" /><testcase classname="tests.test_tenant_namespace_discovery.TestTenantNamespaceDiscovery" name="test_dynamic_discovery_after_label_added@mt_lifecycle" time="20.086" /><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="18.310" /><testcase classname="tests.test_tenant_model_inference.TestTenantModelInference" name="test_model_routes_through_tenant_gateway@tenant_isolation" time="281.793" /><testcase classname="tests.test_tenant_model_inference.TestTenantModelInference" name="test_inference_succeeds_through_tenant_gateway@tenant_isolation" time="8.288" /><testcase classname="tests.test_tenant_namespace_discovery.TestTenantNamespaceDiscovery" name="test_tenant_admin_rbac_is_namespace_scoped@mt_lifecycle" time="63.275" /><testcase classname="tests.test_tenant_model_inference.TestTenantModelInference" name="test_tenant_isolation_cross_gateway_blocked@tenant_isolation" time="0.322" /><testcase classname="tests.test_tenant_model_inference.TestTenantBodyRouting" name="test_correct_model_in_body_succeeds@tenant_isolation" time="8.221" /><testcase classname="tests.test_tenant_auto_resolve.TestTenantAutoResolve" name="test_no_matching_tenant_enters_failed@tenant_auto_resolve" time="139.445" /><testcase classname="tests.test_tenant_model_inference.TestTenantBodyRouting" name="test_wrong_model_in_body_rejected@tenant_isolation" time="8.216" /><testcase classname="tests.test_tenant_model_inference.TestTenantBodyRouting" name="test_missing_model_in_body_rejected@tenant_isolation" time="8.232" /><testcase classname="tests.test_tenant_model_inference.TestTenantBodyRouting" name="test_each_tenant_routes_to_own_model@tenant_isolation" time="122.339" /><testcase classname="tests.test_tenant_namespace_discovery.TestTenantWebhookValidation" name="test_maassubscription_rejected_without_tenant_config_cr@mt_lifecycle" time="8.459" /><testcase classname="tests.test_tenant_namespace_discovery.TestTenantWebhookValidation" name="test_maasauthpolicy_rejected_without_tenant_config_cr@mt_lifecycle" time="8.068" /><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.602" /><testcase classname="tests.test_tenant_discovery_isolation" name="test_tenant_discovery_same_tenant_access@mt_lifecycle" time="58.808"><skipped type="pytest.skip" message="Skipping when Gateway uses ClusterIP + OpenShift Route (unsupported configuration). This mixes incompatible routing paradigms. Gateway has no external hostname in spec.listeners, so /v1/tenants returns an error. Supported configuration: LoadBalancer service with hostname in spec.listeners.">/workspace/source/test/e2e/tests/test_tenant_discovery_isolation.py:93: Skipping when Gateway uses ClusterIP + OpenShift Route (unsupported configuration). This mixes incompatible routing paradigms. Gateway has no external hostname in spec.listeners, so /v1/tenants returns an error. Supported configuration: LoadBalancer service with hostname in spec.listeners.</skipped></testcase><testcase classname="tests.test_tenant_discovery_isolation" name="test_tenant_discovery_cross_tenant_isolation@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:141: Skipping when Gateway uses ClusterIP + OpenShift Route (unsupported configuration). This mixes incompatible routing paradigms. Gateway has no external hostname in spec.listeners, so /v1/tenants returns an error. Supported configuration: LoadBalancer service with hostname in spec.listeners.</skipped></testcase><testcase classname="tests.test_tenant_discovery_isolation" name="test_tenant_discovery_unauthorized_access@mt_lifecycle" time="9.405" /><testcase classname="tests.test_tenant_discovery_isolation" name="test_tenant_discovery_each_tenant_returns_own_gateway@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:228: Skipping when Gateway uses ClusterIP + OpenShift Route (unsupported configuration). This mixes incompatible routing paradigms. Gateway has no external hostname in spec.listeners, so /v1/tenants returns an error. Supported configuration: LoadBalancer service with hostname in spec.listeners.</skipped></testcase><testcase classname="tests.test_multi_tenant_integration.TestMultiTenantIntegration" name="test_full_tenant_lifecycle_create_to_delete@mt_lifecycle" time="267.703" /><testcase classname="tests.test_multi_tenant_integration.TestMultiTenantIntegration" name="test_default_tenant_unaffected_by_multitenancy_enablement@mt_lifecycle" time="0.996" /><testcase classname="tests.test_multi_tenant_integration.TestMultiTenantIntegration" name="test_same_named_resources_across_tenants@mt_lifecycle" time="22.903" /><testcase classname="tests.test_multi_tenant_integration.TestMultiTenantIntegration" name="test_tenant_namespace_label_change_triggers_reconciliation@mt_lifecycle" time="39.295" /><testcase classname="tests.test_tenant_auth_isolation.TestTenantAuthIsolation" name="test_api_key_creation_scoped_to_tenant@tenant_isolation" time="363.660" /><testcase classname="tests.test_multi_tenant_maas_api.TestPerTenantMaaSAPI" name="test_aitenant_creates_dedicated_maas_api_infrastructure@mt_lifecycle" time="60.140" /><testcase classname="tests.test_multi_tenant_maas_api.TestPerTenantMaaSAPI" name="test_tenant_name_environment_variable_set@mt_lifecycle" time="0.247" /><testcase classname="tests.test_multi_tenant_maas_api.TestPerTenantMaaSAPI" name="test_service_routing_isolation@mt_lifecycle" time="0.483" /><testcase classname="tests.test_multi_tenant_maas_api.TestPerTenantMaaSAPI" name="test_httproute_tenant_attachment@mt_lifecycle" time="0.235" /><testcase classname="tests.test_multi_tenant_maas_api.TestPerTenantMaaSAPI" name="test_default_and_multiple_tenants_coexist@mt_lifecycle" time="88.831" /><testcase classname="tests.test_tenant_auth_isolation.TestTenantAuthIsolation" name="test_api_key_validates_against_correct_tenant@tenant_isolation" time="49.575" /><testcase classname="tests.test_tenant_auth_isolation.TestTenantAuthIsolation" name="test_api_key_rejected_cross_tenant@tenant_isolation" time="45.115" /><testcase classname="tests.test_tenant_auth_isolation.TestTenantAuthIsolation" name="test_oidc_token_validation_per_tenant@tenant_isolation" time="0.001"><skipped type="pytest.skip" message="Per-tenant OIDC tokens unavailable — set OIDC_TOKEN_URL (tenant-a) and OIDC_TOKEN_URL_TENANT_B (tenant-b), or OIDC_TOKEN_TENANT_A / OIDC_TOKEN_TENANT_B">/workspace/source/test/e2e/tests/test_tenant_auth_isolation.py:215: Per-tenant OIDC tokens unavailable — set OIDC_TOKEN_URL (tenant-a) and OIDC_TOKEN_URL_TENANT_B (tenant-b), or OIDC_TOKEN_TENANT_A / OIDC_TOKEN_TENANT_B</skipped></testcase><testcase classname="tests.test_model_identity_conflict.TestModelIdentityConflictDetection" name="test_colliding_model_names_flagged_then_resolved@models" time="901.319"><error message="failed on setup with &quot;TimeoutError: MaaSModelRef e2e-models-e2e-worker-w4-1312ea/distinct-w4-1312ea did not reach Ready within 180s (current: phase=Pending, endpoint=None, conditions=['GovernanceAttached=False', 'RuntimeReady=True', 'ModelIdentityUnique=True', 'Ready=False'])&quot;">@pytest.fixture(scope="session")
    def worker_tenant_context():
        """Create one isolated AITenant for tests explicitly marked worker_tenant."""
        from worker_tenant_fixtures import (
            bootstrap_worker_tenant,
            build_worker_tenant_case,
            teardown_worker_tenant,
            worker_tenant_enabled,
        )
    
        if not worker_tenant_enabled():
            pytest.skip("worker tenant isolation disabled by E2E_USE_WORKER_TENANT")
    
        case = build_worker_tenant_case(_xdist_worker_suffix())
        try:
&gt;           case = bootstrap_worker_tenant(case)

test/e2e/tests/conftest.py:37: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
test/e2e/tests/worker_tenant_fixtures.py:287: in bootstrap_worker_tenant
    _wait_for_model_ready(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

model_ref = 'distinct-w4-1312ea', namespace = 'e2e-models-e2e-worker-w4-1312ea'
timeout = 180

    def _wait_for_model_ready(model_ref, namespace=MODEL_NAMESPACE, timeout=60):
        """Wait for MaaSModelRef to reach Ready phase.
    
        Args:
            model_ref: Name of the MaaSModelRef
            namespace: Namespace (default: MODEL_NAMESPACE)
            timeout: Maximum wait time in seconds (default: 60)
    
        Returns:
            The MaaSModelRef CR dict when Ready
    
        Raises:
            TimeoutError: If MaaSModelRef doesn't reach Ready within timeout
        """
        deadline = time.time() + timeout
        log.info(f"Waiting for MaaSModelRef {namespace}/{model_ref} to reach phase 'Ready' (timeout: {timeout}s)...")
    
        while time.time() &lt; deadline:
            cr = _get_cr("maasmodelref", model_ref, namespace)
            if cr:
                status = cr.get("status", {})
                phase = status.get("phase")
                endpoint = status.get("endpoint")
    
                if phase == "Ready" and endpoint:
                    log.info(f"MaaSModelRef {namespace}/{model_ref} is Ready with endpoint: {endpoint}")
                    return cr
    
                log.debug(f"MaaSModelRef {namespace}/{model_ref}: phase={phase}, endpoint={endpoint or 'none'}")
            time.sleep(2)
    
        # Timeout - return current state for debugging
        cr = _get_cr("maasmodelref", model_ref, namespace)
        status = cr.get("status", {}) if cr else {}
        conditions = status.get("conditions", [])
&gt;       raise TimeoutError(
            f"MaaSModelRef {namespace}/{model_ref} did not reach Ready within {timeout}s "
            f"(current: phase={status.get('phase')}, endpoint={status.get('endpoint')}, "
            f"conditions={[c.get('type') + '=' + str(c.get('status')) for c in conditions]})"
        )
E       TimeoutError: MaaSModelRef e2e-models-e2e-worker-w4-1312ea/distinct-w4-1312ea did not reach Ready within 180s (current: phase=Pending, endpoint=None, conditions=['GovernanceAttached=False', 'RuntimeReady=True', 'ModelIdentityUnique=True', 'Ready=False'])

test/e2e/tests/test_helper.py:1499: TimeoutError</error></testcase><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_explicit_subscription_header@models" time="0.001"><error message="failed on setup with &quot;TimeoutError: MaaSModelRef e2e-models-e2e-worker-w4-1312ea/distinct-w4-1312ea did not reach Ready within 180s (current: phase=Pending, endpoint=None, conditions=['GovernanceAttached=False', 'RuntimeReady=True', 'ModelIdentityUnique=True', 'Ready=False'])&quot;">request = &lt;SubRequest '_worker_models_context' for &lt;Function test_explicit_subscription_header&gt;&gt;

    @pytest.fixture(scope="module", autouse=True)
    def _worker_models_context(request):
        """Route parallel model tests through the explicit worker context.
    
        The serial pass intentionally retains the default deployment.
        """
        from worker_tenant_fixtures import activate_worker_tenant, serial_only_selection
    
        if serial_only_selection(request):
            yield
            return
    
&gt;       context = request.getfixturevalue("worker_tenant_context")

test/e2e/tests/test_models_endpoint.py:88: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:549: in getfixturevalue
    fixturedef = self._get_active_fixturedef(argname)
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:640: in _get_active_fixturedef
    fixturedef.execute(request=subrequest)
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:1108: in execute
    raise exc.with_traceback(exc_tb)
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:1196: in pytest_fixture_setup
    result = call_fixture_func(fixturefunc, request, kwargs)
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:923: in call_fixture_func
    fixture_result = next(generator)
test/e2e/tests/conftest.py:37: in worker_tenant_context
    case = bootstrap_worker_tenant(case)
test/e2e/tests/worker_tenant_fixtures.py:287: in bootstrap_worker_tenant
    _wait_for_model_ready(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

model_ref = 'distinct-w4-1312ea', namespace = 'e2e-models-e2e-worker-w4-1312ea'
timeout = 180

    def _wait_for_model_ready(model_ref, namespace=MODEL_NAMESPACE, timeout=60):
        """Wait for MaaSModelRef to reach Ready phase.
    
        Args:
            model_ref: Name of the MaaSModelRef
            namespace: Namespace (default: MODEL_NAMESPACE)
            timeout: Maximum wait time in seconds (default: 60)
    
        Returns:
            The MaaSModelRef CR dict when Ready
    
        Raises:
            TimeoutError: If MaaSModelRef doesn't reach Ready within timeout
        """
        deadline = time.time() + timeout
        log.info(f"Waiting for MaaSModelRef {namespace}/{model_ref} to reach phase 'Ready' (timeout: {timeout}s)...")
    
        while time.time() &lt; deadline:
            cr = _get_cr("maasmodelref", model_ref, namespace)
            if cr:
                status = cr.get("status", {})
                phase = status.get("phase")
                endpoint = status.get("endpoint")
    
                if phase == "Ready" and endpoint:
                    log.info(f"MaaSModelRef {namespace}/{model_ref} is Ready with endpoint: {endpoint}")
                    return cr
    
                log.debug(f"MaaSModelRef {namespace}/{model_ref}: phase={phase}, endpoint={endpoint or 'none'}")
            time.sleep(2)
    
        # Timeout - return current state for debugging
        cr = _get_cr("maasmodelref", model_ref, namespace)
        status = cr.get("status", {}) if cr else {}
        conditions = status.get("conditions", [])
&gt;       raise TimeoutError(
            f"MaaSModelRef {namespace}/{model_ref} did not reach Ready within {timeout}s "
            f"(current: phase={status.get('phase')}, endpoint={status.get('endpoint')}, "
            f"conditions={[c.get('type') + '=' + str(c.get('status')) for c in conditions]})"
        )
E       TimeoutError: MaaSModelRef e2e-models-e2e-worker-w4-1312ea/distinct-w4-1312ea did not reach Ready within 180s (current: phase=Pending, endpoint=None, conditions=['GovernanceAttached=False', 'RuntimeReady=True', 'ModelIdentityUnique=True', 'Ready=False'])

test/e2e/tests/test_helper.py:1499: TimeoutError</error></testcase><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_empty_subscription_header_value@models" time="0.000"><error message="failed on setup with &quot;TimeoutError: MaaSModelRef e2e-models-e2e-worker-w4-1312ea/distinct-w4-1312ea did not reach Ready within 180s (current: phase=Pending, endpoint=None, conditions=['GovernanceAttached=False', 'RuntimeReady=True', 'ModelIdentityUnique=True', 'Ready=False'])&quot;">request = &lt;SubRequest '_worker_models_context' for &lt;Function test_explicit_subscription_header&gt;&gt;

    @pytest.fixture(scope="module", autouse=True)
    def _worker_models_context(request):
        """Route parallel model tests through the explicit worker context.
    
        The serial pass intentionally retains the default deployment.
        """
        from worker_tenant_fixtures import activate_worker_tenant, serial_only_selection
    
        if serial_only_selection(request):
            yield
            return
    
&gt;       context = request.getfixturevalue("worker_tenant_context")

test/e2e/tests/test_models_endpoint.py:88: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:549: in getfixturevalue
    fixturedef = self._get_active_fixturedef(argname)
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:640: in _get_active_fixturedef
    fixturedef.execute(request=subrequest)
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:1108: in execute
    raise exc.with_traceback(exc_tb)
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:1196: in pytest_fixture_setup
    result = call_fixture_func(fixturefunc, request, kwargs)
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:923: in call_fixture_func
    fixture_result = next(generator)
test/e2e/tests/conftest.py:37: in worker_tenant_context
    case = bootstrap_worker_tenant(case)
test/e2e/tests/worker_tenant_fixtures.py:287: in bootstrap_worker_tenant
    _wait_for_model_ready(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

model_ref = 'distinct-w4-1312ea', namespace = 'e2e-models-e2e-worker-w4-1312ea'
timeout = 180

    def _wait_for_model_ready(model_ref, namespace=MODEL_NAMESPACE, timeout=60):
        """Wait for MaaSModelRef to reach Ready phase.
    
        Args:
            model_ref: Name of the MaaSModelRef
            namespace: Namespace (default: MODEL_NAMESPACE)
            timeout: Maximum wait time in seconds (default: 60)
    
        Returns:
            The MaaSModelRef CR dict when Ready
    
        Raises:
            TimeoutError: If MaaSModelRef doesn't reach Ready within timeout
        """
        deadline = time.time() + timeout
        log.info(f"Waiting for MaaSModelRef {namespace}/{model_ref} to reach phase 'Ready' (timeout: {timeout}s)...")
    
        while time.time() &lt; deadline:
            cr = _get_cr("maasmodelref", model_ref, namespace)
            if cr:
                status = cr.get("status", {})
                phase = status.get("phase")
                endpoint = status.get("endpoint")
    
                if phase == "Ready" and endpoint:
                    log.info(f"MaaSModelRef {namespace}/{model_ref} is Ready with endpoint: {endpoint}")
                    return cr
    
                log.debug(f"MaaSModelRef {namespace}/{model_ref}: phase={phase}, endpoint={endpoint or 'none'}")
            time.sleep(2)
    
        # Timeout - return current state for debugging
        cr = _get_cr("maasmodelref", model_ref, namespace)
        status = cr.get("status", {}) if cr else {}
        conditions = status.get("conditions", [])
&gt;       raise TimeoutError(
            f"MaaSModelRef {namespace}/{model_ref} did not reach Ready within {timeout}s "
            f"(current: phase={status.get('phase')}, endpoint={status.get('endpoint')}, "
            f"conditions={[c.get('type') + '=' + str(c.get('status')) for c in conditions]})"
        )
E       TimeoutError: MaaSModelRef e2e-models-e2e-worker-w4-1312ea/distinct-w4-1312ea did not reach Ready within 180s (current: phase=Pending, endpoint=None, conditions=['GovernanceAttached=False', 'RuntimeReady=True', 'ModelIdentityUnique=True', 'Ready=False'])

test/e2e/tests/test_helper.py:1499: TimeoutError</error></testcase><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_models_filtered_by_subscription@models" time="0.000"><error message="failed on setup with &quot;TimeoutError: MaaSModelRef e2e-models-e2e-worker-w4-1312ea/distinct-w4-1312ea did not reach Ready within 180s (current: phase=Pending, endpoint=None, conditions=['GovernanceAttached=False', 'RuntimeReady=True', 'ModelIdentityUnique=True', 'Ready=False'])&quot;">request = &lt;SubRequest '_worker_models_context' for &lt;Function test_explicit_subscription_header&gt;&gt;

    @pytest.fixture(scope="module", autouse=True)
    def _worker_models_context(request):
        """Route parallel model tests through the explicit worker context.
    
        The serial pass intentionally retains the default deployment.
        """
        from worker_tenant_fixtures import activate_worker_tenant, serial_only_selection
    
        if serial_only_selection(request):
            yield
            return
    
&gt;       context = request.getfixturevalue("worker_tenant_context")

test/e2e/tests/test_models_endpoint.py:88: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:549: in getfixturevalue
    fixturedef = self._get_active_fixturedef(argname)
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:640: in _get_active_fixturedef
    fixturedef.execute(request=subrequest)
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:1108: in execute
    raise exc.with_traceback(exc_tb)
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:1196: in pytest_fixture_setup
    result = call_fixture_func(fixturefunc, request, kwargs)
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:923: in call_fixture_func
    fixture_result = next(generator)
test/e2e/tests/conftest.py:37: in worker_tenant_context
    case = bootstrap_worker_tenant(case)
test/e2e/tests/worker_tenant_fixtures.py:287: in bootstrap_worker_tenant
    _wait_for_model_ready(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

model_ref = 'distinct-w4-1312ea', namespace = 'e2e-models-e2e-worker-w4-1312ea'
timeout = 180

    def _wait_for_model_ready(model_ref, namespace=MODEL_NAMESPACE, timeout=60):
        """Wait for MaaSModelRef to reach Ready phase.
    
        Args:
            model_ref: Name of the MaaSModelRef
            namespace: Namespace (default: MODEL_NAMESPACE)
            timeout: Maximum wait time in seconds (default: 60)
    
        Returns:
            The MaaSModelRef CR dict when Ready
    
        Raises:
            TimeoutError: If MaaSModelRef doesn't reach Ready within timeout
        """
        deadline = time.time() + timeout
        log.info(f"Waiting for MaaSModelRef {namespace}/{model_ref} to reach phase 'Ready' (timeout: {timeout}s)...")
    
        while time.time() &lt; deadline:
            cr = _get_cr("maasmodelref", model_ref, namespace)
            if cr:
                status = cr.get("status", {})
                phase = status.get("phase")
                endpoint = status.get("endpoint")
    
                if phase == "Ready" and endpoint:
                    log.info(f"MaaSModelRef {namespace}/{model_ref} is Ready with endpoint: {endpoint}")
                    return cr
    
                log.debug(f"MaaSModelRef {namespace}/{model_ref}: phase={phase}, endpoint={endpoint or 'none'}")
            time.sleep(2)
    
        # Timeout - return current state for debugging
        cr = _get_cr("maasmodelref", model_ref, namespace)
        status = cr.get("status", {}) if cr else {}
        conditions = status.get("conditions", [])
&gt;       raise TimeoutError(
            f"MaaSModelRef {namespace}/{model_ref} did not reach Ready within {timeout}s "
            f"(current: phase={status.get('phase')}, endpoint={status.get('endpoint')}, "
            f"conditions={[c.get('type') + '=' + str(c.get('status')) for c in conditions]})"
        )
E       TimeoutError: MaaSModelRef e2e-models-e2e-worker-w4-1312ea/distinct-w4-1312ea did not reach Ready within 180s (current: phase=Pending, endpoint=None, conditions=['GovernanceAttached=False', 'RuntimeReady=True', 'ModelIdentityUnique=True', 'Ready=False'])

test/e2e/tests/test_helper.py:1499: TimeoutError</error></testcase><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_deduplication_same_model_multiple_refs@models" time="0.000"><error message="failed on setup with &quot;TimeoutError: MaaSModelRef e2e-models-e2e-worker-w4-1312ea/distinct-w4-1312ea did not reach Ready within 180s (current: phase=Pending, endpoint=None, conditions=['GovernanceAttached=False', 'RuntimeReady=True', 'ModelIdentityUnique=True', 'Ready=False'])&quot;">request = &lt;SubRequest '_worker_models_context' for &lt;Function test_explicit_subscription_header&gt;&gt;

    @pytest.fixture(scope="module", autouse=True)
    def _worker_models_context(request):
        """Route parallel model tests through the explicit worker context.
    
        The serial pass intentionally retains the default deployment.
        """
        from worker_tenant_fixtures import activate_worker_tenant, serial_only_selection
    
        if serial_only_selection(request):
            yield
            return
    
&gt;       context = request.getfixturevalue("worker_tenant_context")

test/e2e/tests/test_models_endpoint.py:88: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:549: in getfixturevalue
    fixturedef = self._get_active_fixturedef(argname)
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:640: in _get_active_fixturedef
    fixturedef.execute(request=subrequest)
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:1108: in execute
    raise exc.with_traceback(exc_tb)
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:1196: in pytest_fixture_setup
    result = call_fixture_func(fixturefunc, request, kwargs)
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:923: in call_fixture_func
    fixture_result = next(generator)
test/e2e/tests/conftest.py:37: in worker_tenant_context
    case = bootstrap_worker_tenant(case)
test/e2e/tests/worker_tenant_fixtures.py:287: in bootstrap_worker_tenant
    _wait_for_model_ready(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

model_ref = 'distinct-w4-1312ea', namespace = 'e2e-models-e2e-worker-w4-1312ea'
timeout = 180

    def _wait_for_model_ready(model_ref, namespace=MODEL_NAMESPACE, timeout=60):
        """Wait for MaaSModelRef to reach Ready phase.
    
        Args:
            model_ref: Name of the MaaSModelRef
            namespace: Namespace (default: MODEL_NAMESPACE)
            timeout: Maximum wait time in seconds (default: 60)
    
        Returns:
            The MaaSModelRef CR dict when Ready
    
        Raises:
            TimeoutError: If MaaSModelRef doesn't reach Ready within timeout
        """
        deadline = time.time() + timeout
        log.info(f"Waiting for MaaSModelRef {namespace}/{model_ref} to reach phase 'Ready' (timeout: {timeout}s)...")
    
        while time.time() &lt; deadline:
            cr = _get_cr("maasmodelref", model_ref, namespace)
            if cr:
                status = cr.get("status", {})
                phase = status.get("phase")
                endpoint = status.get("endpoint")
    
                if phase == "Ready" and endpoint:
                    log.info(f"MaaSModelRef {namespace}/{model_ref} is Ready with endpoint: {endpoint}")
                    return cr
    
                log.debug(f"MaaSModelRef {namespace}/{model_ref}: phase={phase}, endpoint={endpoint or 'none'}")
            time.sleep(2)
    
        # Timeout - return current state for debugging
        cr = _get_cr("maasmodelref", model_ref, namespace)
        status = cr.get("status", {}) if cr else {}
        conditions = status.get("conditions", [])
&gt;       raise TimeoutError(
            f"MaaSModelRef {namespace}/{model_ref} did not reach Ready within {timeout}s "
            f"(current: phase={status.get('phase')}, endpoint={status.get('endpoint')}, "
            f"conditions={[c.get('type') + '=' + str(c.get('status')) for c in conditions]})"
        )
E       TimeoutError: MaaSModelRef e2e-models-e2e-worker-w4-1312ea/distinct-w4-1312ea did not reach Ready within 180s (current: phase=Pending, endpoint=None, conditions=['GovernanceAttached=False', 'RuntimeReady=True', 'ModelIdentityUnique=True', 'Ready=False'])

test/e2e/tests/test_helper.py:1499: TimeoutError</error></testcase><testcase classname="tests.test_api_keys.TestAPIKeyCRUD" name="test_create_api_key@api_keys" time="931.196"><error message="failed on setup with &quot;TimeoutError: MaaSModelRef e2e-models-e2e-worker-w0-30919a/distinct-w0-30919a did not reach Ready within 180s (current: phase=Pending, endpoint=None, conditions=['GovernanceAttached=False', 'RuntimeReady=True', 'ModelIdentityUnique=True', 'Ready=False'])&quot;">request = &lt;SubRequest '_worker_api_keys_context' for &lt;Function test_create_api_key&gt;&gt;

    @pytest.fixture(scope="module", autouse=True)
    def _worker_api_keys_context(request):
        """Bind parallel API-key tests to worker state; leave the serial pass alone."""
        from worker_tenant_fixtures import activate_worker_tenant, serial_only_selection
    
        if serial_only_selection(request):
            yield None
            return
    
&gt;       context = request.getfixturevalue("worker_tenant_context")

test/e2e/tests/test_api_keys.py:84: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:549: in getfixturevalue
    fixturedef = self._get_active_fixturedef(argname)
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:640: in _get_active_fixturedef
    fixturedef.execute(request=subrequest)
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:1128: in execute
    result = ihook.pytest_fixture_setup(fixturedef=self, request=request)
test/e2e/.venv/lib64/python3.9/site-packages/pluggy/_hooks.py:512: in __call__
    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
test/e2e/.venv/lib64/python3.9/site-packages/pluggy/_manager.py:120: in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup
    return (yield)
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:1196: in pytest_fixture_setup
    result = call_fixture_func(fixturefunc, request, kwargs)
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:923: in call_fixture_func
    fixture_result = next(generator)
test/e2e/tests/conftest.py:37: in worker_tenant_context
    case = bootstrap_worker_tenant(case)
test/e2e/tests/worker_tenant_fixtures.py:287: in bootstrap_worker_tenant
    _wait_for_model_ready(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

model_ref = 'distinct-w0-30919a', namespace = 'e2e-models-e2e-worker-w0-30919a'
timeout = 180

    def _wait_for_model_ready(model_ref, namespace=MODEL_NAMESPACE, timeout=60):
        """Wait for MaaSModelRef to reach Ready phase.
    
        Args:
            model_ref: Name of the MaaSModelRef
            namespace: Namespace (default: MODEL_NAMESPACE)
            timeout: Maximum wait time in seconds (default: 60)
    
        Returns:
            The MaaSModelRef CR dict when Ready
    
        Raises:
            TimeoutError: If MaaSModelRef doesn't reach Ready within timeout
        """
        deadline = time.time() + timeout
        log.info(f"Waiting for MaaSModelRef {namespace}/{model_ref} to reach phase 'Ready' (timeout: {timeout}s)...")
    
        while time.time() &lt; deadline:
            cr = _get_cr("maasmodelref", model_ref, namespace)
            if cr:
                status = cr.get("status", {})
                phase = status.get("phase")
                endpoint = status.get("endpoint")
    
                if phase == "Ready" and endpoint:
                    log.info(f"MaaSModelRef {namespace}/{model_ref} is Ready with endpoint: {endpoint}")
                    return cr
    
                log.debug(f"MaaSModelRef {namespace}/{model_ref}: phase={phase}, endpoint={endpoint or 'none'}")
            time.sleep(2)
    
        # Timeout - return current state for debugging
        cr = _get_cr("maasmodelref", model_ref, namespace)
        status = cr.get("status", {}) if cr else {}
        conditions = status.get("conditions", [])
&gt;       raise TimeoutError(
            f"MaaSModelRef {namespace}/{model_ref} did not reach Ready within {timeout}s "
            f"(current: phase={status.get('phase')}, endpoint={status.get('endpoint')}, "
            f"conditions={[c.get('type') + '=' + str(c.get('status')) for c in conditions]})"
        )
E       TimeoutError: MaaSModelRef e2e-models-e2e-worker-w0-30919a/distinct-w0-30919a did not reach Ready within 180s (current: phase=Pending, endpoint=None, conditions=['GovernanceAttached=False', 'RuntimeReady=True', 'ModelIdentityUnique=True', 'Ready=False'])

test/e2e/tests/test_helper.py:1499: TimeoutError</error></testcase><testcase classname="tests.test_api_keys.TestAPIKeyCRUD" name="test_list_api_keys@api_keys" time="0.000"><error message="failed on setup with &quot;TimeoutError: MaaSModelRef e2e-models-e2e-worker-w0-30919a/distinct-w0-30919a did not reach Ready within 180s (current: phase=Pending, endpoint=None, conditions=['GovernanceAttached=False', 'RuntimeReady=True', 'ModelIdentityUnique=True', 'Ready=False'])&quot;">request = &lt;SubRequest '_worker_api_keys_context' for &lt;Function test_create_api_key&gt;&gt;

    @pytest.fixture(scope="module", autouse=True)
    def _worker_api_keys_context(request):
        """Bind parallel API-key tests to worker state; leave the serial pass alone."""
        from worker_tenant_fixtures import activate_worker_tenant, serial_only_selection
    
        if serial_only_selection(request):
            yield None
            return
    
&gt;       context = request.getfixturevalue("worker_tenant_context")

test/e2e/tests/test_api_keys.py:84: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:549: in getfixturevalue
    fixturedef = self._get_active_fixturedef(argname)
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:640: in _get_active_fixturedef
    fixturedef.execute(request=subrequest)
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:1128: in execute
    result = ihook.pytest_fixture_setup(fixturedef=self, request=request)
test/e2e/.venv/lib64/python3.9/site-packages/pluggy/_hooks.py:512: in __call__
    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
test/e2e/.venv/lib64/python3.9/site-packages/pluggy/_manager.py:120: in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup
    return (yield)
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:1196: in pytest_fixture_setup
    result = call_fixture_func(fixturefunc, request, kwargs)
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:923: in call_fixture_func
    fixture_result = next(generator)
test/e2e/tests/conftest.py:37: in worker_tenant_context
    case = bootstrap_worker_tenant(case)
test/e2e/tests/worker_tenant_fixtures.py:287: in bootstrap_worker_tenant
    _wait_for_model_ready(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

model_ref = 'distinct-w0-30919a', namespace = 'e2e-models-e2e-worker-w0-30919a'
timeout = 180

    def _wait_for_model_ready(model_ref, namespace=MODEL_NAMESPACE, timeout=60):
        """Wait for MaaSModelRef to reach Ready phase.
    
        Args:
            model_ref: Name of the MaaSModelRef
            namespace: Namespace (default: MODEL_NAMESPACE)
            timeout: Maximum wait time in seconds (default: 60)
    
        Returns:
            The MaaSModelRef CR dict when Ready
    
        Raises:
            TimeoutError: If MaaSModelRef doesn't reach Ready within timeout
        """
        deadline = time.time() + timeout
        log.info(f"Waiting for MaaSModelRef {namespace}/{model_ref} to reach phase 'Ready' (timeout: {timeout}s)...")
    
        while time.time() &lt; deadline:
            cr = _get_cr("maasmodelref", model_ref, namespace)
            if cr:
                status = cr.get("status", {})
                phase = status.get("phase")
                endpoint = status.get("endpoint")
    
                if phase == "Ready" and endpoint:
                    log.info(f"MaaSModelRef {namespace}/{model_ref} is Ready with endpoint: {endpoint}")
                    return cr
    
                log.debug(f"MaaSModelRef {namespace}/{model_ref}: phase={phase}, endpoint={endpoint or 'none'}")
            time.sleep(2)
    
        # Timeout - return current state for debugging
        cr = _get_cr("maasmodelref", model_ref, namespace)
        status = cr.get("status", {}) if cr else {}
        conditions = status.get("conditions", [])
&gt;       raise TimeoutError(
            f"MaaSModelRef {namespace}/{model_ref} did not reach Ready within {timeout}s "
            f"(current: phase={status.get('phase')}, endpoint={status.get('endpoint')}, "
            f"conditions={[c.get('type') + '=' + str(c.get('status')) for c in conditions]})"
        )
E       TimeoutError: MaaSModelRef e2e-models-e2e-worker-w0-30919a/distinct-w0-30919a did not reach Ready within 180s (current: phase=Pending, endpoint=None, conditions=['GovernanceAttached=False', 'RuntimeReady=True', 'ModelIdentityUnique=True', 'Ready=False'])

test/e2e/tests/test_helper.py:1499: TimeoutError</error></testcase><testcase classname="tests.test_api_keys.TestAPIKeyCRUD" name="test_revoke_api_key@api_keys" time="0.000"><error message="failed on setup with &quot;TimeoutError: MaaSModelRef e2e-models-e2e-worker-w0-30919a/distinct-w0-30919a did not reach Ready within 180s (current: phase=Pending, endpoint=None, conditions=['GovernanceAttached=False', 'RuntimeReady=True', 'ModelIdentityUnique=True', 'Ready=False'])&quot;">request = &lt;SubRequest '_worker_api_keys_context' for &lt;Function test_create_api_key&gt;&gt;

    @pytest.fixture(scope="module", autouse=True)
    def _worker_api_keys_context(request):
        """Bind parallel API-key tests to worker state; leave the serial pass alone."""
        from worker_tenant_fixtures import activate_worker_tenant, serial_only_selection
    
        if serial_only_selection(request):
            yield None
            return
    
&gt;       context = request.getfixturevalue("worker_tenant_context")

test/e2e/tests/test_api_keys.py:84: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:549: in getfixturevalue
    fixturedef = self._get_active_fixturedef(argname)
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:640: in _get_active_fixturedef
    fixturedef.execute(request=subrequest)
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:1128: in execute
    result = ihook.pytest_fixture_setup(fixturedef=self, request=request)
test/e2e/.venv/lib64/python3.9/site-packages/pluggy/_hooks.py:512: in __call__
    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
test/e2e/.venv/lib64/python3.9/site-packages/pluggy/_manager.py:120: in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup
    return (yield)
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:1196: in pytest_fixture_setup
    result = call_fixture_func(fixturefunc, request, kwargs)
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:923: in call_fixture_func
    fixture_result = next(generator)
test/e2e/tests/conftest.py:37: in worker_tenant_context
    case = bootstrap_worker_tenant(case)
test/e2e/tests/worker_tenant_fixtures.py:287: in bootstrap_worker_tenant
    _wait_for_model_ready(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

model_ref = 'distinct-w0-30919a', namespace = 'e2e-models-e2e-worker-w0-30919a'
timeout = 180

    def _wait_for_model_ready(model_ref, namespace=MODEL_NAMESPACE, timeout=60):
        """Wait for MaaSModelRef to reach Ready phase.
    
        Args:
            model_ref: Name of the MaaSModelRef
            namespace: Namespace (default: MODEL_NAMESPACE)
            timeout: Maximum wait time in seconds (default: 60)
    
        Returns:
            The MaaSModelRef CR dict when Ready
    
        Raises:
            TimeoutError: If MaaSModelRef doesn't reach Ready within timeout
        """
        deadline = time.time() + timeout
        log.info(f"Waiting for MaaSModelRef {namespace}/{model_ref} to reach phase 'Ready' (timeout: {timeout}s)...")
    
        while time.time() &lt; deadline:
            cr = _get_cr("maasmodelref", model_ref, namespace)
            if cr:
                status = cr.get("status", {})
                phase = status.get("phase")
                endpoint = status.get("endpoint")
    
                if phase == "Ready" and endpoint:
                    log.info(f"MaaSModelRef {namespace}/{model_ref} is Ready with endpoint: {endpoint}")
                    return cr
    
                log.debug(f"MaaSModelRef {namespace}/{model_ref}: phase={phase}, endpoint={endpoint or 'none'}")
            time.sleep(2)
    
        # Timeout - return current state for debugging
        cr = _get_cr("maasmodelref", model_ref, namespace)
        status = cr.get("status", {}) if cr else {}
        conditions = status.get("conditions", [])
&gt;       raise TimeoutError(
            f"MaaSModelRef {namespace}/{model_ref} did not reach Ready within {timeout}s "
            f"(current: phase={status.get('phase')}, endpoint={status.get('endpoint')}, "
            f"conditions={[c.get('type') + '=' + str(c.get('status')) for c in conditions]})"
        )
E       TimeoutError: MaaSModelRef e2e-models-e2e-worker-w0-30919a/distinct-w0-30919a did not reach Ready within 180s (current: phase=Pending, endpoint=None, conditions=['GovernanceAttached=False', 'RuntimeReady=True', 'ModelIdentityUnique=True', 'Ready=False'])

test/e2e/tests/test_helper.py:1499: TimeoutError</error></testcase><testcase classname="tests.test_api_keys.TestAPIKeyAuthorization" name="test_admin_manage_other_users_keys@api_keys" time="0.000"><error message="failed on setup with &quot;TimeoutError: MaaSModelRef e2e-models-e2e-worker-w0-30919a/distinct-w0-30919a did not reach Ready within 180s (current: phase=Pending, endpoint=None, conditions=['GovernanceAttached=False', 'RuntimeReady=True', 'ModelIdentityUnique=True', 'Ready=False'])&quot;">request = &lt;SubRequest '_worker_api_keys_context' for &lt;Function test_create_api_key&gt;&gt;

    @pytest.fixture(scope="module", autouse=True)
    def _worker_api_keys_context(request):
        """Bind parallel API-key tests to worker state; leave the serial pass alone."""
        from worker_tenant_fixtures import activate_worker_tenant, serial_only_selection
    
        if serial_only_selection(request):
            yield None
            return
    
&gt;       context = request.getfixturevalue("worker_tenant_context")

test/e2e/tests/test_api_keys.py:84: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:549: in getfixturevalue
    fixturedef = self._get_active_fixturedef(argname)
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:640: in _get_active_fixturedef
    fixturedef.execute(request=subrequest)
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:1128: in execute
    result = ihook.pytest_fixture_setup(fixturedef=self, request=request)
test/e2e/.venv/lib64/python3.9/site-packages/pluggy/_hooks.py:512: in __call__
    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
test/e2e/.venv/lib64/python3.9/site-packages/pluggy/_manager.py:120: in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup
    return (yield)
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:1196: in pytest_fixture_setup
    result = call_fixture_func(fixturefunc, request, kwargs)
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:923: in call_fixture_func
    fixture_result = next(generator)
test/e2e/tests/conftest.py:37: in worker_tenant_context
    case = bootstrap_worker_tenant(case)
test/e2e/tests/worker_tenant_fixtures.py:287: in bootstrap_worker_tenant
    _wait_for_model_ready(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

model_ref = 'distinct-w0-30919a', namespace = 'e2e-models-e2e-worker-w0-30919a'
timeout = 180

    def _wait_for_model_ready(model_ref, namespace=MODEL_NAMESPACE, timeout=60):
        """Wait for MaaSModelRef to reach Ready phase.
    
        Args:
            model_ref: Name of the MaaSModelRef
            namespace: Namespace (default: MODEL_NAMESPACE)
            timeout: Maximum wait time in seconds (default: 60)
    
        Returns:
            The MaaSModelRef CR dict when Ready
    
        Raises:
            TimeoutError: If MaaSModelRef doesn't reach Ready within timeout
        """
        deadline = time.time() + timeout
        log.info(f"Waiting for MaaSModelRef {namespace}/{model_ref} to reach phase 'Ready' (timeout: {timeout}s)...")
    
        while time.time() &lt; deadline:
            cr = _get_cr("maasmodelref", model_ref, namespace)
            if cr:
                status = cr.get("status", {})
                phase = status.get("phase")
                endpoint = status.get("endpoint")
    
                if phase == "Ready" and endpoint:
                    log.info(f"MaaSModelRef {namespace}/{model_ref} is Ready with endpoint: {endpoint}")
                    return cr
    
                log.debug(f"MaaSModelRef {namespace}/{model_ref}: phase={phase}, endpoint={endpoint or 'none'}")
            time.sleep(2)
    
        # Timeout - return current state for debugging
        cr = _get_cr("maasmodelref", model_ref, namespace)
        status = cr.get("status", {}) if cr else {}
        conditions = status.get("conditions", [])
&gt;       raise TimeoutError(
            f"MaaSModelRef {namespace}/{model_ref} did not reach Ready within {timeout}s "
            f"(current: phase={status.get('phase')}, endpoint={status.get('endpoint')}, "
            f"conditions={[c.get('type') + '=' + str(c.get('status')) for c in conditions]})"
        )
E       TimeoutError: MaaSModelRef e2e-models-e2e-worker-w0-30919a/distinct-w0-30919a did not reach Ready within 180s (current: phase=Pending, endpoint=None, conditions=['GovernanceAttached=False', 'RuntimeReady=True', 'ModelIdentityUnique=True', 'Ready=False'])

test/e2e/tests/test_helper.py:1499: TimeoutError</error></testcase><testcase classname="tests.test_api_keys.TestAPIKeyAuthorization" name="test_non_admin_cannot_access_other_users_keys@api_keys" time="0.001"><error message="failed on setup with &quot;TimeoutError: MaaSModelRef e2e-models-e2e-worker-w0-30919a/distinct-w0-30919a did not reach Ready within 180s (current: phase=Pending, endpoint=None, conditions=['GovernanceAttached=False', 'RuntimeReady=True', 'ModelIdentityUnique=True', 'Ready=False'])&quot;">request = &lt;SubRequest '_worker_api_keys_context' for &lt;Function test_create_api_key&gt;&gt;

    @pytest.fixture(scope="module", autouse=True)
    def _worker_api_keys_context(request):
        """Bind parallel API-key tests to worker state; leave the serial pass alone."""
        from worker_tenant_fixtures import activate_worker_tenant, serial_only_selection
    
        if serial_only_selection(request):
            yield None
            return
    
&gt;       context = request.getfixturevalue("worker_tenant_context")

test/e2e/tests/test_api_keys.py:84: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:549: in getfixturevalue
    fixturedef = self._get_active_fixturedef(argname)
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:640: in _get_active_fixturedef
    fixturedef.execute(request=subrequest)
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:1128: in execute
    result = ihook.pytest_fixture_setup(fixturedef=self, request=request)
test/e2e/.venv/lib64/python3.9/site-packages/pluggy/_hooks.py:512: in __call__
    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
test/e2e/.venv/lib64/python3.9/site-packages/pluggy/_manager.py:120: in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/setuponly.py:36: in pytest_fixture_setup
    return (yield)
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:1196: in pytest_fixture_setup
    result = call_fixture_func(fixturefunc, request, kwargs)
test/e2e/.venv/lib64/python3.9/site-packages/_pytest/fixtures.py:923: in call_fixture_func
    fixture_result = next(generator)
test/e2e/tests/conftest.py:37: in worker_tenant_context
    case = bootstrap_worker_tenant(case)
test/e2e/tests/worker_tenant_fixtures.py:287: in bootstrap_worker_tenant
    _wait_for_model_ready(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

model_ref = 'distinct-w0-30919a', namespace = 'e2e-models-e2e-worker-w0-30919a'
timeout = 180

    def _wait_for_model_ready(model_ref, namespace=MODEL_NAMESPACE, timeout=60):
        """Wait for MaaSModelRef to reach Ready phase.
    
        Args:
            model_ref: Name of the MaaSModelRef
            namespace: Namespace (default: MODEL_NAMESPACE)
            timeout: Maximum wait time in seconds (default: 60)
    
        Returns:
            The MaaSModelRef CR dict when Ready
    
        Raises:
            TimeoutError: If MaaSModelRef doesn't reach Ready within timeout
        """
        deadline = time.time() + timeout
        log.info(f"Waiting for MaaSModelRef {namespace}/{model_ref} to reach phase 'Ready' (timeout: {timeout}s)...")
    
        while time.time() &lt; deadline:
            cr = _get_cr("maasmodelref", model_ref, namespace)
            if cr:
                status = cr.get("status", {})
                phase = status.get("phase")
                endpoint = status.get("endpoint")
    
                if phase == "Ready" and endpoint:
                    log.info(f"MaaSModelRef {namespace}/{model_ref} is Ready with endpoint: {endpoint}")
                    return cr
    
                log.debug(f"MaaSModelRef {namespace}/{model_ref}: phase={phase}, endpoint={endpoint or 'none'}")
            time.sleep(2)
    
        # Timeout - return current state for debugging
        cr = _get_cr("maasmodelref", model_ref, namespace)
        status = cr.get("status", {}) if cr else {}
        conditions = status.get("conditions", [])
&gt;       raise TimeoutError(
            f"MaaSModelRef {namespace}/{model_ref} did not reach Ready within {timeout}s "
            f"(current: phase={status.get('phase')}, endpoint={status.get('endpoint')}, "
            f"conditions={[c.get('type') + '=' + str(c.get('status')) for c in conditions]})"
        )
E       TimeoutError: MaaSModelRef e2e-models-e2e-worker-w0-30919a/distinct-w0-30919a did not reach Ready within 180s (current: phase=Pending, endpoint=None, conditions=['GovernanceAttached=False', 'RuntimeReady=True', 'ModelIdentityUnique=True', 'Ready=False'])

test/e2e/tests/test_helper.py:1499: TimeoutError</error></testcase><testcase classname="tests.test_tenant_auth_isolation.TestTenantAuthIsolation" name="test_api_key_list_scoped_to_tenant@tenant_isolation" time="37.674" /><testcase classname="tests.test_tenant_auth_isolation.TestTenantAuthIsolation" name="test_api_key_metadata_not_leaked_cross_tenant@tenant_isolation" time="13.469" /><testcase classname="tests.test_tenant_auth_isolation.TestTenantAuthIsolation" name="test_api_key_subscription_selection_uses_tenant_namespace@tenant_isolation" time="19.269" /><testcase classname="tests.test_tenant_subscription_isolation.TestTenantSubscriptionIsolation" name="test_subscription_list_scoped_to_tenant@tenant_isolation" time="98.207" /><testcase classname="tests.test_tenant_subscription_isolation.TestTenantSubscriptionIsolation" name="test_subscription_selection_per_tenant@tenant_isolation" time="17.988" /><testcase classname="tests.test_tenant_rate_limit_isolation.TestTenantRateLimitIsolation" name="test_rate_limit_enforced_per_tenant@tenant_isolation" time="57.363" /><testcase classname="tests.test_tenant_rate_limit_isolation.TestTenantRateLimitIsolation" name="test_independent_tenant_rate_limits@tenant_isolation" time="20.228" /><testcase classname="tests.test_per_tenant_ipp_isolation.TestPerTenantIPPInfrastructure" name="test_per_tenant_ipp_deployments_exist@tenant_isolation" time="64.838" /><testcase classname="tests.test_per_tenant_ipp_isolation.TestPerTenantIPPInfrastructure" name="test_per_tenant_ipp_env_vars@tenant_isolation" time="0.349" /><testcase classname="tests.test_per_tenant_ipp_isolation.TestPerTenantIPPInfrastructure" name="test_per_tenant_envoyfilter_workload_selector_isolated@tenant_isolation" time="0.399" /><testcase classname="tests.test_per_tenant_ipp_isolation.TestPerTenantIPPInfrastructure" name="test_per_tenant_envoyfilter_grpc_clusters@tenant_isolation" time="0.230" /><testcase classname="tests.test_per_tenant_ipp_isolation.TestPerTenantIPPInfrastructure" name="test_default_tenant_keeps_legacy_ipp_names@tenant_isolation" time="0.226" /><testcase classname="tests.test_per_tenant_ipp_isolation.TestPerTenantIPPInfrastructure" name="test_multiple_tenant_ipp_stacks_coexist@tenant_isolation" time="0.337" /><testcase classname="tests.test_per_tenant_ipp_isolation.TestPerTenantIPPInfrastructure" name="test_per_tenant_networkpolicy_when_applied@tenant_isolation" time="0.228" /><testcase classname="tests.test_per_tenant_ipp_isolation.TestPerTenantIPPRouting" name="test_default_gateway_hits_default_ipp_only@tenant_isolation" time="2.541" /><testcase classname="tests.test_per_tenant_ipp_isolation.TestPerTenantIPPRouting" name="test_tenant_gateway_hits_tenant_ipp_only@tenant_isolation" time="33.389" /><testcase classname="tests.test_per_tenant_ipp_isolation.TestPerTenantIPPCleanup" name="test_ipp_resources_removed_on_aitenant_delete@tenant_isolation" time="200.078" /></testsuite></testsuites>