Skip to content

Export failure exception to influx db

What does this MR do and why?

As part of gitlab-org/quality/quality-engineering/team-tasks#1918 (closed), we want to try out using exception data to filter out certain failures before considering a test for the reliable bucket. As a first step to achieve this, we need to save exception data to influxdb which this MR does.

Also logs the file name that saves the test metrics.

Example where this was tried out: https://gitlab.com/gitlab-org/gitlab/-/jobs/4839207922#L284

Screenshots or screen recordings

Screenshot from a csv file downloaded from https://influxdb.quality.gitlab.net/orgs/a9a4306351801917/data-explorer showing the _value for failure_exception _field populated:

Screenshot_2023-08-10_at_6.44.34_PM

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