Skip to content

[retried_tests.ml] associate retried tests with [owner] using [TESTOWNERS.json] and records

Arvid Jakobsson requested to merge arvid@classify-retried-by-product into master

Builds upon !56 (merged).

In this MR, we only add the owner data, but without an easy way of visualizing it in the flaky dashboard (that follows in !58 (merged)). However, grafana data exporter can be used to visualize the result.

Manual testing

GL_ACCESS_TOKEN=glpat-... TZ=UTC dune exec bin/main.exe -- -f retried_tests.ml -i -a retried_tests.pipelines=1050282010

and you should see output like:

Assigning test "Alpha: Originate EVM kernel with installer and dump PVM state" to owner "etherlink"

With a running local grafana instance, you can inspect the generated data.

Go to Home > Explore. Select datasource InfluxDB. Chose manual query edition mode. Select Format as: table. Enter and run the following query:

select * from tezos_tezos_retried_tests 

the result I get:

image

Edited by Arvid Jakobsson

Merge request reports