-
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 DW test to verify requested resources in case of multiple local queue exists #1565
Add DW test to verify requested resources in case of multiple local queue exists #1565
Conversation
Wait Until Element Is Visible xpath=//*[@id="topResourceConsumingMemory-ChartLabel-title"] timeout=120 | ||
Wait Until Element Is Visible xpath=//*[@id="topResourceConsumingMemory-ChartLegend-ChartLabel-0"] timeout=120 | ||
${memory_usage} = Get Current Memory Usage ${PRJ_TITLE} Job | ||
${memory_consuming} = Get Text xpath:(//*[@style[contains(., 'var(--pf-v5-chart-donut--label--title--Fill')]])[2] |
Check warning
Code scanning / Robocop
Line is too long ({{ line_length }}/{{ allowed_length }}) Warning test
ods_ci/tests/Resources/Page/DistributedWorkloads/WorkloadMetricsUI.resource
Fixed
Show fixed
Hide fixed
ods_ci/tests/Resources/Page/DistributedWorkloads/WorkloadMetricsUI.resource
Fixed
Show fixed
Hide fixed
ods_ci/tests/Resources/Page/DistributedWorkloads/WorkloadMetricsUI.resource
Fixed
Show fixed
Hide fixed
ods_ci/tests/Resources/Page/DistributedWorkloads/WorkloadMetricsUI.resource
Fixed
Show fixed
Hide fixed
ods_ci/tests/Tests/650__distributed_workloads/test-distributed-workloads-metrics-ui.robot
Fixed
Show fixed
Hide fixed
ods_ci/tests/Tests/650__distributed_workloads/test-distributed-workloads-metrics-ui.robot
Fixed
Show fixed
Hide fixed
ods_ci/tests/Tests/650__distributed_workloads/test-distributed-workloads-metrics-ui.robot
Fixed
Show fixed
Hide fixed
ods_ci/tests/Tests/650__distributed_workloads/test-distributed-workloads-metrics-ui.robot
Fixed
Show fixed
Hide fixed
${memory_requested_1} = Get Memory Requested ${PRJ_TITLE} ${LOCAL_QUEUE_NAME} Job | ||
${memory_requested_2} = Get Memory Requested ${PRJ_TITLE} ${MULTIPLE_LOCAL_QUEUE} Job | ||
${memory_requested} = Evaluate ${memory_requested_1} + ${memory_requested_2} | ||
Check Requested Resources ${PRJ_TITLE} ${CPU_SHARED_QUOTA} ${MEMEORY_SHARED_QUOTA} ${cpu_requested} ${memory_requested} Job |
Check warning
Code scanning / Robocop
Line is too long ({{ line_length }}/{{ allowed_length }}) Warning test
Robot Results
|
6ecbeff
to
07afb89
Compare
Submit Kueue Workload | ||
[Documentation] method for creating kueue workload | ||
[Arguments] ${local_queue} ${project} ${cpu_requested} ${memory_requested} ${job_name_queue} | ||
${result}= Run Process sh ${KUEUE_WORKLOADS_SETUP_FILEPATH} ${local_queue} ${project} ${cpu_requested} ${memory_requested} ${job_name_queue} |
Check warning
Code scanning / Robocop
Line is too long ({{ line_length }}/{{ allowed_length }}) Warning test
ods_ci/tests/Tests/650__distributed_workloads/test-distributed-workloads-metrics-ui.robot
Fixed
Show fixed
Hide fixed
ods_ci/tests/Tests/650__distributed_workloads/test-distributed-workloads-metrics-ui.robot
Fixed
Show fixed
Hide fixed
ods_ci/tests/Tests/650__distributed_workloads/test-distributed-workloads-metrics-ui.robot
Fixed
Show fixed
Hide fixed
07afb89
to
9b4249d
Compare
ods_ci/tests/Tests/650__distributed_workloads/test-distributed-workloads-metrics-ui.robot
Fixed
Show fixed
Hide fixed
fc514d9
to
b5cdd6c
Compare
... shell=true | ||
... stderr=STDOUT | ||
Log To Console ${result.stdout} | ||
IF ${result.rc} != 0 |
Check notice
Code scanning / Robocop
IF can be replaced with inline IF Note test
... shell=true | ||
... stderr=STDOUT | ||
Log To Console ${result.stdout} | ||
IF ${result.rc} != 0 |
Check notice
Code scanning / Robocop
'{{ block_name }}' condition can be simplified Note test
Wait For Job With Status | ||
[Documentation] Wait for job status with job name | ||
[Arguments] ${job_name} ${job_status} ${timeout} | ||
Wait Until Element Is Visible //td[@class='pf-v5-c-table__td' and contains(text(), '${job_name}')]/following-sibling::td[@data-label='Status']/span/span/span[@class='pf-v5-c-label__text'and text()='${job_status}'] timeout=${timeout} |
Check warning
Code scanning / Robocop
Line is too long ({{ line_length }}/{{ allowed_length }}) Warning test
[Tags] RHOAIENG-8559 | ||
... Tier1 DistributedWorkloads | ||
Submit Kueue Workload ${LOCAL_QUEUE_NAME} ${PRJ_TITLE} ${CPU_REQUESTED} ${MEMORY_REQUESTED} ${JOB_NAME_QUEUE} | ||
${MULTIPLE_LOCAL_QUEUE} Set Variable test-multiple-local-queue |
Check warning
Code scanning / Robocop
The assignment sign is not consistent within the file. Expected '{{ expected_sign }}' but got '{{ actual_sign }}' instead Warning test
... Tier1 DistributedWorkloads | ||
Submit Kueue Workload ${LOCAL_QUEUE_NAME} ${PRJ_TITLE} ${CPU_REQUESTED} ${MEMORY_REQUESTED} ${JOB_NAME_QUEUE} | ||
${MULTIPLE_LOCAL_QUEUE} Set Variable test-multiple-local-queue | ||
${MULTIPLE_JOB_NAME} Set Variable multiple-lq-job |
Check warning
Code scanning / Robocop
The assignment sign is not consistent within the file. Expected '{{ expected_sign }}' but got '{{ actual_sign }}' instead Warning test
# setup Kueue resource for the created project | ||
Setup Kueue Resources ${PRJ_TITLE} ${CLUSTER_QUEUE_NAME} ${RESOURCE_FLAVOR_NAME} ${MULTIPLE_LOCAL_QUEUE} | ||
# Submitting kueue batch workload | ||
Submit Kueue Workload ${MULTIPLE_LOCAL_QUEUE} ${PRJ_TITLE} ${CPU_REQUESTED} ${MEMORY_REQUESTED} ${MULTIPLE_JOB_NAME} |
Check warning
Code scanning / Robocop
Line is too long ({{ line_length }}/{{ allowed_length }}) Warning test
b5cdd6c
to
40fb4ac
Compare
40fb4ac
to
8d3b702
Compare
closes https://issues.redhat.com/browse/RHOAIENG-8559
Added test to verify Workload Metrics Requested by all projects resources when multiple local queue requesting for resources