--- pytest attempt 2026-07-17T07:52:34.196635+00:00 (/.local/bin/uv --directory /home/odh/opendatahub-tests...) --- 2026-07-17T07:52:36.328135Z [info ] Writing tests log to /home/odh/opendatahub-tests/results/pytest-tests.log [conftest] 2026-07-17T07:52:36.328638Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] /workspace/tests-shared/tests-payload/.tools/python/urllib3/connectionpool.py:1110: InsecureRequestWarning: Unverified HTTPS request is being made to host 'api.rh-nightly-pm.nuth.p3.openshiftapps.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings warnings.warn( /workspace/tests-shared/tests-payload/.tools/python/urllib3/connectionpool.py:1110: InsecureRequestWarning: Unverified HTTPS request is being made to host 'api.rh-nightly-pm.nuth.p3.openshiftapps.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings warnings.warn( /workspace/tests-shared/tests-payload/.tools/python/urllib3/connectionpool.py:1110: InsecureRequestWarning: Unverified HTTPS request is being made to host 'api.rh-nightly-pm.nuth.p3.openshiftapps.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings warnings.warn( /workspace/tests-shared/tests-payload/.tools/python/urllib3/connectionpool.py:1110: InsecureRequestWarning: Unverified HTTPS request is being made to host 'api.rh-nightly-pm.nuth.p3.openshiftapps.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings warnings.warn( /workspace/tests-shared/tests-payload/.tools/python/urllib3/connectionpool.py:1110: InsecureRequestWarning: Unverified HTTPS request is being made to host 'api.rh-nightly-pm.nuth.p3.openshiftapps.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings warnings.warn( 2026-07-17T07:52:36.448226Z [info ] kind: DataScienceCluster api version: datasciencecluster.opendatahub.io/v2 [ocp_resources.resource] /workspace/tests-shared/tests-payload/.tools/python/urllib3/connectionpool.py:1110: InsecureRequestWarning: Unverified HTTPS request is being made to host 'api.rh-nightly-pm.nuth.p3.openshiftapps.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings warnings.warn( /workspace/tests-shared/tests-payload/.tools/python/urllib3/connectionpool.py:1110: InsecureRequestWarning: Unverified HTTPS request is being made to host 'api.rh-nightly-pm.nuth.p3.openshiftapps.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings warnings.warn( /workspace/tests-shared/tests-payload/.tools/python/urllib3/connectionpool.py:1110: InsecureRequestWarning: Unverified HTTPS request is being made to host 'api.rh-nightly-pm.nuth.p3.openshiftapps.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings warnings.warn( /workspace/tests-shared/tests-payload/.tools/python/urllib3/connectionpool.py:1110: InsecureRequestWarning: Unverified HTTPS request is being made to host 'api.rh-nightly-pm.nuth.p3.openshiftapps.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings warnings.warn( 2026-07-17T07:52:36.516054Z [info ] kind: DSCInitialization api version: dscinitialization.opendatahub.io/v2 [ocp_resources.resource] /workspace/tests-shared/tests-payload/.tools/python/urllib3/connectionpool.py:1110: InsecureRequestWarning: Unverified HTTPS request is being made to host 'api.rh-nightly-pm.nuth.p3.openshiftapps.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings warnings.warn( ============================= test session starts ============================== platform linux -- Python 3.14.6, pytest-9.1.1, pluggy-1.6.0 -- /home/odh/opendatahub-tests/.venv/bin/python3 cachedir: .pytest_cache metadata: {'Python': '3.14.6', 'Platform': 'Linux-5.14.0-570.122.1.el9_6.x86_64-x86_64-with-glibc2.42', 'Packages': {'pytest': '9.1.1', 'pluggy': '1.6.0'}, 'Plugins': {'anyio': '4.14.0', 'langsmith': '0.9.0', '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.3.2'}} rootdir: /home/odh/opendatahub-tests configfile: pytest.ini plugins: anyio-4.14.0, langsmith-0.9.0, 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.3.2 asyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function collecting ... collected 175 items / 168 deselected / 7 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-07-17T07:52:36.921912Z [info ] Executing session fixture: event_loop_policy [conftest] 2026-07-17T07:52:36.922174Z [info ] Executing session fixture: _syrupy_apply_ide_patches [conftest] 2026-07-17T07:52:36.923928Z [info ] Executing session fixture: admin_client [conftest] 2026-07-17T07:52:36.924136Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-17T07:52:36.925653Z [info ] Executing session fixture: dsc_resource [conftest] 2026-07-17T07:52:36.925768Z [info ] kind: DataScienceCluster api version: datasciencecluster.opendatahub.io/v2 [ocp_resources.resource] 2026-07-17T07:52:36.992485Z [info ] Executing session fixture: tmp_path_factory [conftest] 2026-07-17T07:52:36.992700Z [info ] Executing session fixture: tests_tmp_dir [conftest] 2026-07-17T07:52:36.993452Z [info ] Executing session fixture: os_path_environment [conftest] 2026-07-17T07:52:36.993575Z [info ] Executing session fixture: tmpdir_factory [conftest] 2026-07-17T07:52:36.993691Z [info ] Executing session fixture: bin_directory [conftest] 2026-07-17T07:52:36.994474Z [info ] Executing session fixture: oc_binary_path [conftest] 2026-07-17T07:52:37.009787Z [info ] kind: ConsoleCLIDownload api version: console.openshift.io/v1 [ocp_resources.resource] 2026-07-17T07:52:37.039826Z [info ] All oc console cli download links: ['https://downloads-openshift-console.apps.rosa.rh-nightly-pm.nuth.p3.openshiftapps.com/amd64/linux/oc.tar'] [utilities.infra] name=utilities.infra 2026-07-17T07:52:37.040038Z [info ] Downloading archive using: url=https://downloads-openshift-console.apps.rosa.rh-nightly-pm.nuth.p3.openshiftapps.com/amd64/linux/oc.tar [utilities.infra] name=utilities.infra 2026-07-17T07:52:37.042155Z [info ] Waiting for 120 seconds [0:02:00], retry every 10 seconds. (Function: utilities.infra._download_with_retry Kwargs: {'url': 'https://downloads-openshift-console.apps.rosa.rh-nightly-pm.nuth.p3.openshiftapps.com/amd64/linux/oc.tar'}) [timeout_sampler] 2026-07-17T07:52:37.126044Z [info ] Elapsed time: 6.270408630371094e-05 [0:00:00.000063] [timeout_sampler] 2026-07-17T07:52:38.028899Z [info ] Extract the downloaded archive. [utilities.infra] name=utilities.infra 2026-07-17T07:52:38.179457Z [info ] Downloaded file: ['oc']  [utilities.infra] name=utilities.infra 2026-07-17T07:52:38.214917Z [info ] Executing session fixture: bin_directory_to_os_path [conftest] 2026-07-17T07:52:38.210089Z [info ] OC binary path: /tmp/pytest-iFnEPWx5s2ftpn9oQWYsJK/bin0/oc [tests.conftest] name=tests.conftest 2026-07-17T07:52:38.210226Z [info ] Adding /tmp/pytest-iFnEPWx5s2ftpn9oQWYsJK/bin0 to $PATH [tests.conftest] name=tests.conftest 2026-07-17T07:52:38.215406Z [info ] Executing session fixture: nodes [conftest] 2026-07-17T07:52:39.339877Z [info ] Executing session fixture: dsci_resource [conftest] 2026-07-17T07:52:39.340166Z [info ] kind: DSCInitialization api version: dscinitialization.opendatahub.io/v2 [ocp_resources.resource] 2026-07-17T07:52:39.356925Z [info ] Executing session fixture: record_testsuite_property [conftest] 2026-07-17T07:52:39.357182Z [info ] Executing session fixture: junitxml_plugin [conftest] 2026-07-17T07:52:39.357321Z [info ] Executing session fixture: cluster_sanity_scope_session [conftest] 2026-07-17T07:52:39.356251Z [info ] Check cluster sanity.  [utilities.infra] name=utilities.infra 2026-07-17T07:52:39.357537Z [info ] Verify all nodes are in a healthy condition. [ocp_utilities.infra] 2026-07-17T07:52:39.408021Z [info ] Verify all nodes are schedulable. [ocp_utilities.infra] 2026-07-17T07:52:39.455407Z [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-07-17T07:52:39.454894Z [info ] Wait for DSCI default-dsci to be in Ready status. [utilities.infra] name=utilities.infra 2026-07-17T07:52:39.455711Z [info ] Get DSCInitialization default-dsci status [ocp_resources DSCInitialization] 2026-07-17T07:52:39.471752Z [info ] Elapsed time: 0.00012254714965820312 [0:00:00.000123] [timeout_sampler] 2026-07-17T07:52:39.471930Z [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-07-17T07:52:39.471236Z [info ] Wait for DSC default-dsc are Ready. [utilities.infra] name=utilities.infra 2026-07-17T07:52:39.472319Z [info ] Get DataScienceCluster default-dsc status [ocp_resources DataScienceCluster] 2026-07-17T07:52:39.490597Z [info ] Elapsed time: 8.988380432128906e-05 [0:00:00.000090] [timeout_sampler] 2026-07-17T07:52:39.490727Z [info ] Executing session fixture: autouse_fixtures [conftest] 2026-07-17T07:52:39.490846Z [info ] Executing session fixture: maas_gateway_api_hostname [conftest] 2026-07-17T07:52:39.490995Z [info ] kind: Ingress api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-17T07:52:39.522097Z [info ] Executing session fixture: maas_gateway_api [conftest] 2026-07-17T07:52:39.547407Z [info ] kind: Gateway api version: gateway.networking.k8s.io/v1 [ocp_resources.resource] 2026-07-17T07:52:39.564249Z [info ] Reusing existing gateway openshift-ingress/maas-default-gateway [conftest] name=conftest 2026-07-17T07:52:39.565086Z [info ] Wait for Gateway/maas-default-gateway's 'Programmed' condition to be 'True' [ocp_resources Gateway] 2026-07-17T07:52:39.565224Z [info ] Wait until Gateway maas-default-gateway is created [ocp_resources Gateway] 2026-07-17T07:52:39.565347Z [info ] Waiting for 300 seconds [0:05:00], retry every 1 seconds. (Function: ocp_resources.resource.wait.lambda: self.exists) [timeout_sampler] 2026-07-17T07:52:39.581521Z [info ] Elapsed time: 3.6716461181640625e-05 [0:00:00.000037] [timeout_sampler] 2026-07-17T07:52:39.581679Z [info ] Waiting for 299.9833755493164 seconds [0:04:59.983376], retry every 1 seconds. (Function: ocp_resources.resource.wait_for_condition.lambda: self.instance) [timeout_sampler] 2026-07-17T07:52:39.598937Z [info ] Elapsed time: 4.5299530029296875e-05 [0:00:00.000045] [timeout_sampler] 2026-07-17T07:52:39.599185Z [info ] ResourceEdit: Backing up old data [ocp_resources.resource] 2026-07-17T07:52:39.618698Z [info ] ResourceEdits: Updating data for resource Gateway maas-default-gateway [ocp_resources.resource] 2026-07-17T07:52:39.618851Z [info ] Update Gateway maas-default-gateway: {'metadata': {'annotations': {'security.opendatahub.io/authorino-tls-bootstrap': 'true'}, 'name': 'maas-default-gateway'}} [ocp_resources Gateway] 2026-07-17T07:52:39.644553Z [info ] Executing session fixture: pytestconfig [conftest] 2026-07-17T07:52:39.644740Z [info ] Executing session fixture: use_unprivileged_client [conftest] 2026-07-17T07:52:39.644904Z [info ] Executing session fixture: kubconfig_filepath [conftest] 2026-07-17T07:52:39.645143Z [info ] Executing session fixture: cluster_authentication [conftest] 2026-07-17T07:52:39.645289Z [info ] kind: Authentication api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-17T07:52:39.660574Z [info ] Executing session fixture: is_byoidc [conftest] 2026-07-17T07:52:39.676812Z [info ] Executing session fixture: non_admin_user_password [conftest] 2026-07-17T07:52:39.709134Z [info ] Executing session fixture: unprivileged_client [conftest] 2026-07-17T07:52:39.709274Z [info ] Running oc whoami command  [pyhelper_utils.shell] 2026-07-17T07:52:39.831042Z [info ] Running Hide By User command  [pyhelper_utils.shell] 2026-07-17T07:52:40.550896Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-17T07:52:40.814911Z [info ] Executing session fixture: maas_subscription_namespace [conftest] 2026-07-17T07:52:40.829465Z [info ] Namespace models-as-a-service already exists, reusing it [conftest] name=conftest 2026-07-17T07:52:40.830551Z [info ] Executing session fixture: maas_subscription_controller_enabled_latest [conftest] 2026-07-17T07:52:40.830674Z [info ] ResourceEdit: Backing up old data [ocp_resources.resource] 2026-07-17T07:52:40.862467Z [info ] ResourceEdits: Updating data for resource DataScienceCluster default-dsc [ocp_resources.resource] 2026-07-17T07:52:40.862664Z [info ] Update DataScienceCluster default-dsc: {'spec': {'components': {'kserve': {'modelsAsService': {'managementState': 'Managed'}}}}, 'metadata': {'name': 'default-dsc'}} [ocp_resources DataScienceCluster] 2026-07-17T07:52:40.935771Z [info ] Wait for DataScienceCluster/default-dsc's 'ModelsAsServiceReady' condition to be 'True' [ocp_resources DataScienceCluster] 2026-07-17T07:52:40.936159Z [info ] Wait until DataScienceCluster default-dsc is created [ocp_resources DataScienceCluster] 2026-07-17T07:52:40.936374Z [info ] Waiting for 900 seconds [0:15:00], retry every 1 seconds. (Function: ocp_resources.resource.wait.lambda: self.exists) [timeout_sampler] 2026-07-17T07:52:40.954031Z [info ] Elapsed time: 4.220008850097656e-05 [0:00:00.000042] [timeout_sampler] 2026-07-17T07:52:40.954328Z [info ] Waiting for 899.9817116260529 seconds [0:14:59.981712], retry every 1 seconds. (Function: ocp_resources.resource.wait_for_condition.lambda: self.instance) [timeout_sampler] 2026-07-17T07:52:40.972754Z [info ] Elapsed time: 3.218650817871094e-05 [0:00:00.000032] [timeout_sampler] 2026-07-17T07:52:40.973129Z [info ] Wait for DataScienceCluster/default-dsc's 'Ready' condition to be 'True' [ocp_resources DataScienceCluster] 2026-07-17T07:52:40.973359Z [info ] Wait until DataScienceCluster default-dsc is created [ocp_resources DataScienceCluster] 2026-07-17T07:52:40.973472Z [info ] Waiting for 600 seconds [0:10:00], retry every 1 seconds. (Function: ocp_resources.resource.wait.lambda: self.exists) [timeout_sampler] 2026-07-17T07:52:40.991721Z [info ] Elapsed time: 2.7418136596679688e-05 [0:00:00.000027] [timeout_sampler] 2026-07-17T07:52:40.992105Z [info ] Waiting for 599.9810206890106 seconds [0:09:59.981021], retry every 1 seconds. (Function: ocp_resources.resource.wait_for_condition.lambda: self.instance) [timeout_sampler] 2026-07-17T07:52:41.012639Z [info ] Elapsed time: 3.24249267578125e-05 [0:00:00.000032] [timeout_sampler] 2026-07-17T07:52:41.012778Z [info ] Executing session fixture: bbr_gateway_namespace [conftest] 2026-07-17T07:52:41.028263Z [info ] Executing class fixture: bbr_envoy_filter_config_patches [conftest] 2026-07-17T07:52:41.068317Z [info ] kind: EnvoyFilter api version: networking.istio.io/v1alpha3 [ocp_resources.resource] PASSED _ 1 of 7 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-07-17T07:52:41.100407Z [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'] [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-07-17T07:52:41.108187Z [info ] kind: Deployment api version: apps/v1 [ocp_resources.resource] PASSED _ 2 of 7 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_setup.py::TestBBRSetup::test_bbr_pre_processing_deployment_ready 2026-07-17T07:52:41.168677Z [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_pre_processing_deployment_ready --------------------------------------- -------------------------------------------------------- SETUP -------------------------------------------------------- --------------------------------------------------------- CALL --------------------------------------------------------- PASSED _ 3 of 7 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_setup.py::TestBBRSetup::test_bbr_pre_processing_service_exposes_port_9004 2026-07-17T07:52:41.231077Z [info ] Deployment 'openshift-ingress/payload-pre-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: TestBBRSetup.test_bbr_pre_processing_deployment_ready STATUS: PASSED ------------------------------------------------------- TEARDOWN -------------------------------------------------------  ---------------------------------- test_bbr_pre_processing_service_exposes_port_9004 ---------------------------------- -------------------------------------------------------- SETUP -------------------------------------------------------- --------------------------------------------------------- CALL --------------------------------------------------------- PASSED _ 4 of 7 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_setup.py::TestBBRSetup::test_bbr_pre_processing_destination_rule_exists 2026-07-17T07:52:41.263709Z [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 --------------------------------------------------------- 2026-07-17T07:52:41.269678Z [info ] kind: DestinationRule api version: networking.istio.io/v1 [ocp_resources.resource] PASSED _ 5 of 7 completed, 5 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 2026-07-17T07:52:41.281261Z [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 -------------------------------------------------------  ----------------------------------------------- test_aitenant_crd_exists ----------------------------------------------- -------------------------------------------------------- SETUP -------------------------------------------------------- --------------------------------------------------------- CALL --------------------------------------------------------- 2026-07-17T07:52:41.285494Z [info ] kind: CustomResourceDefinition api version: apiextensions.k8s.io/v1 [ocp_resources.resource] PASSED _ 6 of 7 completed, 6 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 2026-07-17T07:52:41.318513Z [info ] AITenant CRD 'aitenants.maas.opendatahub.io' exists [_pytest.compat] name=multitenancy.aitenant.test_tenant_setup  TEST: TestAITenantTenantSetup.test_aitenant_crd_exists STATUS: PASSED ------------------------------------------------------- TEARDOWN -------------------------------------------------------  -------------------------------- test_aitenant_bootstrap_does_not_break_default_tenant -------------------------------- -------------------------------------------------------- SETUP -------------------------------------------------------- 2026-07-17T07:52:41.321598Z [info ] Executing session fixture: aitenant_infra_namespace [conftest] 2026-07-17T07:52:41.337345Z [info ] Executing session fixture: teardown_resources [conftest] 2026-07-17T07:52:41.337487Z [info ] Executing function fixture: aitenant_test_params [conftest] 2026-07-17T07:52:41.337618Z [info ] Executing function fixture: aitenant_bootstrap_gateway [conftest] 2026-07-17T07:52:41.337741Z [info ] kind: Gateway api version: gateway.networking.k8s.io/v1 [ocp_resources.resource] 2026-07-17T07:52:41.337864Z [info ] Create Gateway e2e-aigw-47b5d2b5 [ocp_resources Gateway] 2026-07-17T07:52:41.338022Z [info ] Posting {'apiVersion': 'gateway.networking.k8s.io/v1', 'kind': 'Gateway', 'metadata': {'name': 'e2e-aigw-47b5d2b5', 'namespace': 'openshift-ingress'}, 'spec': {'gatewayClassName': 'openshift-default', 'listeners': [{'name': 'http', 'port': 80, 'protocol': 'HTTP'}]}} [ocp_resources Gateway] 2026-07-17T07:52:41.381043Z [info ] Executing function fixture: aitenant [conftest] 2026-07-17T07:52:41.409535Z [info ] kind: AITenant api version: maas.opendatahub.io/v1alpha1 [ocp_resources.resource] 2026-07-17T07:52:41.409907Z [info ] Create AITenant e2e-aigw-47b5d2b5 [ocp_resources AITenant] 2026-07-17T07:52:41.410235Z [info ] Posting {'apiVersion': 'maas.opendatahub.io/v1alpha1', 'kind': 'AITenant', 'metadata': {'name': 'e2e-aigw-47b5d2b5', 'namespace': 'ai-tenants'}, 'spec': {'gateway': {'name': 'e2e-aigw-47b5d2b5'}}} [ocp_resources AITenant] 2026-07-17T07:52:41.464713Z [info ] Wait until AITenant e2e-aigw-47b5d2b5 is created [ocp_resources AITenant] 2026-07-17T07:52:41.664838Z [info ] Waiting for 240 seconds [0:04:00], retry every 1 seconds. (Function: ocp_resources.resource.wait.lambda: self.exists) [timeout_sampler] 2026-07-17T07:52:41.665172Z [info ] Elapsed time: 7.05718994140625e-05 [0:00:00.000071] [timeout_sampler] 2026-07-17T07:52:41.665324Z [info ] Executing function fixture: ready_aitenant [conftest] 2026-07-17T07:52:41.694315Z [info ] Wait for AITenant/e2e-aigw-47b5d2b5's 'Ready' condition to be 'True' [ocp_resources AITenant] 2026-07-17T07:52:41.694446Z [info ] Wait until AITenant e2e-aigw-47b5d2b5 is created [ocp_resources AITenant] 2026-07-17T07:52:41.694624Z [info ] Waiting for 300 seconds [0:05:00], retry every 1 seconds. (Function: ocp_resources.resource.wait.lambda: self.exists) [timeout_sampler] 2026-07-17T07:52:41.710656Z [info ] Elapsed time: 3.600120544433594e-05 [0:00:00.000036] [timeout_sampler] 2026-07-17T07:52:41.710814Z [info ] Waiting for 299.98374938964844 seconds [0:04:59.983749], retry every 1 seconds. (Function: ocp_resources.resource.wait_for_condition.lambda: self.instance) [timeout_sampler] 2026-07-17T07:52:46.808224Z [info ] Elapsed time: 5.081339359283447 [0:00:05.081339] [timeout_sampler] 2026-07-17T07:52:46.823838Z [info ] Executing function fixture: aitenant_for_test [conftest] --------------------------------------------------------- CALL --------------------------------------------------------- 2026-07-17T07:52:46.855038Z [info ] Wait for AITenant/e2e-aigw-47b5d2b5's 'Ready' condition to be 'True' [ocp_resources AITenant] 2026-07-17T07:52:46.855199Z [info ] Wait until AITenant e2e-aigw-47b5d2b5 is created [ocp_resources AITenant] 2026-07-17T07:52:46.855346Z [info ] Waiting for 300 seconds [0:05:00], retry every 1 seconds. (Function: ocp_resources.resource.wait.lambda: self.exists) [timeout_sampler] 2026-07-17T07:52:46.870604Z [info ] Elapsed time: 3.6716461181640625e-05 [0:00:00.000037] [timeout_sampler] 2026-07-17T07:52:46.870765Z [info ] Waiting for 299.98465490341187 seconds [0:04:59.984655], retry every 1 seconds. (Function: ocp_resources.resource.wait_for_condition.lambda: self.instance) [timeout_sampler] 2026-07-17T07:52:46.889980Z [info ] Elapsed time: 6.556510925292969e-05 [0:00:00.000066] [timeout_sampler] 2026-07-17T07:52:46.905908Z [info ] kind: Tenant api version: maas.opendatahub.io/v1alpha1 [ocp_resources.resource] 2026-07-17T07:52:46.922971Z [info ] Wait for Tenant/default-tenant's 'Ready' condition to be 'True' [ocp_resources Tenant] 2026-07-17T07:52:46.923188Z [info ] Wait until Tenant default-tenant is created [ocp_resources Tenant] 2026-07-17T07:52:46.923331Z [info ] Waiting for 300 seconds [0:05:00], retry every 1 seconds. (Function: ocp_resources.resource.wait.lambda: self.exists) [timeout_sampler] 2026-07-17T07:52:46.938637Z [info ] Elapsed time: 3.314018249511719e-05 [0:00:00.000033] [timeout_sampler] 2026-07-17T07:52:46.938790Z [info ] Waiting for 299.98455572128296 seconds [0:04:59.984556], retry every 1 seconds. (Function: ocp_resources.resource.wait_for_condition.lambda: self.instance) [timeout_sampler] PASSED2026-07-17T07:52:46.954894Z [info ] Elapsed time: 0.00010204315185546875 [0:00:00.000102] [timeout_sampler] 2026-07-17T07:52:46.953617Z [info ] Regression check passed: Tenant/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-07-17T07:52:46.955548Z [info ] Delete AITenant e2e-aigw-47b5d2b5 [ocp_resources AITenant] 2026-07-17T07:52:47.000426Z [info ] Deleting {'apiVersion': 'maas.opendatahub.io/v1alpha1', 'kind': 'AITenant', 'metadata': {'creationTimestamp': '2026-07-17T07:52:41Z', '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-07-17T07:52:41Z'}, {'apiVersion': 'maas.opendatahub.io/v1alpha1', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:metadata': {'f:finalizers': {'.': {}, 'v:"maas.opendatahub.io/aitenant-cleanup"': {}}}}, 'manager': 'manager', 'operation': 'Update', 'time': '2026-07-17T07:52:41Z'}, {'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-07-17T07:52:45Z'}], 'name': 'e2e-aigw-47b5d2b5', 'namespace': 'ai-tenants', 'resourceVersion': '222296826', 'uid': 'b9dd8074-a47b-4870-b455-e1a98ef5d7a4'}, 'spec': {'gateway': {'name': 'e2e-aigw-47b5d2b5'}}, 'status': {'conditions': [{'lastTransitionTime': '2026-07-17T07:52:45Z', 'message': 'AITenant bootstrap resources are reconciled', 'observedGeneration': 1, 'reason': 'Reconciled', 'status': 'True', 'type': 'Ready'}], 'gatewayRef': {'name': 'e2e-aigw-47b5d2b5', 'namespace': 'openshift-ingress'}, 'phase': 'Active', 'tenantNamespace': 'ai-tenant-e2e-aigw-47b5d2b5'}} [ocp_resources AITenant] 2026-07-17T07:52:47.025162Z [info ] Wait until AITenant e2e-aigw-47b5d2b5 is deleted [ocp_resources AITenant] 2026-07-17T07:52:47.025288Z [info ] Waiting for 240 seconds [0:04:00], retry every 1 seconds. (Function: ocp_resources.resource.wait_deleted.lambda: self.exists) [timeout_sampler] 2026-07-17T07:52:48.061493Z [info ] Elapsed time: 1.0178017616271973 [0:00:01.017802] [timeout_sampler] 2026-07-17T07:52:48.061635Z [info ] Delete Gateway e2e-aigw-47b5d2b5 [ocp_resources Gateway] 2026-07-17T07:52:48.103401Z [info ] Deleting {'apiVersion': 'gateway.networking.k8s.io/v1', 'kind': 'Gateway', 'metadata': {'creationTimestamp': '2026-07-17T07:52:41Z', '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-07-17T07:52:41Z'}, {'apiVersion': 'gateway.networking.k8s.io/v1', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:spec': {}}, 'manager': 'OpenAPI-Generator', 'operation': 'Update', 'time': '2026-07-17T07:52:41Z'}, {'apiVersion': 'gateway.networking.k8s.io/v1', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:metadata': {'f:labels': {'.': {}, 'f:istio.io/rev': {}}}}, 'manager': 'ingress-operator', 'operation': 'Update', 'time': '2026-07-17T07:52:41Z'}, {'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': {}}}}}, 'manager': 'pilot-discovery', 'operation': 'Update', 'subresource': 'status', 'time': '2026-07-17T07:52:46Z'}, {'apiVersion': 'gateway.networking.k8s.io/v1', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:status': {'f:conditions': {'k:{"type":"kuadrant.io/TokenRateLimitPolicyAffected"}': {'.': {}, 'f:lastTransitionTime': {}, 'f:message': {}, 'f:observedGeneration': {}, 'f:reason': {}, 'f:status': {}, 'f:type': {}}}, 'f:listeners': {'k:{"name":"http"}': {'f:conditions': {'k:{"type":"kuadrant.io/TokenRateLimitPolicyAffected"}': {'.': {}, 'f:lastTransitionTime': {}, 'f:message': {}, 'f:observedGeneration': {}, 'f:reason': {}, 'f:status': {}, 'f:type': {}}}}}}}, 'manager': 'manager', 'operation': 'Update', 'subresource': 'status', 'time': '2026-07-17T07:52:47Z'}], 'name': 'e2e-aigw-47b5d2b5', 'namespace': 'openshift-ingress', 'resourceVersion': '222296935', 'uid': '6c6a69f6-a8c9-43dc-95a8-74dd5146417c'}, 'spec': {'gatewayClassName': 'openshift-default', 'listeners': [{'allowedRoutes': {'namespaces': {'from': 'Same'}}, 'name': 'http', 'port': 80, 'protocol': 'HTTP'}]}, 'status': {'addresses': [{'type': 'Hostname', 'value': 'ad8217a2320894091836260df988a08c-1698402013.us-east-2.elb.amazonaws.com'}], 'conditions': [{'lastTransitionTime': '2026-07-17T07:52:41Z', 'message': 'Resource accepted', 'observedGeneration': 1, 'reason': 'Accepted', 'status': 'True', 'type': 'Accepted'}, {'lastTransitionTime': '2026-07-17T07:52:46Z', 'message': 'Resource programmed, assigned to service(s) e2e-aigw-47b5d2b5-openshift-default.openshift-ingress.svc.cluster.local:80', 'observedGeneration': 1, 'reason': 'Programmed', 'status': 'True', 'type': 'Programmed'}, {'lastTransitionTime': '2026-07-17T07:52:47Z', 'message': 'Object affected by TokenRateLimitPolicy [openshift-ingress/gateway-default-deny-e2e-aigw-47b5d2b5]', 'observedGeneration': 1, 'reason': 'Accepted', 'status': 'True', 'type': 'kuadrant.io/TokenRateLimitPolicyAffected'}], 'listeners': [{'attachedRoutes': 0, 'conditions': [{'lastTransitionTime': '2026-07-17T07:52:41Z', 'message': 'No errors found', 'observedGeneration': 1, 'reason': 'Accepted', 'status': 'True', 'type': 'Accepted'}, {'lastTransitionTime': '2026-07-17T07:52:41Z', 'message': 'No errors found', 'observedGeneration': 1, 'reason': 'NoConflicts', 'status': 'False', 'type': 'Conflicted'}, {'lastTransitionTime': '2026-07-17T07:52:41Z', 'message': 'No errors found', 'observedGeneration': 1, 'reason': 'Programmed', 'status': 'True', 'type': 'Programmed'}, {'lastTransitionTime': '2026-07-17T07:52:41Z', 'message': 'No errors found', 'observedGeneration': 1, 'reason': 'ResolvedRefs', 'status': 'True', 'type': 'ResolvedRefs'}, {'lastTransitionTime': '2026-07-17T07:52:47Z', 'message': 'Object affected by TokenRateLimitPolicy [openshift-ingress/gateway-default-deny-e2e-aigw-47b5d2b5]', 'observedGeneration': 1, 'reason': 'Accepted', 'status': 'True', 'type': 'kuadrant.io/TokenRateLimitPolicyAffected'}], 'name': 'http', 'supportedKinds': [{'group': 'gateway.networking.k8s.io', 'kind': 'HTTPRoute'}, {'group': 'gateway.networking.k8s.io', 'kind': 'GRPCRoute'}]}]}} [ocp_resources Gateway] 2026-07-17T07:52:48.122864Z [info ] Wait until Gateway e2e-aigw-47b5d2b5 is deleted [ocp_resources Gateway] 2026-07-17T07:52:48.123117Z [info ] Waiting for 240 seconds [0:04:00], retry every 1 seconds. (Function: ocp_resources.resource.wait_deleted.lambda: self.exists) [timeout_sampler] 2026-07-17T07:52:48.141740Z [info ] Elapsed time: 6.461143493652344e-05 [0:00:00.000065] [timeout_sampler] 2026-07-17T07:52:48.141919Z [info ] ResourceEdits: Restoring data for resource DataScienceCluster default-dsc [ocp_resources.resource] 2026-07-17T07:52:48.142170Z [info ] Update DataScienceCluster default-dsc: {'spec': {'components': {'kserve': {'modelsAsService': {}}}}, 'metadata': {'name': 'default-dsc'}} [ocp_resources DataScienceCluster] 2026-07-17T07:52:48.198526Z [info ] Wait for DataScienceCluster/default-dsc's 'Ready' condition to be 'True' [ocp_resources DataScienceCluster] 2026-07-17T07:52:48.198656Z [info ] Wait until DataScienceCluster default-dsc is created [ocp_resources DataScienceCluster] 2026-07-17T07:52:48.198762Z [info ] Waiting for 600 seconds [0:10:00], retry every 1 seconds. (Function: ocp_resources.resource.wait.lambda: self.exists) [timeout_sampler] 2026-07-17T07:52:48.216472Z [info ] Elapsed time: 3.504753112792969e-05 [0:00:00.000035] [timeout_sampler] 2026-07-17T07:52:48.216599Z [info ] Waiting for 599.9818994998932 seconds [0:09:59.981899], retry every 1 seconds. (Function: ocp_resources.resource.wait_for_condition.lambda: self.instance) [timeout_sampler] 2026-07-17T07:52:48.235037Z [info ] Elapsed time: 3.2901763916015625e-05 [0:00:00.000033] [timeout_sampler] 2026-07-17T07:52:48.235188Z [info ] ResourceEdits: Restoring data for resource Gateway maas-default-gateway [ocp_resources.resource] 2026-07-17T07:52:48.235330Z [info ] Update Gateway maas-default-gateway: {'metadata': {'annotations': {}, 'name': 'maas-default-gateway'}} [ocp_resources Gateway] _ 7 of 7 completed, 7 Pass, 0 Fail, 0 Skip, 0 XPass, 0 XFail, 0 Error, 0 ReRun _ =============== 7 passed, 168 deselected, 55 warnings in 11.73s ================ =============================== warnings summary =============================== tests/model_serving/maas_billing/body_base_routing/pre_auth_model_header/test_bbr_envoy_filter.py: 8 warnings tests/model_serving/maas_billing/body_base_routing/pre_auth_model_header/test_bbr_setup.py: 7 warnings tests/model_serving/maas_billing/multitenancy/aitenant/test_tenant_setup.py: 40 warnings /workspace/tests-shared/tests-payload/.tools/python/urllib3/connectionpool.py:1110: InsecureRequestWarning: Unverified HTTPS request is being made to host 'api.rh-nightly-pm.nuth.p3.openshiftapps.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings warnings.warn( -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html - generated xml file: /workspace/tests-shared/tests-payload/results/maas_billing-smoke.xml - =============== 7 passed, 168 deselected, 55 warnings in 11.73s ================