Re: Upload only the failed tests logs to the Postgres CI (Cirrus CI)
Nazir Bilal Yavuz <byavuz81@gmail.com>
From: Nazir Bilal Yavuz <byavuz81@gmail.com>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2026-04-09T08:01:55Z
Lists: pgsql-hackers
Attachments
- v2-0001-ci-Don-t-collect-successful-tests-logs.patch (text/x-patch) patch v2-0001
Hi, On Tue, 7 Apr 2026 at 19:27, Nazir Bilal Yavuz <byavuz81@gmail.com> wrote: > > Hi, > > On Tue, 7 Apr 2026 at 19:18, Nazir Bilal Yavuz <byavuz81@gmail.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