Skip to content

junit.xml contains failures which but the job does not report any failures

Summary

The junit.xml contains 3 failures but the job is marked as passing in the UI.

Steps to reproduce

junit__2_.xml

This junit file contains three failures.

This job is marked as passing: https://gitlab.haskell.org/ghc/ghc/-/jobs/27946

What is the expected correct behavior?

The job should be marked as failing, as there are 3 failures in the junit output.

The only thing I can think of that goes wrong is that there is some kind of collision between the different junit files for each CI job but seeing how the status of each job is marked as either pass/fail, I don't see how that mistake could easily be made in the implementation.