From bd75a4e0e09647cdd4714e1df1eb9899ea0d3bab Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Tue, 29 Oct 2024 18:53:47 +0100 Subject: [PATCH] logformatter: add cleanup tracer log link I had a few cases where this is super handy in CI and if I can access the link without one extra click it safes me some time and hopefully makes it more discoverable for other to see how useful it can be sometimes. Signed-off-by: Paul Holzinger --- contrib/cirrus/logformatter | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/contrib/cirrus/logformatter b/contrib/cirrus/logformatter index ed7135e8d2..47463daee3 100755 --- a/contrib/cirrus/logformatter +++ b/contrib/cirrus/logformatter @@ -878,13 +878,16 @@ END_SYNOPSIS _a("{CIRRUS_BUILD_ID}", "https://cirrus-ci.com/build/{CIRRUS_BUILD_ID}"), _a("{CIRRUS_TASK_ID}", "https://cirrus-ci.com/task/{CIRRUS_TASK_ID}"))); - # Logs: link to original (unformatted) log; journal; and, if remote, server + # Logs: link to original (unformatted) log; journal; cleanup tracer; and, if remote, server my @logs; push @logs, _a("main", sprintf("https://api.cirrus-ci.com/v1/task/{CIRRUS_TASK_ID}/logs/%s.log", ($is_mac ? 'test' : 'main'))); push @logs, _a("journal", "https://api.cirrus-ci.com/v1/task/{CIRRUS_TASK_ID}/logs/journal.log") unless $is_mac; + push @logs, _a("cleanup tracer", "https://api.cirrus-ci.com/v1/artifact/task/{CIRRUS_TASK_ID}/cleanup_tracer/podman-cleanup-tracer.log") + unless $is_mac; + # System tests are single-threaded, and have a server log available if ($test_name =~ /sys\s+remote\s/) { push @logs, _a("remote server", "https://api.cirrus-ci.com/v1/artifact/task/{CIRRUS_TASK_ID}/server_log/podman-server.log");