-
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
Add Upgrade test scenarios for Distributed workloads #1491
Add Upgrade test scenarios for Distributed workloads #1491
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 20 potential problems in the proposed changes. Check the Files changed tab for more details.
Robot Results
|
332b36b
to
cb8872b
Compare
ods_ci/tests/Resources/Page/DistributedWorkloads/DistributedWorkloads.resource
Dismissed
Show dismissed
Hide dismissed
ods_ci/tests/Resources/Page/DistributedWorkloads/DistributedWorkloads.resource
Dismissed
Show dismissed
Hide dismissed
ods_ci/tests/Resources/Page/DistributedWorkloads/DistributedWorkloads.resource
Dismissed
Show dismissed
Hide dismissed
ods_ci/tests/Resources/Page/DistributedWorkloads/DistributedWorkloads.resource
Dismissed
Show dismissed
Hide dismissed
ods_ci/tests/Resources/Page/DistributedWorkloads/DistributedWorkloads.resource
Dismissed
Show dismissed
Hide dismissed
FAIL Unable to cleanup directory ${CODEFLARE-SDK_DIR} | ||
END | ||
|
||
IF ${project_created} == True Run Keywords |
Check notice
Code scanning / Robocop
'{{ block_name }}' condition can be simplified Note test
... ${ODH_DASHBOARD_URL} ${BROWSER.NAME} ${BROWSER.OPTIONS} | ||
Open Distributed Workload Metrics Home Page | ||
Select Distributed Workload Project By Name ${PRJ_UPGRADE} | ||
Set Global Variable ${DW_PROJECT_CREATED} True |
Check notice
Code scanning / Robocop
{{ set_variable_keyword }} can be replaced with VAR Note test
Wait Until Element Is Visible xpath=//*[text()="Running"] timeout=30 | ||
|
||
${cpu_requested} = Get CPU Requested ${PRJ_UPGRADE} ${LOCAL_QUEUE} | ||
${memory_requested} = Get Memory Requested ${PRJ_UPGRADE} ${LOCAL_QUEUE} Upgrade |
Check warning
Code scanning / Robocop
The assignment sign is not consistent within the file. Expected '{{ expected_sign }}' but got '{{ actual_sign }}' instead Warning test
cb8872b
to
9b47365
Compare
@@ -119,6 +123,39 @@ | |||
Page Should Contain Element //tr[@id='caikit-runtime'] | |||
[Teardown] Dashboard Test Teardown | |||
|
|||
Verify Distributed Workload Metrics Resources By Creating Ray Cluster Workload |
Check warning
Code scanning / Robocop
Test case '{{ test_name }}' is too long ({{ test_length }}/{{ allowed_length }}) Warning test
@@ -119,6 +123,39 @@ | |||
Page Should Contain Element //tr[@id='caikit-runtime'] | |||
[Teardown] Dashboard Test Teardown | |||
|
|||
Verify Distributed Workload Metrics Resources By Creating Ray Cluster Workload |
Check warning
Code scanning / Robocop
Test case '{{ test_name }}' has too many keywords inside ({{ keyword_count }}/{{ max_allowed_count }}) Warning test
9b47365
to
543983e
Compare
FAIL Unable to setup Python virtual environment | ||
END | ||
|
||
${result} = Run Process source ${VIRTUAL_ENV_NAME}/bin/activate && cd ${CODEFLARE-SDK_DIR} && poetry env use 3.9 && poetry install --with test,docs && poetry run pytest -v -s ./tests/upgrade/raycluster_sdk_upgrade_test.py::${TEST_NAME} --timeout\=300 && deactivate |
Check warning
Code scanning / Robocop
Line is too long ({{ line_length }}/{{ allowed_length }}) Warning test
3327d73
to
6ae3bcd
Compare
Quality Gate passedIssues Measures |
${LOCAL_QUEUE} Set Variable local-queue-mnist | ||
${JOB_NAME} Set Variable mnist | ||
Run Codeflare Upgrade Tests TestMnistJobSubmit | ||
Set Global Variable ${DW_PROJECT_CREATED} True |
Check notice
Code scanning / Robocop
{{ set_variable_keyword }} can be replaced with VAR Note test
Run the tests in 11:07:48 Multiple keywords with name 'Open Browser' found. Give the full name of the keyword you want to use:
11:07:48 JupyterLibrary.Open Browser
11:07:48 SeleniumLibrary.Open Browser
[ ERROR ] Error in file 'ods-ci/ods_ci/tests/Resources/Page/ODH/ODHDashboard/ODHModelServing.resource' on line 8: Importing library 'ods-ci/ods_ci/libs/Helpers.py' failed: ModuleNotFoundError: No module named 'fuzzywuzzy'
Traceback (most recent call last):
File "ods-ci/ods_ci/libs/Helpers.py", line 9, in <module>
from fuzzywuzzy import fuzz |
ods_ci/tests/Resources/Page/DistributedWorkloads/DistributedWorkloads.resource
Show resolved
Hide resolved
6ae3bcd
to
a995835
Compare
a995835
to
f5d54d8
Compare
closes https://issues.redhat.com/browse/RHOAIENG-7032
Added Pre upgrade and Post upgrade test scenarios for Distributed workloads