<?xml version="1.0" encoding="utf-8"?><testsuites name="pytest tests"><testsuite name="pytest" errors="0" failures="1" skipped="4" tests="43" time="1410.820" timestamp="2026-10-31T04:13:03.699741+00:00" hostname="ai-gateway-controller-groupd66c0787d51d4b25b7f8338f63125bac-pod"><testcase classname="tests.test_api_keys.TestAPIKeySubscriptionPhases" name="test_create_key_for_pending_subscription" time="39.041" /><testcase classname="tests.test_api_keys.TestAPIKeySubscriptionPhases" name="test_reject_key_for_unreconciled_subscription" time="37.689" /><testcase classname="tests.test_negative_security.TestAuthPolicyRemoval" name="test_authpolicy_deletion_revokes_access" time="28.842" /><testcase classname="tests.test_subscription.TestSubscriptionEnforcement" name="test_auth_pass_no_subscription_gets_403" time="3.970" /><testcase classname="tests.test_subscription.TestSubscriptionEnforcement" name="test_rate_limit_exhaustion_gets_429" time="25.975" /><testcase classname="tests.test_subscription.TestSubscriptionEnforcement" name="test_models_endpoint_exempt_from_rate_limiting" time="31.322" /><testcase classname="tests.test_subscription.TestMultipleSubscriptionsPerModel" name="test_user_in_one_of_two_subscriptions_gets_200" time="11.663" /><testcase classname="tests.test_subscription.TestUnlimitedSubscription" name="test_unlimited_and_token_rate_limits_are_mutually_exclusive" time="0.619" /><testcase classname="tests.test_subscription.TestUnlimitedSubscription" name="test_unlimited_key_is_not_rate_limited" time="19.771" /><testcase classname="tests.test_subscription.TestUnlimitedSubscription" name="test_unlimited_subscriptions_share_one_wasm_limit" time="0.189"><skipped type="pytest.skip" message="no Kuadrant WasmPlugin for gateway maas-default-gateway">/workspace/source/test/maas-e2e/test/e2e/tests/test_subscription.py:941: no Kuadrant WasmPlugin for gateway maas-default-gateway</skipped></testcase><testcase classname="tests.test_subscription.TestUnlimitedSubscription" name="test_unlimited_usage_is_metered" time="26.768" /><testcase classname="tests.test_subscription.TestAllUnlimitedModel" name="test_all_unlimited_model_is_not_denied" time="34.186" /><testcase classname="tests.test_subscription.TestMultipleAuthPoliciesPerModel" name="test_two_auth_policies_or_logic" time="27.993" /><testcase classname="tests.test_subscription.TestMultipleAuthPoliciesPerModel" name="test_delete_one_auth_policy_other_still_works" time="3.748" /><testcase classname="tests.test_subscription.TestCascadeDeletion" name="test_delete_subscription_rebuilds_trlp" time="26.708" /><testcase classname="tests.test_subscription.TestCascadeDeletion" name="test_trlp_persists_during_multi_subscription_deletion" time="48.150" /><testcase classname="tests.test_subscription.TestCascadeDeletion" name="test_delete_last_subscription_denies_access" time="46.870" /><testcase classname="tests.test_subscription.TestCascadeDeletion" name="test_unconfigured_model_denied_by_gateway_auth" time="0.891" /><testcase classname="tests.test_subscription.TestRateLimitIdentityGenerations" name="test_legacy_and_short_identities_coexist" time="37.605" /><testcase classname="tests.test_subscription.TestManagedAnnotation" name="test_authpolicy_managed_false_prevents_update" time="0.313"><skipped type="pytest.skip" message="gateway-only mode: per-model AuthPolicy is not created">/workspace/source/test/maas-e2e/test/e2e/tests/test_subscription.py:1728: gateway-only mode: per-model AuthPolicy is not created</skipped></testcase><testcase classname="tests.test_subscription.TestManagedAnnotation" name="test_trlp_managed_false_prevents_update" time="2.810" /><testcase classname="tests.test_subscription.TestE2ESubscriptionFlow" name="test_e2e_with_access_but_no_subscription_gets_403" time="24.168" /><testcase classname="tests.test_subscription.TestE2ESubscriptionFlow" name="test_e2e_single_subscription_auto_selects" time="140.275" /><testcase classname="tests.test_subscription.TestE2ESubscriptionFlow" name="test_e2e_group_based_auth_but_no_subscription_gets_403" time="17.110" /><testcase classname="tests.test_subscription.TestStatusReporting" name="test_subscription_degraded_trlp_blocks_inference" time="112.076" /><testcase classname="tests.test_subscription.TestDegradedSubscriptionFiltering" name="test_failed_subscription_blocks_inference" time="39.010" /><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_single_subscription_auto_select" time="148.302" /><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_explicit_subscription_header" time="1.675" /><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_models_filtered_by_subscription" time="2.090" /><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_different_modelrefs_same_model_id" time="116.248" /><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_empty_model_list" time="14.424" /><testcase classname="tests.test_models_endpoint.TestModelsEndpoint" name="test_central_models_endpoint_exempt_from_rate_limiting" time="30.566" /><testcase classname="tests.test_tenant.TestTenantLifecycle" name="test_payload_processing_deployed_with_active_tenant" time="7.087" /><testcase classname="tests.test_tenant.TestTenantLifecycle" name="test_payload_processing_and_pre_processing_resources" time="0.295"><skipped type="pytest.skip" message="default payload-processing is praxis-extproc; MaasTenantConfig.spec.payloadProcessing.resources is MaaS IPP-only">/workspace/source/test/maas-e2e/test/e2e/tests/test_tenant.py:401: default payload-processing is praxis-extproc; MaasTenantConfig.spec.payloadProcessing.resources is MaaS IPP-only</skipped></testcase><testcase classname="tests.test_aitenant_lifecycle.TestAITenantRevocationOperandsSerial" name="test_aitenant_delete_completes_after_cleanup_serviceaccount_removed" time="68.153" /><testcase classname="tests.test_tenant_namespace_discovery.TestTenantDiscoveryDormantMode" name="test_dormant_mode_ignores_labeled_namespace" time="0.443"><skipped type="pytest.skip" message="Dormant-mode test mutates controller flags; set ENABLE_TENANT_DISCOVERY_DORMANT_E2E=true">/workspace/source/test/maas-e2e/test/e2e/tests/test_tenant_namespace_discovery.py:359: Dormant-mode test mutates controller flags; set ENABLE_TENANT_DISCOVERY_DORMANT_E2E=true</skipped></testcase><testcase classname="tests.test_multi_tenant_maas_api.TestPerTenantMaaSAPI" name="test_dual_listeners_keep_one_authconfig_per_route_rule" time="69.488"><failure message="AssertionError: Expected exactly one Ready and Available non-deleting Authorino AuthConfig per rule for odh-ai-gateway-infra/maas-api-route-e2e-authcfg-http-bb6bc8; got {'rule-1': [('0333748289233ab1d6c9f567093d5558c00de7e968e374659e7fe6f4ee894e71', 'a5224db4-a181-443c-9a2d-add6927a7bde', True), ('f6350e5f817c86ad6c9550a4b1c41c8f9c0456ab2cf6447beb64ad1e8ddbac6c', '0aca5cef-5373-41ea-bbff-9ca18732cd29', True)], 'rule-4': [('16088c5e699376d3411cb47fd4b4a2ba128f5a38679328514260dc36530abe19', '54950...&#10;[+2 more lines; full report in element text]">self = &lt;test_multi_tenant_maas_api.TestPerTenantMaaSAPI object at 0x7f69f815eed0&gt;
dual_listener_tenant_case = {'suffix': 'bb6bc8', 'tenant_ns': 'ai-tenant-e2e-authcfg-http-bb6bc8', 'tenant_label_name': 'e2e-authcfg-http-bb6bc8', 'gateway_name': 'e2e-authcfg-http-bb6bc8', ...}

    @pytest.mark.nightly
    @pytest.mark.serial
    def test_dual_listeners_keep_one_authconfig_per_route_rule(self, dual_listener_tenant_case):
        """One stable Authorino AuthConfig per rule when both listeners attach the route."""
        case = dual_listener_tenant_case
        gateway = wait_for_json(
            "gateway",
            case["gateway_name"],
            GATEWAY_NAMESPACE,
            predicate=lambda obj: {"http", "https"}
            &lt;= _gateway_listener_names_with_routes(obj),
            timeout=180,
        )
        listeners = {
            listener.get("name"): listener
            for listener in (gateway.get("spec") or {}).get("listeners") or []
        }
        assert {"http", "https"} &lt;= set(listeners), (
            f"{case['gateway_name']} must have both HTTP and HTTPS listeners, got {listeners!r}"
        )
        assert listeners["http"].get("protocol") == "HTTP" and listeners["http"].get("port") == 80
        assert listeners["https"].get("protocol") == "HTTPS" and listeners["https"].get("port") == 443
        assert listeners["http"].get("hostname") == listeners["https"].get("hostname"), (
            f"Test setup must use a shared hostname across listeners: {listeners!r}"
        )
    
        route_name = _tenant_api_names(case)["httproute"]
        route = wait_for_json(
            "httproute",
            route_name,
            INFRA_NAMESPACE,
            predicate=lambda obj: _route_accepted_by_gateway(obj, case["gateway_name"]),
            timeout=180,
        )
        authconfigs_by_rule = _wait_for_stable_route_authconfigs(route)
        rules = (route.get("spec") or {}).get("rules") or []
        expected_rules = {f"rule-{index}" for index in range(1, len(rules) + 1)}
        assert set(authconfigs_by_rule) == expected_rules
&gt;       assert all(
            len(observations) == 1 and observations[0][2]
            for observations in authconfigs_by_rule.values()
        ), (
            f"Expected exactly one Ready and Available non-deleting Authorino "
            f"AuthConfig per rule for "
            f"{INFRA_NAMESPACE}/{route_name}; got {authconfigs_by_rule!r}"
        )
E       AssertionError: Expected exactly one Ready and Available non-deleting Authorino AuthConfig per rule for odh-ai-gateway-infra/maas-api-route-e2e-authcfg-http-bb6bc8; got {'rule-1': [('0333748289233ab1d6c9f567093d5558c00de7e968e374659e7fe6f4ee894e71', 'a5224db4-a181-443c-9a2d-add6927a7bde', True), ('f6350e5f817c86ad6c9550a4b1c41c8f9c0456ab2cf6447beb64ad1e8ddbac6c', '0aca5cef-5373-41ea-bbff-9ca18732cd29', True)], 'rule-4': [('16088c5e699376d3411cb47fd4b4a2ba128f5a38679328514260dc36530abe19', '54950a14-9fdc-47f8-b744-e79fc4e41543', True), ('652ba699bd285a73efbc8087afe57e1f60b10be642bbd984e09783685995b2a5', '4ae9210f-d6a1-4a78-b1e0-4260f77532cf', True)], 'rule-3': [('6a2b018feb764aa757e2aec40ab3761e5c5f7a2ea1cf8ac2264ef30f39d8ac1a', '50d37585-86b8-46c0-9e58-eaef75c44222', True), ('b24d1f88ca745764c96ade91361aad65bc8703ba18cbb6e6e546b788a681edd3', 'ada71755-9399-4d1f-912a-bce9d0a28751', True)], 'rule-5': [('6b876f5614e0a5fb53d7c897f6cd609106007dcc2ce92a4870aace026993318b', 'ccc9ca76-5d51-4b43-839e-f7c7a001f8e5', True), ('8a713e063a1896f1f9eff79d0572e96e31e1cc5dfa8fe0bf4f474b79ac7f4205', 'b377f057-9222-49f1-91e5-037ff889f53c', True)], 'rule-2': [('8179312d24c0fb2cf8d30bab54b0278776f2744e8e723b8ece28d0c9e1636b89', 'fed77a32-0ab0-4189-8fb3-80810c7fb3d6', True), ('8ce32a711d946b16634b5fdecef61476ec673fc0212288cd4fba64bb2ae89353', '3776f780-3394-44f1-bc04-5803a7e12b0c', True)], 'rule-6': [('88cc4fba3370ad4f03b876d0672d12369d74df00968c9d531adbda46a2dd9c49', '61202586-dfa2-4a5e-b41b-c8d5dd4cbfb8', True), ('c8e655bac8d56baf12bd84a9bbfa2f0694ec6417d6871c708a1a8f0563f0ef70', 'ef8d0f8b-1817-4d9c-9818-5b1e9c14261f', True)]}
E       assert False
E        +  where False = all(&lt;generator object TestPerTenantMaaSAPI.test_dual_listeners_keep_one_authconfig_per_route_rule.&lt;locals&gt;.&lt;genexpr&gt; at 0x7f69f838eb20&gt;)

test/maas-e2e/test/e2e/tests/test_multi_tenant_maas_api.py:381: AssertionError</failure></testcase><testcase classname="tests.test_multi_tenant_maas_api.TestPerTenantMaaSAPI" name="test_dual_listener_wasm_envoyfilter_generation_stays_stable" time="92.209" /><testcase classname="tests.test_embedding_inference.TestEmbeddingDefaultDeny" name="test_embedding_default_deny_403" time="0.566" /><testcase classname="tests.test_embedding_inference.TestEmbeddingPathRouting" name="test_embedding_path_based_200" time="14.078" /><testcase classname="tests.test_embedding_inference.TestEmbeddingPathRouting" name="test_embedding_bbr_llmisvc_200" time="0.790" /><testcase classname="tests.test_embedding_inference.TestEmbeddingGovernance" name="test_embedding_trlp_429" time="23.415" /><testcase classname="tests.test_embedding_inference.TestEmbeddingGovernance" name="test_embedding_with_governance_200" time="32.597" /></testsuite></testsuites>