Open psss opened 5 years ago
@bgoncalv This is something we should address in the Jenkinsfile of the upstream-fedora-pipeline, right?
@johnbieren right, I think updating the Jenkinsfile on upstream-fedora-pipeline would be the easiest change. Other option would be after the playbook is executed on "package-test.sh". Where do you think makes more sense to parse the results.yml?
@bgoncalv good point, perhaps package-test.sh is best since the error codes are right there and we don't have to rely on the proper error code being propagated through
There has been a discussion about how to improve reporting results in the Standard Test Interface so that it is more easy to distinguish test failure from infrastructure error:
Let's update the pipeline according to the agreed result: The main difference is that ansible-playbook should return non-zero status only upon infrastructure errors while tests failures can be detected from the newly defined file
results.yml
which will have the following format:Extended version with links to logs:
The expected behaviour of the pipeline is this:
This issue is blocked by implementation of the new functionality in Standard Test Roles which is tracked here: