-
Notifications
You must be signed in to change notification settings - Fork 83
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 faulty kserve tests #1005
Fix faulty kserve tests #1005
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.
Robocop found more than 10 potential problems in the proposed changes. Check the Files changed tab for more details.
Robot Results
|
PR validation
|
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]>
7d86553
to
948f499
Compare
@bdattoma please, there seem to be multiple trailing whitespace lines reported by robocop and consider adding the doc to the one keyword robocop complan. 🙂 |
Signed-off-by: bdattoma <[email protected]>
Signed-off-by: bdattoma <[email protected]>
Signed-off-by: bdattoma <[email protected]>
done |
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.
Thank you, put some comments but otherwise LGTM.
ods_ci/tests/Tests/400__ods_dashboard/420__model_serving/422__model_serving_llm.robot
Show resolved
Hide resolved
ods_ci/tests/Tests/400__ods_dashboard/420__model_serving/422__model_serving_llm.robot
Show resolved
Hide resolved
ods_ci/tests/Tests/400__ods_dashboard/420__model_serving/422__model_serving_llm.robot
Outdated
Show resolved
Hide resolved
ods_ci/tests/Tests/400__ods_dashboard/420__model_serving/422__model_serving_llm.robot
Show resolved
Hide resolved
Signed-off-by: bdattoma <[email protected]>
Signed-off-by: bdattoma <[email protected]>
Signed-off-by: bdattoma <[email protected]>
SonarCloud Quality Gate failed. 0 Bugs No Coverage information Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
... insecure=${TRUE} skip_res_json=${skip_json_load_response} | ||
... &{args} | ||
Log ${res} | ||
IF ${validate_response} == ${TRUE} |
Check notice
Code scanning / Robocop
'{{ block_name }}' condition can be simplified Note test
${status}= Run Keyword And Return Status | ||
... Query Model Multiple Times isvc_name=${isvc_name} model_name=${model_name} n_times=1 | ||
... namespace=${namespace} | ||
IF ${status} == ${TRUE} |
Check notice
Code scanning / Robocop
'{{ block_name }}' condition can be simplified Note test
[Arguments] ${model_name} ${namespace} ${isvc_name}=${model_name} | ||
... ${endpoint}=${CAIKIT_ALLTOKENS_ENDPOINT} ${n_times}=10 | ||
... ${streamed_response}=${FALSE} ${query_idx}=0 ${validate_response}=${TRUE} &{args} | ||
IF ${validate_response} == ${FALSE} |
Check notice
Code scanning / Robocop
'{{ block_name }}' condition can be simplified Note test
* refactor query keyword Signed-off-by: bdattoma <[email protected]> * fix canary test + needed refactor Signed-off-by: bdattoma <[email protected]> * increase timeout for minreplicas change Signed-off-by: bdattoma <[email protected]> * revert erroneus edits Signed-off-by: bdattoma <[email protected]> * fix typo Signed-off-by: bdattoma <[email protected]> * fix skip json load logic Signed-off-by: bdattoma <[email protected]> * increase query number in canary test (attempt) Signed-off-by: bdattoma <[email protected]> * increase queries for autoscale stability (attempt) Signed-off-by: bdattoma <[email protected]> * fix autoscaling test Signed-off-by: bdattoma <[email protected]> * remove old yq from poetry - fix hw req test Signed-off-by: bdattoma <[email protected]> * remove unused variable Signed-off-by: bdattoma <[email protected]> * fix robocop alerts and add documentations Signed-off-by: bdattoma <[email protected]> * fix suite doc Signed-off-by: bdattoma <[email protected]> * remove unused variable Signed-off-by: bdattoma <[email protected]> * fix teardown of custom requests/limits Signed-off-by: bdattoma <[email protected]> * fix line too long alert Signed-off-by: bdattoma <[email protected]> --------- Signed-off-by: bdattoma <[email protected]>
* refactor query keyword Signed-off-by: bdattoma <[email protected]> * fix canary test + needed refactor Signed-off-by: bdattoma <[email protected]> * increase timeout for minreplicas change Signed-off-by: bdattoma <[email protected]> * revert erroneus edits Signed-off-by: bdattoma <[email protected]> * fix typo Signed-off-by: bdattoma <[email protected]> * fix skip json load logic Signed-off-by: bdattoma <[email protected]> * increase query number in canary test (attempt) Signed-off-by: bdattoma <[email protected]> * increase queries for autoscale stability (attempt) Signed-off-by: bdattoma <[email protected]> * fix autoscaling test Signed-off-by: bdattoma <[email protected]> * remove old yq from poetry - fix hw req test Signed-off-by: bdattoma <[email protected]> * remove unused variable Signed-off-by: bdattoma <[email protected]> * fix robocop alerts and add documentations Signed-off-by: bdattoma <[email protected]> * fix suite doc Signed-off-by: bdattoma <[email protected]> * remove unused variable Signed-off-by: bdattoma <[email protected]> * fix teardown of custom requests/limits Signed-off-by: bdattoma <[email protected]> * fix line too long alert Signed-off-by: bdattoma <[email protected]> --------- Signed-off-by: bdattoma <[email protected]>
* refactor query keyword Signed-off-by: bdattoma <[email protected]> * fix canary test + needed refactor Signed-off-by: bdattoma <[email protected]> * increase timeout for minreplicas change Signed-off-by: bdattoma <[email protected]> * revert erroneus edits Signed-off-by: bdattoma <[email protected]> * fix typo Signed-off-by: bdattoma <[email protected]> * fix skip json load logic Signed-off-by: bdattoma <[email protected]> * increase query number in canary test (attempt) Signed-off-by: bdattoma <[email protected]> * increase queries for autoscale stability (attempt) Signed-off-by: bdattoma <[email protected]> * fix autoscaling test Signed-off-by: bdattoma <[email protected]> * remove old yq from poetry - fix hw req test Signed-off-by: bdattoma <[email protected]> * remove unused variable Signed-off-by: bdattoma <[email protected]> * fix robocop alerts and add documentations Signed-off-by: bdattoma <[email protected]> * fix suite doc Signed-off-by: bdattoma <[email protected]> * remove unused variable Signed-off-by: bdattoma <[email protected]> * fix teardown of custom requests/limits Signed-off-by: bdattoma <[email protected]> * fix line too long alert Signed-off-by: bdattoma <[email protected]> --------- Signed-off-by: bdattoma <[email protected]>
KServe (aka LLM or WatsonX) has some failing tests. This PR wants to fix them.
As part of the test fixing, I had to do some refactoring and remove yq from poetry.
yq dependency installation should be handled in a different PR to solve #953