Skip to content

Commit b49f5cc

Browse files
committed
Merge remote-tracking branch 'upstream/main' into mariadb-tests
2 parents d0a0043 + afa014d commit b49f5cc

15 files changed

Lines changed: 308 additions & 201 deletions

File tree

tests/model_explainability/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def vllm_runtime(
161161
template_name=RuntimeTemplates.VLLM_CUDA,
162162
deployment_type=KServeDeploymentType.RAW_DEPLOYMENT,
163163
runtime_image="quay.io/rh-aiservices-bu/vllm-cpu-openai-ubi9"
164-
"@sha256:d680ff8becb6bbaf83dfee7b2d9b8a2beb130db7fd5aa7f9a6d8286a58cebbfd",
164+
"@sha256:ada6b3ba98829eb81ae4f89364d9b431c0222671eafb9a04aa16f31628536af2",
165165
containers={
166166
"kserve-container": {
167167
"args": [

tests/model_explainability/lm_eval/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ def lmeval_minio_copy_pod(
382382
],
383383
wait_for_resource=True,
384384
) as pod:
385-
pod.wait_for_status(status=Pod.Status.SUCCEEDED)
385+
pod.wait_for_status(status=Pod.Status.SUCCEEDED, timeout=600)
386386
yield pod
387387

388388

tests/model_registry/python_client/test_model_registry_creation.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@ def test_model_registry_pod_log_mlmd_removal(
111111
pytest.param(
112112
"readyz/isDirty",
113113
),
114+
pytest.param(
115+
"readyz/health",
116+
),
114117
],
115118
)
116119
def test_model_registry_endpoint_response(

tests/model_serving/model_server/components/kserve_dsc_deployment_mode/test_kserve_dsc_default_deployment_mode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
[
3333
pytest.param(
3434
{"default-deployment-mode": KServeDeploymentType.SERVERLESS},
35-
{"name": "dsc-serverless"},
35+
{"name": "test-dsc-serverless"},
3636
RUNTIME_PARAMS,
3737
{
3838
**{"name": f"{ModelFormat.OPENVINO}-{KServeDeploymentType.SERVERLESS.lower()}"},

tests/model_serving/model_server/components/model_mesh_kserve_co_exist/test_model_mesh_kserve_inference_co_exist.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"http_s3_openvino_model_mesh_inference_service",
2323
[
2424
pytest.param(
25-
{"name": "serverless-model-mesh-openvino", "modelmesh-enabled": True},
25+
{"name": "test-mm-openvino", "modelmesh-enabled": True},
2626
KSERVE_RUNTIME_PARAMS,
2727
SERVERLESS_ISVC_PARAMS,
2828
MODELMESH_ISVC_PARAMS,
@@ -61,7 +61,7 @@ def test_model_mesh_openvino_created_after_serverless_in_namespace_rest_inferenc
6161
"ovms_kserve_inference_service, ",
6262
[
6363
pytest.param(
64-
{"name": "model-mesh-serverless-openvino", "modelmesh-enabled": True},
64+
{"name": "test-mm-openvino", "modelmesh-enabled": True},
6565
MODELMESH_ISVC_PARAMS,
6666
KSERVE_RUNTIME_PARAMS,
6767
SERVERLESS_ISVC_PARAMS,

tests/model_serving/model_server/components/test_custom_resources.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def wait_for_isvc_model_status(isvc: InferenceService, target_model_state: str,
3939
"unprivileged_model_namespace, serving_runtime_from_template, invalid_s3_models_inference_service",
4040
[
4141
pytest.param(
42-
{"name": "non-existing-models-storage-path"},
42+
{"name": "test-non-existing-models-path"},
4343
{
4444
"name": f"{Protocols.HTTP}-{ModelInferenceRuntime.CAIKIT_TGIS_RUNTIME}",
4545
"template-name": RuntimeTemplates.CAIKIT_TGIS_SERVING,

tests/model_serving/model_server/inference_service_configuration/test_isvc_env_vars_updates.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@
3232
"unprivileged_model_namespace, ovms_kserve_serving_runtime, ovms_kserve_inference_service",
3333
[
3434
pytest.param(
35-
{"name": "raw-env-update"},
35+
{"name": "test-raw-update"},
3636
RunTimeConfigs.ONNX_OPSET13_RUNTIME_CONFIG,
3737
RAW_DEPLOYMENT_ISVC_CONFIG,
3838
),
3939
pytest.param(
40-
{"name": "raw-multi-env-update"},
40+
{"name": "test-raw-multi-update"},
4141
RunTimeConfigs.ONNX_OPSET13_RUNTIME_CONFIG,
4242
{
4343
**RAW_DEPLOYMENT_ISVC_CONFIG,
@@ -62,12 +62,12 @@ def test_raw_remove_isvc_env_vars(self, removed_isvc_env_vars):
6262
"unprivileged_model_namespace, ovms_kserve_serving_runtime, ovms_kserve_inference_service",
6363
[
6464
pytest.param(
65-
{"name": "serverless-env-update"},
65+
{"name": "test-serverless-update"},
6666
RunTimeConfigs.ONNX_OPSET13_RUNTIME_CONFIG,
6767
SERVERLESS_DEPLOYMENT_ISVC_CONFIG,
6868
),
6969
pytest.param(
70-
{"name": "serverless-multi-env-update"},
70+
{"name": "test-adv-multi-update"},
7171
RunTimeConfigs.ONNX_OPSET13_RUNTIME_CONFIG,
7272
{
7373
**SERVERLESS_DEPLOYMENT_ISVC_CONFIG,

tests/model_serving/model_server/inference_service_configuration/test_isvc_pull_secret_updates.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
ORIGINAL_PULL_SECRET,
66
UPDATED_PULL_SECRET,
77
)
8-
from utilities.constants import ModelFormat, ModelName, RuntimeTemplates
8+
from utilities.constants import ModelName, RuntimeTemplates
99

1010

1111
@pytest.mark.parametrize(
1212
"unprivileged_model_namespace, serving_runtime_from_template, model_car_raw_inference_service_with_pull_secret",
1313
[
1414
pytest.param(
15-
{"name": f"{ModelFormat.OPENVINO}-model-car"},
15+
{"name": "test-pull-secret-modelcar"},
1616
{
1717
"name": f"{ModelName.MNIST}-runtime",
1818
"template-name": RuntimeTemplates.OVMS_KSERVE,

tests/model_serving/model_server/inference_service_configuration/test_isvc_replicas_update.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"unprivileged_model_namespace, ovms_kserve_serving_runtime, ovms_kserve_inference_service",
2828
[
2929
pytest.param(
30-
{"name": "raw-isvc-replicas"},
30+
{"name": "test-raw-isvc-replicas"},
3131
RunTimeConfigs.ONNX_OPSET13_RUNTIME_CONFIG,
3232
{
3333
**BASE_ISVC_CONFIG,

tests/model_serving/model_server/keda/test_isvc_keda_scaling_cpu.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
INITIAL_POD_COUNT = 1
2626
FINAL_POD_COUNT = 5
2727

28-
OVMS_MODEL_NAMESPACE = "ovms-keda"
28+
OVMS_MODEL_NAMESPACE = "test-ovms-keda"
2929
OVMS_MODEL_NAME = "onnx-raw"
3030
OVMS_METRICS_QUERY = (
3131
f'sum(sum_over_time(ovms_requests_success{{namespace="{OVMS_MODEL_NAMESPACE}", name="{OVMS_MODEL_NAME}"}}[5m]))'
@@ -39,7 +39,7 @@
3939
"unprivileged_model_namespace, ovms_kserve_serving_runtime, stressed_ovms_keda_inference_service",
4040
[
4141
pytest.param(
42-
{"name": "ovms-keda"},
42+
{"name": OVMS_MODEL_NAMESPACE},
4343
RunTimeConfigs.ONNX_OPSET13_RUNTIME_CONFIG,
4444
{
4545
"name": ModelFormat.ONNX,

0 commit comments

Comments
 (0)