Test reports screen should include matrix ID as part of job name to differentiate matrix elements
Summary
When using test reports in parallel matrix jobs, the user interface shows only the last job tests and contains no information from which element of the matrix they originated. Because of this some information is missing (in the example project the one failure case is not visible at all) and for the information present it is hard to understand in what context (matrix element) it was obtained.
As a user of Matrix builds, I want the matrix ID to be part of the job name in the test report summary tab, so that I might differentiate my test reports based on them being generated with a matrix build.
Steps to reproduce
See the example project
Example Project
https://gitlab.com/amarcine/tests-in-matrix-builds
What is the current bug behavior?
No information about matrix element which produces the given test report and some test reports missing
What is the expected correct behavior?
Instead of a single job in the main test reports screen, there should be as many jobs as there are matrix elements, with names like the ones shown in the pipeline view (job_name [par1, par2, ...]) and each having its own test reports.
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com
Proposal
- Do not aggregate jobs when dealing with matrix
-
Ci::Build do not use
group_name
and find the job name withmatrix_id
included.
This should fix our issue without involving any frontend work.