-
Notifications
You must be signed in to change notification settings - Fork 81
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
Update Model Serving test tags and skip if component is enabled #1010
Update Model Serving test tags and skip if component is enabled #1010
Conversation
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.
LGTM
ods_ci/tests/Tests/100__deploy/100__installation/110__model_serving_watsonx.robot
Show resolved
Hide resolved
3047289
to
79e6867
Compare
Robot Results
|
ods_ci/tests/Tests/400__ods_dashboard/420__model_serving/422__model_serving_llm.robot
Fixed
Show fixed
Hide fixed
ods_ci/tests/Tests/400__ods_dashboard/420__model_serving/420__model_serving.robot
Fixed
Show fixed
Hide fixed
ods_ci/tests/Tests/400__ods_dashboard/420__model_serving/420__model_serving.robot
Fixed
Show fixed
Hide fixed
ods_ci/tests/Tests/400__ods_dashboard/420__model_serving/422__model_serving_llm.robot
Outdated
Show resolved
Hide resolved
Smoke for PR test executed on |
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.
Added some comments, but they can be addressed in a future PR if needed
@@ -15,8 +15,8 @@ ${KSERVE_NS}= ${APPLICATIONS_NAMESPACE} | |||
*** Test Cases *** | |||
Verify KServe Is Shipped | |||
[Documentation] Verify KServe Is Shipped And Enabled Within ODS | |||
[Tags] WatsonX | |||
... ODS-2325 | |||
[Tags] ODS-2325 |
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.
Missing TierX tag
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.
Optional: Usage of Run Keyword And Continue On Failure
can be replaced by adding [Tags] robot:recursive-continue-on-failure
. This is documented here https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#continue-on-failure
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.
Missing TierX tag
on purpose for this one. I'm not sure about keeping it because it requires the pre-req operators to be installed and it's not done in this suite. Will need to re-assess it's utility
ods_ci/tests/Tests/100__deploy/100__installation/110__model_serving_watsonx.robot
Outdated
Show resolved
Hide resolved
@@ -65,15 +66,15 @@ ${SCRIPT_BREW_TAG}= ${EMPTY} # ^[0-9]+$ | |||
Verify External Dependency Operators Can Be Deployed | |||
[Documentation] Checks the pre-required Operators can be installed | |||
... and configured | |||
[Tags] ODS-2326 WatsonX | |||
[Tags] ODS-2326 |
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.
Missing TierX tag
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.
@bdattoma What is the status of this? Is it okay or shall it be added?
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.
just updated the PR
[Tags] ODS-2341 WatsonX | ||
[Setup] Set Project And Runtime namespace=berto | ||
${test_namespace}= Set Variable berto | ||
[Tags] Smoke ODS-2341 |
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.
Missing TierX tag
@@ -384,7 +385,7 @@ Verify Model Can Be Served And Query On A GPU Node | |||
Verify Non Admin Can Serve And Query A Model | |||
[Documentation] Basic tests leveraging on a non-admin user for preparing, deploying and querying a LLM model | |||
... using Kserve and Caikit+TGIS runtime | |||
[Tags] ODS-2326 WatsonX | |||
[Tags] Smoke ODS-2326 |
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.
Missing TierX tag
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.
I thought we don't want to set Tier tag on Smoke after the discussion on redefine quality gates, am I wrong?
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.
I believe TierX has to be always included, independently if the test is in Smoke or Sanity or any other special purpose quality gate
[Tags] ODS-2401 WatsonX | ||
[Setup] Set Project And Runtime namespace=watsonx-metrics enable_metrics=${TRUE} | ||
${test_namespace}= Set Variable watsonx-metrics | ||
[Tags] Smoke ODS-2401 |
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.
Missing TierX tag
@@ -535,7 +536,7 @@ Verify User Can Access Model Metrics From UWM | |||
Verify User Can Query A Model Using HTTP Calls | |||
[Documentation] From RHOAI 2.5 HTTP is allowed and default querying protocol. | |||
... This tests deploys the runtime enabling HTTP port and send queries to the model | |||
[Tags] ODS-2501 WatsonX | |||
[Tags] ODS-2501 Smoke |
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.
Missing TierX tag
@@ -384,7 +385,7 @@ Verify Model Can Be Served And Query On A GPU Node | |||
Verify Non Admin Can Serve And Query A Model | |||
[Documentation] Basic tests leveraging on a non-admin user for preparing, deploying and querying a LLM model | |||
... using Kserve and Caikit+TGIS runtime | |||
[Tags] ODS-2326 WatsonX | |||
[Tags] Smoke ODS-2326 |
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.
I believe TierX has to be always included, independently if the test is in Smoke or Sanity or any other special purpose quality gate
Signed-off-by: bdattoma <[email protected]>
Signed-off-by: bdattoma <[email protected]>
Signed-off-by: bdattoma <[email protected]>
Signed-off-by: bdattoma <[email protected]>
Signed-off-by: bdattoma <[email protected]>
Signed-off-by: bdattoma <[email protected]>
Signed-off-by: bdattoma <[email protected]>
Signed-off-by: bdattoma <[email protected]>
Signed-off-by: bdattoma <[email protected]>
Signed-off-by: bdattoma <[email protected]>
Signed-off-by: bdattoma <[email protected]>
Signed-off-by: bdattoma <[email protected]>
830b5e1
to
02f5c0e
Compare
Signed-off-by: bdattoma <[email protected]>
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Since KServe and ModelMesh are becoming full part of the product, we should have easier ways to select the tests when we runt them.
In order to achieve that, this PR is adding
KServe
andModelMesh
, besides adding Quality Gates tags in the KServe suite.In this way we could include and exclude the tests based on the components we are going to deploy in the test cluster. Moreover, it automatically skips the corresponding tests if Model Mesh or KServe or both are disabled.
Small Extra: replacing the WatsonX references with KServe