--- pytest attempt 2026-09-10T09:27:26.009330+00:00 (/.local/bin/uv --directory /home/odh/opendatahub-tests...) --- 2026-09-10T09:27:28.380928Z [info ] Writing tests log to /home/odh/opendatahub-tests/results/pytest-tests.log [conftest] 2026-09-10T09:27:28.383786Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-09-10T09:27:28.495692Z [info ] kind: DataScienceCluster api version: datasciencecluster.opendatahub.io/v2 [ocp_resources.resource] 2026-09-10T09:27:28.557757Z [info ] kind: DSCInitialization api version: dscinitialization.opendatahub.io/v2 [ocp_resources.resource] ============================= test session starts ============================== platform linux -- Python 3.14.7, pytest-9.1.1, pluggy-1.6.0 -- /home/odh/opendatahub-tests/.venv/bin/python3 cachedir: .pytest_cache metadata: {'Python': '3.14.7', 'Platform': 'Linux-5.14.0-570.132.1.el9_6.x86_64-x86_64-with-glibc2.42', 'Packages': {'pytest': '9.1.1', 'pluggy': '1.6.0'}, 'Plugins': {'anyio': '4.14.2', 'langsmith': '0.10.10', 'asyncio': '1.4.0', 'dependency': '0.6.1', 'html': '4.2.0', 'metadata': '3.1.1', 'order': '1.5.0', 'progress': '1.4.0', 'testconfig': '0.2.0', 'xdist': '3.8.0', 'syrupy': '5.5.3'}} rootdir: /home/odh/opendatahub-tests configfile: pytest.ini plugins: anyio-4.14.2, langsmith-0.10.10, asyncio-1.4.0, dependency-0.6.1, html-4.2.0, metadata-3.1.1, order-1.5.0, progress-1.4.0, testconfig-0.2.0, xdist-3.8.0, syrupy-5.5.3 asyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function collecting ... collected 207 items / 197 deselected / 10 selected tests/model_serving/maas_billing/body_base_routing/pre_auth_model_header/test_bbr_envoy_filter.py::TestBBREnvoyFilter::test_bbr_envoy_filter_has_pre_and_post_auth_stages  ---------------------------------- test_bbr_envoy_filter_has_pre_and_post_auth_stages ---------------------------------- -------------------------------------------------------- SETUP -------------------------------------------------------- 2026-09-10T09:27:29.129891Z [info ] Executing session fixture: event_loop_policy [conftest] 2026-09-10T09:27:29.130103Z [info ] Executing session fixture: _syrupy_apply_ide_patches [conftest] 2026-09-10T09:27:29.130235Z [info ] Executing session fixture: admin_client [conftest] 2026-09-10T09:27:29.130377Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-09-10T09:27:29.134413Z [info ] Executing session fixture: dsc_resource [conftest] 2026-09-10T09:27:29.134613Z [info ] kind: DataScienceCluster api version: datasciencecluster.opendatahub.io/v2 [ocp_resources.resource] 2026-09-10T09:27:29.205392Z [info ] Executing session fixture: tmp_path_factory [conftest] 2026-09-10T09:27:29.205694Z [info ] Executing session fixture: tests_tmp_dir [conftest] 2026-09-10T09:27:29.206746Z [info ] Executing session fixture: os_path_environment [conftest] 2026-09-10T09:27:29.206994Z [info ] Executing session fixture: tmpdir_factory [conftest] 2026-09-10T09:27:29.207168Z [info ] Executing session fixture: bin_directory [conftest] 2026-09-10T09:27:29.208516Z [info ] Executing session fixture: oc_binary_path [conftest] 2026-09-10T09:27:29.207627Z [warning ] Using previously installed: /workspace/tests-shared/tests-payload/.tools/bin/oc [tests.conftest] name=tests.conftest 2026-09-10T09:27:29.209090Z [info ] Executing session fixture: bin_directory_to_os_path [conftest] 2026-09-10T09:27:29.207795Z [info ] OC binary path: /workspace/tests-shared/tests-payload/.tools/bin/oc [tests.conftest] name=tests.conftest 2026-09-10T09:27:29.207841Z [info ] Adding /tmp/pytest-eDMcUEb76BAHvA2Edoax4o/bin0 to $PATH [tests.conftest] name=tests.conftest 2026-09-10T09:27:29.209449Z [info ] Executing session fixture: nodes [conftest] 2026-09-10T09:27:30.270253Z [info ] Executing session fixture: dsci_resource [conftest] 2026-09-10T09:27:30.270474Z [info ] kind: DSCInitialization api version: dscinitialization.opendatahub.io/v2 [ocp_resources.resource] 2026-09-10T09:27:30.286021Z [info ] Executing session fixture: record_testsuite_property [conftest] 2026-09-10T09:27:30.286220Z [info ] Executing session fixture: junitxml_plugin [conftest] 2026-09-10T09:27:30.286361Z [info ] Executing session fixture: cluster_sanity_scope_session [conftest] 2026-09-10T09:27:30.284955Z [info ] Check cluster sanity.  [utilities.infra] name=utilities.infra 2026-09-10T09:27:30.286599Z [info ] Verify all nodes are in a healthy condition. [ocp_utilities.infra] 2026-09-10T09:27:30.332245Z [info ] Verify all nodes are schedulable. [ocp_utilities.infra] 2026-09-10T09:27:30.378183Z [info ] Waiting for 120 seconds [0:02:00], retry every 5 seconds. (Function: utilities.infra.wait_for_dsci_status_ready Kwargs: {'dsci_resource': }) [timeout_sampler] 2026-09-10T09:27:30.377279Z [info ] Wait for DSCI default-dsci to be in Ready status. [utilities.infra] name=utilities.infra 2026-09-10T09:27:30.378556Z [info ] Get DSCInitialization default-dsci status [ocp_resources DSCInitialization] 2026-09-10T09:27:30.392961Z [success ] Function: utilities.infra.wait_for_dsci_status_ready succeeded after 0.00015306472778320312 [0:00:00.000153]. [timeout_sampler] 2026-09-10T09:27:30.393246Z [info ] Waiting for 120 seconds [0:02:00], retry every 5 seconds. (Function: utilities.infra.wait_for_dsc_status_ready Kwargs: {'dsc_resource': }) [timeout_sampler] 2026-09-10T09:27:30.392265Z [info ] Wait for DSC default-dsc are Ready. [utilities.infra] name=utilities.infra 2026-09-10T09:27:30.393577Z [info ] Get DataScienceCluster default-dsc status [ocp_resources DataScienceCluster] 2026-09-10T09:27:30.410880Z [success ] Function: utilities.infra.wait_for_dsc_status_ready succeeded after 5.4836273193359375e-05 [0:00:00.000055]. [timeout_sampler] 2026-09-10T09:27:30.411040Z [info ] Executing session fixture: autouse_fixtures [conftest] 2026-09-10T09:27:30.411224Z [info ] Executing session fixture: maas_gateway_api_hostname [conftest] 2026-09-10T09:27:30.411453Z [info ] kind: Ingress api version: config.openshift.io/v1 [ocp_resources.resource] 2026-09-10T09:27:30.440566Z [info ] Executing session fixture: maas_gateway_api [conftest] 2026-09-10T09:27:30.471001Z [info ] kind: Gateway api version: gateway.networking.k8s.io/v1 [ocp_resources.resource] 2026-09-10T09:27:30.485853Z [info ] Reusing existing gateway openshift-ingress/maas-default-gateway [conftest] name=conftest 2026-09-10T09:27:30.487012Z [info ] Wait for Gateway/maas-default-gateway's 'Programmed' condition to be 'True' [ocp_resources Gateway] 2026-09-10T09:27:30.487134Z [info ] Wait until Gateway maas-default-gateway is created [ocp_resources Gateway] 2026-09-10T09:27:30.487250Z [info ] Waiting for 300 seconds [0:05:00], retry every 1 seconds. (Function: ocp_resources.resource.wait.lambda: self.exists) [timeout_sampler] 2026-09-10T09:27:30.502272Z [success ] Function: lambda: self.exists succeeded after 5.125999450683594e-05 [0:00:00.000051]. [timeout_sampler] 2026-09-10T09:27:30.502444Z [info ] Waiting for 299.98454117774963 seconds [0:04:59.984541], retry every 1 seconds. (Function: ocp_resources.resource.wait_for_condition.lambda: self.instance) [timeout_sampler] 2026-09-10T09:27:30.518106Z [success ] Function: lambda: self.instance succeeded after 4.5299530029296875e-05 [0:00:00.000045]. [timeout_sampler] 2026-09-10T09:27:30.518351Z [info ] ResourceEdit: Backing up old data [ocp_resources.resource] 2026-09-10T09:27:30.534679Z [info ] ResourceEdits: Updating data for resource Gateway maas-default-gateway [ocp_resources.resource] 2026-09-10T09:27:30.534879Z [info ] Update Gateway maas-default-gateway: {'metadata': {'annotations': {'security.opendatahub.io/authorino-tls-bootstrap': 'true'}, 'name': 'maas-default-gateway'}} [ocp_resources Gateway] 2026-09-10T09:27:30.558541Z [info ] Executing session fixture: pytestconfig [conftest] 2026-09-10T09:27:30.558770Z [info ] Executing session fixture: use_unprivileged_client [conftest] 2026-09-10T09:27:30.559012Z [info ] Executing session fixture: kubconfig_filepath [conftest] 2026-09-10T09:27:30.559130Z [info ] Executing session fixture: cluster_authentication [conftest] 2026-09-10T09:27:30.559242Z [info ] kind: Authentication api version: config.openshift.io/v1 [ocp_resources.resource] 2026-09-10T09:27:30.573908Z [info ] Executing session fixture: is_byoidc [conftest] 2026-09-10T09:27:30.589027Z [info ] Executing session fixture: non_admin_user_password [conftest] 2026-09-10T09:27:30.589205Z [info ] Executing session fixture: unprivileged_client [conftest] 2026-09-10T09:27:30.587891Z [warning ] Unprivileged client is not enabled, using admin client [tests.conftest] name=tests.conftest 2026-09-10T09:27:30.589513Z [info ] Executing session fixture: maas_subscription_namespace [conftest] 2026-09-10T09:27:30.602567Z [info ] Namespace models-as-a-service already exists, reusing it [conftest] name=conftest 2026-09-10T09:27:30.603995Z [info ] Executing session fixture: maas_subscription_controller_enabled_latest [conftest] 2026-09-10T09:27:30.604484Z [info ] kind: CustomResourceDefinition api version: apiextensions.k8s.io/v1 [ocp_resources.resource] 2026-09-10T09:27:30.716211Z [info ] ResourceEdit: Backing up old data [ocp_resources.resource] 2026-09-10T09:27:30.735915Z [info ] ResourceEdits: Updating data for resource DataScienceCluster default-dsc [ocp_resources.resource] 2026-09-10T09:27:30.736070Z [info ] Update DataScienceCluster default-dsc: {'spec': {'components': {'aigateway': {'managementState': 'Managed', 'modelsAsAService': {'managementState': 'Managed'}}}}, 'metadata': {'name': 'default-dsc'}} [ocp_resources DataScienceCluster] 2026-09-10T09:27:30.860547Z [info ] Wait for DataScienceCluster/default-dsc's 'AIGatewayReady' condition to be 'True' [ocp_resources DataScienceCluster] 2026-09-10T09:27:30.860761Z [info ] Wait until DataScienceCluster default-dsc is created [ocp_resources DataScienceCluster] 2026-09-10T09:27:30.860891Z [info ] Waiting for 900 seconds [0:15:00], retry every 1 seconds. (Function: ocp_resources.resource.wait.lambda: self.exists) [timeout_sampler] 2026-09-10T09:27:30.877437Z [success ] Function: lambda: self.exists succeeded after 9.441375732421875e-05 [0:00:00.000094]. [timeout_sampler] 2026-09-10T09:27:30.877583Z [info ] Waiting for 899.9828839302063 seconds [0:14:59.982884], retry every 1 seconds. (Function: ocp_resources.resource.wait_for_condition.lambda: self.instance) [timeout_sampler] 2026-09-10T09:27:30.894996Z [success ] Function: lambda: self.instance succeeded after 5.030632019042969e-05 [0:00:00.000050]. [timeout_sampler] 2026-09-10T09:27:30.895174Z [info ] Wait for DataScienceCluster/default-dsc's 'Ready' condition to be 'True' [ocp_resources DataScienceCluster] 2026-09-10T09:27:30.895309Z [info ] Wait until DataScienceCluster default-dsc is created [ocp_resources DataScienceCluster] 2026-09-10T09:27:30.895435Z [info ] Waiting for 600 seconds [0:10:00], retry every 1 seconds. (Function: ocp_resources.resource.wait.lambda: self.exists) [timeout_sampler] 2026-09-10T09:27:30.912259Z [success ] Function: lambda: self.exists succeeded after 4.291534423828125e-05 [0:00:00.000043]. [timeout_sampler] 2026-09-10T09:27:30.912434Z [info ] Waiting for 599.9827127456665 seconds [0:09:59.982713], retry every 1 seconds. (Function: ocp_resources.resource.wait_for_condition.lambda: self.instance) [timeout_sampler] 2026-09-10T09:27:30.931064Z [success ] Function: lambda: self.instance succeeded after 5.650520324707031e-05 [0:00:00.000057]. [timeout_sampler] 2026-09-10T09:27:30.931210Z [info ] Executing session fixture: bbr_gateway_namespace [conftest] 2026-09-10T09:27:30.945950Z [info ] Executing class fixture: bbr_envoy_filter_config_patches [conftest] 2026-09-10T09:27:30.987427Z [info ] kind: EnvoyFilter api version: networking.istio.io/v1alpha3 [ocp_resources.resource] PASSED _ 1 of 10 completed, 1 Pass, 0 Fail, 0 Skip, 0 XPass, 0 XFail, 0 Error, 0 ReRun _ tests/model_serving/maas_billing/body_base_routing/pre_auth_model_header/test_bbr_envoy_filter.py::TestBBREnvoyFilter::test_bbr_post_auth_processing_deployment_ready --------------------------------------------------------- CALL --------------------------------------------------------- 2026-09-10T09:27:31.018465Z [info ] EnvoyFilter 'openshift-ingress/payload-processing' has pre-auth and post-auth stages: ['envoy.filters.http.ext_proc.ipp-pre', 'envoy.filters.http.ext_proc.ipp', 'envoy.filters.http.ext_proc.ipp-pre', 'envoy.filters.http.ext_proc.ipp'] [tests.model_serving.maas_billing.body_base_routing.pre_auth_model_header.utils] name=tests.model_serving.maas_billing.body_base_routing.pre_auth_model_header.utils  TEST: TestBBREnvoyFilter.test_bbr_envoy_filter_has_pre_and_post_auth_stages STATUS: PASSED ------------------------------------------------------- TEARDOWN -------------------------------------------------------  ------------------------------------ test_bbr_post_auth_processing_deployment_ready ------------------------------------ -------------------------------------------------------- SETUP -------------------------------------------------------- --------------------------------------------------------- CALL --------------------------------------------------------- 2026-09-10T09:27:31.026935Z [info ] kind: Deployment api version: apps/v1 [ocp_resources.resource] PASSED _ 2 of 10 completed, 2 Pass, 0 Fail, 0 Skip, 0 XPass, 0 XFail, 0 Error, 0 ReRun _ tests/model_serving/maas_billing/body_base_routing/pre_auth_model_header/test_bbr_post_auth_setup.py::TestBBRPostAuthSetup::test_bbr_post_processing_deployment_ready 2026-09-10T09:27:31.083380Z [info ] Deployment 'openshift-ingress/payload-processing' is ready (1/1 replicas) [tests.model_serving.maas_billing.body_base_routing.pre_auth_model_header.utils] name=tests.model_serving.maas_billing.body_base_routing.pre_auth_model_header.utils  TEST: TestBBREnvoyFilter.test_bbr_post_auth_processing_deployment_ready STATUS: PASSED ------------------------------------------------------- TEARDOWN -------------------------------------------------------  -------------------------------------- test_bbr_post_processing_deployment_ready -------------------------------------- -------------------------------------------------------- SETUP -------------------------------------------------------- --------------------------------------------------------- CALL --------------------------------------------------------- PASSED2026-09-10T09:27:31.144544Z [info ] Deployment 'openshift-ingress/payload-processing' is ready (1/1 replicas) [tests.model_serving.maas_billing.body_base_routing.pre_auth_model_header.utils] name=tests.model_serving.maas_billing.body_base_routing.pre_auth_model_header.utils _ 3 of 10 completed, 3 Pass, 0 Fail, 0 Skip, 0 XPass, 0 XFail, 0 Error, 0 ReRun _ tests/model_serving/maas_billing/body_base_routing/pre_auth_model_header/test_bbr_post_auth_setup.py::TestBBRPostAuthSetup::test_bbr_post_processing_service_exposes_port_9004  TEST: TestBBRPostAuthSetup.test_bbr_post_processing_deployment_ready STATUS: PASSED ------------------------------------------------------- TEARDOWN -------------------------------------------------------  ---------------------------------- test_bbr_post_processing_service_exposes_port_9004 ---------------------------------- -------------------------------------------------------- SETUP -------------------------------------------------------- --------------------------------------------------------- CALL --------------------------------------------------------- PASSED2026-09-10T09:27:31.176508Z [info ] Service 'openshift-ingress/payload-processing' exposes gRPC port 9004 [tests.model_serving.maas_billing.body_base_routing.pre_auth_model_header.utils] name=tests.model_serving.maas_billing.body_base_routing.pre_auth_model_header.utils _ 4 of 10 completed, 4 Pass, 0 Fail, 0 Skip, 0 XPass, 0 XFail, 0 Error, 0 ReRun _ tests/model_serving/maas_billing/body_base_routing/pre_auth_model_header/test_bbr_post_auth_setup.py::TestBBRPostAuthSetup::test_bbr_post_processing_destination_rule_exists  TEST: TestBBRPostAuthSetup.test_bbr_post_processing_service_exposes_port_9004 STATUS: PASSED ------------------------------------------------------- TEARDOWN -------------------------------------------------------  ----------------------------------- test_bbr_post_processing_destination_rule_exists ----------------------------------- -------------------------------------------------------- SETUP -------------------------------------------------------- --------------------------------------------------------- CALL --------------------------------------------------------- 2026-09-10T09:27:31.181277Z [info ] kind: DestinationRule api version: networking.istio.io/v1 [ocp_resources.resource] PASSED _ 5 of 10 completed, 5 Pass, 0 Fail, 0 Skip, 0 XPass, 0 XFail, 0 Error, 0 ReRun _ tests/model_serving/maas_billing/body_base_routing/pre_auth_model_header/test_bbr_post_auth_setup.py::TestBBRPostAuthSetup::test_bbr_plugins_configmap_has_expected_plugins 2026-09-10T09:27:31.193896Z [info ] DestinationRule 'openshift-ingress/payload-processing' exists [tests.model_serving.maas_billing.body_base_routing.pre_auth_model_header.utils] name=tests.model_serving.maas_billing.body_base_routing.pre_auth_model_header.utils  TEST: TestBBRPostAuthSetup.test_bbr_post_processing_destination_rule_exists STATUS: PASSED ------------------------------------------------------- TEARDOWN -------------------------------------------------------  ----------------------------------- test_bbr_plugins_configmap_has_expected_plugins ----------------------------------- -------------------------------------------------------- SETUP -------------------------------------------------------- --------------------------------------------------------- CALL --------------------------------------------------------- 2026-09-10T09:27:31.198227Z [info ] Waiting for 300 seconds [0:05:00], retry every 5 seconds. (Function: tests.model_serving.maas_billing.body_base_routing.pre_auth_model_header.utils._fetch_bbr_plugins_configmap_data_if_ready Kwargs: {'admin_client': , 'gateway_namespace': 'openshift-ingress'}) [timeout_sampler] PASSED _ 6 of 10 completed, 6 Pass, 0 Fail, 0 Skip, 0 XPass, 0 XFail, 0 Error, 0 ReRun _ tests/model_serving/maas_billing/body_base_routing/pre_auth_model_header/test_bbr_setup.py::TestBBRSetup::test_bbr_pre_processing_service_exposes_port_9004 2026-09-10T09:27:31.224966Z [info ] ConfigMap 'openshift-ingress/payload-processing-plugins' has post-auth and pre-auth plugin keys [tests.model_serving.maas_billing.body_base_routing.pre_auth_model_header.utils] name=tests.model_serving.maas_billing.body_base_routing.pre_auth_model_header.utils 2026-09-10T09:27:31.231052Z [success ] Function: tests.model_serving.maas_billing.body_base_routing.pre_auth_model_header.utils._fetch_bbr_plugins_configmap_data_if_ready succeeded after 6.151199340820312e-05 [0:00:00.000062]. [timeout_sampler] 2026-09-10T09:27:31.226762Z [info ] Post-auth plugins verified: ['maas-headers-guard', 'stream-usage-enforcer', 'model-provider-resolver', 'api-translation', 'apikey-injection'] [tests.model_serving.maas_billing.body_base_routing.pre_auth_model_header.utils] name=tests.model_serving.maas_billing.body_base_routing.pre_auth_model_header.utils 2026-09-10T09:27:31.227744Z [info ] Pre-auth plugin 'body-field-to-header' correctly maps 'model' → 'X-Gateway-Model-Name' [tests.model_serving.maas_billing.body_base_routing.pre_auth_model_header.utils] name=tests.model_serving.maas_billing.body_base_routing.pre_auth_model_header.utils  TEST: TestBBRPostAuthSetup.test_bbr_plugins_configmap_has_expected_plugins STATUS: PASSED ------------------------------------------------------- TEARDOWN -------------------------------------------------------  ---------------------------------- test_bbr_pre_processing_service_exposes_port_9004 ---------------------------------- -------------------------------------------------------- SETUP -------------------------------------------------------- --------------------------------------------------------- CALL --------------------------------------------------------- PASSED _ 7 of 10 completed, 7 Pass, 0 Fail, 0 Skip, 0 XPass, 0 XFail, 0 Error, 0 ReRun _ tests/model_serving/maas_billing/body_base_routing/pre_auth_model_header/test_bbr_setup.py::TestBBRSetup::test_bbr_pre_processing_destination_rule_exists 2026-09-10T09:27:31.259418Z [info ] Service 'openshift-ingress/payload-pre-processing' exposes gRPC port 9004 [tests.model_serving.maas_billing.body_base_routing.pre_auth_model_header.utils] name=tests.model_serving.maas_billing.body_base_routing.pre_auth_model_header.utils  TEST: TestBBRSetup.test_bbr_pre_processing_service_exposes_port_9004 STATUS: PASSED ------------------------------------------------------- TEARDOWN -------------------------------------------------------  ----------------------------------- test_bbr_pre_processing_destination_rule_exists ----------------------------------- -------------------------------------------------------- SETUP -------------------------------------------------------- --------------------------------------------------------- CALL --------------------------------------------------------- PASSED2026-09-10T09:27:31.277039Z [info ] DestinationRule 'openshift-ingress/payload-pre-processing' exists [tests.model_serving.maas_billing.body_base_routing.pre_auth_model_header.utils] name=tests.model_serving.maas_billing.body_base_routing.pre_auth_model_header.utils  TEST: TestBBRSetup.test_bbr_pre_processing_destination_rule_exists STATUS: PASSED ------------------------------------------------------- TEARDOWN ------------------------------------------------------- _ 8 of 10 completed, 8 Pass, 0 Fail, 0 Skip, 0 XPass, 0 XFail, 0 Error, 0 ReRun _ tests/model_serving/maas_billing/multitenancy/aitenant/test_tenant_setup.py::TestAITenantTenantSetup::test_aitenant_crd_exists  ----------------------------------------------- test_aitenant_crd_exists ----------------------------------------------- -------------------------------------------------------- SETUP -------------------------------------------------------- --------------------------------------------------------- CALL --------------------------------------------------------- 2026-09-10T09:27:31.283006Z [info ] kind: CustomResourceDefinition api version: apiextensions.k8s.io/v1 [ocp_resources.resource] PASSED2026-09-10T09:27:31.313821Z [info ] AITenant CRD 'aitenants.maas.opendatahub.io' exists [_pytest.compat] name=multitenancy.aitenant.test_tenant_setup _ 9 of 10 completed, 9 Pass, 0 Fail, 0 Skip, 0 XPass, 0 XFail, 0 Error, 0 ReRun _ tests/model_serving/maas_billing/multitenancy/aitenant/test_tenant_setup.py::TestAITenantTenantSetup::test_aitenant_bootstrap_does_not_break_default_tenant  TEST: TestAITenantTenantSetup.test_aitenant_crd_exists STATUS: PASSED ------------------------------------------------------- TEARDOWN -------------------------------------------------------  -------------------------------- test_aitenant_bootstrap_does_not_break_default_tenant -------------------------------- -------------------------------------------------------- SETUP -------------------------------------------------------- 2026-09-10T09:27:31.317455Z [info ] Executing session fixture: aitenant_infra_namespace [conftest] 2026-09-10T09:27:31.333784Z [info ] Executing session fixture: teardown_resources [conftest] 2026-09-10T09:27:31.334029Z [info ] Executing function fixture: aitenant_test_params [conftest] 2026-09-10T09:27:31.334152Z [info ] Executing function fixture: aitenant_bootstrap_gateway [conftest] 2026-09-10T09:27:31.334276Z [info ] Create ConfigMap e2e-aigw-e6662c7d-config [ocp_resources ConfigMap] 2026-09-10T09:27:31.334385Z [info ] Posting {'apiVersion': 'v1', 'kind': 'ConfigMap', 'metadata': {'name': 'e2e-aigw-e6662c7d-config', 'namespace': 'openshift-ingress'}, 'data': '*******'} [ocp_resources ConfigMap] 2026-09-10T09:27:31.368246Z [info ] kind: Gateway api version: gateway.networking.k8s.io/v1 [ocp_resources.resource] 2026-09-10T09:27:31.368437Z [info ] Create Gateway e2e-aigw-e6662c7d [ocp_resources Gateway] 2026-09-10T09:27:31.368609Z [info ] Posting {'apiVersion': 'gateway.networking.k8s.io/v1', 'kind': 'Gateway', 'metadata': {'name': 'e2e-aigw-e6662c7d', 'namespace': 'openshift-ingress'}, 'spec': {'gatewayClassName': 'openshift-default', 'listeners': [{'name': 'http', 'port': 80, 'protocol': 'HTTP', 'allowedRoutes': {'namespaces': {'from': 'All'}}}, {'name': 'https', 'port': 443, 'protocol': 'HTTPS', 'allowedRoutes': {'namespaces': {'from': 'All'}}, 'tls': {'mode': 'Terminate', 'certificateRefs': [{'group': '', 'kind': 'Secret', 'name': 'data-science-gateway-service-tls'}]}}], 'infrastructure': {'parametersRef': {'group': '', 'kind': 'ConfigMap', 'name': 'e2e-aigw-e6662c7d-config'}}}} [ocp_resources Gateway] 2026-09-10T09:27:31.400307Z [info ] Executing function fixture: aitenant [conftest] 2026-09-10T09:27:31.428132Z [info ] kind: AITenant api version: maas.opendatahub.io/v1alpha1 [ocp_resources.resource] 2026-09-10T09:27:31.430472Z [info ] Create AITenant e2e-aigw-e6662c7d [ocp_resources AITenant] 2026-09-10T09:27:31.430703Z [info ] Posting {'apiVersion': 'maas.opendatahub.io/v1alpha1', 'kind': 'AITenant', 'metadata': {'name': 'e2e-aigw-e6662c7d', 'namespace': 'ai-tenants'}, 'spec': {'gateway': {'name': 'e2e-aigw-e6662c7d'}}} [ocp_resources AITenant] 2026-09-10T09:27:31.533597Z [info ] Wait until AITenant e2e-aigw-e6662c7d is created [ocp_resources AITenant] 2026-09-10T09:27:31.533816Z [info ] Waiting for 240 seconds [0:04:00], retry every 1 seconds. (Function: ocp_resources.resource.wait.lambda: self.exists) [timeout_sampler] 2026-09-10T09:27:31.548402Z [success ] Function: lambda: self.exists succeeded after 9.441375732421875e-05 [0:00:00.000094]. [timeout_sampler] 2026-09-10T09:27:31.548566Z [info ] Executing function fixture: ready_aitenant [conftest] 2026-09-10T09:27:31.578905Z [info ] Wait for AITenant/e2e-aigw-e6662c7d's 'Ready' condition to be 'True' [ocp_resources AITenant] 2026-09-10T09:27:31.579045Z [info ] Wait until AITenant e2e-aigw-e6662c7d is created [ocp_resources AITenant] 2026-09-10T09:27:31.579152Z [info ] Waiting for 300 seconds [0:05:00], retry every 1 seconds. (Function: ocp_resources.resource.wait.lambda: self.exists) [timeout_sampler] 2026-09-10T09:27:31.593056Z [success ] Function: lambda: self.exists succeeded after 6.079673767089844e-05 [0:00:00.000061]. [timeout_sampler] 2026-09-10T09:27:31.593223Z [info ] Waiting for 299.985803604126 seconds [0:04:59.985804], retry every 1 seconds. (Function: ocp_resources.resource.wait_for_condition.lambda: self.instance) [timeout_sampler] 2026-09-10T09:27:59.018798Z [success ] Function: lambda: self.instance succeeded after 27.41074514389038 [0:00:27.410745]. [timeout_sampler] 2026-09-10T09:27:59.033066Z [info ] Executing function fixture: aitenant_for_test [conftest] --------------------------------------------------------- CALL --------------------------------------------------------- 2026-09-10T09:27:59.063409Z [info ] Wait for AITenant/e2e-aigw-e6662c7d's 'Ready' condition to be 'True' [ocp_resources AITenant] 2026-09-10T09:27:59.063591Z [info ] Wait until AITenant e2e-aigw-e6662c7d is created [ocp_resources AITenant] 2026-09-10T09:27:59.063707Z [info ] Waiting for 300 seconds [0:05:00], retry every 1 seconds. (Function: ocp_resources.resource.wait.lambda: self.exists) [timeout_sampler] 2026-09-10T09:27:59.077755Z [success ] Function: lambda: self.exists succeeded after 6.103515625e-05 [0:00:00.000061]. [timeout_sampler] 2026-09-10T09:27:59.077909Z [info ] Waiting for 299.98546385765076 seconds [0:04:59.985464], retry every 1 seconds. (Function: ocp_resources.resource.wait_for_condition.lambda: self.instance) [timeout_sampler] 2026-09-10T09:27:59.091807Z [success ] Function: lambda: self.instance succeeded after 5.3882598876953125e-05 [0:00:00.000054]. [timeout_sampler] 2026-09-10T09:27:59.106050Z [info ] kind: MaasTenantConfig api version: maas.opendatahub.io/v1alpha1 [ocp_resources.resource] 2026-09-10T09:27:59.120402Z [info ] Wait for MaasTenantConfig/default-tenant's 'Ready' condition to be 'True' [ocp_resources MaasTenantConfig] 2026-09-10T09:27:59.120565Z [info ] Wait until MaasTenantConfig default-tenant is created [ocp_resources MaasTenantConfig] 2026-09-10T09:27:59.120919Z [info ] Waiting for 300 seconds [0:05:00], retry every 1 seconds. (Function: ocp_resources.resource.wait.lambda: self.exists) [timeout_sampler] 2026-09-10T09:27:59.134842Z [success ] Function: lambda: self.exists succeeded after 4.3392181396484375e-05 [0:00:00.000043]. [timeout_sampler] 2026-09-10T09:27:59.134990Z [info ] Waiting for 299.9857528209686 seconds [0:04:59.985753], retry every 1 seconds. (Function: ocp_resources.resource.wait_for_condition.lambda: self.instance) [timeout_sampler] PASSED2026-09-10T09:27:59.150196Z [success ] Function: lambda: self.instance succeeded after 3.933906555175781e-05 [0:00:00.000039]. [timeout_sampler] 2026-09-10T09:27:59.148875Z [info ] Regression check passed: MaasTenantConfig/default-tenant in 'models-as-a-service' is still Ready [tests.model_serving.maas_billing.multitenancy.aitenant.utils] name=tests.model_serving.maas_billing.multitenancy.aitenant.utils  TEST: TestAITenantTenantSetup.test_aitenant_bootstrap_does_not_break_default_tenant STATUS: PASSED ------------------------------------------------------- TEARDOWN ------------------------------------------------------- 2026-09-10T09:27:59.150888Z [info ] Delete AITenant e2e-aigw-e6662c7d [ocp_resources AITenant] 2026-09-10T09:27:59.181338Z [info ] Deleting {'apiVersion': 'maas.opendatahub.io/v1alpha1', 'kind': 'AITenant', 'metadata': {'creationTimestamp': '2026-09-10T09:27:31Z', 'finalizers': ['maas.opendatahub.io/aitenant-cleanup'], 'generation': 1, 'managedFields': [{'apiVersion': 'maas.opendatahub.io/v1alpha1', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:spec': {'.': {}, 'f:gateway': {'.': {}, 'f:name': {}}}}, 'manager': 'OpenAPI-Generator', 'operation': 'Update', 'time': '2026-09-10T09:27:31Z'}, {'apiVersion': 'maas.opendatahub.io/v1alpha1', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:metadata': {'f:finalizers': {'.': {}, 'v:"maas.opendatahub.io/aitenant-cleanup"': {}}}}, 'manager': 'manager', 'operation': 'Update', 'time': '2026-09-10T09:27:31Z'}, {'apiVersion': 'maas.opendatahub.io/v1alpha1', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:status': {'.': {}, 'f:conditions': {}, 'f:gatewayRef': {'.': {}, 'f:name': {}, 'f:namespace': {}}, 'f:phase': {}, 'f:tenantNamespace': {}}}, 'manager': 'manager', 'operation': 'Update', 'subresource': 'status', 'time': '2026-09-10T09:27:58Z'}], 'name': 'e2e-aigw-e6662c7d', 'namespace': 'ai-tenants', 'resourceVersion': '91751', 'uid': 'a7806eeb-ea4b-4f1c-ba31-9f5e446e80b6'}, 'spec': {'gateway': {'name': 'e2e-aigw-e6662c7d'}}, 'status': {'conditions': [{'lastTransitionTime': '2026-09-10T09:27:58Z', 'message': 'AITenant bootstrap resources are reconciled', 'observedGeneration': 1, 'reason': 'Reconciled', 'status': 'True', 'type': 'Ready'}], 'gatewayRef': {'name': 'e2e-aigw-e6662c7d', 'namespace': 'openshift-ingress'}, 'phase': 'Active', 'tenantNamespace': 'ai-tenant-e2e-aigw-e6662c7d'}} [ocp_resources AITenant] 2026-09-10T09:27:59.199551Z [info ] Wait until AITenant e2e-aigw-e6662c7d is deleted [ocp_resources AITenant] 2026-09-10T09:27:59.199752Z [info ] Waiting for 240 seconds [0:04:00], retry every 1 seconds. (Function: ocp_resources.resource.wait_deleted.lambda: self.exists) [timeout_sampler] 2026-09-10T09:28:17.485811Z [success ] Function: lambda: self.exists succeeded after 18.269240856170654 [0:00:18.269241]. [timeout_sampler] 2026-09-10T09:28:17.486052Z [info ] Delete Gateway e2e-aigw-e6662c7d [ocp_resources Gateway] 2026-09-10T09:28:17.523928Z [info ] Deleting {'apiVersion': 'gateway.networking.k8s.io/v1', 'kind': 'Gateway', 'metadata': {'creationTimestamp': '2026-09-10T09:27:31Z', 'generation': 1, 'labels': {'istio.io/rev': 'openshift-gateway'}, 'managedFields': [{'apiVersion': 'gateway.networking.k8s.io/v1beta1', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:metadata': {'f:annotations': {'f:gateway.istio.io/controller-version': {}}}}, 'manager': 'openshift.io/gateway-controller/v1', 'operation': 'Apply', 'subresource': 'status', 'time': '2026-09-10T09:27:31Z'}, {'apiVersion': 'gateway.networking.k8s.io/v1', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:spec': {}}, 'manager': 'OpenAPI-Generator', 'operation': 'Update', 'time': '2026-09-10T09:27:31Z'}, {'apiVersion': 'gateway.networking.k8s.io/v1', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:metadata': {'f:labels': {'.': {}, 'f:istio.io/rev': {}}}}, 'manager': 'ingress-operator', 'operation': 'Update', 'time': '2026-09-10T09:27:31Z'}, {'apiVersion': 'gateway.networking.k8s.io/v1beta1', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:status': {'f:addresses': {}, 'f:conditions': {'k:{"type":"Accepted"}': {'f:lastTransitionTime': {}, 'f:message': {}, 'f:observedGeneration': {}, 'f:reason': {}, 'f:status': {}}, 'k:{"type":"Programmed"}': {'f:lastTransitionTime': {}, 'f:message': {}, 'f:observedGeneration': {}, 'f:reason': {}, 'f:status': {}}}, 'f:listeners': {'.': {}, 'k:{"name":"http"}': {'.': {}, 'f:attachedRoutes': {}, 'f:conditions': {'.': {}, 'k:{"type":"Accepted"}': {'.': {}, 'f:lastTransitionTime': {}, 'f:message': {}, 'f:observedGeneration': {}, 'f:reason': {}, 'f:status': {}, 'f:type': {}}, 'k:{"type":"Conflicted"}': {'.': {}, 'f:lastTransitionTime': {}, 'f:message': {}, 'f:observedGeneration': {}, 'f:reason': {}, 'f:status': {}, 'f:type': {}}, 'k:{"type":"Programmed"}': {'.': {}, 'f:lastTransitionTime': {}, 'f:message': {}, 'f:observedGeneration': {}, 'f:reason': {}, 'f:status': {}, 'f:type': {}}, 'k:{"type":"ResolvedRefs"}': {'.': {}, 'f:lastTransitionTime': {}, 'f:message': {}, 'f:observedGeneration': {}, 'f:reason': {}, 'f:status': {}, 'f:type': {}}}, 'f:name': {}, 'f:supportedKinds': {}}, 'k:{"name":"https"}': {'.': {}, 'f:attachedRoutes': {}, 'f:conditions': {'.': {}, 'k:{"type":"Accepted"}': {'.': {}, 'f:lastTransitionTime': {}, 'f:message': {}, 'f:observedGeneration': {}, 'f:reason': {}, 'f:status': {}, 'f:type': {}}, 'k:{"type":"Conflicted"}': {'.': {}, 'f:lastTransitionTime': {}, 'f:message': {}, 'f:observedGeneration': {}, 'f:reason': {}, 'f:status': {}, 'f:type': {}}, 'k:{"type":"Programmed"}': {'.': {}, 'f:lastTransitionTime': {}, 'f:message': {}, 'f:observedGeneration': {}, 'f:reason': {}, 'f:status': {}, 'f:type': {}}, 'k:{"type":"ResolvedRefs"}': {'.': {}, 'f:lastTransitionTime': {}, 'f:message': {}, 'f:observedGeneration': {}, 'f:reason': {}, 'f:status': {}, 'f:type': {}}}, 'f:name': {}, 'f:supportedKinds': {}}}}}, 'manager': 'pilot-discovery', 'operation': 'Update', 'subresource': 'status', 'time': '2026-09-10T09:28:16Z'}], 'name': 'e2e-aigw-e6662c7d', 'namespace': 'openshift-ingress', 'resourceVersion': '92328', 'uid': '377a64bf-2677-4c38-88de-0631d93e5560'}, 'spec': {'gatewayClassName': 'openshift-default', 'infrastructure': {'parametersRef': {'group': '', 'kind': 'ConfigMap', 'name': 'e2e-aigw-e6662c7d-config'}}, 'listeners': [{'allowedRoutes': {'namespaces': {'from': 'All'}}, 'name': 'http', 'port': 80, 'protocol': 'HTTP'}, {'allowedRoutes': {'namespaces': {'from': 'All'}}, 'name': 'https', 'port': 443, 'protocol': 'HTTPS', 'tls': {'certificateRefs': [{'group': '', 'kind': 'Secret', 'name': 'data-science-gateway-service-tls'}], 'mode': 'Terminate'}}]}, 'status': {'addresses': [{'type': 'Hostname', 'value': 'e2e-aigw-e6662c7d-openshift-default.openshift-ingress.svc.cluster.local'}], 'conditions': [{'lastTransitionTime': '2026-09-10T09:27:31Z', 'message': 'Resource accepted', 'observedGeneration': 1, 'reason': 'Accepted', 'status': 'True', 'type': 'Accepted'}, {'lastTransitionTime': '2026-09-10T09:27:35Z', 'message': 'Resource programmed, assigned to service(s) e2e-aigw-e6662c7d-openshift-default.openshift-ingress.svc.cluster.local:443 and e2e-aigw-e6662c7d-openshift-default.openshift-ingress.svc.cluster.local:80', 'observedGeneration': 1, 'reason': 'Programmed', 'status': 'True', 'type': 'Programmed'}], 'listeners': [{'attachedRoutes': 0, 'conditions': [{'lastTransitionTime': '2026-09-10T09:27:31Z', 'message': 'No errors found', 'observedGeneration': 1, 'reason': 'Accepted', 'status': 'True', 'type': 'Accepted'}, {'lastTransitionTime': '2026-09-10T09:27:31Z', 'message': 'No errors found', 'observedGeneration': 1, 'reason': 'NoConflicts', 'status': 'False', 'type': 'Conflicted'}, {'lastTransitionTime': '2026-09-10T09:27:31Z', 'message': 'No errors found', 'observedGeneration': 1, 'reason': 'Programmed', 'status': 'True', 'type': 'Programmed'}, {'lastTransitionTime': '2026-09-10T09:27:31Z', 'message': 'No errors found', 'observedGeneration': 1, 'reason': 'ResolvedRefs', 'status': 'True', 'type': 'ResolvedRefs'}], 'name': 'http', 'supportedKinds': [{'group': 'gateway.networking.k8s.io', 'kind': 'HTTPRoute'}, {'group': 'gateway.networking.k8s.io', 'kind': 'GRPCRoute'}]}, {'attachedRoutes': 0, 'conditions': [{'lastTransitionTime': '2026-09-10T09:27:31Z', 'message': 'No errors found', 'observedGeneration': 1, 'reason': 'Accepted', 'status': 'True', 'type': 'Accepted'}, {'lastTransitionTime': '2026-09-10T09:27:31Z', 'message': 'No errors found', 'observedGeneration': 1, 'reason': 'NoConflicts', 'status': 'False', 'type': 'Conflicted'}, {'lastTransitionTime': '2026-09-10T09:27:31Z', 'message': 'No errors found', 'observedGeneration': 1, 'reason': 'Programmed', 'status': 'True', 'type': 'Programmed'}, {'lastTransitionTime': '2026-09-10T09:27:31Z', 'message': 'No errors found', 'observedGeneration': 1, 'reason': 'ResolvedRefs', 'status': 'True', 'type': 'ResolvedRefs'}], 'name': 'https', 'supportedKinds': [{'group': 'gateway.networking.k8s.io', 'kind': 'HTTPRoute'}, {'group': 'gateway.networking.k8s.io', 'kind': 'GRPCRoute'}]}]}} [ocp_resources Gateway] 2026-09-10T09:28:17.567528Z [info ] Wait until Gateway e2e-aigw-e6662c7d is deleted [ocp_resources Gateway] 2026-09-10T09:28:17.567739Z [info ] Waiting for 240 seconds [0:04:00], retry every 1 seconds. (Function: ocp_resources.resource.wait_deleted.lambda: self.exists) [timeout_sampler] 2026-09-10T09:28:17.590542Z [success ] Function: lambda: self.exists succeeded after 8.463859558105469e-05 [0:00:00.000085]. [timeout_sampler] 2026-09-10T09:28:17.590706Z [info ] Delete ConfigMap e2e-aigw-e6662c7d-config [ocp_resources ConfigMap] 2026-09-10T09:28:17.628852Z [info ] Deleting {'kind': 'ConfigMap', 'apiVersion': 'v1', 'metadata': {'name': 'e2e-aigw-e6662c7d-config', 'namespace': 'openshift-ingress', 'uid': 'a9790bf1-155d-410e-9f58-f6f3d24f1a9b', 'resourceVersion': '90757', 'creationTimestamp': '2026-09-10T09:27:31Z', 'managedFields': [{'manager': 'OpenAPI-Generator', 'operation': 'Update', 'apiVersion': 'v1', 'time': '2026-09-10T09:27:31Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:data': {'.': {}, 'f:service': {}}}}]}, 'data': '*******'} [ocp_resources ConfigMap] 2026-09-10T09:28:17.662994Z [info ] Wait until ConfigMap e2e-aigw-e6662c7d-config is deleted [ocp_resources ConfigMap] 2026-09-10T09:28:17.663158Z [info ] Waiting for 240 seconds [0:04:00], retry every 1 seconds. (Function: ocp_resources.resource.wait_deleted.lambda: self.exists) [timeout_sampler] 2026-09-10T09:28:17.683799Z [success ] Function: lambda: self.exists succeeded after 0.00011110305786132812 [0:00:00.000111]. [timeout_sampler] 2026-09-10T09:28:17.684105Z [info ] ResourceEdits: Restoring data for resource DataScienceCluster default-dsc [ocp_resources.resource] 2026-09-10T09:28:17.684297Z [info ] Update DataScienceCluster default-dsc: {'spec': {'components': {'aigateway': {'modelsAsAService': {}}}}, 'metadata': {'name': 'default-dsc'}} [ocp_resources DataScienceCluster] 2026-09-10T09:28:17.765142Z [info ] ResourceEdit: Backing up old data [ocp_resources.resource] 2026-09-10T09:28:17.784108Z [info ] ResourceEdits: Updating data for resource DataScienceCluster default-dsc [ocp_resources.resource] 2026-09-10T09:28:17.784292Z [info ] Update DataScienceCluster default-dsc: {'spec': {'components': {'aigateway': {'managementState': 'Managed', 'modelsAsAService': {'managementState': 'Managed'}}}}, 'metadata': {'name': 'default-dsc'}} [ocp_resources DataScienceCluster] 2026-09-10T09:28:17.847292Z [info ] ResourceEdits: Restoring data for resource DataScienceCluster default-dsc [ocp_resources.resource] 2026-09-10T09:28:17.847496Z [info ] Update DataScienceCluster default-dsc: {'spec': {'components': {'aigateway': {'modelsAsAService': {}}}}, 'metadata': {'name': 'default-dsc'}} [ocp_resources DataScienceCluster] 2026-09-10T09:28:17.907287Z [info ] Wait for DataScienceCluster/default-dsc's 'Ready' condition to be 'True' [ocp_resources DataScienceCluster] 2026-09-10T09:28:17.907470Z [info ] Wait until DataScienceCluster default-dsc is created [ocp_resources DataScienceCluster] 2026-09-10T09:28:17.907604Z [info ] Waiting for 600 seconds [0:10:00], retry every 1 seconds. (Function: ocp_resources.resource.wait.lambda: self.exists) [timeout_sampler] 2026-09-10T09:28:17.924474Z [success ] Function: lambda: self.exists succeeded after 6.008148193359375e-05 [0:00:00.000060]. [timeout_sampler] 2026-09-10T09:28:17.924703Z [info ] Waiting for 599.9827373027802 seconds [0:09:59.982737], retry every 1 seconds. (Function: ocp_resources.resource.wait_for_condition.lambda: self.instance) [timeout_sampler] 2026-09-10T09:28:17.943207Z [success ] Function: lambda: self.instance succeeded after 8.749961853027344e-05 [0:00:00.000087]. [timeout_sampler] 2026-09-10T09:28:17.943429Z [info ] ResourceEdits: Restoring data for resource Gateway maas-default-gateway [ocp_resources.resource] 2026-09-10T09:28:17.943611Z [info ] Update Gateway maas-default-gateway: {'metadata': {'annotations': {}, 'name': 'maas-default-gateway'}} [ocp_resources Gateway] _ 10 of 10 completed, 10 Pass, 0 Fail, 0 Skip, 0 XPass, 0 XFail, 0 Error, 0 ReRun _ ===================== 10 passed, 197 deselected in 49.37s ====================== - generated xml file: /workspace/tests-shared/tests-payload/results/maas_billing-smoke.xml - ===================== 10 passed, 197 deselected in 49.37s ======================