Skip to content
Merged
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
b362382
Create size-labeler.yml
rnetser Dec 18, 2024
3c6a875
Delete .github/workflows/size-labeler.yml
rnetser Dec 18, 2024
ccb63af
Merge branch 'main' of github.com:rnetser/opendatahub-tests
rnetser Dec 24, 2024
da0c898
Merge branch 'main' of https://github.com/opendatahub-io/opendatahub-…
rnetser Dec 25, 2024
94a82ec
Merge branch 'main' of https://github.com/opendatahub-io/opendatahub-…
rnetser Dec 26, 2024
c0c82dd
Merge branch 'main' of https://github.com/opendatahub-io/opendatahub-…
rnetser Dec 27, 2024
5feb447
Merge branch 'main' of https://github.com/opendatahub-io/opendatahub-…
rnetser Dec 30, 2024
19b9c56
Merge branch 'main' of https://github.com/opendatahub-io/opendatahub-…
rnetser Dec 31, 2024
e22ac1a
Merge branch 'main' of https://github.com/opendatahub-io/opendatahub-…
rnetser Dec 31, 2024
56ab9c5
Merge branch 'main' of https://github.com/opendatahub-io/opendatahub-…
rnetser Dec 31, 2024
5a17f03
Merge branch 'main' of https://github.com/opendatahub-io/opendatahub-…
rnetser Dec 31, 2024
ef5fe65
Merge branch 'main' of https://github.com/opendatahub-io/opendatahub-…
rnetser Dec 31, 2024
1875a44
Merge branch 'main' of https://github.com/opendatahub-io/opendatahub-…
rnetser Jan 1, 2025
840d442
Merge branch 'main' of https://github.com/opendatahub-io/opendatahub-…
rnetser Jan 2, 2025
c0d4436
Merge branch 'main' of https://github.com/opendatahub-io/opendatahub-…
rnetser Jan 2, 2025
ba7971a
Merge branch 'main' of https://github.com/opendatahub-io/opendatahub-…
rnetser Jan 3, 2025
fd73a94
Merge branch 'main' of https://github.com/opendatahub-io/opendatahub-…
rnetser Jan 7, 2025
bde0493
Merge branch 'main' of https://github.com/opendatahub-io/opendatahub-…
rnetser Jan 8, 2025
d3cd799
Merge branch 'main' of https://github.com/opendatahub-io/opendatahub-…
rnetser Jan 9, 2025
710befa
Merge branch 'main' of https://github.com/opendatahub-io/opendatahub-…
rnetser Jan 12, 2025
a662364
Merge branch 'main' of https://github.com/opendatahub-io/opendatahub-…
rnetser Jan 16, 2025
579c283
Merge branch 'main' of https://github.com/opendatahub-io/opendatahub-…
rnetser Jan 16, 2025
927cbb0
Merge branch 'main' of https://github.com/opendatahub-io/opendatahub-…
rnetser Jan 19, 2025
99e242e
Merge branch 'main' of https://github.com/opendatahub-io/opendatahub-…
rnetser Jan 22, 2025
5b83bab
Merge branch 'main' of https://github.com/opendatahub-io/opendatahub-…
rnetser Jan 24, 2025
4b5b007
Merge branch 'main' of https://github.com/opendatahub-io/opendatahub-…
rnetser Jan 27, 2025
b8e5dee
Merge branch 'main' of https://github.com/opendatahub-io/opendatahub-…
rnetser Jan 30, 2025
0039df0
Merge branch 'main' of https://github.com/opendatahub-io/opendatahub-…
rnetser Jan 30, 2025
17938d6
model mesh - add auth tests
rnetser Feb 2, 2025
44a3120
xx
rnetser Feb 2, 2025
a418727
Merge branch 'main' of https://github.com/opendatahub-io/opendatahub-…
rnetser Feb 3, 2025
d291c32
Merge branch 'main' of https://github.com/opendatahub-io/opendatahub-…
rnetser Feb 4, 2025
b6650d8
Merge branch 'main' of https://github.com/opendatahub-io/opendatahub-…
rnetser Feb 5, 2025
8b9f838
Merge branch 'main' of https://github.com/opendatahub-io/opendatahub-…
rnetser Feb 7, 2025
d53a04c
Merge branch 'main' of https://github.com/opendatahub-io/opendatahub-…
rnetser Feb 10, 2025
db89111
Merge branch 'main' of https://github.com/opendatahub-io/opendatahub-…
rnetser Feb 10, 2025
773d81a
Merge branch 'main' of https://github.com/opendatahub-io/opendatahub-…
rnetser Feb 12, 2025
01be6e9
Merge branch 'main' of https://github.com/opendatahub-io/opendatahub-…
rnetser Feb 13, 2025
71df8d5
Merge branch 'main' of https://github.com/opendatahub-io/opendatahub-…
rnetser Feb 16, 2025
8896bd7
Merge branch 'main' of https://github.com/opendatahub-io/opendatahub-…
rnetser Feb 18, 2025
0eeb162
Merge branch 'main' of https://github.com/opendatahub-io/opendatahub-…
rnetser Feb 18, 2025
38e8a69
ci: on main upstream xxxxxxxxxxx
rnetser Feb 19, 2025
875f597
ci: reabsingxxxxxxxxxxxxxx
rnetser Feb 20, 2025
c90abf6
ci: reabsingxxxxxxxxxxxxxx
rnetser Feb 20, 2025
4a26346
ci: Merge branch 'main' of https://github.com/opendatahub-io/opendata…
rnetser Feb 24, 2025
8302ed1
ci: Merge branch 'main' of https://github.com/opendatahub-io/opendata…
rnetser Feb 25, 2025
ff1b155
ci: rebase on main
rnetser Mar 6, 2025
a04a3c4
ci: merge main branch
rnetser Mar 11, 2025
d1cb99b
ci: merge branch main
rnetser Mar 12, 2025
262da0f
feat: add raw external with serverless
rnetser Mar 16, 2025
de11af3
feat: add raw with exteranl route to serverless interop tests
rnetser Mar 16, 2025
02000a7
fix: fixture usage
rnetser Mar 16, 2025
0be121a
fix: split to classes
rnetser Mar 16, 2025
5bd620e
fix: fix protocol
rnetser Mar 16, 2025
6544b0d
ci: merge branch main
rnetser Mar 17, 2025
a4e389d
ci: merge with main
rnetser Mar 17, 2025
cb16d91
ci: merge branch main
rnetser Mar 17, 2025
75de18b
ci: merge main branch
rnetser Mar 18, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,52 @@
],
indirect=True,
)
class TestServerlessRawDeploymentInferenceCoExist:
def test_serverless_openvino_created_before_raw_deployment_caikit_inference(
class TestServerlessRawInternalDeploymentInferenceCoExist:
def test_serverless_openvino_created_before_raw_internal_deployment_caikit_inference(
self, ovms_serverless_inference_service, s3_models_inference_service
):
"""Verify that Serverless model can be queried when running with raw deployment inference service"""
verify_inference_response(
inference_service=ovms_serverless_inference_service,
inference_config=OPENVINO_KSERVE_INFERENCE_CONFIG,
inference_type=Inference.INFER,
protocol=Protocols.HTTPS,
use_default_query=True,
)

def test_raw_internal_deployment_caikit_created_after_serverless_in_namespace_rest_inference(
self,
ovms_serverless_inference_service,
s3_models_inference_service,
):
"""Verify that raw deployment model can be queried when running with kserve inference service"""
verify_inference_response(
inference_service=s3_models_inference_service,
inference_config=CAIKIT_STANDALONE_INFERENCE_CONFIG,
inference_type="embedding",
protocol=Protocols.HTTP,
model_name=ModelName.CAIKIT_BGE_LARGE_EN,
use_default_query=True,
)


@pytest.mark.parametrize(
"model_namespace, openvino_kserve_serving_runtime, ovms_serverless_inference_service, "
"serving_runtime_from_template, s3_models_inference_service",
[
pytest.param(
{"name": "serverless-raw-ext-deployment"},
SERVERLESS_RUNTIME_PARAMS,
SERVERLESS_ISVC_PARAMS,
RAW_RUNTIME_PARAMS,
{**RAW_ISVC_PARAMS, "external-route": True},
),
],
indirect=True,
)
class TestServerlessRawExternalDeploymentInferenceCoExist:
def test_serverless_openvino_created_before_raw_external_deployment_caikit_inference(
self, ovms_serverless_inference_service, s3_models_inference_service
):
"""Verify that Serverless model can be queried when running with raw deployment inference service"""
verify_inference_response(
Expand All @@ -72,7 +113,7 @@ def test_serverless_openvino_created_before_raw_deployment_caikit_inference(
use_default_query=True,
)

def test_raw_deployment_caikit_created_after_serverless_in_namespace_rest_inference(
def test_raw_external_deployment_caikit_created_after_serverless_in_namespace_rest_inference(
self,
ovms_serverless_inference_service,
s3_models_inference_service,
Expand All @@ -82,7 +123,7 @@ def test_raw_deployment_caikit_created_after_serverless_in_namespace_rest_infere
inference_service=s3_models_inference_service,
inference_config=CAIKIT_STANDALONE_INFERENCE_CONFIG,
inference_type="embedding",
protocol=Protocols.HTTP,
protocol=Protocols.HTTPS,
model_name=ModelName.CAIKIT_BGE_LARGE_EN,
use_default_query=True,
)
Expand All @@ -102,9 +143,11 @@ def test_raw_deployment_caikit_created_after_serverless_in_namespace_rest_infere
],
indirect=True,
)
class TestRawDeploymentServerlessInferenceCoExist:
def test_raw_deployment_caikit_created_before_serverless_openvino_in_namespace_rest_inference(
self, s3_models_inference_service, ovms_serverless_inference_service
class TestRawInternalDeploymentServerlessInferenceCoExist:
def test_raw_internal_deployment_caikit_created_before_serverless_openvino_in_namespace_rest_inference(
self,
s3_models_inference_service,
ovms_serverless_inference_service,
):
"""Verify that raw deployment model can be queried when running with kserve inference service"""
verify_inference_response(
Expand All @@ -116,7 +159,52 @@ def test_raw_deployment_caikit_created_before_serverless_openvino_in_namespace_r
use_default_query=True,
)

def test_serverless_openvino_created_after_raw_deployment_caikit_ns_rest_inference(
def test_serverless_openvino_created_after_raw_internal_deployment_caikit_ns_rest_inference(
self,
s3_models_inference_service,
ovms_serverless_inference_service,
):
"""Verify that Serverless model can be queried when running with raw deployment exists"""
verify_inference_response(
inference_service=ovms_serverless_inference_service,
inference_config=OPENVINO_KSERVE_INFERENCE_CONFIG,
inference_type=Inference.INFER,
protocol=Protocols.HTTPS,
use_default_query=True,
)


@pytest.mark.parametrize(
"model_namespace, serving_runtime_from_template, s3_models_inference_service,"
"openvino_kserve_serving_runtime, ovms_serverless_inference_service",
[
pytest.param(
{"name": "raw-etx-deployment-serverless"},
RAW_RUNTIME_PARAMS,
{**RAW_ISVC_PARAMS, "external-route": True},
SERVERLESS_RUNTIME_PARAMS,
SERVERLESS_ISVC_PARAMS,
),
],
indirect=True,
)
class TestRawExternalDeploymentServerlessInferenceCoExist:
def test_raw_external_deployment_caikit_created_before_serverless_openvino_in_namespace_rest_inference(
self,
s3_models_inference_service,
ovms_serverless_inference_service,
):
"""Verify that raw deployment model can be queried when running with kserve inference service"""
verify_inference_response(
inference_service=s3_models_inference_service,
inference_config=CAIKIT_STANDALONE_INFERENCE_CONFIG,
inference_type="embedding",
protocol=Protocols.HTTPS,
model_name=ModelName.CAIKIT_BGE_LARGE_EN,
use_default_query=True,
)

def test_serverless_openvino_created_after_raw_external_deployment_caikit_ns_rest_inference(
self, s3_models_inference_service, ovms_serverless_inference_service
):
"""Verify that Serverless model can be queried when running with raw deployment exists"""
Expand Down