-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automation tests for pytorch model gRPC RHOAIENG-9053 for triton #1834
base: master
Are you sure you want to change the base?
Conversation
...odel_serving/1009__model_serving_triton_on_kserve/1009__model_serving_triton_on_kserve.robot
Fixed
Show fixed
Hide fixed
...odel_serving/1009__model_serving_triton_on_kserve/1009__model_serving_triton_on_kserve.robot
Fixed
Show resolved
Hide resolved
@@ -151,6 +155,52 @@ | |||
... Clean All Models Of Current User | |||
... AND | |||
... Delete Serving Runtime Template From CLI displayed_name=triton-kserve-grpc | |||
|
Check warning
Code scanning / Robocop
Trailing whitespace at the end of line Warning test
@@ -151,6 +155,52 @@ | |||
... Clean All Models Of Current User | |||
... AND | |||
... Delete Serving Runtime Template From CLI displayed_name=triton-kserve-grpc | |||
|
|||
Test PYTORCH Model Grpc Inference Via UI (Triton on Kserve) # robocop: off=too-long-test-case |
Check warning
Code scanning / Robocop
Test case '{{ test_name }}' has too many keywords inside ({{ keyword_count }}/{{ max_allowed_count }}) Warning test
... token=${TRUE} | ||
Wait For Pods To Be Ready label_selector=serving.kserve.io/inferenceservice=${PYTORCH_MODEL_LABEL} | ||
... namespace=${PRJ_TITLE} | ||
${EXPECTED_INFERENCE_GRPC_OUTPUT_PYTORCH}= Load Json File file_path=${EXPECTED_INFERENCE_GRPC_OUTPUT_FILE_PYTORCH} |
Check warning
Code scanning / Robocop
Line is too long ({{ line_length }}/{{ allowed_length }}) Warning test
Robot Results
|
Verified with Jenkins Build 432 |
...odel_serving/1009__model_serving_triton_on_kserve/1009__model_serving_triton_on_kserve.robot
Outdated
Show resolved
Hide resolved
...odel_serving/1009__model_serving_triton_on_kserve/1009__model_serving_triton_on_kserve.robot
Outdated
Show resolved
Hide resolved
...odel_serving/1009__model_serving_triton_on_kserve/1009__model_serving_triton_on_kserve.robot
Outdated
Show resolved
Hide resolved
...odel_serving/1009__model_serving_triton_on_kserve/1009__model_serving_triton_on_kserve.robot
Outdated
Show resolved
Hide resolved
Log ${EXPECTED_INFERENCE_GRPC_OUTPUT_PYTORCH} | ||
Open Model Serving Home Page | ||
${host_url}= Get Model Route Via UI model_name=${PYTORCH_MODEL_NAME} | ||
${host}= Evaluate re.search(r"${PATTERN}", r"${host_url}").group(1) re |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please create a kw for this one given that it's been re-used.
One question, why do we need this? What's returning from "Get Model Route Via UI"? I don't remember we had issues in the past about this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So, the Get Model Route Via UI keyword returns the whole URL. We just need the domain name, which is why we used a regex pattern. We will create it as a keyword
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO you should also report this to Dashboard team because the UI should report the right URL based on the protocol
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Informed @bdattoma
883acd5
to
f6ed6fc
Compare
01c9586
to
4f5dd1f
Compare
Verified with Jenkins Build 465 |
Log ${inference_output} | ||
${inference_output}= Evaluate json.dumps(${inference_output}) | ||
Log ${inference_output} | ||
${result} ${list}= Inference Comparison ${EXPECTED_INFERENCE_GRPC_OUTPUT_PYTORCH} ${inference_output} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
iirc this keyword does not fail directly, but you should add a check on the ${result}. Check how it is used in Verify Model Inference
keyword.
Quality Gate passedIssues Measures |
Quality Gate passedIssues Measures |
Added Automation Test for RHOAIENG-11561