Skip to content

Copy test_failure to test-metrics-*.json file

Sanad Liaquat requested to merge tp-shl-write-to-test-metrics-file into main

What does this MR do and why?

Describe in detail what your merge request does and why.

As part of gitlab-org/quality/quality-engineering/team-tasks#1918 (closed), we would like to automate quarantining of reliable issues that are now deemed un-reliable. This will need to be done once we create the reliable report by utilising data from InfluxDb. We push data to influx db using the test-metrics-*.json files. One of the requirements for quarantining a test is that it should have an associated test failure issue.

In this MR, we copy over test failure issues to the test-metrics-*.json as soon as an issue is found or created when test results are processed.

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Sanad Liaquat

Merge request reports