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

RM: test-stage fails /with unstash exception/ if no installation/integration/acceptance test results are provided #811

Closed
clemensutschig opened this issue Dec 17, 2021 · 0 comments · Fixed by #814
Assignees
Labels
enhancement New feature or request

Comments

@clemensutschig
Copy link
Member

clemensutschig commented Dec 17, 2021

Is your feature request related to a problem? Please describe.
The RM teststage fails (non gracefully) if the test component does NOT return installation, integration and acceptance tests (as stashes)

java.lang.RuntimeException: Error: unable to unstash JUnit XML reports, type 'installation' for repo 'tosca' from stash 'installation-test-reports-junit-xml-tosca-127'.
at org.ods.orchestration.Stage.getTestResults(Stage.groovy:115)
at org.ods.orchestration.TestStage.run(TestStage.groovy:40)
at com.cloudbees.groovy.cps.CpsDefaultGroovyMethods.callClosureForMapEntry(CpsDefaultGroovyMethods:5228)
at com.cloudbees.groovy.cps.CpsDefaultGroovyMethods.each(CpsDefaultGroovyMethods:2107)
at org.ods.orchestration.TestStage.run(TestStage.groovy:39)
at org.ods.orchestration.util.MROPipelineUtil.prepareExecutePhaseForRepoNamedJob(MROPipelineUtil.groovy:407)
at org.ods.orchestration.util.PipelineUtil.executeBlockAndFailBuild(PipelineUtil.groovy:154)
at org.ods.orchestration.util.MROPipelineUtil.prepareExecutePhaseForRepoNamedJob(MROPipelineUtil.groovy:333)
at ___cps.transform___(Native Method)

Describe the solution you'd like
In case no stash results are provided, a warning should be displayed - and the error should come from JIRA (unexecuted tests) - but not from within the teststage

@clemensutschig clemensutschig added the enhancement New feature or request label Dec 17, 2021
@clemensutschig clemensutschig self-assigned this Dec 17, 2021
@clemensutschig clemensutschig changed the title RM: test-stage fails if no installation/integration/acceptance test results are provided RM: test-stage fails /with unstash exception/ if no installation/integration/acceptance test results are provided Dec 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant