Fetching https://github.com/opendatahub-io/models-as-a-service@ccce7752af146eb3de9e99df107c26f414878726 into /workspace/source/test/maas-e2e ... MaaS checkout at: ccce7752af146eb3de9e99df107c26f414878726 Patched /workspace/source/test/maas-e2e/scripts/deploy.sh Patched /workspace/source/test/maas-e2e/test/e2e/scripts/deploy-models.sh (MaaS checkout fixture root) Patched /workspace/source/test/maas-e2e/test/e2e/scripts/deploy-models.sh (MaaS AuthPolicy wait scope) NOTE: rewriting AI_GATEWAY_CONTROLLER_IMAGE from snapshot digest to tag odh-pr-184 MaaS platform images: MAAS_API_IMAGE=quay.io/opendatahub/maas-api:ccce7752af146eb3de9e99df107c26f414878726 MAAS_CONTROLLER_IMAGE=quay.io/opendatahub/maas-controller:ccce7752af146eb3de9e99df107c26f414878726 AI_GATEWAY_CONTROLLER_IMAGE=quay.io/opendatahub/odh-ai-gateway-controller:odh-pr-184 PRAXIS_EXTPROC_IMAGE=quay.io/opendatahub/odh-praxis-extproc:odh-stable ---------------------------------------- ai-gateway-controller E2E on OpenShift ---------------------------------------- Checking prerequisites... Prerequisites met — logged in as: system:admin DEPLOY_MODE: kustomize MAAS_API_IMAGE: quay.io/opendatahub/maas-api:ccce7752af146eb3de9e99df107c26f414878726 MAAS_CONTROLLER_IMAGE: quay.io/opendatahub/maas-controller:ccce7752af146eb3de9e99df107c26f414878726 AI_GATEWAY_CONTROLLER_IMAGE: quay.io/opendatahub/odh-ai-gateway-controller:odh-pr-184 PRAXIS_EXTPROC_IMAGE: quay.io/opendatahub/odh-praxis-extproc:odh-stable 2026-10-30T13:01:48Z deploy_platform start Deploying MaaS platform via ODH operator... Gateway ingress mode for deploy.sh: ocproute (loadbalancer | ocproute) Using custom MaaS API image: quay.io/opendatahub/maas-api:ccce7752af146eb3de9e99df107c26f414878726 Using custom MaaS controller image: quay.io/opendatahub/maas-controller:ccce7752af146eb3de9e99df107c26f414878726 Deployment mode: kustomize Installing cert-manager and LeaderWorkerSet operators... === Installing cert-manager and LeaderWorkerSet operators === 1. Installing cert-manager operator... namespace/cert-manager-operator created operatorgroup.operators.coreos.com/cert-manager-operator created subscription.operators.coreos.com/openshift-cert-manager-operator created Waiting for Subscription cert-manager-operator/openshift-cert-manager-operator... subscription.operators.coreos.com/openshift-cert-manager-operator condition met Waiting for CSV cert-manager-operator.v1.20.1 to succeed... clusterserviceversion.operators.coreos.com/cert-manager-operator.v1.20.1 condition met cert-manager ready. 2. Installing LeaderWorkerSet operator... namespace/openshift-lws-operator created operatorgroup.operators.coreos.com/leader-worker-set created subscription.operators.coreos.com/leader-worker-set created Waiting for Subscription openshift-lws-operator/leader-worker-set... subscription.operators.coreos.com/leader-worker-set condition met Waiting for CSV leader-worker-set.v1.0.1 to succeed... clusterserviceversion.operators.coreos.com/leader-worker-set.v1.0.1 condition met LeaderWorkerSet operator ready. 3. Activating LeaderWorkerSet API... leaderworkersetoperator.operator.openshift.io/cluster created LeaderWorkerSetOperator CR applied. === Done === Verify: oc get pods -n cert-manager-operator oc get pods -n openshift-lws-operator oc get crd leaderworkersets.leaderworkerset.x-k8s.io Installing OpenDataHub operator... === Installing OpenDataHub operator === 1. Setting up ODH catalog... Using community-operators 2. Installing ODH operator... [INFO] Installing operator: opendatahub-operator in namespace: opendatahub [INFO] Creating namespace: opendatahub namespace/opendatahub created namespace/opendatahub condition met [INFO] Creating OperatorGroup in opendatahub for AllNamespaces mode operatorgroup.operators.coreos.com/opendatahub-operatorgroup created [INFO] Creating Subscription for opendatahub-operator from community-operators (channel: fast-3, installPlanApproval: Manual, startingCSV: opendatahub-operator.v3.6.0-ea.2) subscription.operators.coreos.com/opendatahub-operator created [INFO] Manual Subscription: approving initial InstallPlan so first install can proceed... [INFO] Approving initial InstallPlan install-b2mqw (Manual subscription) installplan.operators.coreos.com/install-b2mqw patched [INFO] Waiting for subscription to install... * Waiting for Subscription opendatahub/opendatahub-operator to start setup... subscription.operators.coreos.com/opendatahub-operator condition met * Waiting for Subscription setup to finish setup. CSV = opendatahub-operator.v3.6.0-ea.2 ... clusterserviceversion.operators.coreos.com/opendatahub-operator.v3.6.0-ea.2 condition met [INFO] Operator opendatahub-operator installed successfully 3. Skipping operator image patch (OPERATOR_IMAGE not set) 4. Waiting for operator CRDs... ⏳ Waiting for CRD datascienceclusters.datasciencecluster.opendatahub.io to appear (timeout: 180s)… ✅ CRD datascienceclusters.datasciencecluster.opendatahub.io detected, waiting for it to become Established... customresourcedefinition.apiextensions.k8s.io/datascienceclusters.datasciencecluster.opendatahub.io condition met 5. Waiting for operator webhook... * Waiting for deployment/opendatahub-operator-controller-manager in opendatahub (timeout: 120s)... * Found deployment/opendatahub-operator-controller-manager deployment.apps/opendatahub-operator-controller-manager condition met 6. Applying DSCInitialization... dscinitialization.dscinitialization.opendatahub.io/default-dsci created Waiting for DSCInitialization to be Ready... Waiting for DSCInitialization Ready (attempt 1/30, phase=unknown, Ready=unknown)... DSCInitialization is Ready 7. Applying DataScienceCluster... datasciencecluster.datasciencecluster.opendatahub.io/default-dsc serverside-applied 8. Waiting for DataScienceCluster (KServe)... * Waiting for DataScienceCluster 'default-dsc' KServe component to be ready... - KServe state: , KserveReady: , ModelsAsServiceReady: (informational only), AIGatewayReady: - KServe state: Managed, KserveReady: False, ModelsAsServiceReady: (informational only), AIGatewayReady: False - KServe state: Managed, KserveReady: False, ModelsAsServiceReady: (informational only), AIGatewayReady: False - KServe state: Managed, KserveReady: False, ModelsAsServiceReady: (informational only), AIGatewayReady: False - KServe state: Managed, KserveReady: False, ModelsAsServiceReady: (informational only), AIGatewayReady: False - KServe state: Managed, KserveReady: False, ModelsAsServiceReady: (informational only), AIGatewayReady: False * KServe (and AIGateway, if applicable) are ready in DataScienceCluster 'default-dsc' 9. Waiting for odh-model-controller webhook... ⏳ Waiting for validating webhooks in namespace opendatahub (timeout: 180s)... ✅ Webhook service opendatahub/kserve-webhook-server-service has ready endpoints ✅ Webhook service opendatahub/llmisvc-webhook-server-service has ready endpoints ✅ Webhook service opendatahub/odh-model-controller-webhook-service has ready endpoints ✅ Webhook service opendatahub/opendatahub-operator-controller-manager-service has ready endpoints 🎉 All validating webhook services in opendatahub are ready === ODH installation complete === Verify: kubectl get datasciencecluster -A kubectl get pods -n opendatahub kubectl get pods -n kserve Using policy engine: rhcl (Authorino namespace: kuadrant-system) [INFO] =================================================== [INFO] Models-as-a-Service Deployment [INFO] =================================================== [INFO] Validating configuration... [INFO] Configuration validated successfully [INFO] Deployment configuration: [INFO] Mode: kustomize [INFO] Policy Engine: rhcl [INFO] Namespace: opendatahub [INFO] TLS Backend: true [INFO] External OIDC: false [INFO] MaaS API image: quay.io/opendatahub/maas-api:ccce7752af146eb3de9e99df107c26f414878726 [INFO] MaaS controller image: quay.io/opendatahub/maas-controller:ccce7752af146eb3de9e99df107c26f414878726 [INFO] Starting kustomize-based deployment... [INFO] Installing policy engine: rhcl [INFO] Installing RHCL (Red Hat Connectivity Link - downstream) [INFO] Using RHCL channel head from redhat-operators (stable) [INFO] Installing RHCL into namespace: kuadrant-system [INFO] Installing operator: rhcl-operator in namespace: kuadrant-system [INFO] Creating namespace: kuadrant-system namespace/kuadrant-system created namespace/kuadrant-system condition met [INFO] Creating OperatorGroup in kuadrant-system for AllNamespaces mode operatorgroup.operators.coreos.com/kuadrant-system-operatorgroup created [INFO] Creating Subscription for rhcl-operator from redhat-operators (channel: stable) subscription.operators.coreos.com/rhcl-operator created [INFO] Waiting for subscription to install... * Waiting for Subscription kuadrant-system/rhcl-operator to start setup... subscription.operators.coreos.com/rhcl-operator condition met * Waiting for Subscription setup to finish setup. CSV = rhcl-operator.v1.4.3 ... clusterserviceversion.operators.coreos.com/rhcl-operator.v1.4.3 condition met [INFO] Operator rhcl-operator installed successfully [INFO] Patching rhcl-operator CSV (Gateway API, rate limit failure modes, auth service timeout, resources)... clusterserviceversion.operators.coreos.com/rhcl-operator.v1.4.3 patched clusterserviceversion.operators.coreos.com/rhcl-operator.v1.4.3 patched clusterserviceversion.operators.coreos.com/rhcl-operator.v1.4.3 patched clusterserviceversion.operators.coreos.com/rhcl-operator.v1.4.3 patched clusterserviceversion.operators.coreos.com/rhcl-operator.v1.4.3 patched [INFO] CSV patched (Gateway controller and/or rate limit failure modes and/or auth timeout and/or resources) [INFO] Forcing operator restart to apply CSV env configuration... pod "kuadrant-operator-controller-manager-6b6fb56846-697n7" force deleted pod "kuadrant-operator-controller-manager-858bb878d8-pjp5b" force deleted pod "kuadrant-operator-controller-manager-956956bc4-fsq48" force deleted pod "limitador-operator-controller-manager-856dd584c5-9swbn" force deleted [INFO] Waiting for operator pod to restart... Waiting for deployment "kuadrant-operator-controller-manager" rollout to finish: 1 old replicas are pending termination... Waiting for deployment "kuadrant-operator-controller-manager" rollout to finish: 1 old replicas are pending termination... Waiting for deployment "kuadrant-operator-controller-manager" rollout to finish: 1 old replicas are pending termination... deployment "kuadrant-operator-controller-manager" successfully rolled out [WARN] Operator pod may not have correct env yet (ISTIO / RATELIMIT_* failure modes / AUTH_SERVICE_TIMEOUT) [INFO] Operator deployment has memory limit 1Gi [INFO] Waiting 15s for operator to fully initialize with Gateway controller configuration... [INFO] Initializing Gateway API and ModelsAsAService gateway... [INFO] =================================================== [INFO] MaaS Gateway Setup [INFO] =================================================== [INFO] Validating gateway configuration... [INFO] Configuration validated [INFO] Ingress mode: ocproute [INFO] Disconnected: false [INFO] AllowedRoutes: namespaces=opendatahub,odh-ai-gateway-infra,llm [INFO] Detecting cluster domain... [INFO] Detected cluster domain: apps.03ade695efcb3fb1e0e7.prod.konflux-ocp-ci.dev [INFO] Setting up GatewayClass... [INFO] Creating GatewayClass openshift-default... gatewayclass.gateway.networking.k8s.io/openshift-default created [INFO] Setting up Gateway in ocproute mode (ClusterIP with OpenShift Route)... [INFO] Creating ConfigMap gw-options... configmap/gw-options created [INFO] Creating/updating Gateway maas-default-gateway (ocproute mode)... gateway.gateway.networking.k8s.io/maas-default-gateway serverside-applied [INFO] Waiting for Gateway to be Programmed (timeout: 120s)... gateway.gateway.networking.k8s.io/maas-default-gateway condition met [INFO] Gateway is Programmed [INFO] Gateway Service ready: maas-default-gateway-openshift-default [INFO] Creating Route maas-gateway-route... [INFO] Host: maas.apps.03ade695efcb3fb1e0e7.prod.konflux-ocp-ci.dev [INFO] Target Service: maas-default-gateway-openshift-default route.route.openshift.io/maas-gateway-route created [INFO] Waiting for Route to be Admitted... [INFO] Route is Admitted [INFO] ClusterIP mode setup complete [INFO] [INFO] =================================================== [INFO] Gateway setup completed successfully [INFO] =================================================== [INFO] Mode: ocproute [INFO] Gateway: maas-default-gateway [INFO] Namespace: openshift-ingress [INFO] Route: maas-gateway-route [INFO] Hostname: maas.apps.03ade695efcb3fb1e0e7.prod.konflux-ocp-ci.dev [INFO] [INFO] Verify with: [INFO] kubectl get gateway maas-default-gateway -n openshift-ingress [INFO] kubectl get route maas-gateway-route -n openshift-ingress [INFO] Applying Kuadrant custom resource in kuadrant-system... kuadrant.kuadrant.io/kuadrant created [INFO] Waiting for Kuadrant to become ready (initial check)... [INFO] Waiting for: Kuadrant ready in kuadrant-system (timeout: 60s) [INFO] Kuadrant ready in kuadrant-system - Ready [INFO] Kuadrant setup complete [INFO] Ensuring namespace exists: opendatahub [WARN] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ [WARN] DEPLOYING POC POSTGRESQL — NOT INTENDED FOR PRODUCTION USE [WARN] Data is stored in ephemeral storage and will be lost on pod restart. [WARN] For production, use --postgres-connection with an external database [WARN] (AWS RDS, Crunchy Operator, Azure Database, etc.) [WARN] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ ⚠️ WARNING FOR PRODUCTION USE. ⚠️ ┃ ┃ This deploys PostgreSQL with ephemeral storage (emptyDir). ┃ ┃ Data WILL be lost on pod restart. ┃ ┃ For production, use an external database: ┃ ┃ deploy.sh --postgres-connection postgresql://... ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ 🔧 Fresh install: Deploying PostgreSQL in infrastructure namespace 'odh-ai-gateway-infra'... 📦 Creating infrastructure namespace 'odh-ai-gateway-infra'... namespace/odh-ai-gateway-infra created Generated random PostgreSQL password (stored in secret postgres-creds) Creating PostgreSQL deployment... ⚠️ Using POC configuration (ephemeral storage) Using default PostgreSQL image (operator CSV not available) Image: registry.redhat.io/rhel9/postgresql-16:latest secret/postgres-creds created deployment.apps/postgres created service/postgres created secret/maas-db-config created Waiting for PostgreSQL to be ready... deployment.apps/postgres condition met ✅ PostgreSQL deployed successfully Namespace: odh-ai-gateway-infra Database: maas User: maas Secret: maas-db-config (contains DB_CONNECTION_URL with FQDN) ⚠️ For production, use AWS RDS, Crunchy Operator, or Azure Database Note: Schema migrations run automatically when maas-api starts [INFO] Configuring TLS backend for Authorino and MaaS API... * Waiting for deployment/authorino in kuadrant-system (timeout: 300s)... * Found deployment/authorino [INFO] Running TLS configuration script... [INFO] TLS configuration script completed successfully [INFO] Restarting deployments to pick up TLS configuration... deployment.apps/authorino restarted [INFO] Waiting for Authorino deployment to be ready... Waiting for deployment "authorino" rollout to finish: 1 old replicas are pending termination... Waiting for deployment "authorino" rollout to finish: 1 old replicas are pending termination... Waiting for deployment "authorino" rollout to finish: 1 old replicas are pending termination... deployment "authorino" successfully rolled out [INFO] TLS backend configuration complete [INFO] Kustomize prerequisite deployment completed [INFO] [INFO] MaaS Controller... [INFO] Phase 1: Applying MaaS CRDs and waiting until Established (controller creates Config after CRD is ready)... ⏳ Applying MaaS Controller CRDs from /workspace/source/test/maas-e2e/scripts/../deployment/base/maas-controller/crd... customresourcedefinition.apiextensions.k8s.io/aitenants.maas.opendatahub.io created customresourcedefinition.apiextensions.k8s.io/configs.maas.opendatahub.io created customresourcedefinition.apiextensions.k8s.io/externalmodels.inference.opendatahub.io created customresourcedefinition.apiextensions.k8s.io/externalmodels.maas.opendatahub.io created customresourcedefinition.apiextensions.k8s.io/externalproviders.inference.opendatahub.io created customresourcedefinition.apiextensions.k8s.io/maasauthpolicies.maas.opendatahub.io created customresourcedefinition.apiextensions.k8s.io/maasmodelrefs.maas.opendatahub.io created customresourcedefinition.apiextensions.k8s.io/maassubscriptions.maas.opendatahub.io created customresourcedefinition.apiextensions.k8s.io/maastenantconfigs.maas.opendatahub.io created customresourcedefinition.apiextensions.k8s.io/tenants.maas.opendatahub.io created ⏳ Waiting for CRD externalmodels.inference.opendatahub.io to appear (timeout: 180s)… ✅ CRD externalmodels.inference.opendatahub.io detected, waiting for it to become Established... customresourcedefinition.apiextensions.k8s.io/externalmodels.inference.opendatahub.io condition met ⏳ Waiting for CRD externalproviders.inference.opendatahub.io to appear (timeout: 180s)… ✅ CRD externalproviders.inference.opendatahub.io detected, waiting for it to become Established... customresourcedefinition.apiextensions.k8s.io/externalproviders.inference.opendatahub.io condition met ⏳ Waiting for CRD aitenants.maas.opendatahub.io to appear (timeout: 180s)… ✅ CRD aitenants.maas.opendatahub.io detected, waiting for it to become Established... customresourcedefinition.apiextensions.k8s.io/aitenants.maas.opendatahub.io condition met ⏳ Waiting for CRD configs.maas.opendatahub.io to appear (timeout: 180s)… ✅ CRD configs.maas.opendatahub.io detected, waiting for it to become Established... customresourcedefinition.apiextensions.k8s.io/configs.maas.opendatahub.io condition met ⏳ Waiting for CRD externalmodels.maas.opendatahub.io to appear (timeout: 180s)… ✅ CRD externalmodels.maas.opendatahub.io detected, waiting for it to become Established... customresourcedefinition.apiextensions.k8s.io/externalmodels.maas.opendatahub.io condition met ⏳ Waiting for CRD maasauthpolicies.maas.opendatahub.io to appear (timeout: 180s)… ✅ CRD maasauthpolicies.maas.opendatahub.io detected, waiting for it to become Established... customresourcedefinition.apiextensions.k8s.io/maasauthpolicies.maas.opendatahub.io condition met ⏳ Waiting for CRD maasmodelrefs.maas.opendatahub.io to appear (timeout: 180s)… ✅ CRD maasmodelrefs.maas.opendatahub.io detected, waiting for it to become Established... customresourcedefinition.apiextensions.k8s.io/maasmodelrefs.maas.opendatahub.io condition met ⏳ Waiting for CRD maassubscriptions.maas.opendatahub.io to appear (timeout: 180s)… ✅ CRD maassubscriptions.maas.opendatahub.io detected, waiting for it to become Established... customresourcedefinition.apiextensions.k8s.io/maassubscriptions.maas.opendatahub.io condition met ⏳ Waiting for CRD maastenantconfigs.maas.opendatahub.io to appear (timeout: 180s)… ✅ CRD maastenantconfigs.maas.opendatahub.io detected, waiting for it to become Established... customresourcedefinition.apiextensions.k8s.io/maastenantconfigs.maas.opendatahub.io condition met ⏳ Waiting for CRD tenants.maas.opendatahub.io to appear (timeout: 180s)… ✅ CRD tenants.maas.opendatahub.io detected, waiting for it to become Established... customresourcedefinition.apiextensions.k8s.io/tenants.maas.opendatahub.io condition met ✅ MaaS Controller CRDs are Established [INFO] Phase 2: Applying full controller kustomize (same as operator: deployment/base/maas-controller/default)... customresourcedefinition.apiextensions.k8s.io/aitenants.maas.opendatahub.io configured customresourcedefinition.apiextensions.k8s.io/configs.maas.opendatahub.io configured customresourcedefinition.apiextensions.k8s.io/externalmodels.inference.opendatahub.io configured customresourcedefinition.apiextensions.k8s.io/externalmodels.maas.opendatahub.io configured customresourcedefinition.apiextensions.k8s.io/externalproviders.inference.opendatahub.io configured customresourcedefinition.apiextensions.k8s.io/maasauthpolicies.maas.opendatahub.io configured customresourcedefinition.apiextensions.k8s.io/maasmodelrefs.maas.opendatahub.io configured customresourcedefinition.apiextensions.k8s.io/maassubscriptions.maas.opendatahub.io configured customresourcedefinition.apiextensions.k8s.io/maastenantconfigs.maas.opendatahub.io configured customresourcedefinition.apiextensions.k8s.io/tenants.maas.opendatahub.io configured serviceaccount/maas-controller created role.rbac.authorization.k8s.io/maas-controller-leader-election-role created clusterrole.rbac.authorization.k8s.io/maas-controller-cluster-config-role created clusterrole.rbac.authorization.k8s.io/maas-controller-ocp-role created clusterrole.rbac.authorization.k8s.io/maas-controller-role created clusterrole.rbac.authorization.k8s.io/maas-owner-role created clusterrole.rbac.authorization.k8s.io/maas-viewer-role created rolebinding.rbac.authorization.k8s.io/maas-controller-leader-election-rolebinding created clusterrolebinding.rbac.authorization.k8s.io/maas-controller-cluster-config-rolebinding created clusterrolebinding.rbac.authorization.k8s.io/maas-controller-ocp-rolebinding created clusterrolebinding.rbac.authorization.k8s.io/maas-controller-rolebinding created configmap/maas-parameters created service/maas-controller-metrics created service/maas-controller-webhook-service created deployment.apps/maas-controller created servicemonitor.monitoring.coreos.com/maas-controller-metrics created networkpolicy.networking.k8s.io/maas-controller-allow-monitoring created validatingwebhookconfiguration.admissionregistration.k8s.io/maas-validating-webhook-configuration created [INFO] Restarting maas-controller to pick up configuration changes... deployment.apps/maas-controller restarted [INFO] Waiting for maas-controller to be ready... Waiting for deployment "maas-controller" rollout to finish: 1 old replicas are pending termination... Waiting for deployment "maas-controller" rollout to finish: 1 old replicas are pending termination... Waiting for deployment "maas-controller" rollout to finish: 1 old replicas are pending termination... deployment "maas-controller" successfully rolled out [INFO] Controller ready. [INFO] [INFO] Waiting for Tenant reconciler to deploy maas-api... [INFO] Applying secret migration RBAC to namespace odh-ai-gateway-infra... role.rbac.authorization.k8s.io/maas-controller-secret-migrate created rolebinding.rbac.authorization.k8s.io/maas-controller-secret-migrate created [INFO] maas-api deployment found in odh-ai-gateway-infra, waiting for rollout... deployment "maas-api" successfully rolled out [INFO] maas-api is ready [INFO] [INFO] MaaS API and MaaS Controller deployment completed successfully! [INFO] maas-api image: quay.io/opendatahub/maas-api:ccce7752af146eb3de9e99df107c26f414878726 (namespace: odh-ai-gateway-infra) [INFO] maas-controller image: quay.io/opendatahub/maas-controller:ccce7752af146eb3de9e99df107c26f414878726 (namespace: opendatahub) [INFO] =================================================== [INFO] Models-as-a-Service Deployment completed successfully! [INFO] =================================================== * Waiting for DataScienceCluster 'default-dsc' KServe component to be ready... * KServe (and AIGateway, if applicable) are ready in DataScienceCluster 'default-dsc' Raising llmisvc-controller-manager CPU in opendatahub (request 1, limit 2)... deployment.apps/llmisvc-controller-manager resource requirements updated Waiting for deployment "llmisvc-controller-manager" rollout to finish: 1 old replicas are pending termination... Waiting for deployment "llmisvc-controller-manager" rollout to finish: 1 old replicas are pending termination... Waiting for deployment "llmisvc-controller-manager" rollout to finish: 1 old replicas are pending termination... deployment "llmisvc-controller-manager" successfully rolled out llmisvc-controller-manager resources: {"limits":{"cpu":"2","memory":"300Mi"},"requests":{"cpu":"1","memory":"300Mi"}} ⚠️ WARNING: Skipping Authorino readiness check (SKIP_AUTH_CHECK=true) ✅ MaaS platform deployment completed 2026-10-30T13:10:36Z deploy_platform end ---------------------------------------- Deploying Models ---------------------------------------- 2026-10-30T13:10:36Z deploy_models start Deploying MaaS system (free + premium: LLMIS + MaaSModelRef + MaaSAuthPolicy + MaaSSubscription) Waiting for Gateway openshift-ingress/maas-default-gateway to be Programmed=True (timeout: 600s)... gateway.gateway.networking.k8s.io/maas-default-gateway condition met ✅ Gateway openshift-ingress/maas-default-gateway is Programmed Creating 'llm' namespace... namespace/llm created 'models-as-a-service' namespace already exists maasauthpolicy.maas.opendatahub.io/premium-simulator-access created maasauthpolicy.maas.opendatahub.io/simulator-access created maasmodelref.maas.opendatahub.io/e2e-distinct-2-simulated created maasmodelref.maas.opendatahub.io/e2e-distinct-simulated created maasmodelref.maas.opendatahub.io/e2e-embedding-simulated created maasmodelref.maas.opendatahub.io/e2e-trlp-test-simulated created maasmodelref.maas.opendatahub.io/e2e-unconfigured-facebook-opt-125m-simulated created maasmodelref.maas.opendatahub.io/facebook-opt-125m-simulated created maasmodelref.maas.opendatahub.io/premium-simulated-simulated-premium created maassubscription.maas.opendatahub.io/premium-simulator-subscription created maassubscription.maas.opendatahub.io/simulator-subscription created llminferenceservice.serving.kserve.io/e2e-distinct-2-simulated created llminferenceservice.serving.kserve.io/e2e-distinct-simulated created llminferenceservice.serving.kserve.io/e2e-embedding-simulated created llminferenceservice.serving.kserve.io/e2e-trlp-test-simulated created llminferenceservice.serving.kserve.io/e2e-unconfigured-facebook-opt-125m-simulated created llminferenceservice.serving.kserve.io/facebook-opt-125m-simulated created llminferenceservice.serving.kserve.io/premium-simulated-simulated-premium created ✅ MaaS system deployed (free + premium + e2e test fixtures) Waiting for models to be ready (timeout: 300s)... llminferenceservice.serving.kserve.io/facebook-opt-125m-simulated condition met llminferenceservice.serving.kserve.io/premium-simulated-simulated-premium condition met llminferenceservice.serving.kserve.io/e2e-unconfigured-facebook-opt-125m-simulated condition met ✅ Simulator models ready Waiting for governed MaaSModelRefs to be Ready (timeout: 300s)... ✅ Governed MaaSModelRefs ready Waiting for MaaS Kuadrant AuthPolicies to be enforced (selector: app.kubernetes.io/managed-by=maas-controller, timeout: 180s)... ✅ All MaaS AuthPolicies enforced (1 policies) 2026-10-30T13:11:28Z deploy_models end Patching Authorino to log_level DEBUG... authorino.operator.authorino.kuadrant.io/authorino patched ✅ Authorino patched to log_level DEBUG deployment "authorino" successfully rolled out ---------------------------------------- Deploying ai-gateway-controller ---------------------------------------- 2026-10-30T13:11:29Z deploy_ai_gateway_controller start Deploying ai-gateway-controller image: quay.io/opendatahub/odh-ai-gateway-controller:odh-pr-184 praxis-extproc image: quay.io/opendatahub/odh-praxis-extproc:odh-stable namespace: opendatahub gateway: openshift-ingress/maas-default-gateway customresourcedefinition.apiextensions.k8s.io/aiguardrails.aigateway.opendatahub.io created serviceaccount/ai-gateway-controller created clusterrole.rbac.authorization.k8s.io/ai-gateway-controller-role created clusterrolebinding.rbac.authorization.k8s.io/ai-gateway-controller-rolebinding created configmap/ai-gateway-controller-parameters created service/ai-gateway-controller-metrics created deployment.apps/ai-gateway-controller created servicemonitor.monitoring.coreos.com/ai-gateway-controller-metrics created networkpolicy.networking.k8s.io/ai-gateway-controller-allow-metrics-traffic created Waiting for deployment "ai-gateway-controller" rollout to finish: 0 of 1 updated replicas are available... deployment "ai-gateway-controller" successfully rolled out Triggering immediate praxis-extproc reconcile ... deployment.apps/ai-gateway-controller restarted Waiting for deployment "ai-gateway-controller" rollout to finish: 1 old replicas are pending termination... Waiting for deployment "ai-gateway-controller" rollout to finish: 1 old replicas are pending termination... deployment "ai-gateway-controller" successfully rolled out Waiting for shared praxis-extproc (quay.io/opendatahub/odh-praxis-extproc:odh-stable) in openshift-ingress: payload-processing and payload-pre-processing (timeout: 300s) ... ✅ shared praxis-extproc ready: openshift-ingress/payload-processing and openshift-ingress/payload-pre-processing Annotating praxis IPP resources opendatahub.io/managed=false so maas-controller skips them ... deployment.apps/payload-processing annotated service/payload-processing annotated destinationrule.networking.istio.io/payload-processing annotated deployment.apps/payload-pre-processing annotated service/payload-pre-processing annotated destinationrule.networking.istio.io/payload-pre-processing annotated envoyfilter.networking.istio.io/payload-processing annotated networkpolicy.networking.k8s.io/payload-processing annotated Verified shared ext_proc dataplane image: openshift-ingress/payload-processing=quay.io/opendatahub/odh-praxis-extproc:odh-stable ai-gateway-controller rollout complete 2026-10-30T13:12:30Z deploy_ai_gateway_controller end ---------------------------------------- Enabling tenant namespace discovery ---------------------------------------- 2026-10-30T13:12:30Z tenant_namespace_discovery start Enabling --enable-tenant-namespace-discovery on maas-controller... maas-controller already has tenant namespace discovery enabled 2026-10-30T13:12:30Z tenant_namespace_discovery end ---------------------------------------- Setting up variables for tests ---------------------------------------- -- Setting up variables for tests -- HOST: maas.apps.03ade695efcb3fb1e0e7.prod.konflux-ocp-ci.dev MAAS_API_BASE_URL: https://maas.apps.03ade695efcb3fb1e0e7.prod.konflux-ocp-ci.dev/maas-api ---------------------------------------- Setting up test tokens ---------------------------------------- Setting up premium test token (SA-based, works when oc whoami -t is unavailable)... Creating namespace: premium-users-namespace namespace/premium-users-namespace created Creating service account: premium-service-account serviceaccount/premium-service-account created Patching MaaSAuthPolicy premium-simulator-access to include system:serviceaccount:premium-users-namespace:premium-service-account... maasauthpolicy.maas.opendatahub.io/premium-simulator-access patched Patching MaaSSubscription premium-simulator-subscription to include system:serviceaccount:premium-users-namespace:premium-service-account... maassubscription.maas.opendatahub.io/premium-simulator-subscription patched Waiting for MaaSSubscriptions to reconcile after patch (timeout: 60s)... ✅ Both subscriptions ready: simulator-subscription=Active, premium-simulator-subscription=Active ✅ Premium test token setup complete (E2E_TEST_TOKEN_SA_* exported) Setting up test tokens (admin + regular user)... Current admin session: system:admin (will be preserved) ⚠️ No htpasswd token available - using SA token (admin tests may fail) Creating namespace: maas-admin namespace/maas-admin created Creating service account: tester-admin-user in maas-admin serviceaccount/tester-admin-user created Creating cluster role binding for tester-admin-user clusterrolebinding.rbac.authorization.k8s.io/tester-admin-user-binding created ✅ User setup completed: tester-admin-user (namespace: maas-admin) role.rbac.authorization.k8s.io/maas-admin-e2e created rolebinding.rbac.authorization.k8s.io/maas-admin-e2e-system-serviceaccount-maas-admin-tester-admin-user created auth.services.platform.opendatahub.io/auth patched ✅ Added system:serviceaccounts:maas-admin to Auth CR adminGroups (SA admin fallback) clusterrole.rbac.authorization.k8s.io/maas-admin created rolebinding.rbac.authorization.k8s.io/odh-admins-maas-admin created Creating separate SA token for regular user (required for IDOR tests)... Creating service account: tester-regular-user in default serviceaccount/tester-regular-user created Creating cluster role binding for tester-regular-user clusterrolebinding.rbac.authorization.k8s.io/tester-regular-user-binding created ✅ User setup completed: tester-regular-user (namespace: default) ✅ Regular user token for tester-regular-user (SA-based, namespace: default) Token setup complete (main session unchanged: system:admin) ---------------------------------------- Ensuring gateway allows model HTTPRoutes ---------------------------------------- /workspace/source/test/maas-e2e/scripts/deployment-helpers.sh: line 112: CUSTOM_RESOURCE_TIMEOUT: readonly variable /workspace/source/test/maas-e2e/scripts/deployment-helpers.sh: line 113: NAMESPACE_TIMEOUT: readonly variable /workspace/source/test/maas-e2e/scripts/deployment-helpers.sh: line 114: RESOURCE_TIMEOUT: readonly variable /workspace/source/test/maas-e2e/scripts/deployment-helpers.sh: line 115: CRD_TIMEOUT: readonly variable /workspace/source/test/maas-e2e/scripts/deployment-helpers.sh: line 116: CSV_TIMEOUT: readonly variable /workspace/source/test/maas-e2e/scripts/deployment-helpers.sh: line 117: SUBSCRIPTION_TIMEOUT: readonly variable /workspace/source/test/maas-e2e/scripts/deployment-helpers.sh: line 118: POD_TIMEOUT: readonly variable /workspace/source/test/maas-e2e/scripts/deployment-helpers.sh: line 119: WEBHOOK_TIMEOUT: readonly variable /workspace/source/test/maas-e2e/scripts/deployment-helpers.sh: line 120: CUSTOM_CHECK_TIMEOUT: readonly variable /workspace/source/test/maas-e2e/scripts/deployment-helpers.sh: line 121: AUTHORINO_TIMEOUT: readonly variable /workspace/source/test/maas-e2e/scripts/deployment-helpers.sh: line 122: ROLLOUT_TIMEOUT: readonly variable /workspace/source/test/maas-e2e/scripts/deployment-helpers.sh: line 123: KUBECONFIG_WAIT_TIMEOUT: readonly variable /workspace/source/test/maas-e2e/scripts/deployment-helpers.sh: line 124: CATALOGSOURCE_TIMEOUT: readonly variable /workspace/source/test/maas-e2e/scripts/deployment-helpers.sh: line 125: LLMIS_TIMEOUT: readonly variable /workspace/source/test/maas-e2e/scripts/deployment-helpers.sh: line 126: MAASMODELREF_TIMEOUT: readonly variable /workspace/source/test/maas-e2e/scripts/deployment-helpers.sh: line 127: AUTHPOLICY_TIMEOUT: readonly variable /workspace/source/test/maas-e2e/scripts/deployment-helpers.sh: line 130: _MAX_TIMEOUT: readonly variable /workspace/source/test/maas-e2e/scripts/deployment-helpers.sh: line 165: LOG_LEVEL_DEBUG: readonly variable /workspace/source/test/maas-e2e/scripts/deployment-helpers.sh: line 166: LOG_LEVEL_INFO: readonly variable /workspace/source/test/maas-e2e/scripts/deployment-helpers.sh: line 167: LOG_LEVEL_WARN: readonly variable /workspace/source/test/maas-e2e/scripts/deployment-helpers.sh: line 168: LOG_LEVEL_ERROR: readonly variable ./test/e2e/scripts/prow_run_ai_gateway_controller_test.sh: line 133: derive_infra_namespace: command not found Gateway openshift-ingress/maas-default-gateway already allows HTTPRoutes from llm ---------------------------------------- Validating Deployment ---------------------------------------- 2026-10-30T13:12:36Z validate start Deployment Validation ========================================= 🚀 MaaS Platform Deployment Validation ========================================= ========================================= 1️⃣ Component Status Checks ========================================= 🔍 Checking: MaaS API pods ✅ PASS: MaaS API has 1 running pod(s) 🔍 Checking: Policy engine pods (RHCL/Kuadrant) ✅ PASS: Policy engine has 7 running pod(s) in kuadrant-system 🔍 Checking: OpenDataHub/KServe pods ℹ️ opendatahub namespace: 12 running pod(s) ✅ PASS: OpenDataHub/RHOAI has 12 total running pod(s) 🔍 Checking: LLM namespace and models ✅ PASS: Found 7 LLMInferenceService(s) with 7 running pod(s) ========================================= 2️⃣ Gateway Status ========================================= 🔍 Checking: Gateway resource ✅ PASS: Gateway is Accepted and Programmed 🔍 Checking: HTTPRoute for maas-api ✅ PASS: HTTPRoute maas-api-route is configured and accepted 🔍 Checking: Gateway hostname ✅ PASS: Gateway hostname (from MAAS_GATEWAY_HOST): https://maas.apps.03ade695efcb3fb1e0e7.prod.konflux-ocp-ci.dev ========================================= 3️⃣ Policy Status ========================================= 🔍 Checking: AuthPolicy ✅ PASS: AuthPolicy is configured and accepted 🔍 Checking: TokenRateLimitPolicy ✅ PASS: TokenRateLimitPolicy is configured and accepted ========================================= 4️⃣ API Endpoint Tests ========================================= ℹ️ Using gateway endpoint: https://maas.apps.03ade695efcb3fb1e0e7.prod.konflux-ocp-ci.dev 🔍 Checking: Authentication token ✅ PASS: OpenShift identity token available 🔍 Checking: MaaS API key creation ✅ PASS: MaaS API key created (name: validate-test-1793365959) 🔍 Checking: Models endpoint ℹ️ Testing: curl -sSk https://maas.apps.03ade695efcb3fb1e0e7.prod.konflux-ocp-ci.dev/maas-api/v1/models -H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" ✅ PASS: Models endpoint accessible, found 1 model(s) ℹ️ Available models: • publishers/llm/models/facebook/opt-125m - https://maas.apps.03ade695efcb3fb1e0e7.prod.konflux-ocp-ci.dev/ ℹ️ Using first available model: publishers/llm/models/facebook/opt-125m for validation 🔍 Checking: Model inference endpoint ℹ️ Testing: curl -sSk -X POST https://maas.apps.03ade695efcb3fb1e0e7.prod.konflux-ocp-ci.dev/v1/chat/completions -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" -d '{"model": "publishers/llm/models/facebook/opt-125m", "messages": [{"role": "user", "content": "Hello"}], "max_tokens": 50}' ✅ PASS: Model inference endpoint working ℹ️ Response: {"id":"chatcmpl-836963e7-5680-5632-9d60-6ea8e8eea284","created":1793365960,"model":"facebook/opt-125m","usage":{"prompt_tokens":6,"completion_tokens":23,"total_tokens":29},"object":"chat.completion"," 🔍 Checking: Rate limiting ℹ️ User tier: unknown (could not extract from token) ℹ️ Sending 10 rapid requests to test rate limiting... ✅ PASS: Rate limiting is working (2 successful, 8 rate limited) 🔍 Checking: Authorization enforcement (401 without token) ✅ PASS: Authorization is enforced (got 401 without token) ========================================= 📊 Validation Summary ========================================= Results: ✅ Passed: 15 ❌ Failed: 0 ⚠️ Warnings: 0 ✅ PASS: All critical checks passed! 🎉 Next steps: 1. Deploy a model: kustomize build docs/samples/models/simulator | kubectl apply -f - 2. Access the API at: https://maas.apps.03ade695efcb3fb1e0e7.prod.konflux-ocp-ci.dev} 3. Check documentation: docs/README.md 4. Re-run validation with specific model: ./scripts/validate-deployment.sh MODEL_NAME Deployment validation completed 2026-10-30T13:12:41Z validate end ---------------------------------------- Running E2E Tests ---------------------------------------- -- E2E Tests (ai-gateway-controller, no external-model tests) -- Waiting for gateway: https://maas.apps.03ade695efcb3fb1e0e7.prod.konflux-ocp-ci.dev/maas-api/health ... Gateway reachable (HTTP 200) Waiting for authenticated gateway access ... Authenticated gateway access working (HTTP 200) Installing python3.11 (e2e requires Python >= 3.10; system python3 is too old)... Creating Python venv for e2e tests (/usr/bin/python3.11)... WARNING: The directory '/opt/app-root/src/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag. WARNING: The directory '/opt/app-root/src/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag. WARNING: The directory '/opt/app-root/src/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag. Running E2E pass 1/2: parallel (E2E_PARALLEL_WORKERS=7, --dist=loadgroup, -m 'not serial') ============================= test session starts ============================== platform linux -- Python 3.11.13, pytest-9.2.0, pluggy-1.7.0 -- /workspace/source/test/e2e/.venv/bin/python cachedir: .pytest_cache metadata: {'Python': '3.11.13', 'Platform': 'Linux-5.14.0-570.142.1.el9_6.x86_64-x86_64-with-glibc2.34', 'Packages': {'pytest': '9.2.0', 'pluggy': '1.7.0'}, 'Plugins': {'xdist': '3.8.0', 'metadata': '3.1.1', 'html': '4.2.0'}, 'PLATFORM': 'el9'} rootdir: /workspace/source/test/maas-e2e/test/e2e configfile: pyproject.toml plugins: xdist-3.8.0, metadata-3.1.1, html-4.2.0 created: 7/7 workers 7 workers [203 items] scheduling tests via LoadGroupScheduling test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyCRUD::test_list_api_keys test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyCRUD::test_create_api_key test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyCRUD::test_revoke_api_key test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyAuthorization::test_admin_manage_other_users_keys test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyAuthorization::test_non_admin_cannot_access_other_users_keys test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyBulkOperations::test_bulk_revoke_own_keys test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyBulkOperations::test_bulk_revoke_other_user_forbidden [gw0] [ 0%] PASSED test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyCRUD::test_create_api_key test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyBulkOperations::test_bulk_revoke_admin_can_revoke_any_user [gw0] [ 0%] PASSED test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyBulkOperations::test_bulk_revoke_admin_can_revoke_any_user test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyExpiration::test_expiration_policy_boundaries[within-limit] [gw0] [ 1%] PASSED test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyExpiration::test_expiration_policy_boundaries[within-limit] test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyExpiration::test_expiration_policy_boundaries[at-limit] [gw0] [ 1%] PASSED test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyExpiration::test_expiration_policy_boundaries[at-limit] test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyExpiration::test_expiration_policy_boundaries[exceeds-limit] [gw0] [ 2%] PASSED test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyExpiration::test_expiration_policy_boundaries[exceeds-limit] test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyExpiration::test_expiration_policy_boundaries[without-expiration] [gw0] [ 2%] PASSED test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyExpiration::test_expiration_policy_boundaries[without-expiration] test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyExpiration::test_expiration_policy_boundaries[short-expiration] [gw0] [ 3%] PASSED test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyExpiration::test_expiration_policy_boundaries[short-expiration] test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyModelInference::test_api_key_model_access_success [gw0] [ 3%] PASSED test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyModelInference::test_api_key_model_access_success test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyModelInference::test_invalid_api_key_rejected [gw0] [ 4%] PASSED test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyModelInference::test_invalid_api_key_rejected test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyModelInference::test_no_auth_header_rejected [gw0] [ 4%] PASSED test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyModelInference::test_no_auth_header_rejected test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyModelInference::test_revoked_api_key_rejected [gw0] [ 5%] PASSED test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyModelInference::test_revoked_api_key_rejected test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyModelInference::test_api_key_chat_completions [gw0] [ 5%] PASSED test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyModelInference::test_api_key_chat_completions test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyRevocationE2E::test_double_revoke_returns_404 [gw0] [ 6%] PASSED test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyRevocationE2E::test_double_revoke_returns_404 test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyRevocationE2E::test_revoke_nonexistent_key_returns_404 [gw0] [ 6%] PASSED test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyRevocationE2E::test_revoke_nonexistent_key_returns_404 test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyRevocationE2E::test_revoke_then_create_new_key_works [gw0] [ 7%] PASSED test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyRevocationE2E::test_revoke_then_create_new_key_works test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyRevocationE2E::test_individual_revoke_multiple_keys [gw0] [ 7%] PASSED test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyRevocationE2E::test_individual_revoke_multiple_keys test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyRevocationE2E::test_revoke_keys_rejected_at_gateway [gw0] [ 8%] PASSED test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyRevocationE2E::test_revoke_keys_rejected_at_gateway test/maas-e2e/test/e2e/tests/test_api_keys.py::TestEphemeralKeyCleanup::test_cronjob_exists_and_configured [gw0] [ 8%] PASSED test/maas-e2e/test/e2e/tests/test_api_keys.py::TestEphemeralKeyCleanup::test_cronjob_exists_and_configured test/maas-e2e/test/e2e/tests/test_api_keys.py::TestEphemeralKeyCleanup::test_cleanup_networkpolicy_exists [gw0] [ 9%] PASSED test/maas-e2e/test/e2e/tests/test_api_keys.py::TestEphemeralKeyCleanup::test_cleanup_networkpolicy_exists test/maas-e2e/test/e2e/tests/test_api_keys.py::TestEphemeralKeyCleanup::test_create_ephemeral_key [gw0] [ 9%] PASSED test/maas-e2e/test/e2e/tests/test_api_keys.py::TestEphemeralKeyCleanup::test_create_ephemeral_key test/maas-e2e/test/e2e/tests/test_api_keys.py::TestEphemeralKeyCleanup::test_trigger_cleanup_preserves_active_keys [gw0] [ 10%] SKIPPED test/maas-e2e/test/e2e/tests/test_api_keys.py::TestEphemeralKeyCleanup::test_trigger_cleanup_preserves_active_keys test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeySubscriptionPhases::test_create_key_for_active_subscription [gw4] [ 10%] PASSED test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyAuthorization::test_non_admin_cannot_access_other_users_keys test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyBulkOperations::test_bulk_revoke_dry_run_by_subscription [gw0] [ 11%] PASSED test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeySubscriptionPhases::test_create_key_for_active_subscription test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeySubscriptionPhases::test_create_key_for_degraded_subscription [gw6] [ 11%] PASSED test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyBulkOperations::test_bulk_revoke_other_user_forbidden test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyBulkOperations::test_bulk_revoke_missing_scope_returns_400 [gw6] [ 12%] PASSED test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyBulkOperations::test_bulk_revoke_missing_scope_returns_400 test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeySubscriptionFilter::test_search_without_subscription_returns_all [gw6] [ 12%] PASSED test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeySubscriptionFilter::test_search_without_subscription_returns_all test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyLabels::test_create_api_key_with_labels [gw6] [ 13%] PASSED test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyLabels::test_create_api_key_with_labels test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyLabels::test_search_api_keys_by_labels [gw6] [ 13%] PASSED test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyLabels::test_search_api_keys_by_labels test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyLabels::test_labels_validation_errors [gw6] [ 14%] PASSED test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyLabels::test_labels_validation_errors test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyLabels::test_backward_compatibility_no_labels [gw6] [ 14%] PASSED test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyLabels::test_backward_compatibility_no_labels test/maas-e2e/test/e2e/tests/test_namespace_scoping.py::TestMaaSAPIWatchNamespace::test_subscription_in_subscription_namespace_visible_to_api [gw6] [ 15%] SKIPPED test/maas-e2e/test/e2e/tests/test_namespace_scoping.py::TestMaaSAPIWatchNamespace::test_subscription_in_subscription_namespace_visible_to_api test/maas-e2e/test/e2e/tests/test_namespace_scoping.py::TestMaaSAPIWatchNamespace::test_subscription_in_another_namespace_not_visible_to_api [gw6] [ 15%] SKIPPED test/maas-e2e/test/e2e/tests/test_namespace_scoping.py::TestMaaSAPIWatchNamespace::test_subscription_in_another_namespace_not_visible_to_api test/maas-e2e/test/e2e/tests/test_namespace_scoping.py::TestMaaSControllerWatchNamespace::test_authpolicy_and_subscription_in_maas_subscription_namespace [gw6] [ 16%] SKIPPED test/maas-e2e/test/e2e/tests/test_namespace_scoping.py::TestMaaSControllerWatchNamespace::test_authpolicy_and_subscription_in_maas_subscription_namespace test/maas-e2e/test/e2e/tests/test_namespace_scoping.py::TestMaaSControllerWatchNamespace::test_authpolicy_and_subscription_in_another_namespace [gw6] [ 16%] SKIPPED test/maas-e2e/test/e2e/tests/test_namespace_scoping.py::TestMaaSControllerWatchNamespace::test_authpolicy_and_subscription_in_another_namespace test/maas-e2e/test/e2e/tests/test_namespace_scoping.py::TestModelRef::test_auth_policy_model_ref [gw6] [ 17%] SKIPPED test/maas-e2e/test/e2e/tests/test_namespace_scoping.py::TestModelRef::test_auth_policy_model_ref test/maas-e2e/test/e2e/tests/test_namespace_scoping.py::TestModelRef::test_subscription_model_ref [gw6] [ 17%] SKIPPED test/maas-e2e/test/e2e/tests/test_namespace_scoping.py::TestModelRef::test_subscription_model_ref test/maas-e2e/test/e2e/tests/test_negative_security.py::TestAPIKeyManagementIsolation::test_api_key_cannot_mint_another_api_key [gw6] [ 18%] PASSED test/maas-e2e/test/e2e/tests/test_negative_security.py::TestAPIKeyManagementIsolation::test_api_key_cannot_mint_another_api_key test/maas-e2e/test/e2e/tests/test_negative_security.py::TestHeaderSpoofing::test_forged_identity_headers_rejected_on_key_mint[username-only] [gw6] [ 18%] PASSED test/maas-e2e/test/e2e/tests/test_negative_security.py::TestHeaderSpoofing::test_forged_identity_headers_rejected_on_key_mint[username-only] test/maas-e2e/test/e2e/tests/test_negative_security.py::TestHeaderSpoofing::test_forged_identity_headers_rejected_on_key_mint[group-only] [gw6] [ 19%] PASSED test/maas-e2e/test/e2e/tests/test_negative_security.py::TestHeaderSpoofing::test_forged_identity_headers_rejected_on_key_mint[group-only] test/maas-e2e/test/e2e/tests/test_negative_security.py::TestHeaderSpoofing::test_forged_identity_headers_rejected_on_key_mint[keyname-only] [gw3] [ 19%] PASSED test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyAuthorization::test_admin_manage_other_users_keys test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyBulkOperations::test_bulk_revoke_dry_run [gw6] [ 20%] PASSED test/maas-e2e/test/e2e/tests/test_negative_security.py::TestHeaderSpoofing::test_forged_identity_headers_rejected_on_key_mint[keyname-only] test/maas-e2e/test/e2e/tests/test_negative_security.py::TestHeaderSpoofing::test_forged_identity_headers_rejected_on_key_mint[identity-envelope] [gw3] [ 20%] PASSED test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyBulkOperations::test_bulk_revoke_dry_run [gw6] [ 21%] PASSED test/maas-e2e/test/e2e/tests/test_negative_security.py::TestHeaderSpoofing::test_forged_identity_headers_rejected_on_key_mint[identity-envelope] test/maas-e2e/test/e2e/tests/test_negative_security.py::TestHeaderSpoofing::test_injected_identity_headers_rejected_on_inference test/maas-e2e/test/e2e/tests/test_negative_security.py::TestHeaderSpoofing::test_forged_identity_headers_rejected_on_key_mint[admin-scope] [gw6] [ 21%] PASSED test/maas-e2e/test/e2e/tests/test_negative_security.py::TestHeaderSpoofing::test_injected_identity_headers_rejected_on_inference test/maas-e2e/test/e2e/tests/test_negative_security.py::TestHeaderSpoofing::test_duplicate_subscription_headers_ignored [gw3] [ 22%] PASSED test/maas-e2e/test/e2e/tests/test_negative_security.py::TestHeaderSpoofing::test_forged_identity_headers_rejected_on_key_mint[admin-scope] test/maas-e2e/test/e2e/tests/test_negative_security.py::TestExpiredKeyRejection::test_expired_key_rejected_at_gateway [gw4] [ 22%] PASSED test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyBulkOperations::test_bulk_revoke_dry_run_by_subscription test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeySubscriptionPhases::test_create_key_for_failed_subscription [gw2] [ 23%] PASSED test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyCRUD::test_revoke_api_key test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyBulkOperations::test_bulk_revoke_by_subscription_forbidden_for_non_admin [gw2] [ 23%] PASSED test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyBulkOperations::test_bulk_revoke_by_subscription_forbidden_for_non_admin test/maas-e2e/test/e2e/tests/test_negative_security.py::TestHeaderAbuse::test_special_characters_in_subscription_header [gw2] [ 24%] PASSED test/maas-e2e/test/e2e/tests/test_negative_security.py::TestHeaderAbuse::test_special_characters_in_subscription_header test/maas-e2e/test/e2e/tests/test_negative_security.py::TestInternalEndpointIsolation::test_internal_endpoint_not_routable[subscriptions-select] [gw2] [ 24%] PASSED test/maas-e2e/test/e2e/tests/test_negative_security.py::TestInternalEndpointIsolation::test_internal_endpoint_not_routable[subscriptions-select] test/maas-e2e/test/e2e/tests/test_negative_security.py::TestInternalEndpointIsolation::test_internal_endpoint_not_routable[api-keys-cleanup] [gw2] [ 25%] PASSED test/maas-e2e/test/e2e/tests/test_negative_security.py::TestInternalEndpointIsolation::test_internal_endpoint_not_routable[api-keys-cleanup] test/maas-e2e/test/e2e/tests/test_negative_security.py::TestInternalEndpointIsolation::test_internal_endpoint_not_routable[api-keys-validate] [gw2] [ 25%] PASSED test/maas-e2e/test/e2e/tests/test_negative_security.py::TestInternalEndpointIsolation::test_internal_endpoint_not_routable[api-keys-validate] test/maas-e2e/test/e2e/tests/test_negative_security.py::TestInternalEndpointIsolation::test_health_endpoint_accessible [gw2] [ 26%] PASSED test/maas-e2e/test/e2e/tests/test_negative_security.py::TestInternalEndpointIsolation::test_health_endpoint_accessible test/maas-e2e/test/e2e/tests/test_negative_security.py::TestInternalEndpointIsolation::test_v1_models_via_maas_api_prefix [gw2] [ 26%] PASSED test/maas-e2e/test/e2e/tests/test_negative_security.py::TestInternalEndpointIsolation::test_v1_models_via_maas_api_prefix test/maas-e2e/test/e2e/tests/test_subscription.py::TestAuthEnforcement::test_authorized_user_gets_200 [gw2] [ 27%] PASSED test/maas-e2e/test/e2e/tests/test_subscription.py::TestAuthEnforcement::test_authorized_user_gets_200 test/maas-e2e/test/e2e/tests/test_subscription.py::TestAuthEnforcement::test_no_auth_gets_401 [gw2] [ 27%] PASSED test/maas-e2e/test/e2e/tests/test_subscription.py::TestAuthEnforcement::test_no_auth_gets_401 test/maas-e2e/test/e2e/tests/test_subscription.py::TestAuthEnforcement::test_invalid_token_gets_403 [gw2] [ 28%] PASSED test/maas-e2e/test/e2e/tests/test_subscription.py::TestAuthEnforcement::test_invalid_token_gets_403 test/maas-e2e/test/e2e/tests/test_subscription.py::TestAuthEnforcement::test_wrong_group_gets_403 [gw0] [ 28%] PASSED test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeySubscriptionPhases::test_create_key_for_degraded_subscription test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeySubscriptionFilter::test_search_filters_by_subscription [gw2] [ 29%] PASSED test/maas-e2e/test/e2e/tests/test_subscription.py::TestAuthEnforcement::test_wrong_group_gets_403 test/maas-e2e/test/e2e/tests/test_subscription.py::TestAPIKeySubscriptionBinding::test_create_api_key_uses_highest_priority_subscription [gw2] [ 29%] PASSED test/maas-e2e/test/e2e/tests/test_subscription.py::TestAPIKeySubscriptionBinding::test_create_api_key_uses_highest_priority_subscription test/maas-e2e/test/e2e/tests/test_subscription.py::TestAPIKeySubscriptionBinding::test_create_api_key_nonexistent_subscription_errors [gw2] [ 30%] PASSED test/maas-e2e/test/e2e/tests/test_subscription.py::TestAPIKeySubscriptionBinding::test_create_api_key_nonexistent_subscription_errors [gw3] [ 30%] PASSED test/maas-e2e/test/e2e/tests/test_negative_security.py::TestExpiredKeyRejection::test_expired_key_rejected_at_gateway test/maas-e2e/test/e2e/tests/test_negative_security.py::TestMissingModelRef::test_subscription_with_nonexistent_model_ref [gw6] [ 31%] PASSED test/maas-e2e/test/e2e/tests/test_negative_security.py::TestHeaderSpoofing::test_duplicate_subscription_headers_ignored test/maas-e2e/test/e2e/tests/test_negative_security.py::TestCrossModelAccess::test_key_cannot_access_model_outside_subscription [gw6] [ 31%] PASSED test/maas-e2e/test/e2e/tests/test_negative_security.py::TestCrossModelAccess::test_key_cannot_access_model_outside_subscription test/maas-e2e/test/e2e/tests/test_subscription.py::TestManagedAnnotation::test_authpolicy_managed_false_prevents_update [gw6] [ 32%] SKIPPED test/maas-e2e/test/e2e/tests/test_subscription.py::TestManagedAnnotation::test_authpolicy_managed_false_prevents_update test/maas-e2e/test/e2e/tests/test_subscription.py::TestManagedAnnotation::test_trlp_managed_false_prevents_update [gw1] [ 32%] PASSED test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyCRUD::test_list_api_keys test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyBulkOperations::test_bulk_revoke_by_subscription [gw4] [ 33%] PASSED test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeySubscriptionPhases::test_create_key_for_failed_subscription test/maas-e2e/test/e2e/tests/test_negative_security.py::TestMissingModelRef::test_authpolicy_with_nonexistent_model_ref test/maas-e2e/test/e2e/tests/test_subscription.py::TestSubscriptionEnforcement::test_subscribed_user_gets_200 [gw2] [ 33%] PASSED test/maas-e2e/test/e2e/tests/test_subscription.py::TestSubscriptionEnforcement::test_subscribed_user_gets_200 test/maas-e2e/test/e2e/tests/test_subscription.py::TestE2ESubscriptionFlow::test_e2e_mint_api_key_denied_for_inaccessible_subscription [gw5] [ 33%] PASSED test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyBulkOperations::test_bulk_revoke_own_keys test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyBulkOperations::test_bulk_revoke_combined_user_and_subscription [gw3] [ 34%] PASSED test/maas-e2e/test/e2e/tests/test_negative_security.py::TestMissingModelRef::test_subscription_with_nonexistent_model_ref test/maas-e2e/test/e2e/tests/test_subscription.py::TestOrderingEdgeCases::test_subscription_before_auth_policy [gw1] [ 34%] PASSED test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyBulkOperations::test_bulk_revoke_by_subscription test/maas-e2e/test/e2e/tests/test_subscription.py::TestE2ESubscriptionFlow::test_e2e_with_subscription_but_no_access_gets_403 [gw5] [ 35%] PASSED test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeyBulkOperations::test_bulk_revoke_combined_user_and_subscription test/maas-e2e/test/e2e/tests/test_subscription.py::TestE2ESubscriptionFlow::test_e2e_group_based_subscription_but_no_auth_gets_403 [gw4] [ 35%] PASSED test/maas-e2e/test/e2e/tests/test_negative_security.py::TestMissingModelRef::test_authpolicy_with_nonexistent_model_ref test/maas-e2e/test/e2e/tests/test_subscription.py::TestE2ESubscriptionFlow::test_e2e_multiple_subscriptions_separate_keys_gets_200 [gw3] [ 36%] PASSED test/maas-e2e/test/e2e/tests/test_subscription.py::TestOrderingEdgeCases::test_subscription_before_auth_policy test/maas-e2e/test/e2e/tests/test_subscription.py::TestStatusReporting::test_subscription_active_status_with_valid_model [gw2] [ 36%] PASSED test/maas-e2e/test/e2e/tests/test_subscription.py::TestE2ESubscriptionFlow::test_e2e_mint_api_key_denied_for_inaccessible_subscription test/maas-e2e/test/e2e/tests/test_subscription.py::TestE2ESubscriptionFlow::test_e2e_group_based_access_gets_200 [gw0] [ 37%] PASSED test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeySubscriptionFilter::test_search_filters_by_subscription [gw1] [ 37%] PASSED test/maas-e2e/test/e2e/tests/test_subscription.py::TestE2ESubscriptionFlow::test_e2e_with_subscription_but_no_access_gets_403 test/maas-e2e/test/e2e/tests/test_subscription.py::TestStatusReporting::test_subscription_failed_status_with_missing_model test/maas-e2e/test/e2e/tests/test_subscription.py::TestAPIKeySubscriptionBinding::test_create_api_key_with_explicit_simulator_subscription [gw0] [ 38%] PASSED test/maas-e2e/test/e2e/tests/test_subscription.py::TestAPIKeySubscriptionBinding::test_create_api_key_with_explicit_simulator_subscription [gw5] [ 38%] PASSED test/maas-e2e/test/e2e/tests/test_subscription.py::TestE2ESubscriptionFlow::test_e2e_group_based_subscription_but_no_auth_gets_403 test/maas-e2e/test/e2e/tests/test_subscription.py::TestStatusReporting::test_authpolicy_active_status_with_valid_model test/maas-e2e/test/e2e/tests/test_subscription.py::TestDegradedSubscriptionFiltering::test_degraded_healthy_model_allows_inference [gw0] [ 39%] PASSED test/maas-e2e/test/e2e/tests/test_subscription.py::TestDegradedSubscriptionFiltering::test_degraded_healthy_model_allows_inference test/maas-e2e/test/e2e/tests/test_subscription.py::TestDegradedSubscriptionFiltering::test_models_endpoint_with_degraded_subscription_kube_token [gw0] [ 39%] PASSED test/maas-e2e/test/e2e/tests/test_subscription.py::TestDegradedSubscriptionFiltering::test_models_endpoint_with_degraded_subscription_kube_token test/maas-e2e/test/e2e/tests/test_subscription_list_endpoints.py::TestListSubscriptions::test_returns_accessible_subscriptions [gw3] [ 40%] PASSED test/maas-e2e/test/e2e/tests/test_subscription.py::TestStatusReporting::test_subscription_active_status_with_valid_model test/maas-e2e/test/e2e/tests/test_subscription.py::TestStatusReporting::test_subscription_degraded_status_with_partial_models [gw3] [ 40%] PASSED test/maas-e2e/test/e2e/tests/test_subscription.py::TestStatusReporting::test_subscription_degraded_status_with_partial_models test/maas-e2e/test/e2e/tests/test_subscription_list_endpoints.py::TestListSubscriptions::test_unauthenticated_returns_401[subscriptions-for-model] [gw3] [ 41%] PASSED test/maas-e2e/test/e2e/tests/test_subscription_list_endpoints.py::TestListSubscriptions::test_unauthenticated_returns_401[subscriptions-for-model] test/maas-e2e/test/e2e/tests/test_subscription_list_endpoints.py::TestListSubscriptions::test_subscription_includes_model_refs [gw1] [ 41%] PASSED test/maas-e2e/test/e2e/tests/test_subscription.py::TestStatusReporting::test_subscription_failed_status_with_missing_model test/maas-e2e/test/e2e/tests/test_subscription.py::TestStatusReporting::test_subscription_status_transitions_on_model_deletion [gw3] [ 42%] PASSED test/maas-e2e/test/e2e/tests/test_subscription_list_endpoints.py::TestListSubscriptions::test_subscription_includes_model_refs test/maas-e2e/test/e2e/tests/test_subscription_list_endpoints.py::TestListSubscriptions::test_model_ref_display_name_and_description_enriched [gw5] [ 42%] PASSED test/maas-e2e/test/e2e/tests/test_subscription.py::TestStatusReporting::test_authpolicy_active_status_with_valid_model test/maas-e2e/test/e2e/tests/test_subscription.py::TestDegradedSubscriptionFiltering::test_models_endpoint_with_degraded_subscription_api_key [gw3] [ 43%] PASSED test/maas-e2e/test/e2e/tests/test_subscription_list_endpoints.py::TestListSubscriptions::test_model_ref_display_name_and_description_enriched test/maas-e2e/test/e2e/tests/test_subscription_list_endpoints.py::TestListSubscriptionsForModel::test_unknown_model_returns_empty [gw3] [ 43%] PASSED test/maas-e2e/test/e2e/tests/test_subscription_list_endpoints.py::TestListSubscriptionsForModel::test_unknown_model_returns_empty test/maas-e2e/test/e2e/tests/test_subscription_list_endpoints.py::TestSubscriptionModelAccessFiltering::test_omits_subscription_with_no_authorized_models [gw0] [ 44%] PASSED test/maas-e2e/test/e2e/tests/test_subscription_list_endpoints.py::TestListSubscriptions::test_returns_accessible_subscriptions test/maas-e2e/test/e2e/tests/test_subscription_list_endpoints.py::TestListSubscriptions::test_unauthenticated_returns_401[all-subscriptions] [gw0] [ 44%] PASSED test/maas-e2e/test/e2e/tests/test_subscription_list_endpoints.py::TestListSubscriptions::test_unauthenticated_returns_401[all-subscriptions] test/maas-e2e/test/e2e/tests/test_models_endpoint.py::TestModelsEndpoint::test_deduplication_same_model_multiple_refs [gw5] [ 45%] PASSED test/maas-e2e/test/e2e/tests/test_subscription.py::TestDegradedSubscriptionFiltering::test_models_endpoint_with_degraded_subscription_api_key test/maas-e2e/test/e2e/tests/test_subscription_list_endpoints.py::TestSubscriptionModelAccessFiltering::test_filters_unauthorized_models [gw1] [ 45%] PASSED test/maas-e2e/test/e2e/tests/test_subscription.py::TestStatusReporting::test_subscription_status_transitions_on_model_deletion test/maas-e2e/test/e2e/tests/test_subscription_list_endpoints.py::TestListSubscriptionsForModel::test_returns_subscriptions_for_model [gw3] [ 46%] PASSED test/maas-e2e/test/e2e/tests/test_subscription_list_endpoints.py::TestSubscriptionModelAccessFiltering::test_omits_subscription_with_no_authorized_models test/maas-e2e/test/e2e/tests/test_models_endpoint.py::TestModelsEndpoint::test_empty_subscription_header_value [gw5] [ 46%] PASSED test/maas-e2e/test/e2e/tests/test_subscription_list_endpoints.py::TestSubscriptionModelAccessFiltering::test_filters_unauthorized_models test/maas-e2e/test/e2e/tests/test_models_endpoint.py::TestModelsEndpoint::test_user_token_returns_all_models [gw3] [ 47%] PASSED test/maas-e2e/test/e2e/tests/test_models_endpoint.py::TestModelsEndpoint::test_empty_subscription_header_value test/maas-e2e/test/e2e/tests/test_models_endpoint.py::TestModelsEndpoint::test_response_schema_and_metadata [gw3] [ 47%] PASSED test/maas-e2e/test/e2e/tests/test_models_endpoint.py::TestModelsEndpoint::test_response_schema_and_metadata test/maas-e2e/test/e2e/tests/test_models_endpoint.py::TestModelsEndpoint::test_api_key_with_deleted_subscription_403 [gw0] [ 48%] PASSED test/maas-e2e/test/e2e/tests/test_models_endpoint.py::TestModelsEndpoint::test_deduplication_same_model_multiple_refs test/maas-e2e/test/e2e/tests/test_models_endpoint.py::TestModelsEndpoint::test_multiple_distinct_models_in_subscription [gw5] [ 48%] ERROR test/maas-e2e/test/e2e/tests/test_models_endpoint.py::TestModelsEndpoint::test_user_token_returns_all_models test/maas-e2e/test/e2e/tests/test_models_endpoint.py::TestModelsEndpoint::test_api_key_scoped_to_subscription [gw5] [ 49%] ERROR test/maas-e2e/test/e2e/tests/test_models_endpoint.py::TestModelsEndpoint::test_api_key_scoped_to_subscription test/maas-e2e/test/e2e/tests/test_models_endpoint.py::TestModelsEndpoint::test_access_denied_to_subscription_403 [gw5] [ 49%] ERROR test/maas-e2e/test/e2e/tests/test_models_endpoint.py::TestModelsEndpoint::test_access_denied_to_subscription_403 test/maas-e2e/test/e2e/tests/test_models_endpoint.py::TestModelsEndpoint::test_api_key_ignores_subscription_header [gw5] [ 50%] ERROR test/maas-e2e/test/e2e/tests/test_models_endpoint.py::TestModelsEndpoint::test_api_key_ignores_subscription_header test/maas-e2e/test/e2e/tests/test_models_endpoint.py::TestModelsEndpoint::test_multiple_api_keys_different_subscriptions [gw5] [ 50%] ERROR test/maas-e2e/test/e2e/tests/test_models_endpoint.py::TestModelsEndpoint::test_multiple_api_keys_different_subscriptions [gw0] [ 51%] PASSED test/maas-e2e/test/e2e/tests/test_models_endpoint.py::TestModelsEndpoint::test_multiple_distinct_models_in_subscription test/maas-e2e/test/e2e/tests/test_models_endpoint.py::TestModelsEndpoint::test_invalid_subscription_header_403 [gw1] [ 51%] PASSED test/maas-e2e/test/e2e/tests/test_subscription_list_endpoints.py::TestListSubscriptionsForModel::test_returns_subscriptions_for_model test/maas-e2e/test/e2e/tests/test_models_endpoint.py::TestModelsEndpoint::test_user_token_with_subscription_header_filters [gw0] [ 52%] PASSED test/maas-e2e/test/e2e/tests/test_models_endpoint.py::TestModelsEndpoint::test_invalid_subscription_header_403 [gw2] [ 52%] FAILED test/maas-e2e/test/e2e/tests/test_subscription.py::TestE2ESubscriptionFlow::test_e2e_group_based_access_gets_200 test/maas-e2e/test/e2e/tests/test_subscription.py::TestStatusReporting::test_authpolicy_degraded_status_with_partial_models [gw4] [ 53%] FAILED test/maas-e2e/test/e2e/tests/test_subscription.py::TestE2ESubscriptionFlow::test_e2e_multiple_subscriptions_separate_keys_gets_200 test/maas-e2e/test/e2e/tests/test_subscription.py::TestStatusReporting::test_authpolicy_failed_status_with_missing_model [gw1] [ 53%] PASSED test/maas-e2e/test/e2e/tests/test_models_endpoint.py::TestModelsEndpoint::test_user_token_with_subscription_header_filters [gw3] [ 54%] PASSED test/maas-e2e/test/e2e/tests/test_models_endpoint.py::TestModelsEndpoint::test_api_key_with_deleted_subscription_403 test/maas-e2e/test/e2e/tests/test_models_endpoint.py::TestModelsEndpoint::test_api_key_with_inaccessible_subscription_403 [gw3] [ 54%] PASSED test/maas-e2e/test/e2e/tests/test_models_endpoint.py::TestModelsEndpoint::test_api_key_with_inaccessible_subscription_403 [gw2] [ 55%] PASSED test/maas-e2e/test/e2e/tests/test_subscription.py::TestStatusReporting::test_authpolicy_degraded_status_with_partial_models [gw4] [ 55%] PASSED test/maas-e2e/test/e2e/tests/test_subscription.py::TestStatusReporting::test_authpolicy_failed_status_with_missing_model [gw6] [ 56%] FAILED test/maas-e2e/test/e2e/tests/test_subscription.py::TestManagedAnnotation::test_trlp_managed_false_prevents_update test/maas-e2e/test/e2e/tests/test_subscription.py::TestE2ESubscriptionFlow::test_e2e_with_both_access_and_subscription_gets_200 [gw6] [ 56%] PASSED test/maas-e2e/test/e2e/tests/test_subscription.py::TestE2ESubscriptionFlow::test_e2e_with_both_access_and_subscription_gets_200 ==================================== ERRORS ==================================== ___ ERROR at setup of TestModelsEndpoint.test_user_token_returns_all_models ____ [gw5] linux -- Python 3.11.13 /workspace/source/test/e2e/.venv/bin/python cls = @classmethod def setup_class(cls): """Validate test environment prerequisites before running any tests.""" log.info("=" * 60) log.info("Validating /v1/models E2E Test Prerequisites") log.info("=" * 60) # Validate MODEL_REF exists and is Ready model = _get_cr("maasmodelref", MODEL_REF, MODEL_NAMESPACE) if not model: pytest.fail(f"PREREQUISITE MISSING: MaaSModelRef '{MODEL_REF}' not found in namespace '{MODEL_NAMESPACE}'. " f"Ensure prow setup has created the model.") phase = model.get("status", {}).get("phase") endpoint = model.get("status", {}).get("endpoint") if phase != "Ready" or not endpoint: > pytest.fail(f"PREREQUISITE INVALID: MaaSModelRef '{MODEL_REF}' not Ready " f"(phase={phase}, endpoint={endpoint or 'none'}). " f"Wait for reconciliation or check controller logs.") E Failed: PREREQUISITE INVALID: MaaSModelRef 'simulator-w5-f8a55e' not Ready (phase=Unhealthy, endpoint=none). Wait for reconciliation or check controller logs. test/maas-e2e/test/e2e/tests/test_models_endpoint.py:381: Failed ------------------------------ Captured log setup ------------------------------ INFO test_models_endpoint:test_models_endpoint.py:368 ============================================================ INFO test_models_endpoint:test_models_endpoint.py:369 Validating /v1/models E2E Test Prerequisites INFO test_models_endpoint:test_models_endpoint.py:370 ============================================================ ___ ERROR at setup of TestModelsEndpoint.test_api_key_scoped_to_subscription ___ [gw5] linux -- Python 3.11.13 /workspace/source/test/e2e/.venv/bin/python cls = @classmethod def setup_class(cls): """Validate test environment prerequisites before running any tests.""" log.info("=" * 60) log.info("Validating /v1/models E2E Test Prerequisites") log.info("=" * 60) # Validate MODEL_REF exists and is Ready model = _get_cr("maasmodelref", MODEL_REF, MODEL_NAMESPACE) if not model: pytest.fail(f"PREREQUISITE MISSING: MaaSModelRef '{MODEL_REF}' not found in namespace '{MODEL_NAMESPACE}'. " f"Ensure prow setup has created the model.") phase = model.get("status", {}).get("phase") endpoint = model.get("status", {}).get("endpoint") if phase != "Ready" or not endpoint: > pytest.fail(f"PREREQUISITE INVALID: MaaSModelRef '{MODEL_REF}' not Ready " f"(phase={phase}, endpoint={endpoint or 'none'}). " f"Wait for reconciliation or check controller logs.") E Failed: PREREQUISITE INVALID: MaaSModelRef 'simulator-w5-f8a55e' not Ready (phase=Unhealthy, endpoint=none). Wait for reconciliation or check controller logs. test/maas-e2e/test/e2e/tests/test_models_endpoint.py:381: Failed _ ERROR at setup of TestModelsEndpoint.test_access_denied_to_subscription_403 __ [gw5] linux -- Python 3.11.13 /workspace/source/test/e2e/.venv/bin/python cls = @classmethod def setup_class(cls): """Validate test environment prerequisites before running any tests.""" log.info("=" * 60) log.info("Validating /v1/models E2E Test Prerequisites") log.info("=" * 60) # Validate MODEL_REF exists and is Ready model = _get_cr("maasmodelref", MODEL_REF, MODEL_NAMESPACE) if not model: pytest.fail(f"PREREQUISITE MISSING: MaaSModelRef '{MODEL_REF}' not found in namespace '{MODEL_NAMESPACE}'. " f"Ensure prow setup has created the model.") phase = model.get("status", {}).get("phase") endpoint = model.get("status", {}).get("endpoint") if phase != "Ready" or not endpoint: > pytest.fail(f"PREREQUISITE INVALID: MaaSModelRef '{MODEL_REF}' not Ready " f"(phase={phase}, endpoint={endpoint or 'none'}). " f"Wait for reconciliation or check controller logs.") E Failed: PREREQUISITE INVALID: MaaSModelRef 'simulator-w5-f8a55e' not Ready (phase=Unhealthy, endpoint=none). Wait for reconciliation or check controller logs. test/maas-e2e/test/e2e/tests/test_models_endpoint.py:381: Failed _ ERROR at setup of TestModelsEndpoint.test_api_key_ignores_subscription_header _ [gw5] linux -- Python 3.11.13 /workspace/source/test/e2e/.venv/bin/python cls = @classmethod def setup_class(cls): """Validate test environment prerequisites before running any tests.""" log.info("=" * 60) log.info("Validating /v1/models E2E Test Prerequisites") log.info("=" * 60) # Validate MODEL_REF exists and is Ready model = _get_cr("maasmodelref", MODEL_REF, MODEL_NAMESPACE) if not model: pytest.fail(f"PREREQUISITE MISSING: MaaSModelRef '{MODEL_REF}' not found in namespace '{MODEL_NAMESPACE}'. " f"Ensure prow setup has created the model.") phase = model.get("status", {}).get("phase") endpoint = model.get("status", {}).get("endpoint") if phase != "Ready" or not endpoint: > pytest.fail(f"PREREQUISITE INVALID: MaaSModelRef '{MODEL_REF}' not Ready " f"(phase={phase}, endpoint={endpoint or 'none'}). " f"Wait for reconciliation or check controller logs.") E Failed: PREREQUISITE INVALID: MaaSModelRef 'simulator-w5-f8a55e' not Ready (phase=Unhealthy, endpoint=none). Wait for reconciliation or check controller logs. test/maas-e2e/test/e2e/tests/test_models_endpoint.py:381: Failed _ ERROR at setup of TestModelsEndpoint.test_multiple_api_keys_different_subscriptions _ [gw5] linux -- Python 3.11.13 /workspace/source/test/e2e/.venv/bin/python cls = @classmethod def setup_class(cls): """Validate test environment prerequisites before running any tests.""" log.info("=" * 60) log.info("Validating /v1/models E2E Test Prerequisites") log.info("=" * 60) # Validate MODEL_REF exists and is Ready model = _get_cr("maasmodelref", MODEL_REF, MODEL_NAMESPACE) if not model: pytest.fail(f"PREREQUISITE MISSING: MaaSModelRef '{MODEL_REF}' not found in namespace '{MODEL_NAMESPACE}'. " f"Ensure prow setup has created the model.") phase = model.get("status", {}).get("phase") endpoint = model.get("status", {}).get("endpoint") if phase != "Ready" or not endpoint: > pytest.fail(f"PREREQUISITE INVALID: MaaSModelRef '{MODEL_REF}' not Ready " f"(phase={phase}, endpoint={endpoint or 'none'}). " f"Wait for reconciliation or check controller logs.") E Failed: PREREQUISITE INVALID: MaaSModelRef 'simulator-w5-f8a55e' not Ready (phase=Unhealthy, endpoint=none). Wait for reconciliation or check controller logs. test/maas-e2e/test/e2e/tests/test_models_endpoint.py:381: Failed =================================== FAILURES =================================== _________ TestE2ESubscriptionFlow.test_e2e_group_based_access_gets_200 _________ [gw2] linux -- Python 3.11.13 /workspace/source/test/e2e/.venv/bin/python self = def test_e2e_group_based_access_gets_200(self): """ E2E test: Group-based auth and subscription (success case). Validates that users can access models via group membership in both MaaSAuthPolicy and MaaSSubscription, not just explicit user lists. """ ns = _ns() auth_policy_name = "e2e-test-group-auth" subscription_name = "e2e-test-group-subscription" sa_name = "e2e-sa-group" # Use namespace-specific group that SA will be in test_group = f"system:serviceaccounts:{ns}" try: # Create service account and get OC token for maas-api oc_token = _create_sa_token(sa_name, namespace=ns) # Create auth policy using GROUP (not user) _create_test_auth_policy(auth_policy_name, MODEL_REF, groups=[test_group]) # Create subscription using GROUP (not user) _create_test_subscription(subscription_name, MODEL_REF, groups=[test_group]) _wait_for_maas_auth_policy_phase(auth_policy_name, require_enforced=False) > _wait_for_subscription_inference_ready( subscription_name, MODEL_REF, model_namespace=MODEL_NAMESPACE, timeout=180, ) test/maas-e2e/test/e2e/tests/test_subscription.py:2216: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/maas-e2e/test/e2e/tests/test_helper.py:1781: in _wait_for_subscription_inference_ready _wait_for_token_rate_limit_policy( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ model_ref = 'simulator-w2-f76c09' model_namespace = 'e2e-models-e2e-worker-w2-f76c09', timeout = 180 subscription_name = 'e2e-test-group-subscription' subscription_namespace = 'ai-tenant-e2e-worker-w2-f76c09' def _wait_for_token_rate_limit_policy( model_ref, model_namespace=MODEL_NAMESPACE, timeout=60, *, subscription_name=None, subscription_namespace=None ): """Wait for the current TokenRateLimitPolicy generation to be enforced. If a subscription is supplied, wait until the policy includes it. This prevents accepting the old policy before the controller updates its spec. Args: model_ref: Name of the model (e.g., "e2e-distinct-simulated") model_namespace: Namespace where the TRLP should be created (default: MODEL_NAMESPACE) timeout: Maximum wait time in seconds (default: 60) subscription_name: Subscription that the policy must include, if supplied subscription_namespace: Subscription namespace (defaults to _ns()) Raises: TimeoutError: If TRLP isn't created and enforced within timeout """ trlp_name = f"maas-trlp-{model_ref}" expected_subscription = ( f"{subscription_namespace or _ns()}/{subscription_name}" if subscription_name else None ) last_snapshot = "not found" deadline = time.time() + timeout log.info(f"Waiting for TokenRateLimitPolicy {trlp_name} in {model_namespace} (timeout: {timeout}s)...") while time.time() < deadline: result = subprocess.run( ["oc", "get", "tokenratelimitpolicy", trlp_name, "-n", model_namespace, "-o", "json"], capture_output=True, text=True, timeout=30, ) if result.returncode == 0: try: trlp = json.loads(result.stdout) metadata = trlp.get("metadata", {}) status = trlp.get("status", {}) generation = metadata.get("generation") observed = status.get("observedGeneration") conditions = status.get("conditions", []) enforced = next((c for c in conditions if c.get("type") == "Enforced"), None) subscriptions = { name.strip() for name in metadata.get("annotations", {}).get( "maas.opendatahub.io/subscriptions", "" ).split(",") } includes_subscription = expected_subscription is None or expected_subscription in subscriptions last_snapshot = ( f"generation={generation}, observedGeneration={observed}, " f"Enforced={enforced}, includes_subscription={includes_subscription}" ) if ( enforced and enforced.get("status") == "True" and generation is not None and observed == generation and includes_subscription ): log.info(f"TokenRateLimitPolicy {trlp_name} generation {generation} is enforced") return log.debug(f"TokenRateLimitPolicy {trlp_name} is not ready: {last_snapshot}") except (json.JSONDecodeError, KeyError) as e: log.debug(f"Failed to parse TRLP status: {e}") elif _is_not_found_error(result.stderr): log.debug(f"TokenRateLimitPolicy {trlp_name} not found yet...") elif _is_transient_kubectl_error(result.stderr): log.debug( f"Transient error while reading TokenRateLimitPolicy {trlp_name}: {result.stderr.strip()}" ) else: raise RuntimeError( f"Failed to get TokenRateLimitPolicy {trlp_name} in namespace '{model_namespace}': " f"{result.stderr.strip()}" ) time.sleep(3) > raise TimeoutError( f"TokenRateLimitPolicy {trlp_name} was not created and enforced in {model_namespace} within {timeout}s: {last_snapshot}" ) E TimeoutError: TokenRateLimitPolicy maas-trlp-simulator-w2-f76c09 was not created and enforced in e2e-models-e2e-worker-w2-f76c09 within 180s: generation=8, observedGeneration=8, Enforced={'lastTransitionTime': '2026-10-30T13:15:22Z', 'message': 'TokenRateLimitPolicy waiting for the following components to sync: [Limitador]', 'reason': 'Unknown', 'status': 'False', 'type': 'Enforced'}, includes_subscription=True test/maas-e2e/test/e2e/tests/test_helper.py:1538: TimeoutError ------------------------------ Captured log call ------------------------------- INFO test_helper:test_helper.py:1070 Creating MaaSAuthPolicy: e2e-test-group-auth INFO test_helper:test_helper.py:1135 Creating MaaSSubscription: e2e-test-group-subscription INFO test_helper:test_helper.py:1821 Waiting for MaaSAuthPolicy e2e-test-group-auth to reach phase 'Active' (timeout: 120s)... INFO test_helper:test_helper.py:1846 MaaSAuthPolicy e2e-test-group-auth reached phase 'Active' INFO test_helper:test_helper.py:1633 MaaSSubscription ai-tenant-e2e-worker-w2-f76c09/e2e-test-group-subscription is discovery-ready in phase Active INFO test_helper:test_helper.py:1486 Waiting for TokenRateLimitPolicy maas-trlp-simulator-w2-f76c09 in e2e-models-e2e-worker-w2-f76c09 (timeout: 180s)... _ TestE2ESubscriptionFlow.test_e2e_multiple_subscriptions_separate_keys_gets_200 _ [gw4] linux -- Python 3.11.13 /workspace/source/test/e2e/.venv/bin/python self = def test_e2e_multiple_subscriptions_separate_keys_gets_200(self): """ User with two subscriptions for the same model: mint one API key per subscription; each key succeeds on inference without x-maas-subscription. """ ns = _ns() auth_policy_name = "e2e-test-auth-multi-sub-valid" subscription_1 = "e2e-test-subscription-free" subscription_2 = "e2e-test-subscription-premium" sa_name = "e2e-sa-multi-sub-valid" try: # Create service account and get OC token for maas-api oc_token = _create_sa_token(sa_name, namespace=ns) sa_user = _sa_to_user(sa_name, namespace=ns) # Create test resources with 2 subscriptions for the same user _create_test_auth_policy(auth_policy_name, MODEL_REF, users=[sa_user]) _create_test_subscription(subscription_1, MODEL_REF, users=[sa_user], token_limit=100) _create_test_subscription(subscription_2, MODEL_REF, users=[sa_user], token_limit=1000) _wait_for_maas_auth_policy_phase(auth_policy_name, require_enforced=False) > _wait_for_subscription_inference_ready( subscription_1, MODEL_REF, model_namespace=MODEL_NAMESPACE, timeout=180, ) test/maas-e2e/test/e2e/tests/test_subscription.py:2089: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/maas-e2e/test/e2e/tests/test_helper.py:1781: in _wait_for_subscription_inference_ready _wait_for_token_rate_limit_policy( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ model_ref = 'simulator-w4-88f6a4' model_namespace = 'e2e-models-e2e-worker-w4-88f6a4', timeout = 180 subscription_name = 'e2e-test-subscription-free' subscription_namespace = 'ai-tenant-e2e-worker-w4-88f6a4' def _wait_for_token_rate_limit_policy( model_ref, model_namespace=MODEL_NAMESPACE, timeout=60, *, subscription_name=None, subscription_namespace=None ): """Wait for the current TokenRateLimitPolicy generation to be enforced. If a subscription is supplied, wait until the policy includes it. This prevents accepting the old policy before the controller updates its spec. Args: model_ref: Name of the model (e.g., "e2e-distinct-simulated") model_namespace: Namespace where the TRLP should be created (default: MODEL_NAMESPACE) timeout: Maximum wait time in seconds (default: 60) subscription_name: Subscription that the policy must include, if supplied subscription_namespace: Subscription namespace (defaults to _ns()) Raises: TimeoutError: If TRLP isn't created and enforced within timeout """ trlp_name = f"maas-trlp-{model_ref}" expected_subscription = ( f"{subscription_namespace or _ns()}/{subscription_name}" if subscription_name else None ) last_snapshot = "not found" deadline = time.time() + timeout log.info(f"Waiting for TokenRateLimitPolicy {trlp_name} in {model_namespace} (timeout: {timeout}s)...") while time.time() < deadline: result = subprocess.run( ["oc", "get", "tokenratelimitpolicy", trlp_name, "-n", model_namespace, "-o", "json"], capture_output=True, text=True, timeout=30, ) if result.returncode == 0: try: trlp = json.loads(result.stdout) metadata = trlp.get("metadata", {}) status = trlp.get("status", {}) generation = metadata.get("generation") observed = status.get("observedGeneration") conditions = status.get("conditions", []) enforced = next((c for c in conditions if c.get("type") == "Enforced"), None) subscriptions = { name.strip() for name in metadata.get("annotations", {}).get( "maas.opendatahub.io/subscriptions", "" ).split(",") } includes_subscription = expected_subscription is None or expected_subscription in subscriptions last_snapshot = ( f"generation={generation}, observedGeneration={observed}, " f"Enforced={enforced}, includes_subscription={includes_subscription}" ) if ( enforced and enforced.get("status") == "True" and generation is not None and observed == generation and includes_subscription ): log.info(f"TokenRateLimitPolicy {trlp_name} generation {generation} is enforced") return log.debug(f"TokenRateLimitPolicy {trlp_name} is not ready: {last_snapshot}") except (json.JSONDecodeError, KeyError) as e: log.debug(f"Failed to parse TRLP status: {e}") elif _is_not_found_error(result.stderr): log.debug(f"TokenRateLimitPolicy {trlp_name} not found yet...") elif _is_transient_kubectl_error(result.stderr): log.debug( f"Transient error while reading TokenRateLimitPolicy {trlp_name}: {result.stderr.strip()}" ) else: raise RuntimeError( f"Failed to get TokenRateLimitPolicy {trlp_name} in namespace '{model_namespace}': " f"{result.stderr.strip()}" ) time.sleep(3) > raise TimeoutError( f"TokenRateLimitPolicy {trlp_name} was not created and enforced in {model_namespace} within {timeout}s: {last_snapshot}" ) E TimeoutError: TokenRateLimitPolicy maas-trlp-simulator-w4-88f6a4 was not created and enforced in e2e-models-e2e-worker-w4-88f6a4 within 180s: generation=5, observedGeneration=5, Enforced={'lastTransitionTime': '2026-10-30T13:14:56Z', 'message': 'TokenRateLimitPolicy waiting for the following components to sync: [Limitador]', 'reason': 'Unknown', 'status': 'False', 'type': 'Enforced'}, includes_subscription=True test/maas-e2e/test/e2e/tests/test_helper.py:1538: TimeoutError ------------------------------ Captured log setup ------------------------------ INFO test_subscription:test_subscription.py:1819 ============================================================ INFO test_subscription:test_subscription.py:1820 Validating E2E Test Prerequisites INFO test_subscription:test_subscription.py:1821 ============================================================ INFO test_subscription:test_subscription.py:1836 ✓ Model 'simulator-w4-88f6a4' is Ready INFO test_subscription:test_subscription.py:1837 Endpoint: https://e2e-worker-w4-88f6a4.apps.03ade695efcb3fb1e0e7.prod.konflux-ocp-ci.dev/ INFO test_subscription:test_subscription.py:1843 ✓ Found 1 auth policies for model: INFO test_subscription:test_subscription.py:1845 - simulator-access INFO test_subscription:test_subscription.py:1847 ✓ Found 1 subscriptions for model: INFO test_subscription:test_subscription.py:1849 - simulator-subscription INFO test_subscription:test_subscription.py:1862 ============================================================ INFO test_subscription:test_subscription.py:1863 ✅ All prerequisites validated - proceeding with tests INFO test_subscription:test_subscription.py:1864 ============================================================ ------------------------------ Captured log call ------------------------------- INFO test_helper:test_helper.py:1070 Creating MaaSAuthPolicy: e2e-test-auth-multi-sub-valid INFO test_helper:test_helper.py:1135 Creating MaaSSubscription: e2e-test-subscription-free INFO test_helper:test_helper.py:1135 Creating MaaSSubscription: e2e-test-subscription-premium INFO test_helper:test_helper.py:1821 Waiting for MaaSAuthPolicy e2e-test-auth-multi-sub-valid to reach phase 'Active' (timeout: 120s)... INFO test_helper:test_helper.py:1846 MaaSAuthPolicy e2e-test-auth-multi-sub-valid reached phase 'Active' INFO test_helper:test_helper.py:1633 MaaSSubscription ai-tenant-e2e-worker-w4-88f6a4/e2e-test-subscription-free is discovery-ready in phase Active INFO test_helper:test_helper.py:1486 Waiting for TokenRateLimitPolicy maas-trlp-simulator-w4-88f6a4 in e2e-models-e2e-worker-w4-88f6a4 (timeout: 180s)... ________ TestManagedAnnotation.test_trlp_managed_false_prevents_update _________ [gw6] linux -- Python 3.11.13 /workspace/source/test/e2e/.venv/bin/python self = def test_trlp_managed_false_prevents_update(self): """TokenRateLimitPolicy annotated with opendatahub.io/managed=false must not have its spec updated when the parent MaaSSubscription is modified.""" ns = _ns() trlp_ns = MODEL_NAMESPACE parent_snapshot = None try: # 1. Verify the TRLP exists trlp = _get_cr("tokenratelimitpolicy", TRLP_NAME, trlp_ns) assert trlp, f"TokenRateLimitPolicy {TRLP_NAME} not found in {trlp_ns}" # 2. Snapshot the parent MaaSSubscription for cleanup parent_snapshot = _snapshot_cr( "maassubscription", SIMULATOR_SUBSCRIPTION, ns ) assert parent_snapshot, ( f"MaaSSubscription {SIMULATOR_SUBSCRIPTION} not found in {ns}" ) # 3. Annotate the TRLP with managed=false _annotate( "tokenratelimitpolicy", TRLP_NAME, f"{MANAGED_ANNOTATION}=false", trlp_ns, ) log.info( "Annotated TokenRateLimitPolicy %s with %s=false", TRLP_NAME, MANAGED_ANNOTATION, ) # 4. Re-read the TRLP to capture baseline spec (post-annotation) trlp_baseline = _get_cr("tokenratelimitpolicy", TRLP_NAME, trlp_ns) assert trlp_baseline, ( f"TokenRateLimitPolicy {TRLP_NAME} disappeared after annotation" ) baseline_spec = trlp_baseline["spec"] # 5. Modify the parent MaaSSubscription (change the token rate limit value) modified_parent = copy.deepcopy(parent_snapshot) model_refs = modified_parent["spec"].get("modelRefs", []) assert model_refs, ( f"MaaSSubscription {SIMULATOR_SUBSCRIPTION} has no modelRefs" ) for ref in model_refs: if ref.get("name") == MODEL_REF: limits = ref.get("tokenRateLimits", []) assert limits, f"modelRef {MODEL_REF} has no tokenRateLimits" limits[0]["limit"] = limits[0]["limit"] + 99999 break else: pytest.fail( f"modelRef {MODEL_REF} not found in MaaSSubscription {SIMULATOR_SUBSCRIPTION}" ) _apply_cr(modified_parent) log.info( "Modified parent MaaSSubscription %s (changed token rate limit)", SIMULATOR_SUBSCRIPTION, ) # 6. Wait for the controller to reconcile the edited spec modified = _get_cr("maassubscription", SIMULATOR_SUBSCRIPTION, ns) assert modified, ( f"MaaSSubscription {SIMULATOR_SUBSCRIPTION} disappeared after update" ) reconciled = _wait_for_subscription_generation_observed( SIMULATOR_SUBSCRIPTION, modified["metadata"]["generation"], namespace=ns, ) # An unchanged TRLP only proves managed=false if the reconcile got # to the TRLP step: the model was valid and the step did not fail. # Degraded is expected while Kuadrant has not enforced the policy. status = reconciled.get("status", {}) model_ready = any( s.get("name") == MODEL_REF and s.get("ready") is True for s in status.get("modelRefStatuses", []) ) assert model_ready and status.get("phase") in ("Active", "Degraded"), ( f"MaaSSubscription {SIMULATOR_SUBSCRIPTION} reconciled without " f"reaching the TRLP step: {status}" ) # 7. Re-read the TRLP and compare spec trlp_after = _get_cr("tokenratelimitpolicy", TRLP_NAME, trlp_ns) assert trlp_after, ( f"TokenRateLimitPolicy {TRLP_NAME} disappeared after parent update" ) after_spec = trlp_after["spec"] assert baseline_spec == after_spec, ( f"TokenRateLimitPolicy spec changed despite {MANAGED_ANNOTATION}=false.\n" f"Before: {json.dumps(baseline_spec, indent=2)}\n" f"After: {json.dumps(after_spec, indent=2)}" ) log.info( "TokenRateLimitPolicy spec unchanged after parent modification — managed=false respected" ) finally: # Remove the annotation (best-effort so parent restore still runs) try: _annotate( "tokenratelimitpolicy", TRLP_NAME, f"{MANAGED_ANNOTATION}-", trlp_ns ) log.info( "Removed %s annotation from TokenRateLimitPolicy %s", MANAGED_ANNOTATION, TRLP_NAME, ) except subprocess.CalledProcessError: log.warning( "Failed to remove %s annotation from TokenRateLimitPolicy %s (may not exist)", MANAGED_ANNOTATION, TRLP_NAME, ) # Restore the parent MaaSSubscription if parent_snapshot: _apply_cr(parent_snapshot) log.info( "Restored parent MaaSSubscription %s from snapshot", SIMULATOR_SUBSCRIPTION, ) > _wait_for_subscription_inference_ready( SIMULATOR_SUBSCRIPTION, MODEL_REF, model_namespace=MODEL_NAMESPACE, ) test/maas-e2e/test/e2e/tests/test_subscription.py:1789: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test/maas-e2e/test/e2e/tests/test_helper.py:1781: in _wait_for_subscription_inference_ready _wait_for_token_rate_limit_policy( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ model_ref = 'simulator-w6-ab3176' model_namespace = 'e2e-models-e2e-worker-w6-ab3176', timeout = 300 subscription_name = 'simulator-subscription' subscription_namespace = 'ai-tenant-e2e-worker-w6-ab3176' def _wait_for_token_rate_limit_policy( model_ref, model_namespace=MODEL_NAMESPACE, timeout=60, *, subscription_name=None, subscription_namespace=None ): """Wait for the current TokenRateLimitPolicy generation to be enforced. If a subscription is supplied, wait until the policy includes it. This prevents accepting the old policy before the controller updates its spec. Args: model_ref: Name of the model (e.g., "e2e-distinct-simulated") model_namespace: Namespace where the TRLP should be created (default: MODEL_NAMESPACE) timeout: Maximum wait time in seconds (default: 60) subscription_name: Subscription that the policy must include, if supplied subscription_namespace: Subscription namespace (defaults to _ns()) Raises: TimeoutError: If TRLP isn't created and enforced within timeout """ trlp_name = f"maas-trlp-{model_ref}" expected_subscription = ( f"{subscription_namespace or _ns()}/{subscription_name}" if subscription_name else None ) last_snapshot = "not found" deadline = time.time() + timeout log.info(f"Waiting for TokenRateLimitPolicy {trlp_name} in {model_namespace} (timeout: {timeout}s)...") while time.time() < deadline: result = subprocess.run( ["oc", "get", "tokenratelimitpolicy", trlp_name, "-n", model_namespace, "-o", "json"], capture_output=True, text=True, timeout=30, ) if result.returncode == 0: try: trlp = json.loads(result.stdout) metadata = trlp.get("metadata", {}) status = trlp.get("status", {}) generation = metadata.get("generation") observed = status.get("observedGeneration") conditions = status.get("conditions", []) enforced = next((c for c in conditions if c.get("type") == "Enforced"), None) subscriptions = { name.strip() for name in metadata.get("annotations", {}).get( "maas.opendatahub.io/subscriptions", "" ).split(",") } includes_subscription = expected_subscription is None or expected_subscription in subscriptions last_snapshot = ( f"generation={generation}, observedGeneration={observed}, " f"Enforced={enforced}, includes_subscription={includes_subscription}" ) if ( enforced and enforced.get("status") == "True" and generation is not None and observed == generation and includes_subscription ): log.info(f"TokenRateLimitPolicy {trlp_name} generation {generation} is enforced") return log.debug(f"TokenRateLimitPolicy {trlp_name} is not ready: {last_snapshot}") except (json.JSONDecodeError, KeyError) as e: log.debug(f"Failed to parse TRLP status: {e}") elif _is_not_found_error(result.stderr): log.debug(f"TokenRateLimitPolicy {trlp_name} not found yet...") elif _is_transient_kubectl_error(result.stderr): log.debug( f"Transient error while reading TokenRateLimitPolicy {trlp_name}: {result.stderr.strip()}" ) else: raise RuntimeError( f"Failed to get TokenRateLimitPolicy {trlp_name} in namespace '{model_namespace}': " f"{result.stderr.strip()}" ) time.sleep(3) > raise TimeoutError( f"TokenRateLimitPolicy {trlp_name} was not created and enforced in {model_namespace} within {timeout}s: {last_snapshot}" ) E TimeoutError: TokenRateLimitPolicy maas-trlp-simulator-w6-ab3176 was not created and enforced in e2e-models-e2e-worker-w6-ab3176 within 300s: generation=1, observedGeneration=1, Enforced={'lastTransitionTime': '2026-10-30T13:15:08Z', 'message': 'TokenRateLimitPolicy waiting for the following components to sync: [Limitador]', 'reason': 'Unknown', 'status': 'False', 'type': 'Enforced'}, includes_subscription=True test/maas-e2e/test/e2e/tests/test_helper.py:1538: TimeoutError ------------------------------ Captured log call ------------------------------- INFO test_subscription:test_subscription.py:1690 Annotated TokenRateLimitPolicy maas-trlp-simulator-w6-ab3176 with opendatahub.io/managed=false INFO test_subscription:test_subscription.py:1720 Modified parent MaaSSubscription simulator-subscription (changed token rate limit) INFO test_helper:test_helper.py:1679 MaaSSubscription ai-tenant-e2e-worker-w6-ab3176/simulator-subscription reconciled at generation 3 INFO test_subscription:test_subscription.py:1760 TokenRateLimitPolicy spec unchanged after parent modification — managed=false respected INFO test_subscription:test_subscription.py:1770 Removed opendatahub.io/managed annotation from TokenRateLimitPolicy maas-trlp-simulator-w6-ab3176 INFO test_subscription:test_subscription.py:1785 Restored parent MaaSSubscription simulator-subscription from snapshot INFO test_helper:test_helper.py:1633 MaaSSubscription ai-tenant-e2e-worker-w6-ab3176/simulator-subscription is discovery-ready in phase Active INFO test_helper:test_helper.py:1486 Waiting for TokenRateLimitPolicy maas-trlp-simulator-w6-ab3176 in e2e-models-e2e-worker-w6-ab3176 (timeout: 300s)... ------ generated xml file: /workspace/artifacts-dir/e2e-system:admin.xml ------- - Generated html report: file:///workspace/artifacts-dir/e2e-system%3Aadmin.html - =========================== short test summary info ============================ FAILED test/maas-e2e/test/e2e/tests/test_subscription.py::TestE2ESubscriptionFlow::test_e2e_group_based_access_gets_200 FAILED test/maas-e2e/test/e2e/tests/test_subscription.py::TestE2ESubscriptionFlow::test_e2e_multiple_subscriptions_separate_keys_gets_200 FAILED test/maas-e2e/test/e2e/tests/test_subscription.py::TestManagedAnnotation::test_trlp_managed_false_prevents_update ERROR test/maas-e2e/test/e2e/tests/test_models_endpoint.py::TestModelsEndpoint::test_user_token_returns_all_models ERROR test/maas-e2e/test/e2e/tests/test_models_endpoint.py::TestModelsEndpoint::test_api_key_scoped_to_subscription ERROR test/maas-e2e/test/e2e/tests/test_models_endpoint.py::TestModelsEndpoint::test_access_denied_to_subscription_403 ERROR test/maas-e2e/test/e2e/tests/test_models_endpoint.py::TestModelsEndpoint::test_api_key_ignores_subscription_header ERROR test/maas-e2e/test/e2e/tests/test_models_endpoint.py::TestModelsEndpoint::test_multiple_api_keys_different_subscriptions !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 8 failures !!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!! xdist.dsession.Interrupted: stopping after 5 failures !!!!!!!!!!!!! = 3 failed, 99 passed, 8 skipped, 106 warnings, 5 errors in 532.39s (0:08:52) == Running E2E pass 2/2: serial cluster mutators (-m serial, single worker) ============================= test session starts ============================== platform linux -- Python 3.11.13, pytest-9.2.0, pluggy-1.7.0 -- /workspace/source/test/e2e/.venv/bin/python cachedir: .pytest_cache metadata: {'Python': '3.11.13', 'Platform': 'Linux-5.14.0-570.142.1.el9_6.x86_64-x86_64-with-glibc2.34', 'Packages': {'pytest': '9.2.0', 'pluggy': '1.7.0'}, 'Plugins': {'xdist': '3.8.0', 'metadata': '3.1.1', 'html': '4.2.0'}, 'PLATFORM': 'el9'} rootdir: /workspace/source/test/maas-e2e/test/e2e configfile: pyproject.toml plugins: xdist-3.8.0, metadata-3.1.1, html-4.2.0 collecting ... collected 240 items / 203 deselected / 37 selected test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeySubscriptionPhases::test_create_key_for_pending_subscription [token] using env TOKEN (masked): 1037 PASSED [ 2%] test/maas-e2e/test/e2e/tests/test_api_keys.py::TestAPIKeySubscriptionPhases::test_reject_key_for_unreconciled_subscription PASSED [ 5%] test/maas-e2e/test/e2e/tests/test_negative_security.py::TestAuthPolicyRemoval::test_authpolicy_deletion_revokes_access PASSED [ 8%] test/maas-e2e/test/e2e/tests/test_subscription.py::TestSubscriptionEnforcement::test_auth_pass_no_subscription_gets_403 PASSED [ 10%] test/maas-e2e/test/e2e/tests/test_subscription.py::TestSubscriptionEnforcement::test_rate_limit_exhaustion_gets_429 PASSED [ 13%] test/maas-e2e/test/e2e/tests/test_subscription.py::TestSubscriptionEnforcement::test_models_endpoint_exempt_from_rate_limiting PASSED [ 16%] test/maas-e2e/test/e2e/tests/test_subscription.py::TestMultipleSubscriptionsPerModel::test_user_in_one_of_two_subscriptions_gets_200 PASSED [ 18%] test/maas-e2e/test/e2e/tests/test_subscription.py::TestUnlimitedSubscription::test_unlimited_and_token_rate_limits_are_mutually_exclusive PASSED [ 21%] test/maas-e2e/test/e2e/tests/test_subscription.py::TestUnlimitedSubscription::test_unlimited_key_is_not_rate_limited PASSED [ 24%] test/maas-e2e/test/e2e/tests/test_subscription.py::TestUnlimitedSubscription::test_unlimited_subscriptions_share_one_wasm_limit SKIPPED [ 27%] test/maas-e2e/test/e2e/tests/test_subscription.py::TestUnlimitedSubscription::test_unlimited_usage_is_metered PASSED [ 29%] test/maas-e2e/test/e2e/tests/test_subscription.py::TestAllUnlimitedModel::test_all_unlimited_model_is_not_denied PASSED [ 32%] test/maas-e2e/test/e2e/tests/test_subscription.py::TestMultipleAuthPoliciesPerModel::test_two_auth_policies_or_logic PASSED [ 35%] test/maas-e2e/test/e2e/tests/test_subscription.py::TestMultipleAuthPoliciesPerModel::test_delete_one_auth_policy_other_still_works PASSED [ 37%] test/maas-e2e/test/e2e/tests/test_subscription.py::TestCascadeDeletion::test_delete_subscription_rebuilds_trlp PASSED [ 40%] test/maas-e2e/test/e2e/tests/test_subscription.py::TestCascadeDeletion::test_trlp_persists_during_multi_subscription_deletion PASSED [ 43%] test/maas-e2e/test/e2e/tests/test_subscription.py::TestCascadeDeletion::test_delete_last_subscription_denies_access PASSED [ 45%] test/maas-e2e/test/e2e/tests/test_subscription.py::TestCascadeDeletion::test_unconfigured_model_denied_by_gateway_auth PASSED [ 48%] test/maas-e2e/test/e2e/tests/test_subscription.py::TestE2ESubscriptionFlow::test_e2e_with_access_but_no_subscription_gets_403 PASSED [ 51%] test/maas-e2e/test/e2e/tests/test_subscription.py::TestE2ESubscriptionFlow::test_e2e_single_subscription_auto_selects PASSED [ 54%] test/maas-e2e/test/e2e/tests/test_subscription.py::TestE2ESubscriptionFlow::test_e2e_group_based_auth_but_no_subscription_gets_403 PASSED [ 56%] test/maas-e2e/test/e2e/tests/test_subscription.py::TestStatusReporting::test_subscription_degraded_trlp_blocks_inference PASSED [ 59%] test/maas-e2e/test/e2e/tests/test_subscription.py::TestDegradedSubscriptionFiltering::test_failed_subscription_blocks_inference PASSED [ 62%] test/maas-e2e/test/e2e/tests/test_models_endpoint.py::TestModelsEndpoint::test_single_subscription_auto_select PASSED [ 64%] test/maas-e2e/test/e2e/tests/test_models_endpoint.py::TestModelsEndpoint::test_explicit_subscription_header maassubscription.maas.opendatahub.io/premium-simulator-subscription patched maassubscription.maas.opendatahub.io/premium-simulator-subscription patched PASSED [ 67%] test/maas-e2e/test/e2e/tests/test_models_endpoint.py::TestModelsEndpoint::test_models_filtered_by_subscription maassubscription.maas.opendatahub.io/premium-simulator-subscription patched maassubscription.maas.opendatahub.io/premium-simulator-subscription patched PASSED [ 70%] test/maas-e2e/test/e2e/tests/test_models_endpoint.py::TestModelsEndpoint::test_different_modelrefs_same_model_id maasauthpolicy.maas.opendatahub.io/e2e-diff-refs-auth created maassubscription.maas.opendatahub.io/e2e-diff-refs-subscription created PASSED [ 72%] test/maas-e2e/test/e2e/tests/test_models_endpoint.py::TestModelsEndpoint::test_empty_model_list PASSED [ 75%] test/maas-e2e/test/e2e/tests/test_models_endpoint.py::TestModelsEndpoint::test_central_models_endpoint_exempt_from_rate_limiting PASSED [ 78%] test/maas-e2e/test/e2e/tests/test_tenant.py::TestTenantLifecycle::test_payload_processing_deployed_with_active_tenant PASSED [ 81%] test/maas-e2e/test/e2e/tests/test_tenant.py::TestTenantLifecycle::test_payload_processing_and_pre_processing_resources SKIPPED [ 83%] test/maas-e2e/test/e2e/tests/test_tenant_namespace_discovery.py::TestTenantDiscoveryDormantMode::test_dormant_mode_ignores_labeled_namespace SKIPPED [ 86%] test/maas-e2e/test/e2e/tests/test_embedding_inference.py::TestEmbeddingDefaultDeny::test_embedding_default_deny_403 PASSED [ 89%] test/maas-e2e/test/e2e/tests/test_embedding_inference.py::TestEmbeddingPathRouting::test_embedding_path_based_200 PASSED [ 91%] test/maas-e2e/test/e2e/tests/test_embedding_inference.py::TestEmbeddingPathRouting::test_embedding_bbr_llmisvc_200 PASSED [ 94%] test/maas-e2e/test/e2e/tests/test_embedding_inference.py::TestEmbeddingGovernance::test_embedding_trlp_429 PASSED [ 97%] test/maas-e2e/test/e2e/tests/test_embedding_inference.py::TestEmbeddingGovernance::test_embedding_with_governance_200 PASSED [100%] --- generated xml file: /workspace/artifacts-dir/e2e-system:admin-serial.xml --- - Generated html report: file:///workspace/artifacts-dir/e2e-system%3Aadmin-serial.html - ==== 34 passed, 3 skipped, 203 deselected, 45 warnings in 888.58s (0:14:48) ==== ERROR: E2E tests failed (parallel_rc=1, serial_rc=0) ========== E2E Artifact Collection ========== Artifact dir: /workspace/artifacts-dir Collecting Authorino logs (token-redacted) to /workspace/artifacts-dir/authorino-debug.log Saved to /workspace/artifacts-dir/authorino-debug.log Collecting cluster state to /workspace/artifacts-dir Saved to /workspace/artifacts-dir/cluster-state.log Collecting MaaS CR definitions to /workspace/artifacts-dir/maas-crs Saved 9 resource type(s) to /workspace/artifacts-dir/maas-crs Collecting pod logs from namespace opendatahub to /workspace/artifacts-dir/pod-logs/opendatahub Saved 12 pod log file(s) to /workspace/artifacts-dir/pod-logs/opendatahub Collecting pod logs from namespace odh-ai-gateway-infra to /workspace/artifacts-dir/pod-logs/odh-ai-gateway-infra Saved 10 pod log file(s) to /workspace/artifacts-dir/pod-logs/odh-ai-gateway-infra Collecting pod logs from namespace models-as-a-service to /workspace/artifacts-dir/pod-logs/models-as-a-service Saved 0 0 pod log file(s) to /workspace/artifacts-dir/pod-logs/models-as-a-service Skipping namespace redhat-ods-operator (not found) Skipping namespace redhat-ods-applications (not found) Collecting pod logs from namespace kuadrant-system to /workspace/artifacts-dir/pod-logs/kuadrant-system Saved 7 pod log file(s) to /workspace/artifacts-dir/pod-logs/kuadrant-system Collecting pod logs from namespace openshift-ingress to /workspace/artifacts-dir/pod-logs/openshift-ingress Saved 18 pod log file(s) to /workspace/artifacts-dir/pod-logs/openshift-ingress Collecting pod logs from namespace llm to /workspace/artifacts-dir/pod-logs/llm Saved 7 pod log file(s) to /workspace/artifacts-dir/pod-logs/llm Skipping namespace istio-system (not found) ============================================== ========== E2E Artifact Collection ========== Artifact dir: /workspace/artifacts-dir Collecting Authorino logs (token-redacted) to /workspace/artifacts-dir/authorino-debug.log Saved to /workspace/artifacts-dir/authorino-debug.log Collecting cluster state to /workspace/artifacts-dir Saved to /workspace/artifacts-dir/cluster-state.log Collecting MaaS CR definitions to /workspace/artifacts-dir/maas-crs Saved 10 resource type(s) to /workspace/artifacts-dir/maas-crs Collecting pod logs from namespace opendatahub to /workspace/artifacts-dir/pod-logs/opendatahub Saved 12 pod log file(s) to /workspace/artifacts-dir/pod-logs/opendatahub Collecting pod logs from namespace odh-ai-gateway-infra to /workspace/artifacts-dir/pod-logs/odh-ai-gateway-infra Saved 10 pod log file(s) to /workspace/artifacts-dir/pod-logs/odh-ai-gateway-infra Collecting pod logs from namespace models-as-a-service to /workspace/artifacts-dir/pod-logs/models-as-a-service Saved 0 0 pod log file(s) to /workspace/artifacts-dir/pod-logs/models-as-a-service Skipping namespace redhat-ods-operator (not found) Skipping namespace redhat-ods-applications (not found) Collecting pod logs from namespace kuadrant-system to /workspace/artifacts-dir/pod-logs/kuadrant-system Saved 7 pod log file(s) to /workspace/artifacts-dir/pod-logs/kuadrant-system Collecting pod logs from namespace openshift-ingress to /workspace/artifacts-dir/pod-logs/openshift-ingress Saved 18 pod log file(s) to /workspace/artifacts-dir/pod-logs/openshift-ingress Collecting pod logs from namespace llm to /workspace/artifacts-dir/pod-logs/llm Saved 7 pod log file(s) to /workspace/artifacts-dir/pod-logs/llm Skipping namespace istio-system (not found) ============================================== Collecting AIGC cluster CR extensions to /workspace/artifacts-dir/maas-crs Saved datascienceclusters.yaml Saved httproutes.yaml Saved gateways.yaml Collecting MaaS diagnostics to /workspace/artifacts-dir/gather-maas (log: /workspace/artifacts-dir/maas-must-gather.log) ... MaaS must-gather complete (see /workspace/artifacts-dir/maas-must-gather.log) ======================================== Cluster / Namespace Info ======================================== --- Current context --- admin --- Logged-in user --- system:admin --- Cluster domain --- apps.03ade695efcb3fb1e0e7.prod.konflux-ocp-ci.dev DEPLOYMENT_NAMESPACE: opendatahub MAAS_API_DEPLOYMENT_NAMESPACE: odh-ai-gateway-infra MAAS_SUBSCRIPTION_NAMESPACE: models-as-a-service AUTHORINO_NAMESPACE: kuadrant-system ======================================== MaaS API Deployment ======================================== --- maas-api pods --- NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES maas-api-595cc648c-px49g 1/1 Running 0 5m11s 10.134.0.144 ip-10-0-130-180.ec2.internal maas-api-595cc648c-tt9fb 1/1 Running 0 5m19s 10.132.0.145 ip-10-0-142-84.ec2.internal maas-api-revoke-sub-0165d7d2-b99tx 0/1 Completed 0 4m33s 10.133.0.75 ip-10-0-130-34.ec2.internal maas-api-revoke-sub-6b19338f-khnps 0/1 Completed 0 4m22s 10.133.0.76 ip-10-0-130-34.ec2.internal maas-api-revoke-sub-f03629db-jcjn7 0/1 Completed 0 4m50s 10.133.0.74 ip-10-0-130-34.ec2.internal --- maas-api service --- NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE SELECTOR maas-api ClusterIP 172.31.142.108 8443/TCP 31m app.kubernetes.io/component=api,app.kubernetes.io/name=maas-api,app.kubernetes.io/part-of=models-as-a-service,maas.opendatahub.io/tenant-instance=maas-api ======================================== maas-controller ======================================== --- maas-controller pods --- NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES maas-controller-5444d7fdb7-jhc74 1/1 Running 0 18m 10.132.0.135 ip-10-0-142-84.ec2.internal --- maas-controller namespace env --- INFRA_NAMESPACE=AUTO ======================================== Kuadrant Policies ======================================== --- AuthPolicies (all namespaces) --- NAMESPACE NAME ACCEPTED ENFORCED TARGETKIND TARGETNAME TARGETSECTION AGE openshift-ingress maas-gateway-auth True True Gateway maas-default-gateway 31m --- TokenRateLimitPolicies (all namespaces) --- NAMESPACE NAME ACCEPTED ENFORCED TARGETKIND TARGETNAME TARGETSECTION AGE llm maas-trlp-facebook-opt-125m-simulated True True HTTPRoute facebook-opt-125m-simulated-kserve-route 11m llm maas-trlp-premium-simulated-simulated-premium True True HTTPRoute premium-simulated-simulated-premium-kserve-route 30m openshift-ingress gateway-default-deny True False Gateway maas-default-gateway 31m ======================================== MaaS CRs (maas.opendatahub.io) ======================================== --- Configs (cluster-scoped) --- NAME READY AGE default True 31m --- AITenants (all namespaces) --- NAMESPACE NAME READY TENANT NAMESPACE GATEWAY AGE ai-tenants models-as-a-service True models-as-a-service maas-default-gateway 31m --- Tenants (all namespaces) --- --- MaaSAuthPolicies --- NAME PHASE AGE AUTHPOLICIES premium-simulator-access Active 30m simulator-access Active 30m --- MaaSSubscriptions --- NAME PHASE PRIORITY AGE premium-simulator-subscription Active 20 30m simulator-subscription Active 10 11m --- MaaSSubscription status details --- premium-simulator-subscription: Active - successfully reconciled simulator-subscription: Active - successfully reconciled --- MaaSModelRefs (all namespaces) --- NAMESPACE NAME PHASE ENDPOINT HTTPROUTE GATEWAY AGE e2e-models-e2e-worker-single-main-3eceab simulator-single-main-3eceab Failed simulator-single-main-3eceab-kserve-route e2e-worker-single-main-3eceab 12m e2e-models-e2e-worker-single-main-c78854 simulator-single-main-c78854 Pending simulator-single-main-c78854-kserve-route e2e-worker-single-main-c78854 8m9s e2e-models-e2e-worker-w0-031737 distinct-2-w0-031737 Failed distinct-2-w0-031737-kserve-route e2e-worker-w0-031737 22m e2e-models-e2e-worker-w0-031737 distinct-w0-031737 Failed distinct-w0-031737-kserve-route e2e-worker-w0-031737 23m e2e-models-e2e-worker-w0-031737 premium-w0-031737 Failed premium-w0-031737-kserve-route e2e-worker-w0-031737 26m e2e-models-e2e-worker-w0-031737 simulator-w0-031737 Failed simulator-w0-031737-kserve-route e2e-worker-w0-031737 27m e2e-models-e2e-worker-w1-05942d distinct-2-w1-05942d Pending distinct-2-w1-05942d-kserve-route e2e-worker-w1-05942d 23m e2e-models-e2e-worker-w1-05942d distinct-w1-05942d Pending distinct-w1-05942d-kserve-route e2e-worker-w1-05942d 24m e2e-models-e2e-worker-w1-05942d premium-w1-05942d Pending premium-w1-05942d-kserve-route e2e-worker-w1-05942d 25m e2e-models-e2e-worker-w1-05942d simulator-w1-05942d Pending simulator-w1-05942d-kserve-route e2e-worker-w1-05942d 26m e2e-models-e2e-worker-w2-f76c09 distinct-2-w2-f76c09 Pending distinct-2-w2-f76c09-kserve-route e2e-worker-w2-f76c09 20m e2e-models-e2e-worker-w2-f76c09 distinct-w2-f76c09 Pending distinct-w2-f76c09-kserve-route e2e-worker-w2-f76c09 21m e2e-models-e2e-worker-w2-f76c09 premium-w2-f76c09 Pending premium-w2-f76c09-kserve-route e2e-worker-w2-f76c09 25m e2e-models-e2e-worker-w2-f76c09 simulator-w2-f76c09 Pending simulator-w2-f76c09-kserve-route e2e-worker-w2-f76c09 26m e2e-models-e2e-worker-w3-d0a18c distinct-2-w3-d0a18c Failed distinct-2-w3-d0a18c-kserve-route e2e-worker-w3-d0a18c 23m e2e-models-e2e-worker-w3-d0a18c distinct-w3-d0a18c Failed distinct-w3-d0a18c-kserve-route e2e-worker-w3-d0a18c 24m e2e-models-e2e-worker-w3-d0a18c premium-w3-d0a18c Failed premium-w3-d0a18c-kserve-route e2e-worker-w3-d0a18c 26m e2e-models-e2e-worker-w3-d0a18c simulator-w3-d0a18c Failed simulator-w3-d0a18c-kserve-route e2e-worker-w3-d0a18c 26m e2e-models-e2e-worker-w4-88f6a4 distinct-2-w4-88f6a4 Pending distinct-2-w4-88f6a4-kserve-route e2e-worker-w4-88f6a4 20m e2e-models-e2e-worker-w4-88f6a4 distinct-w4-88f6a4 Pending distinct-w4-88f6a4-kserve-route e2e-worker-w4-88f6a4 20m e2e-models-e2e-worker-w4-88f6a4 premium-w4-88f6a4 Pending premium-w4-88f6a4-kserve-route e2e-worker-w4-88f6a4 26m e2e-models-e2e-worker-w4-88f6a4 simulator-w4-88f6a4 Pending simulator-w4-88f6a4-kserve-route e2e-worker-w4-88f6a4 26m e2e-models-e2e-worker-w5-f8a55e distinct-2-w5-f8a55e Pending distinct-2-w5-f8a55e-kserve-route e2e-worker-w5-f8a55e 23m e2e-models-e2e-worker-w5-f8a55e distinct-w5-f8a55e Pending distinct-w5-f8a55e-kserve-route e2e-worker-w5-f8a55e 24m e2e-models-e2e-worker-w5-f8a55e premium-w5-f8a55e Pending premium-w5-f8a55e-kserve-route e2e-worker-w5-f8a55e 25m e2e-models-e2e-worker-w5-f8a55e simulator-w5-f8a55e Pending simulator-w5-f8a55e-kserve-route e2e-worker-w5-f8a55e 26m e2e-models-e2e-worker-w6-ab3176 premium-w6-ab3176 Failed premium-w6-ab3176-kserve-route e2e-worker-w6-ab3176 25m e2e-models-e2e-worker-w6-ab3176 simulator-w6-ab3176 Failed simulator-w6-ab3176-kserve-route e2e-worker-w6-ab3176 26m llm e2e-distinct-2-simulated Pending e2e-distinct-2-simulated-kserve-route maas-default-gateway 30m llm e2e-distinct-simulated Pending e2e-distinct-simulated-kserve-route maas-default-gateway 30m llm e2e-embedding-simulated Pending e2e-embedding-simulated-kserve-route maas-default-gateway 30m llm e2e-trlp-test-simulated Pending e2e-trlp-test-simulated-kserve-route maas-default-gateway 30m llm e2e-unconfigured-facebook-opt-125m-simulated Pending e2e-unconfigured-facebook-opt-125m-simulated-kserve-route maas-default-gateway 30m llm facebook-opt-125m-simulated Ready https://maas.apps.03ade695efcb3fb1e0e7.prod.konflux-ocp-ci.dev/ facebook-opt-125m-simulated-kserve-route maas-default-gateway 30m llm premium-simulated-simulated-premium Ready https://maas.apps.03ade695efcb3fb1e0e7.prod.konflux-ocp-ci.dev/ premium-simulated-simulated-premium-kserve-route maas-default-gateway 30m --- MaasTenantConfigs --- NAME READY REASON AGE INFRANAMESPACE default-tenant True Reconciled 31m odh-ai-gateway-infra --- MaasTenantConfig status details --- default-tenant: True - MaaS platform manifests applied and maas-api deployment is available --- ExternalModels (maas group) --- ======================================== Inference CRs (inference.opendatahub.io) ======================================== --- ExternalModels (inference group) --- --- ExternalProviders (inference group) --- ======================================== AI Gateway CRs ======================================== --- AIGateways (cluster-scoped) --- --- LLMBatchGateways (all namespaces) --- ======================================== KServe Resources ======================================== --- LLMInferenceServices (all namespaces) --- NAMESPACE NAME URL READY REASON AGE URLS llm e2e-distinct-2-simulated https://maas.apps.03ade695efcb3fb1e0e7.prod.konflux-ocp-ci.dev/llm/e2e-distinct-2-simulated True 30m https://maas-default-gateway-openshift-default.openshift-ingress.svc.cluster.local/ llm e2e-distinct-simulated https://maas.apps.03ade695efcb3fb1e0e7.prod.konflux-ocp-ci.dev/llm/e2e-distinct-simulated True 30m https://maas-default-gateway-openshift-default.openshift-ingress.svc.cluster.local/ llm e2e-embedding-simulated https://maas.apps.03ade695efcb3fb1e0e7.prod.konflux-ocp-ci.dev/llm/e2e-embedding-simulated True 30m https://maas-default-gateway-openshift-default.openshift-ingress.svc.cluster.local/ llm e2e-trlp-test-simulated https://maas.apps.03ade695efcb3fb1e0e7.prod.konflux-ocp-ci.dev/llm/e2e-trlp-test-simulated True 30m https://maas-default-gateway-openshift-default.openshift-ingress.svc.cluster.local/ llm e2e-unconfigured-facebook-opt-125m-simulated https://maas.apps.03ade695efcb3fb1e0e7.prod.konflux-ocp-ci.dev/llm/e2e-unconfigured-facebook-opt-125m-simulated True 30m https://maas-default-gateway-openshift-default.openshift-ingress.svc.cluster.local/ llm facebook-opt-125m-simulated https://maas.apps.03ade695efcb3fb1e0e7.prod.konflux-ocp-ci.dev/llm/facebook-opt-125m-simulated True 30m https://maas-default-gateway-openshift-default.openshift-ingress.svc.cluster.local/ llm premium-simulated-simulated-premium https://maas.apps.03ade695efcb3fb1e0e7.prod.konflux-ocp-ci.dev/llm/premium-simulated-simulated-premium True 30m https://maas-default-gateway-openshift-default.openshift-ingress.svc.cluster.local/ ======================================== Kuadrant Policies (managed by maas-controller) ======================================== --- AuthPolicies (managed) --- NAMESPACE NAME ACCEPTED ENFORCED TARGETKIND TARGETNAME TARGETSECTION AGE openshift-ingress maas-gateway-auth True True Gateway maas-default-gateway 31m --- TokenRateLimitPolicies (managed) --- NAMESPACE NAME ACCEPTED ENFORCED TARGETKIND TARGETNAME TARGETSECTION AGE llm maas-trlp-facebook-opt-125m-simulated True True HTTPRoute facebook-opt-125m-simulated-kserve-route 11m llm maas-trlp-premium-simulated-simulated-premium True True HTTPRoute premium-simulated-simulated-premium-kserve-route 30m openshift-ingress gateway-default-deny True False Gateway maas-default-gateway 31m ======================================== Payload Processing / IPP ======================================== --- IPP Deployments (openshift-ingress) --- --- IPP Services (openshift-ingress) --- --- EnvoyFilters (openshift-ingress) --- NAME AGE data-science-authn-filter 36m kuadrant-auth-maas-default-gateway 31m kuadrant-maas-default-gateway 31m kuadrant-ratelimiting-maas-default-gateway 31m maas-default-gateway-authn-ssl 32m maas-model-access-logs 30m payload-processing 29m --- IPP ConfigMaps (openshift-ingress) --- ======================================== NetworkPolicies ======================================== --- NetworkPolicies (openshift-ingress) --- NAME POD-SELECTOR AGE data-science-gateway-allow gateway.networking.k8s.io/gateway-name=data-science-gateway 37m istiod-allow app=istiod 37m kube-auth-proxy app=kube-auth-proxy 36m maas-default-gateway-allow gateway.networking.k8s.io/gateway-name=maas-default-gateway 32m openshift-ingress-deny-all 50m payload-processing maas.opendatahub.io/tenant-instance in (payload-pre-processing,payload-processing) 29m router-default ingresscontroller.operator.openshift.io/deployment-ingresscontroller=default 50m ======================================== Test User Information ======================================== No test token available (not logged in via oc) ======================================== Subscription → Model Mapping ======================================== Subscription: premium-simulator-subscription Owner users: (none) Owner groups: premium-user Models: llm/premium-simulated-simulated-premium Subscription: simulator-subscription Owner users: (none) Owner groups: system:authenticated Models: llm/facebook-opt-125m-simulated ======================================== Available Models (MaaSModelRefs) ======================================== Model Reference → Model ID / Endpoint e2e-models-e2e-worker-single-main-3eceab/simulator-single-main-3eceab → simulator-single-main-3eceab (Failed) e2e-models-e2e-worker-single-main-c78854/simulator-single-main-c78854 → simulator-single-main-c78854 (Pending) e2e-models-e2e-worker-w0-031737/distinct-2-w0-031737 → distinct-2-w0-031737 (Failed) e2e-models-e2e-worker-w0-031737/distinct-w0-031737 → distinct-w0-031737 (Failed) e2e-models-e2e-worker-w0-031737/premium-w0-031737 → premium-w0-031737 (Failed) e2e-models-e2e-worker-w0-031737/simulator-w0-031737 → simulator-w0-031737 (Failed) e2e-models-e2e-worker-w1-05942d/distinct-2-w1-05942d → distinct-2-w1-05942d (Pending) e2e-models-e2e-worker-w1-05942d/distinct-w1-05942d → distinct-w1-05942d (Pending) e2e-models-e2e-worker-w1-05942d/premium-w1-05942d → premium-w1-05942d (Pending) e2e-models-e2e-worker-w1-05942d/simulator-w1-05942d → simulator-w1-05942d (Pending) e2e-models-e2e-worker-w2-f76c09/distinct-2-w2-f76c09 → distinct-2-w2-f76c09 (Pending) e2e-models-e2e-worker-w2-f76c09/distinct-w2-f76c09 → distinct-w2-f76c09 (Pending) e2e-models-e2e-worker-w2-f76c09/premium-w2-f76c09 → premium-w2-f76c09 (Pending) e2e-models-e2e-worker-w2-f76c09/simulator-w2-f76c09 → simulator-w2-f76c09 (Pending) e2e-models-e2e-worker-w3-d0a18c/distinct-2-w3-d0a18c → distinct-2-w3-d0a18c (Failed) e2e-models-e2e-worker-w3-d0a18c/distinct-w3-d0a18c → distinct-w3-d0a18c (Failed) e2e-models-e2e-worker-w3-d0a18c/premium-w3-d0a18c → premium-w3-d0a18c (Failed) e2e-models-e2e-worker-w3-d0a18c/simulator-w3-d0a18c → simulator-w3-d0a18c (Failed) e2e-models-e2e-worker-w4-88f6a4/distinct-2-w4-88f6a4 → distinct-2-w4-88f6a4 (Pending) e2e-models-e2e-worker-w4-88f6a4/distinct-w4-88f6a4 → distinct-w4-88f6a4 (Pending) e2e-models-e2e-worker-w4-88f6a4/premium-w4-88f6a4 → premium-w4-88f6a4 (Pending) e2e-models-e2e-worker-w4-88f6a4/simulator-w4-88f6a4 → simulator-w4-88f6a4 (Pending) e2e-models-e2e-worker-w5-f8a55e/distinct-2-w5-f8a55e → distinct-2-w5-f8a55e (Pending) e2e-models-e2e-worker-w5-f8a55e/distinct-w5-f8a55e → distinct-w5-f8a55e (Pending) e2e-models-e2e-worker-w5-f8a55e/premium-w5-f8a55e → premium-w5-f8a55e (Pending) e2e-models-e2e-worker-w5-f8a55e/simulator-w5-f8a55e → simulator-w5-f8a55e (Pending) e2e-models-e2e-worker-w6-ab3176/premium-w6-ab3176 → premium-w6-ab3176 (Failed) e2e-models-e2e-worker-w6-ab3176/simulator-w6-ab3176 → simulator-w6-ab3176 (Failed) llm/e2e-distinct-2-simulated → e2e-distinct-2-simulated (Pending) llm/e2e-distinct-simulated → e2e-distinct-simulated (Pending) llm/e2e-embedding-simulated → e2e-embedding-simulated (Pending) llm/e2e-trlp-test-simulated → e2e-trlp-test-simulated (Pending) llm/e2e-unconfigured-facebook-opt-125m-simulated → e2e-unconfigured-facebook-opt-125m-simulated (Pending) llm/facebook-opt-125m-simulated → facebook-opt-125m-simulated (Ready) Endpoint: https://maas.apps.03ade695efcb3fb1e0e7.prod.konflux-ocp-ci.dev/ llm/premium-simulated-simulated-premium → premium-simulated-simulated-premium (Ready) Endpoint: https://maas.apps.03ade695efcb3fb1e0e7.prod.konflux-ocp-ci.dev/ ======================================== Gateway / HTTPRoutes ======================================== --- Gateway --- NAME CLASS ADDRESS PROGRAMMED AGE maas-default-gateway openshift-default maas-default-gateway-openshift-default.openshift-ingress.svc.cluster.local True 32m --- HTTPRoutes (maas-api) --- NAME HOSTNAMES AGE maas-api-route 31m ======================================== Authorino ======================================== --- Authorino pods --- --- ======================================== Subscription Selector Endpoint Validation ======================================== Expected URL (from resolved maas-api deployment namespace): https://maas-api.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select (MAAS_API_DEPLOYMENT_NAMESPACE resolved to: odh-ai-gateway-infra) --- Sample AuthPolicy subscription-info configuration --- Inspecting: openshift-ingress/maas-gateway-auth Actual URL in AuthPolicy: https://maas-api.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select ✅ Request body includes requestedModel field Model reference: / Request body preview: { "groups": (has(auth.metadata) && has(auth.metadata.apiKeyValidation)) ? auth.metadata.apiKeyValidation.groups : (has(auth.identity.iss) ? (has(auth.identity.groups) && auth.identity.groups.all(g, g.matches('^[A-Za-z0-9:#._/ -]+$')) ? auth.identity.groups : []) : (has(auth.identity.user.groups) && auth.identity.user.groups.all(g, g.matches('^[A-Za-z0-9:#._/ -]+$')) ? auth.identity.user.groups : [])), "username": (has(auth.metadata) && has(auth.metadata.apiKeyValidation)) ? auth.metadata.apiKeyValidation.username : (has(auth.identity.preferred_username) ? auth.identity.preferred_username : (has(auth.identity.sub) ? auth.identity.sub : auth.identity.user.username)), "requestedSubscription": (has(auth.metadata) && has(auth.metadata.apiKeyValidation)) ? auth.metadata.apiKeyValidation.subscription : ("x-maas-subscription" in request.headers ? request.headers["x-maas-subscription"] : ""), "requestedModel": (size(request.path.split("/").filter(x, x != "")) >= 2 && request.path.split("/").filter(x, x != "")[0] != "v1" && request.path.split("/").filter(x, x != "")[0] != "maas-api" ? request.path.split("/").filter(x, x != "")[0] + "/" + request.path.split("/").filter(x, x != "")[1] : ("x-gateway-model-name" in request.headers ? request.headers["x-gateway-model-name"] : "")) --- Connectivity test (from kuadrant-system, simulates Authorino) --- curl -vsk -m 10 -X POST 'https://maas-api.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select' -H 'Content-Type: application/json' -d '{}' kubectl run failed or timed out ======================================== DNS Resolution Check ======================================== Resolving: maas-api.odh-ai-gateway-infra.svc.cluster.local nslookup failed ======================================== Configuration Summary ======================================== This summary helps compare local vs CI runs: AITenants (all namespaces): 1 MaaSModelRefs (all namespaces): 35 MaaSSubscriptions (models-as-a-service): 2 MaaSAuthPolicies (models-as-a-service): 2 Generated Kuadrant AuthPolicies: 1 Generated Kuadrant TokenRateLimitPolicies: 3 LLMInferenceServices (all namespaces): 7 ExternalModels - inference (all namespaces): 0 ExternalProviders - inference (all namespaces): 0 EnvoyFilters (openshift-ingress): 7 IPP Deployments (openshift-ingress): 0 NetworkPolicies (openshift-ingress): 7 Subscription selector URL: https://maas-api.odh-ai-gateway-infra.svc.cluster.local:8443/internal/v1/subscriptions/select Test user: system:admin