Skip to content

Commit

Permalink
disabled teardown
Browse files Browse the repository at this point in the history
  • Loading branch information
Raghul-M committed Sep 26, 2024
1 parent 371445d commit d12a68b
Showing 1 changed file with 13 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Resource ../../../Resources/OCP.resource
Resource ../../../Resources/CLI/ModelServing/modelmesh.resource
Resource ../../../Resources/Common.robot
Suite Setup Triton On Kserve Suite Setup
Suite Teardown Triton On Kserve Suite Teardown
#Suite Teardown Triton On Kserve Suite Teardown

Check warning

Code scanning / Robocop

Missing blank space after comment character Warning test

Missing blank space after comment character
Test Tags Kserve


Expand Down Expand Up @@ -181,12 +181,12 @@ Test Tensorflow Model Rest Inference Via UI (Triton on Kserve) # robocop: off
Run Keyword And Continue On Failure Verify Model Inference With Retries
... ${TENSORFLOW_MODEL_NAME} ${INFERENCE_REST_INPUT_TENSORFLOW} ${EXPECTED_INFERENCE_REST_OUTPUT_TENSORFLOW}

Check warning

Code scanning / Robocop

Line is too long ({{ line_length }}/{{ allowed_length }}) Warning test

Line is too long (121/120)
... token_auth=${FALSE} project_title=${PRJ_TITLE}
[Teardown] Run Keywords Get Kserve Events And Logs model_name=${TENSORFLOW_MODEL_NAME}
... project_title=${PRJ_TITLE}
... AND
... Clean All Models Of Current User
... AND
... Delete Serving Runtime Template From CLI displayed_name=triton-kserve-rest
#[Teardown] Run Keywords Get Kserve Events And Logs model_name=${TENSORFLOW_MODEL_NAME}

Check warning

Code scanning / Robocop

Missing blank space after comment character Warning test

Missing blank space after comment character
#... project_title=${PRJ_TITLE}

Check warning

Code scanning / Robocop

Missing blank space after comment character Warning test

Missing blank space after comment character
#... AND

Check warning

Code scanning / Robocop

Missing blank space after comment character Warning test

Missing blank space after comment character
#... Clean All Models Of Current User

Check warning

Code scanning / Robocop

Missing blank space after comment character Warning test

Missing blank space after comment character
#... AND

Check warning

Code scanning / Robocop

Missing blank space after comment character Warning test

Missing blank space after comment character
#... Delete Serving Runtime Template From CLI displayed_name=triton-kserve-rest

Check warning

Code scanning / Robocop

Missing blank space after comment character Warning test

Missing blank space after comment character


*** Keywords ***
Expand All @@ -195,26 +195,27 @@ Triton On Kserve Suite Setup
... and runs RHOSi setup
Set Library Search Order SeleniumLibrary
Skip If Component Is Not Enabled kserve
RHOSi Setup
#RHOSi Setup

Check warning

Code scanning / Robocop

Missing blank space after comment character Warning test

Missing blank space after comment character
Launch Dashboard ${TEST_USER.USERNAME} ${TEST_USER.PASSWORD} ${TEST_USER.AUTH_TYPE}
... ${ODH_DASHBOARD_URL} ${BROWSER.NAME} ${BROWSER.OPTIONS}
Fetch Knative CA Certificate filename=openshift_ca_istio_knative.crt
Clean All Models Of Current User
#Clean All Models Of Current User

Check warning

Code scanning / Robocop

Missing blank space after comment character Warning test

Missing blank space after comment character

Triton On Kserve Suite Teardown
[Documentation] Suite teardown steps after testing DSG. It Deletes
... all the DS projects created by the tests and run RHOSi teardown
# Even if kw fails, deleting the whole project will also delete the model
# Failure will be shown in the logs of the run nonetheless
IF ${MODEL_CREATED}
Clean All Models Of Current User
#Clean All Models Of Current User

Check warning

Code scanning / Robocop

Missing blank space after comment character Warning test

Missing blank space after comment character
Log Skip
ELSE
Log Model not deployed, skipping deletion step during teardown console=true
END
${projects}= Create List ${PRJ_TITLE}
Delete List Of Projects Via CLI ocp_projects=${projects}
#Delete List Of Projects Via CLI ocp_projects=${projects}

Check warning

Code scanning / Robocop

Missing blank space after comment character Warning test

Missing blank space after comment character
# Will only be present on SM cluster runs, but keyword passes
# if file does not exist
Remove File openshift_ca_istio_knative.crt
SeleniumLibrary.Close All Browsers
RHOSi Teardown
#RHOSi Teardown

Check warning

Code scanning / Robocop

Missing blank space after comment character Warning test

Missing blank space after comment character

0 comments on commit d12a68b

Please sign in to comment.