Skip to content
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 Training operator smoke tests to DW stack #1436

Merged
merged 1 commit into from
May 10, 2024

Conversation

sutaakar
Copy link
Contributor

No description provided.

@sutaakar sutaakar requested review from jiripetrlik, Srihari1192, abhijeet-dhumal and ChughShilpa and removed request for Srihari1192 and ChughShilpa May 10, 2024 08:16
END

*** Keywords ***
Prepare Codeflare E2E Test Suite

Check warning

Code scanning / Robocop

Missing documentation in '{{ name }}' keyword Warning test

Missing documentation in 'Prepare Codeflare E2E Test Suite' keyword
Wait Component Ready trainingoperator
RHOSi Setup

Teardown Codeflare E2E Test Suite

Check warning

Code scanning / Robocop

Missing documentation in '{{ name }}' keyword Warning test

Missing documentation in 'Teardown Codeflare E2E Test Suite' keyword
@sutaakar sutaakar force-pushed the training-operator branch from 33648e3 to d56bf02 Compare May 10, 2024 08:18
Copy link
Contributor

Robot Results

✅ Passed ❌ Failed ⏭️ Skipped Total Pass %
455 0 0 455 100

ChughShilpa
ChughShilpa previously approved these changes May 10, 2024
Copy link
Contributor

@ChughShilpa ChughShilpa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Just one small change request, Instead of using %{ODH_NAMESPACE=redhat-ods-applications}, we can use
${APPLICATIONS_NAMESPACE} variable which fetches value from test variable file. Hence, our smoke tests run on ODH nightly as well as rhoai downstream .

https://github.com/red-hat-data-services/ods-ci/blob/master/ods_ci/test-variables.yml.example#L81

Currently our smoke tests fails in https://opendatascience-jenkins-csb-rhods.apps.ocp-c1.prod.psi.redhat.com/job/odh/job/autotrigger-smoke/

@sutaakar sutaakar force-pushed the training-operator branch from 8229fc0 to c11b949 Compare May 10, 2024 09:02
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@@ -14,18 +12,18 @@
[Tags] Smoke
... DistributedWorkloads
Log To Console Waiting for kuberay-operator to be available
${result} = Run Process oc wait --for\=condition\=Available --timeout\=60s -n ${ODH_NAMESPACE} deployment/kuberay-operator
${result} = Run Process oc wait --for\=condition\=Available --timeout\=60s -n ${APPLICATIONS_NAMESPACE} deployment/kuberay-operator

Check warning

Code scanning / Robocop

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

Line is too long (141/120)
@@ -34,35 +32,59 @@
[Tags] Smoke
... DistributedWorkloads
Log To Console Waiting for codeflare-operator-manager to be available
${result} = Run Process oc wait --for\=condition\=Available --timeout\=60s -n ${ODH_NAMESPACE} deployment/codeflare-operator-manager
${result} = Run Process oc wait --for\=condition\=Available --timeout\=60s -n ${APPLICATIONS_NAMESPACE} deployment/codeflare-operator-manager

Check warning

Code scanning / Robocop

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

Line is too long (151/120)
Log To Console Waiting for kueue-controller-manager to be available
${result} = Run Process oc wait --for\=condition\=Available --timeout\=300s -n ${ODH_NAMESPACE} deployment/kueue-controller-manager
${result} = Run Process oc wait --for\=condition\=Available --timeout\=300s -n ${APPLICATIONS_NAMESPACE} deployment/kueue-controller-manager

Check warning

Code scanning / Robocop

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

Line is too long (150/120)
[Tags] Smoke
... DistributedWorkloads
Log To Console Waiting for kubeflow-training-operator to be available
${result} = Run Process oc wait --for\=condition\=Available --timeout\=300s -n ${APPLICATIONS_NAMESPACE} deployment/kubeflow-training-operator

Check warning

Code scanning / Robocop

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

Line is too long (152/120)
${result} = Run Process oc wait --for\=condition\=Available --timeout\=300s -n ${APPLICATIONS_NAMESPACE} deployment/kubeflow-training-operator
... 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

'IF' condition can be simplified
@sutaakar
Copy link
Contributor Author

@ChughShilpa thanks, good catch
should be fixed now

@sutaakar
Copy link
Contributor Author

This needs to be fixed in other files too, though it is out of scope for this PR.

@ChughShilpa
Copy link
Contributor

@ChughShilpa thanks, good catch should be fixed now

Thanks Karel

@ChughShilpa
Copy link
Contributor

This needs to be fixed in other files too, though it is out of scope for this PR.

Yes right, i will raise the PR for this

@sutaakar sutaakar merged commit 0b6dfa9 into red-hat-data-services:master May 10, 2024
8 checks passed
@sutaakar sutaakar deleted the training-operator branch May 10, 2024 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants