Open albertpuente opened 2 years ago
@albertpuente The EDP only creates entries in the DIL for failing test cases in Q/P, not for random errors.
@metmajer - are you folks sure (and this was tested e2e? :D)
If you take a look into the spock quickstarter . if gradle fails: https://github.com/opendevstack/ods-quickstarters/blob/master/e2e-spock-geb/Jenkinsfile.template#L33 we use 'error' - and that will fail downstream because of the above . From a compliance pow: ... this should result in an installation discrepency :))
@clemensutschig discrepancies are created from Jira Bugs assigned to the currently deployed version. Jira Bugs are created by EDP automatically, but only for failing tests. In case of a random pipeline failure, docs will not be generated. Remember?
@metmajer I do remember - but a "generic" failure in a "test" component - should create a bug & discrepency ... Not super urgent - but for the backlog
We should create a bug in this case - and create a discrepency from it .. (to really fit into the flow)
Describe the bug If a test component fails in production the pipeline fails and no DIL is generated. Reported with @clemensutschig
https://github.com/opendevstack/ods-jenkins-shared-library/blob/f2470541f2e9cd8d247f5924ce0f5246b2069644/src/org/ods/orchestration/util/MROPipelineUtil.groovy#L399 does not set
failfast
to false - which means if an error occurs it will be thrown immediately .. (ref: https://github.com/opendevstack/ods-jenkins-shared-library/blob/master/src/org/ods/orchestration/util/MROPipelineUtil.groovy#L127-L134)To Reproduce Do a full deployment to WIP -> D -> QA -> PROD where a test component fails either in QA or PROD. For instance, if sonarqube within the test case fails in PROD, the pipeline fails and no DIL is generated.
Expected behavior The pipeline should create and upload documents such as DIL.
Screenshots If applicable, add screenshots to help explain your problem.
Affected version (please complete the following information):
Log Output (ensure to remove any confidential information like tokens, project names, etc.
Failing SQ in component
Additional context n.a