Re: Upload only the failed tests logs to the Postgres CI (Cirrus CI)

From: Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Upload only the failed tests logs to the Postgres CI (Cirrus CI)
Date: 2026-04-09 08:01:55
Message-ID: CAN55FZ3CSTpo9x_n5dm3G7wx8xquhZgsPhVvm+L0w8BWFrOAiA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On Tue, 7 Apr 2026 at 19:27, Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com> wrote:
>
> Hi,
>
> On Tue, 7 Apr 2026 at 19:18, Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com> wrote:
> >
> > Note: Currently NetBSD is failing with: 'env: python3: No such file or
> > directory', this can be fixed separately but I wanted to hear your
> > thoughts first.
>
> Quick update: Windows CI tasks seem to be running into issues. Like
> NetBSD, they can be fixed separately.

Here is v2, which addresses the issues I mentioned earlier.

I have updated the design since this will only be used for Meson
builds. I decided to invoke the script using 'meson compile
clear_testrun_folder', as this avoids the need to manually call
python3. This approach prevents issues on NetBSD, where the python3
environment may not be found.

I don’t expect the 'ci_meson_clear_testrun_folder' script to be used
outside of CI, so I placed it in the 'src/tools/ci/' directory.
However, if you think it could be useful beyond CI, we could consider
renaming it and moving it to 'src/tools/'.

--
Regards,
Nazir Bilal Yavuz
Microsoft

Attachment Content-Type Size
v2-0001-ci-Don-t-collect-successful-tests-logs.patch text/x-patch 5.9 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Richard Guo 2026-04-09 08:05:11 Re: Potential partition pruning regression on PostgreSQL 18
Previous Message Chao Li 2026-04-09 08:00:10 Re: Add missing period to DETAIL messages