Skip to content
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

Fix test some LLM UI tests from Smoke #1170

Merged
merged 7 commits into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 3 additions & 3 deletions ods_ci/tests/Resources/Common.robot
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ Resource RHOSi.resource

*** Variables ***
@{DEFAULT_CHARS_TO_ESCAPE}= : / .
${MONITORING_CONFIG_FILEPATH}= ods_ci/tests/Resources/Files/uwm_cm_conf.yaml
${UWM_CONFIG_FILEPATH}= ods_ci/tests/Resources/Files/uwm_cm_enable.yaml
${UWM_CONFIG_FILEPATH}= ods_ci/tests/Resources/Files/uwm_cm_conf.yaml
${UWM_ENABLE_FILEPATH}= ods_ci/tests/Resources/Files/uwm_cm_enable.yaml


*** Keywords ***
Expand Down Expand Up @@ -433,7 +433,7 @@ Skip If Component Is Not Enabled

Enable User Workload Monitoring
[Documentation] Enable User Workload Monitoring for the cluster for user-defined-projects
${return_code} ${output} Run And Return Rc And Output oc apply -f ${MONITORING_CONFIG_FILEPATH}
${return_code} ${output} Run And Return Rc And Output oc apply -f ${UWM_ENABLE_FILEPATH}
Log To Console ${output}
Should Be Equal As Integers ${return_code} 0 msg=Error while applying the provided file

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,7 @@ Try Opening Create Server
FOR ${try} IN RANGE 0 ${retries}
${status}= Run Keyword And Return Status Page Should Contain Select a project
IF ${status}
Capture Page Screenshot
Click Button Select a project
RETURN
ELSE
Expand All @@ -505,11 +506,9 @@ Set Up Project
Open Model Serving Home Page
IF ${single_prj}
Try Opening Create Server
Wait for RHODS Dashboard to Load wait_for_cards=${FALSE} expected_page=Data Science Projects
ELSE
Open Data Science Projects Home Page
Wait for RHODS Dashboard to Load wait_for_cards=${FALSE} expected_page=Data Science Projects
END
Open Data Science Projects Home Page
Wait For RHODS Dashboard To Load wait_for_cards=${FALSE} expected_page=Data Science Projects
Create Data Science Project title=${namespace} description=kserve test project
Create S3 Data Connection project_title=${namespace} dc_name=${dc_name}
... aws_access_key=${S3.AWS_ACCESS_KEY_ID} aws_secret_access=${S3.AWS_SECRET_ACCESS_KEY}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,12 @@ Verify Non Admin Can Serve And Query A Model Using The UI # robocop: disable
[Documentation] Basic tests leveraging on a non-admin user for preparing, deploying and querying a LLM model
... using Single-model platform and TGIS Standalone runtime.
[Tags] Sanity Tier1 ODS-2611
[Setup] Run git clone https://github.com/IBM/text-generation-inference/
[Setup] Run Keywords
... Run git clone https://github.com/IBM/text-generation-inference/
... AND
... Configure User Workload Monitoring
... AND
... Enable User Workload Monitoring
${test_namespace}= Set Variable ${TEST_NS}
${model_name}= Set Variable flan-t5-small-hf
Deploy Kserve Model Via UI model_name=${model_name}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Verify User Can Serve And Query A Model With TGIS-Standalone Runtime (gRPC)
... using Kserve and TGIS standalone runtime
[Tags] Sanity Tier1 ODS-2607
[Setup] Run Keywords Set Project And Runtime namespace=${TEST_NS_TGIS} runtime=${TGIS_RUNTIME_NAME}
... enable_metrics=${TRUE}
... AND
... Run git clone https://github.com/IBM/text-generation-inference/
${test_namespace}= Set Variable ${TEST_NS_TGIS}
Expand Down
Loading