Add mesa-ci-status
mesa-ci-status retrieves information through GITLAB API and generates a report in the format below. This report can be sent by email or posted in a gitlab issue with the --gitlab_post option.
Example of generated report:
PERIOD: 2022-04-01 - 2022-04-03
FAILED MERGE PIPELINES: 3/21 - 14.29%
FAILED JOBS: 10/1341 - 0.75%
TOP 5 FAILING JOBS:
+----------------------------+----------------------+
| job name | number of failures |
+============================+======================+
| a630-traces-restricted | 2 |
+----------------------------+----------------------+
| panfrost-t760-traces:armhf | 2 |
+----------------------------+----------------------+
| panfrost-t760-gles2:armhf | 2 |
+----------------------------+----------------------+
| panfrost-t720-gles2:arm64 | 2 |
+----------------------------+----------------------+
| softpipe | 1 |
+----------------------------+----------------------+
FAILED JOBS (limited to 100 entries):
+----------------------------+---------------+-------------------+----------------------------------------------------------+
| job name | pipeline id | stage | web_url |
+============================+===============+===================+==========================================================+
| a630-traces-restricted | 548584 | freedreno | https://gitlab.freedesktop.org/mesa/mesa/-/jobs/20643544 |
+----------------------------+---------------+-------------------+----------------------------------------------------------+
| panfrost-t760-traces:armhf | 547770 | arm | https://gitlab.freedesktop.org/mesa/mesa/-/jobs/20610138 |
+----------------------------+---------------+-------------------+----------------------------------------------------------+
| panfrost-t760-gles2:armhf | 547770 | arm | https://gitlab.freedesktop.org/mesa/mesa/-/jobs/20610137 |
+----------------------------+---------------+-------------------+----------------------------------------------------------+
| panfrost-t720-gles2:arm64 | 547770 | arm | https://gitlab.freedesktop.org/mesa/mesa/-/jobs/20610136 |
+----------------------------+---------------+-------------------+----------------------------------------------------------+
| softpipe | 547770 | software-renderer | https://gitlab.freedesktop.org/mesa/mesa/-/jobs/20608564 |
+----------------------------+---------------+-------------------+----------------------------------------------------------+
| panfrost-t760-traces:armhf | 547770 | arm | https://gitlab.freedesktop.org/mesa/mesa/-/jobs/20608508 |
+----------------------------+---------------+-------------------+----------------------------------------------------------+
| panfrost-t760-gles2:armhf | 547770 | arm | https://gitlab.freedesktop.org/mesa/mesa/-/jobs/20608507 |
+----------------------------+---------------+-------------------+----------------------------------------------------------+
| panfrost-t720-gles2:arm64 | 547770 | arm | https://gitlab.freedesktop.org/mesa/mesa/-/jobs/20608506 |
+----------------------------+---------------+-------------------+----------------------------------------------------------+
| a630-traces-restricted | 547387 | freedreno | https://gitlab.freedesktop.org/mesa/mesa/-/jobs/20590088 |
+----------------------------+---------------+-------------------+----------------------------------------------------------+
| panfrost-g72-gl:arm64 2/3 | 547387 | arm | https://gitlab.freedesktop.org/mesa/mesa/-/jobs/20590040 |
+----------------------------+---------------+-------------------+----------------------------------------------------------+
...
INFORMATION:
All numbers only considers mesa/mesa.
Pipelines with updated_at < 2022-04-01 and jobs with finished_at < 2022-04-01 were ignored.
FAILED MERGE PIPELINES: Calculated from finished pipelines triggered by Marge in a merge requests.
Counted when a pipeline contains a failed job, even if it got retried and
the pipeline passed (status success).
FAILED JOBS: Consider jobs from the same pipelines from FAILED MERGE PIPELINES.
Edited by Helen Mae Koike Fornazier