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

Fix the broken dryrun tests with Trusty deployment #1159

Merged
merged 3 commits into from
Jan 26, 2024

Conversation

nehachopra27
Copy link
Contributor

No description provided.

... label_selector=app.kubernetes.io/part-of=kserve
${containerNames} = Create List kube-rbac-proxy manager
... label_selector=app.kubernetes.io/part-of=trustyai
${containerNames} = Create List manager

Check notice

Code scanning / Robocop

{{ create_keyword }} can be replaced with VAR Note test

Create List can be replaced with VAR
@nehachopra27 nehachopra27 force-pushed the broken branch 2 times, most recently from 51fcff6 to 62cb486 Compare January 25, 2024 17:32
@@ -27,7 +27,8 @@
[Tags] Smoke
... Tier1
... ODS-173
Run OpenShift Metrics Query ${METRIC_RHODS_UNDEFINED} retry_attempts=1
Run OpenShift Metrics Query ${METRIC_RHODS_UNDEFINED} username=${OCP_ADMIN_USER.USERNAME} password=${OCP_ADMIN_USER.PASSWORD}

Check warning

Code scanning / Robocop

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

Line is too long (136/120)
@@ -46,7 +47,8 @@
... ODS-634
... Tier1
Skip If RHODS Is Self-Managed
${value} = Run OpenShift Metrics Query query=rhods_total_users
${value} = Run OpenShift Metrics Query query=rhods_total_users username=${OCP_ADMIN_USER.USERNAME} password=${OCP_ADMIN_USER.PASSWORD}

Check warning

Code scanning / Robocop

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

Line is too long (148/120)
@@ -61,8 +63,8 @@
Skip If RHODS Is Self-Managed

${value_openshift_observe} = Run OpenShift Metrics Query
... query=rhods_aggregate_availability
... retry_attempts=1 return_zero_if_result_empty=False
... query=rhods_aggregate_availability username=${OCP_ADMIN_USER.USERNAME} password=${OCP_ADMIN_USER.PASSWORD}

Check warning

Code scanning / Robocop

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

Line is too long (121/120)
@@ -111,7 +114,8 @@
Log In N Users To JupyterLab And Launch A Notebook For Each Of Them
... list_of_usernames=${list_of_usernames}
Sleep 60s reason=Wait until metrics are available
${value} = Run OpenShift Metrics Query query=cluster:usage:consumption:rhods:pod:up
${value} = Run OpenShift Metrics Query query=cluster:usage:consumption:rhods:pod:up username=${OCP_ADMIN_USER.USERNAME} password=${OCP_ADMIN_USER.PASSWORD}

Check warning

Code scanning / Robocop

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

Line is too long (170/120)
Copy link
Contributor

github-actions bot commented Jan 25, 2024

Robot Results

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

@jgarciao jgarciao added the enhancements Bugfixes, enhancements, refactoring, ... in tests or libraries (PR will be listed in release-notes) label Jan 26, 2024
Copy link

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

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

See analysis details on SonarCloud

@jstourac
Copy link
Member

Since we're touching this code - these robocop warnings about line lengths could be easily avoided in those cases, do you mind to update these?

Also, could you confirm this has been tested with a successful run?

... namespace=${APPLICATIONS_NAMESPACE} exp_replicas=1
Verify TrustyAI Operator Deployment
[Documentation] Verifies the deployment of the trustyai operator in the Applications namespace
Wait For Pods Number 1
Copy link
Contributor

Choose a reason for hiding this comment

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

why this change?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The Operator name was changed from now and when the PR was written and it was failing. Fixed it now. Works fine.

Copy link
Contributor

Choose a reason for hiding this comment

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

ok but why changing the kw?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

kW title has been changed.

Copy link
Contributor

Choose a reason for hiding this comment

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

okay, but way changing from Wait For Pods To Be Ready to Wait For Pods Number?

@nehachopra27 nehachopra27 merged commit f301ee7 into red-hat-data-services:master Jan 26, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancements Bugfixes, enhancements, refactoring, ... in tests or libraries (PR will be listed in release-notes)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants