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

Store DSC CR in case waiting for component fails #1297

Merged
merged 1 commit into from
Mar 14, 2024

Conversation

sutaakar
Copy link
Contributor

@sutaakar sutaakar commented Mar 14, 2024

This will help analyzing intermittent issues of components not being able to start in time.

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

@@ -387,7 +387,11 @@
${result} = Run Process oc wait "${cluster_name}" --for condition\=${component}Ready\=true --timeout\=3m
... shell=true stderr=STDOUT
IF $result.rc != 0
FAIL Timeout waiting for ${component} to be ready
${suffix} = Generate Random String 4 [LOWER]
${result_dsc_get} = Run Process oc get datascienceclusters.datasciencecluster.opendatahub.io -o yaml > dsc-${component}-dump-${suffix}.yaml

Check warning

Code scanning / Robocop

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

Line is too long (153/120)
${suffix} = Generate Random String 4 [LOWER]
${result_dsc_get} = Run Process oc get datascienceclusters.datasciencecluster.opendatahub.io -o yaml > dsc-${component}-dump-${suffix}.yaml
... shell=true stderr=STDOUT
IF ${result_dsc_get.rc} == ${0} FAIL Timeout waiting for ${component} to be ready, DSC CR content stored in 'dsc-${component}-dump-${suffix}.yaml'

Check warning

Code scanning / Robocop

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

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

Robot Results

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

@sutaakar sutaakar merged commit 0febecf into red-hat-data-services:master Mar 14, 2024
12 checks passed
@sutaakar sutaakar deleted the dsc-waiting-fail branch March 14, 2024 17:59
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