Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: Continuous Integration
-
Labels:None
-
Story Points:2
-
Epic Link:
-
Team:SQuaRE
Description
Post merger of DM-11612, junit xml files have been recorded with a non-zero failure count even though the build completed successfully. There is concern that there is a failure mode in which pytest observes a test failure but exists 0 (confirmed in DM-11693).
As the build is successful, lsstswBuild.sh's log printing is not triggered. It would be useful for debugging purposes to unconditionally artifact all of the build's *.log files. Tangentially, saving all of the log files would mean that lsstswBuild.sh's could be invoked without the --print-fail, possibly removing the need to address DM-5887.
While tracking down a problem with the first archiving attempt, I discovered that pipeline will incorrectly label the last step in a finally block as failed if an exception is raised in the try block.
https://issues.jenkins-ci.org/browse/JENKINS-46551