Re: CI and test improvements
Justin Pryzby <pryzby@telsasoft.com>
Attachments
- 0001-cirrus-windows-add-compiler_warnings_script.patch (text/x-diff)
On Sat, May 28, 2022 at 10:37:41AM -0500, Justin Pryzby wrote: > I'm "joining" a bunch of unresolved threads hoping to present them better since > they're related and I'm maintaining them together anyway. This resolves an error with libpq tests in an intermediate commit, probably caused by rebasing (and maybe hidden by the fact that the tests weren't being run). And updates ccache to avoid CCACHE_COMPILER. Should any of the test changes go into v15 ? > Subject: [PATCH 02/19] cirrus/vcregress: test modules/contrib with NO_INSTALLCHECK=1 > Subject: [PATCH 08/19] vcregress: add alltaptests > Subject: [PATCH 14/19] Move libpq_pipeline test into src/interfaces/libpq. > Subject: [PATCH 15/19] msvc: do not install libpq test tools by default I also added: cirrus/ccache: disable compression and show stats Since v4.0, ccache enables zstd compression by default, saving roughly 2x-3x. But, cirrus caches are compressed as tar.gz, so we could disable ccache compression, allowing cirrus to gzip the uncompressed data (better than ccache's default of zstd-1). https://cirrus-ci.com/build/5194596123672576 debian/bullseye has ccache 4.2; cirrus says 92MB cache after a single compilation; cache_size_kibibyte 102000 macos: has 4.5.1: 46MB cache; cache_size_kibibyte 51252 freebsd: has 3.7.12: 41MB cache; cache_size_kibibyte 130112 For some reason, mac's ccache uses 2x less space than either freesbsd or linux. Linux is ~30% larger. Freebsd uploads an artifact 3x smaller than the size ccache reports, because its ccache is old so doesn't enable compression by default. I've also sent some patches to Thomas for cfbot to help progress some of these patches (code coverage and documentation upload as artifacts). https://github.com/justinpryzby/cfbot/commits/master -- Justin
Commits
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
ci: Add test coverage of different pg_upgrade modes
- 21a71648d39f 17.0 landed
-
seg: Add test "security" in meson.build
- 6b14404b0b97 16.2 landed
- 2f35c14cfb3d 17.0 landed
-
cirrus/freebsd: define ENFORCE_REGRESSION_TEST_NAME_RESTRICTIONS
- 9945750ae0e3 17.0 landed
-
cirrus/ccache: Use G rather than GB suffix
- bf32ec225635 16.0 landed
-
ci: Upgrade macOS version from 12 to 13.
- 83c7e2f2a2f5 15.2 landed
- 2e9f120b657e 16.0 landed
-
meson: Add two missing regress tests
- 27da598961ce 16.0 landed
-
Push lpp variable closer to usage in heapgetpage()
- e351f8541831 16.0 cited
-
ci: Change macOS builds from Intel to ARM.
- 14d63dd2523c 16.0 landed
- dc513bc6544d 15.2 landed
-
ci: Introduce SanityCheck task that other tasks depend on
- 94a3e026cc4d 16.0 landed
-
ci: Use -fsanitize=undefined,alignment,address in linux tasks
- bd82928625e7 16.0 landed
-
ci: Clean up pre-meson cruft in windows task
- ec267fd5a5e8 16.0 landed
-
meson: Mark PROVE as not required
- ab72a31f6cc5 16.0 landed
-
ci: enable various runtime checks on FreeBSD and macOS
- 89d16b63527d 16.0 landed