Skip to content
GitLab
Next
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 44,761
    • Issues 44,761
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,329
    • Merge requests 1,329
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLabGitLab
  • Issues
  • #296814
Closed
Open
Issue created Jan 06, 2021 by Antoni Marcinek@amarcine

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

  • The count of reports is correct here: matrix-reports-1

  • But the reports are missing and not labelled to identify the matrix element here: matrix-reports-2

Output of checks

This bug happens on GitLab.com

Proposal

  • Do not aggregate jobs when dealing with matrix

backend

  • Ci::Build do not use group_name and find the job name with matrix_id included.

This should fix our issue without involving any frontend work.

Edited May 30, 2022 by Max Orefice
Assignee
Assign to
Time tracking