--- pytest attempt 2026-07-16T22:38:59.363261+00:00 (/.local/bin/uv --directory /home/odh/opendatahub-tests...) --- 2026-07-16T22:39:01.518822Z [info ] Writing tests log to /home/odh/opendatahub-tests/results/pytest-tests.log [conftest] 2026-07-16T22:39:01.519348Z [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.nmanos-konflux1.durx.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.nmanos-konflux1.durx.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.nmanos-konflux1.durx.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.nmanos-konflux1.durx.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.nmanos-konflux1.durx.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-16T22:39:01.644073Z [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.nmanos-konflux1.durx.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.nmanos-konflux1.durx.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.nmanos-konflux1.durx.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.nmanos-konflux1.durx.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-16T22:39:01.716887Z [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.nmanos-konflux1.durx.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-16T22:39:02.123635Z [info ] Executing session fixture: event_loop_policy [conftest] 2026-07-16T22:39:02.123767Z [info ] Executing session fixture: _syrupy_apply_ide_patches [conftest] 2026-07-16T22:39:02.123892Z [info ] Executing session fixture: admin_client [conftest] 2026-07-16T22:39:02.124031Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-16T22:39:02.127094Z [info ] Executing session fixture: dsc_resource [conftest] 2026-07-16T22:39:02.127272Z [info ] kind: DataScienceCluster api version: datasciencecluster.opendatahub.io/v2 [ocp_resources.resource] 2026-07-16T22:39:02.202386Z [info ] Executing session fixture: tmp_path_factory [conftest] 2026-07-16T22:39:02.202612Z [info ] Executing session fixture: tests_tmp_dir [conftest] 2026-07-16T22:39:02.203642Z [info ] Executing session fixture: os_path_environment [conftest] 2026-07-16T22:39:02.203767Z [info ] Executing session fixture: tmpdir_factory [conftest] 2026-07-16T22:39:02.203882Z [info ] Executing session fixture: bin_directory [conftest] 2026-07-16T22:39:02.204778Z [info ] Executing session fixture: oc_binary_path [conftest] 2026-07-16T22:39:02.220991Z [info ] kind: ConsoleCLIDownload api version: console.openshift.io/v1 [ocp_resources.resource] 2026-07-16T22:39:02.254926Z [info ] All oc console cli download links: ['https://downloads-openshift-console.apps.rosa.nmanos-konflux1.durx.p3.openshiftapps.com/amd64/linux/oc.tar'] [utilities.infra] name=utilities.infra 2026-07-16T22:39:02.255056Z [info ] Downloading archive using: url=https://downloads-openshift-console.apps.rosa.nmanos-konflux1.durx.p3.openshiftapps.com/amd64/linux/oc.tar [utilities.infra] name=utilities.infra 2026-07-16T22:39:02.256160Z [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.nmanos-konflux1.durx.p3.openshiftapps.com/amd64/linux/oc.tar'}) [timeout_sampler] 2026-07-16T22:39:02.348776Z [info ] Elapsed time: 0.00010657310485839844 [0:00:00.000107] [timeout_sampler] 2026-07-16T22:39:03.076953Z [info ] Extract the downloaded archive. [utilities.infra] name=utilities.infra 2026-07-16T22:39:03.175269Z [info ] Downloaded file: ['oc']  [utilities.infra] name=utilities.infra 2026-07-16T22:39:03.194592Z [info ] Executing session fixture: bin_directory_to_os_path [conftest] 2026-07-16T22:39:03.193404Z [info ] OC binary path: /tmp/pytest-Mu2cLpcPdZymxMiAzJVHBE/bin0/oc [tests.conftest] name=tests.conftest 2026-07-16T22:39:03.193463Z [info ] Adding /tmp/pytest-Mu2cLpcPdZymxMiAzJVHBE/bin0 to $PATH [tests.conftest] name=tests.conftest 2026-07-16T22:39:03.194986Z [info ] Executing session fixture: nodes [conftest] 2026-07-16T22:39:04.401066Z [info ] Executing session fixture: dsci_resource [conftest] 2026-07-16T22:39:04.401262Z [info ] kind: DSCInitialization api version: dscinitialization.opendatahub.io/v2 [ocp_resources.resource] 2026-07-16T22:39:04.419227Z [info ] Executing session fixture: record_testsuite_property [conftest] 2026-07-16T22:39:04.419392Z [info ] Executing session fixture: junitxml_plugin [conftest] 2026-07-16T22:39:04.419520Z [info ] Executing session fixture: cluster_sanity_scope_session [conftest] 2026-07-16T22:39:04.418516Z [info ] Check cluster sanity.  [utilities.infra] name=utilities.infra 2026-07-16T22:39:04.419730Z [info ] Verify all nodes are in a healthy condition. [ocp_utilities.infra] 2026-07-16T22:39:04.472486Z [info ] Verify all nodes are schedulable. [ocp_utilities.infra] 2026-07-16T22:39:04.530766Z [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-16T22:39:04.530252Z [info ] Wait for DSCI default-dsci to be in Ready status. [utilities.infra] name=utilities.infra 2026-07-16T22:39:04.531052Z [info ] Get DSCInitialization default-dsci status [ocp_resources DSCInitialization] 2026-07-16T22:39:04.549504Z [info ] Elapsed time: 0.00010752677917480469 [0:00:00.000108] [timeout_sampler] 2026-07-16T22:39:04.549662Z [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-16T22:39:04.548904Z [info ] Wait for DSC default-dsc are Ready. [utilities.infra] name=utilities.infra 2026-07-16T22:39:04.549995Z [info ] Get DataScienceCluster default-dsc status [ocp_resources DataScienceCluster] 2026-07-16T22:39:04.570831Z [info ] Elapsed time: 8.416175842285156e-05 [0:00:00.000084] [timeout_sampler] 2026-07-16T22:39:04.570994Z [info ] Executing session fixture: autouse_fixtures [conftest] 2026-07-16T22:39:04.571129Z [info ] Executing session fixture: maas_gateway_api_hostname [conftest] 2026-07-16T22:39:04.571303Z [info ] kind: Ingress api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-16T22:39:04.605465Z [info ] Executing session fixture: maas_gateway_api [conftest] 2026-07-16T22:39:04.632231Z [info ] kind: Gateway api version: gateway.networking.k8s.io/v1 [ocp_resources.resource] 2026-07-16T22:39:04.652388Z [info ] Reusing existing gateway openshift-ingress/maas-default-gateway [conftest] name=conftest 2026-07-16T22:39:04.653046Z [info ] Wait for Gateway/maas-default-gateway's 'Programmed' condition to be 'True' [ocp_resources Gateway] 2026-07-16T22:39:04.653213Z [info ] Wait until Gateway maas-default-gateway is created [ocp_resources Gateway] 2026-07-16T22:39:04.653424Z [info ] Waiting for 300 seconds [0:05:00], retry every 1 seconds. (Function: ocp_resources.resource.wait.lambda: self.exists) [timeout_sampler] 2026-07-16T22:39:04.671589Z [info ] Elapsed time: 3.6716461181640625e-05 [0:00:00.000037] [timeout_sampler] 2026-07-16T22:39:04.671730Z [info ] Waiting for 299.9814341068268 seconds [0:04:59.981434], retry every 1 seconds. (Function: ocp_resources.resource.wait_for_condition.lambda: self.instance) [timeout_sampler] 2026-07-16T22:39:04.690345Z [info ] Elapsed time: 4.1961669921875e-05 [0:00:00.000042] [timeout_sampler] 2026-07-16T22:39:04.690501Z [info ] ResourceEdit: Backing up old data [ocp_resources.resource] 2026-07-16T22:39:04.709690Z [info ] ResourceEdits: Updating data for resource Gateway maas-default-gateway [ocp_resources.resource] 2026-07-16T22:39:04.709825Z [info ] Update Gateway maas-default-gateway: {'metadata': {'annotations': {'security.opendatahub.io/authorino-tls-bootstrap': 'true'}, 'name': 'maas-default-gateway'}} [ocp_resources Gateway] 2026-07-16T22:39:04.737722Z [info ] Executing session fixture: pytestconfig [conftest] 2026-07-16T22:39:04.737957Z [info ] Executing session fixture: use_unprivileged_client [conftest] 2026-07-16T22:39:04.738106Z [info ] Executing session fixture: kubconfig_filepath [conftest] 2026-07-16T22:39:04.738333Z [info ] Executing session fixture: cluster_authentication [conftest] 2026-07-16T22:39:04.738482Z [info ] kind: Authentication api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-16T22:39:04.756177Z [info ] Executing session fixture: is_byoidc [conftest] 2026-07-16T22:39:04.774650Z [info ] Executing session fixture: non_admin_user_password [conftest] 2026-07-16T22:39:04.808512Z [info ] Executing session fixture: unprivileged_client [conftest] 2026-07-16T22:39:04.808640Z [info ] Running oc whoami command  [pyhelper_utils.shell] 2026-07-16T22:39:04.932895Z [info ] Running Hide By User command  [pyhelper_utils.shell] 2026-07-16T22:39:05.822512Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-16T22:39:06.111033Z [info ] Executing session fixture: maas_subscription_namespace [conftest] 2026-07-16T22:39:06.127669Z [info ] Namespace models-as-a-service already exists, reusing it [conftest] name=conftest 2026-07-16T22:39:06.128627Z [info ] Executing session fixture: maas_subscription_controller_enabled_latest [conftest] 2026-07-16T22:39:06.128757Z [info ] ResourceEdit: Backing up old data [ocp_resources.resource] 2026-07-16T22:39:06.161755Z [info ] ResourceEdits: Updating data for resource DataScienceCluster default-dsc [ocp_resources.resource] 2026-07-16T22:39:06.161915Z [info ] Update DataScienceCluster default-dsc: {'spec': {'components': {'kserve': {'modelsAsService': {'managementState': 'Managed'}}}}, 'metadata': {'name': 'default-dsc'}} [ocp_resources DataScienceCluster] 2026-07-16T22:39:06.245147Z [info ] Wait for DataScienceCluster/default-dsc's 'ModelsAsServiceReady' condition to be 'True' [ocp_resources DataScienceCluster] 2026-07-16T22:39:06.245372Z [info ] Wait until DataScienceCluster default-dsc is created [ocp_resources DataScienceCluster] 2026-07-16T22:39:06.245504Z [info ] Waiting for 900 seconds [0:15:00], retry every 1 seconds. (Function: ocp_resources.resource.wait.lambda: self.exists) [timeout_sampler] 2026-07-16T22:39:06.265822Z [info ] Elapsed time: 3.9577484130859375e-05 [0:00:00.000040] [timeout_sampler] 2026-07-16T22:39:06.265985Z [info ] Waiting for 899.9792804718018 seconds [0:14:59.979280], retry every 1 seconds. (Function: ocp_resources.resource.wait_for_condition.lambda: self.instance) [timeout_sampler] 2026-07-16T22:39:06.288592Z [info ] Elapsed time: 3.266334533691406e-05 [0:00:00.000033] [timeout_sampler] 2026-07-16T22:39:06.288729Z [info ] Wait for DataScienceCluster/default-dsc's 'Ready' condition to be 'True' [ocp_resources DataScienceCluster] 2026-07-16T22:39:06.288845Z [info ] Wait until DataScienceCluster default-dsc is created [ocp_resources DataScienceCluster] 2026-07-16T22:39:06.288965Z [info ] Waiting for 600 seconds [0:10:00], retry every 1 seconds. (Function: ocp_resources.resource.wait.lambda: self.exists) [timeout_sampler] 2026-07-16T22:39:06.309296Z [info ] Elapsed time: 4.792213439941406e-05 [0:00:00.000048] [timeout_sampler] 2026-07-16T22:39:06.309444Z [info ] Waiting for 599.9793009757996 seconds [0:09:59.979301], retry every 1 seconds. (Function: ocp_resources.resource.wait_for_condition.lambda: self.instance) [timeout_sampler] 2026-07-16T22:39:06.329804Z [info ] Elapsed time: 3.0279159545898438e-05 [0:00:00.000030] [timeout_sampler] 2026-07-16T22:39:06.329951Z [info ] Executing session fixture: bbr_gateway_namespace [conftest] 2026-07-16T22:39:06.347333Z [info ] Executing class fixture: bbr_envoy_filter_config_patches [conftest] 2026-07-16T22:39:06.389218Z [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-16T22:39:06.424335Z [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-16T22:39:06.431143Z [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-16T22:39:06.499711Z [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-16T22:39:06.576791Z [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 --------------------------------------------------------- PASSED2026-07-16T22:39:06.615654Z [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 ------------------------------------------------------- _ 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  ----------------------------------- test_bbr_pre_processing_destination_rule_exists ----------------------------------- -------------------------------------------------------- SETUP -------------------------------------------------------- --------------------------------------------------------- CALL --------------------------------------------------------- 2026-07-16T22:39:06.619616Z [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-16T22:39:06.635678Z [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-16T22:39:06.639445Z [info ] kind: CustomResourceDefinition api version: apiextensions.k8s.io/v1 [ocp_resources.resource] PASSED2026-07-16T22:39:06.675151Z [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 ------------------------------------------------------- _ 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  -------------------------------- test_aitenant_bootstrap_does_not_break_default_tenant -------------------------------- -------------------------------------------------------- SETUP -------------------------------------------------------- 2026-07-16T22:39:06.678057Z [info ] Executing session fixture: aitenant_infra_namespace [conftest] 2026-07-16T22:39:06.696163Z [info ] Executing session fixture: teardown_resources [conftest] 2026-07-16T22:39:06.696420Z [info ] Executing function fixture: aitenant_test_params [conftest] 2026-07-16T22:39:06.696561Z [info ] Executing function fixture: aitenant_bootstrap_gateway [conftest] 2026-07-16T22:39:06.696686Z [info ] kind: Gateway api version: gateway.networking.k8s.io/v1 [ocp_resources.resource] 2026-07-16T22:39:06.696833Z [info ] Create Gateway e2e-aigw-017901af [ocp_resources Gateway] 2026-07-16T22:39:06.696941Z [info ] Posting {'apiVersion': 'gateway.networking.k8s.io/v1', 'kind': 'Gateway', 'metadata': {'name': 'e2e-aigw-017901af', 'namespace': 'openshift-ingress'}, 'spec': {'gatewayClassName': 'openshift-default', 'listeners': [{'name': 'http', 'port': 80, 'protocol': 'HTTP'}]}} [ocp_resources Gateway] 2026-07-16T22:39:06.752573Z [info ] Executing function fixture: aitenant [conftest] 2026-07-16T22:39:06.782534Z [info ] kind: AITenant api version: maas.opendatahub.io/v1alpha1 [ocp_resources.resource] 2026-07-16T22:39:06.782756Z [info ] Create AITenant e2e-aigw-017901af [ocp_resources AITenant] 2026-07-16T22:39:06.782907Z [info ] Posting {'apiVersion': 'maas.opendatahub.io/v1alpha1', 'kind': 'AITenant', 'metadata': {'name': 'e2e-aigw-017901af', 'namespace': 'ai-tenants'}, 'spec': {'gateway': {'name': 'e2e-aigw-017901af'}}} [ocp_resources AITenant] 2026-07-16T22:39:06.865652Z [info ] Wait until AITenant e2e-aigw-017901af is created [ocp_resources AITenant] 2026-07-16T22:39:06.868402Z [info ] Waiting for 240 seconds [0:04:00], retry every 1 seconds. (Function: ocp_resources.resource.wait.lambda: self.exists) [timeout_sampler] 2026-07-16T22:39:06.885728Z [info ] Elapsed time: 7.486343383789062e-05 [0:00:00.000075] [timeout_sampler] 2026-07-16T22:39:06.885879Z [info ] Executing function fixture: ready_aitenant [conftest] 2026-07-16T22:39:06.949701Z [info ] Wait for AITenant/e2e-aigw-017901af's 'Ready' condition to be 'True' [ocp_resources AITenant] 2026-07-16T22:39:06.949833Z [info ] Wait until AITenant e2e-aigw-017901af is created [ocp_resources AITenant] 2026-07-16T22:39:06.949939Z [info ] Waiting for 300 seconds [0:05:00], retry every 1 seconds. (Function: ocp_resources.resource.wait.lambda: self.exists) [timeout_sampler] 2026-07-16T22:39:06.977019Z [info ] Elapsed time: 5.888938903808594e-05 [0:00:00.000059] [timeout_sampler] 2026-07-16T22:39:06.977169Z [info ] Waiting for 299.97284054756165 seconds [0:04:59.972841], retry every 1 seconds. (Function: ocp_resources.resource.wait_for_condition.lambda: self.instance) [timeout_sampler] 2026-07-16T22:39:08.035984Z [info ] Elapsed time: 1.0409343242645264 [0:00:01.040934] [timeout_sampler] 2026-07-16T22:39:08.054545Z [info ] Executing function fixture: aitenant_for_test [conftest] --------------------------------------------------------- CALL --------------------------------------------------------- 2026-07-16T22:39:08.092383Z [info ] Wait for AITenant/e2e-aigw-017901af's 'Ready' condition to be 'True' [ocp_resources AITenant] 2026-07-16T22:39:08.092548Z [info ] Wait until AITenant e2e-aigw-017901af is created [ocp_resources AITenant] 2026-07-16T22:39:08.092687Z [info ] Waiting for 300 seconds [0:05:00], retry every 1 seconds. (Function: ocp_resources.resource.wait.lambda: self.exists) [timeout_sampler] 2026-07-16T22:39:08.110942Z [info ] Elapsed time: 4.0531158447265625e-05 [0:00:00.000041] [timeout_sampler] 2026-07-16T22:39:08.111092Z [info ] Waiting for 299.98162484169006 seconds [0:04:59.981625], retry every 1 seconds. (Function: ocp_resources.resource.wait_for_condition.lambda: self.instance) [timeout_sampler] 2026-07-16T22:39:08.128512Z [info ] Elapsed time: 6.723403930664062e-05 [0:00:00.000067] [timeout_sampler] 2026-07-16T22:39:08.148053Z [info ] kind: Tenant api version: maas.opendatahub.io/v1alpha1 [ocp_resources.resource] 2026-07-16T22:39:08.165226Z [info ] Wait for Tenant/default-tenant's 'Ready' condition to be 'True' [ocp_resources Tenant] 2026-07-16T22:39:08.165443Z [info ] Wait until Tenant default-tenant is created [ocp_resources Tenant] 2026-07-16T22:39:08.165580Z [info ] Waiting for 300 seconds [0:05:00], retry every 1 seconds. (Function: ocp_resources.resource.wait.lambda: self.exists) [timeout_sampler] 2026-07-16T22:39:08.184311Z [info ] Elapsed time: 4.553794860839844e-05 [0:00:00.000046] [timeout_sampler] 2026-07-16T22:39:08.184464Z [info ] Waiting for 299.9808464050293 seconds [0:04:59.980846], retry every 1 seconds. (Function: ocp_resources.resource.wait_for_condition.lambda: self.instance) [timeout_sampler] PASSED2026-07-16T22:39:08.202977Z [info ] Elapsed time: 2.9325485229492188e-05 [0:00:00.000029] [timeout_sampler] 2026-07-16T22:39:08.201933Z [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-16T22:39:08.203576Z [info ] Delete AITenant e2e-aigw-017901af [ocp_resources AITenant] 2026-07-16T22:39:08.242832Z [info ] Deleting {'apiVersion': 'maas.opendatahub.io/v1alpha1', 'kind': 'AITenant', 'metadata': {'creationTimestamp': '2026-07-16T22:39:06Z', '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-16T22:39:06Z'}, {'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-16T22:39:06Z'}, {'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-16T22:39:07Z'}], 'name': 'e2e-aigw-017901af', 'namespace': 'ai-tenants', 'resourceVersion': '35898483', 'uid': '82749bf0-0e22-4a62-8153-34d8b27c007e'}, 'spec': {'gateway': {'name': 'e2e-aigw-017901af'}}, 'status': {'conditions': [{'lastTransitionTime': '2026-07-16T22:39:07Z', 'message': 'AITenant bootstrap resources are reconciled', 'observedGeneration': 1, 'reason': 'Reconciled', 'status': 'True', 'type': 'Ready'}], 'gatewayRef': {'name': 'e2e-aigw-017901af', 'namespace': 'openshift-ingress'}, 'phase': 'Active', 'tenantNamespace': 'ai-tenant-e2e-aigw-017901af'}} [ocp_resources AITenant] 2026-07-16T22:39:08.265811Z [info ] Wait until AITenant e2e-aigw-017901af is deleted [ocp_resources AITenant] 2026-07-16T22:39:08.265943Z [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-16T22:39:09.306336Z [info ] Elapsed time: 1.0206763744354248 [0:00:01.020676] [timeout_sampler] 2026-07-16T22:39:09.421977Z [info ] Delete Gateway e2e-aigw-017901af [ocp_resources Gateway] 2026-07-16T22:39:09.448887Z [info ] Deleting {'apiVersion': 'gateway.networking.k8s.io/v1', 'kind': 'Gateway', 'metadata': {'creationTimestamp': '2026-07-16T22:39:06Z', '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-16T22:39:06Z'}, {'apiVersion': 'gateway.networking.k8s.io/v1', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:spec': {}}, 'manager': 'OpenAPI-Generator', 'operation': 'Update', 'time': '2026-07-16T22:39:06Z'}, {'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-16T22:39:06Z'}, {'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-16T22:39:08Z'}, {'apiVersion': 'gateway.networking.k8s.io/v1beta1', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:status': {'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-16T22:39:08Z'}], 'name': 'e2e-aigw-017901af', 'namespace': 'openshift-ingress', 'resourceVersion': '35898602', 'uid': 'd97b0129-7743-4b32-89be-3e3d63081637'}, 'spec': {'gatewayClassName': 'openshift-default', 'listeners': [{'allowedRoutes': {'namespaces': {'from': 'Same'}}, 'name': 'http', 'port': 80, 'protocol': 'HTTP'}]}, 'status': {'conditions': [{'lastTransitionTime': '2026-07-16T22:39:06Z', 'message': 'Resource accepted', 'observedGeneration': 1, 'reason': 'Accepted', 'status': 'True', 'type': 'Accepted'}, {'lastTransitionTime': '2026-07-16T22:39:06Z', 'message': 'Assigned to service(s) e2e-aigw-017901af-openshift-default.openshift-ingress.svc.cluster.local:80, but failed to assign to all requested addresses: address pending for hostname "e2e-aigw-017901af-openshift-default.openshift-ingress.svc.cluster.local"', 'observedGeneration': 1, 'reason': 'AddressNotAssigned', 'status': 'False', 'type': 'Programmed'}, {'lastTransitionTime': '2026-07-16T22:39:08Z', 'message': 'Object affected by TokenRateLimitPolicy [openshift-ingress/gateway-default-deny-e2e-aigw-017901af]', 'observedGeneration': 1, 'reason': 'Accepted', 'status': 'True', 'type': 'kuadrant.io/TokenRateLimitPolicyAffected'}], 'listeners': [{'attachedRoutes': 0, 'conditions': [{'lastTransitionTime': '2026-07-16T22:39:06Z', 'message': 'No errors found', 'observedGeneration': 1, 'reason': 'Accepted', 'status': 'True', 'type': 'Accepted'}, {'lastTransitionTime': '2026-07-16T22:39:06Z', 'message': 'No errors found', 'observedGeneration': 1, 'reason': 'NoConflicts', 'status': 'False', 'type': 'Conflicted'}, {'lastTransitionTime': '2026-07-16T22:39:06Z', 'message': 'No errors found', 'observedGeneration': 1, 'reason': 'Programmed', 'status': 'True', 'type': 'Programmed'}, {'lastTransitionTime': '2026-07-16T22:39:06Z', 'message': 'No errors found', 'observedGeneration': 1, 'reason': 'ResolvedRefs', 'status': 'True', 'type': 'ResolvedRefs'}, {'lastTransitionTime': '2026-07-16T22:39:08Z', 'message': 'Object affected by TokenRateLimitPolicy [openshift-ingress/gateway-default-deny-e2e-aigw-017901af]', '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-16T22:39:09.480361Z [info ] Wait until Gateway e2e-aigw-017901af is deleted [ocp_resources Gateway] 2026-07-16T22:39:09.480531Z [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-16T22:39:09.505008Z [info ] Elapsed time: 4.3392181396484375e-05 [0:00:00.000043] [timeout_sampler] 2026-07-16T22:39:09.505298Z [info ] ResourceEdits: Restoring data for resource DataScienceCluster default-dsc [ocp_resources.resource] 2026-07-16T22:39:09.505451Z [info ] Update DataScienceCluster default-dsc: {'spec': {'components': {'kserve': {'modelsAsService': {}}}}, 'metadata': {'name': 'default-dsc'}} [ocp_resources DataScienceCluster] 2026-07-16T22:39:09.598736Z [info ] Wait for DataScienceCluster/default-dsc's 'Ready' condition to be 'True' [ocp_resources DataScienceCluster] 2026-07-16T22:39:09.598889Z [info ] Wait until DataScienceCluster default-dsc is created [ocp_resources DataScienceCluster] 2026-07-16T22:39:09.599002Z [info ] Waiting for 600 seconds [0:10:00], retry every 1 seconds. (Function: ocp_resources.resource.wait.lambda: self.exists) [timeout_sampler] 2026-07-16T22:39:09.618902Z [info ] Elapsed time: 5.435943603515625e-05 [0:00:00.000054] [timeout_sampler] 2026-07-16T22:39:09.619036Z [info ] Waiting for 599.9796781539917 seconds [0:09:59.979678], retry every 1 seconds. (Function: ocp_resources.resource.wait_for_condition.lambda: self.instance) [timeout_sampler] 2026-07-16T22:39:09.642935Z [info ] Elapsed time: 3.3855438232421875e-05 [0:00:00.000034] [timeout_sampler] 2026-07-16T22:39:09.643126Z [info ] ResourceEdits: Restoring data for resource Gateway maas-default-gateway [ocp_resources.resource] 2026-07-16T22:39:09.643390Z [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, 51 warnings in 7.93s ================ =============================== 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: 36 warnings /workspace/tests-shared/tests-payload/.tools/python/urllib3/connectionpool.py:1110: InsecureRequestWarning: Unverified HTTPS request is being made to host 'api.nmanos-konflux1.durx.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, 51 warnings in 7.93s ================