-
Notifications
You must be signed in to change notification settings - Fork 82
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 Kueue tests #1148
Add Kueue tests #1148
Conversation
ods_ci/tests/Tests/650__distributed_workloads/test-run-kueue-e2e-tests.robot
Fixed
Show fixed
Hide fixed
ods_ci/tests/Tests/650__distributed_workloads/test-run-kueue-e2e-tests.robot
Fixed
Show fixed
Hide fixed
|
||
|
||
*** Keywords *** | ||
Prepare Kueue E2E Test Suite |
Check warning
Code scanning / Robocop
Keyword '{{ keyword_name }}' has too many keywords inside ({{ keyword_count }}/{{ max_allowed_count }}) Warning test
ods_ci/tests/Tests/650__distributed_workloads/test-run-kueue-e2e-tests.robot
Fixed
Show fixed
Hide fixed
${result} = Run Process git clone -b ${KUEUE_REPO_BRANCH} ${KUEUE_REPO_URL} ${KUEUE_DIR} | ||
... 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
ods_ci/tests/Tests/650__distributed_workloads/test-run-kueue-e2e-tests.robot
Fixed
Show fixed
Hide fixed
ods_ci/tests/Tests/650__distributed_workloads/test-run-kueue-e2e-tests.robot
Fixed
Show fixed
Hide fixed
ods_ci/tests/Tests/650__distributed_workloads/test-run-kueue-e2e-tests.robot
Fixed
Show fixed
Hide fixed
ods_ci/tests/Tests/650__distributed_workloads/test-run-kueue-e2e-tests.robot
Fixed
Show fixed
Hide fixed
|
||
Enable Visibility Feature Gate | ||
[Documentation] Enable Visibility Feature Gate | ||
${return_code} = Run And Return Rc oc patch deployment kueue-controller-manager -n kueue-system --type 'json' -p '[{"op" : "add" ,"path" : "/spec/template/spec/containers/0/args/-" ,"value" : "--feature-gates=VisibilityOnDemand=true"}]' |
Check warning
Code scanning / Robocop
Line is too long ({{ line_length }}/{{ allowed_length }}) Warning test
Robot Results
|
a8f482d
to
1068f4e
Compare
ods_ci/tests/Tests/650__distributed_workloads/test-run-kueue-e2e-tests.robot
Show resolved
Hide resolved
ods_ci/tests/Tests/650__distributed_workloads/test-run-kueue-e2e-tests.robot
Show resolved
Hide resolved
ods_ci/tests/Tests/650__distributed_workloads/test-run-kueue-e2e-tests.robot
Outdated
Show resolved
Hide resolved
ods_ci/tests/Tests/650__distributed_workloads/test-run-kueue-e2e-tests.robot
Outdated
Show resolved
Hide resolved
1068f4e
to
5891a8a
Compare
|
||
# Add label instance-type=on-demand on worker node | ||
Log To Console Add label on worker node ... | ||
${return_code} ${output} Run And Return Rc And Output oc get nodes -o name --selector=node-role.kubernetes.io/worker | tail -n1 |
Check warning
Code scanning / Robocop
Line is too long ({{ line_length }}/{{ allowed_length }}) Warning test
|
||
# Add label instance-type=on-demand on worker node | ||
Log To Console Add label on worker node ... | ||
${return_code} ${output} Run And Return Rc And Output oc get nodes -o name --selector=node-role.kubernetes.io/worker | tail -n1 |
Check warning
Code scanning / Robocop
Local variable '{{ name }}' is overwritten before usage Warning test
|
||
# Add label instance-type=on-demand on worker node | ||
Log To Console Add label on worker node ... | ||
${return_code} ${output} Run And Return Rc And Output oc get nodes -o name --selector=node-role.kubernetes.io/worker | tail -n1 |
Check warning
Code scanning / Robocop
The assignment sign is not consistent within the file. Expected '{{ expected_sign }}' but got '{{ actual_sign }}' instead Warning test
# Add label instance-type=on-demand on worker node | ||
Log To Console Add label on worker node ... | ||
${return_code} ${output} Run And Return Rc And Output oc get nodes -o name --selector=node-role.kubernetes.io/worker | tail -n1 | ||
Set Suite Variable ${WORKER_NODE} ${output} |
Check notice
Code scanning / Robocop
{{ set_variable_keyword }} can be replaced with VAR Note test
|
||
Teardown Kueue E2E Test Suite |
Check warning
Code scanning / Robocop
Invalid number of empty lines between keywords ({{ empty_lines }}/{{ allowed_empty_lines }}) Warning test
Teardown Kueue E2E Test Suite | ||
[Documentation] Teardown Kueue E2E Test Suite | ||
Log To Console Uninstall Kueue ... | ||
${return_code} ${output} Run And Return Rc And Output kubectl delete -k "github.com/kubernetes-sigs/kueue/config/default?ref=main" --ignore-not-found=true |
Check warning
Code scanning / Robocop
Line is too long ({{ line_length }}/{{ allowed_length }}) Warning test
5891a8a
to
3be350a
Compare
... env:GOBIN=${JOB_GO_BIN} | ||
... cwd=${KUEUE_DIR} | ||
Log To Console ${result.stdout} | ||
IF ${result.rc} != 0 |
Check notice
Code scanning / Robocop
IF can be replaced with inline IF Note test
... env:GOBIN=${JOB_GO_BIN} | ||
... cwd=${KUEUE_DIR} | ||
Log To Console ${result.stdout} | ||
IF ${result.rc} != 0 |
Check notice
Code scanning / Robocop
'{{ block_name }}' condition can be simplified Note test
|
||
Run Kueue E2E Test | ||
[Documentation] Run Kueue E2E Test | ||
[Arguments] ${test_name} |
Check warning
Code scanning / Robocop
{{ var_or_arg }} '{{ variable_name }}' overwrites reserved variable '{{ reserved_variable }}' Warning test
... shell=true stderr=STDOUT | ||
... env:PATH=%{PATH}:${JOB_GO_BIN} | ||
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 | ||
... env:PATH=%{PATH}:${JOB_GO_BIN} | ||
Log To Console ${result.stdout} | ||
IF ${result.rc} != 0 |
Check notice
Code scanning / Robocop
'{{ block_name }}' condition can be simplified Note test
${return_code} = Run And Return Rc oc patch deployment kueue-controller-manager -n kueue-system --type 'json' -p '[{"op" : "add" ,"path" : "/spec/template/spec/containers/0/args/-" ,"value" : "--feature-gates=VisibilityOnDemand=true"}]' | ||
Should Be Equal As Integers ${return_code} 0 msg=Visiblity feature gate is not enabled | ||
|
||
${return_code} = Run And Return Rc oc rollout status deployment/kueue-controller-manager -n kueue-system --timeout=3m |
Check warning
Code scanning / Robocop
Line is too long ({{ line_length }}/{{ allowed_length }}) Warning test
3be350a
to
1dbc8b6
Compare
1dbc8b6
to
6151eb5
Compare
Verified in Jenkins build - rhods-pipeline-dw/213/ |
6151eb5
to
9ea7735
Compare
ods_ci/tests/Tests/650__distributed_workloads/test-run-kueue-e2e-tests.robot
Outdated
Show resolved
Hide resolved
9ea7735
to
d39baff
Compare
d39baff
to
bea2b28
Compare
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
RHOAIENG-1572