Re: Windows CFBot is broken because ecpg dec_test.c error
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: Nazir Bilal Yavuz <byavuz81@gmail.com>
Cc: Jelte Fennema-Nio <postgres@jeltef.nl>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>,
Thomas Munro <thomas.munro@gmail.com>, Noah Misch <noah@leadboat.com>
Date: 2025-02-04T23:22:04Z
Lists: pgsql-hackers
Hi, On 2025-02-04 12:46:42 -0500, Andres Freund wrote: > On 2025-01-30 16:18:54 +0300, Nazir Bilal Yavuz wrote: > > On Wed, 29 Jan 2025 at 19:50, Andres Freund <andres@anarazel.de> wrote: > > > I don't think that's the entirety of the issue. > > > > > > Our dependencies aren't quite airtight enough. With a sufficiently modern > > > meson, try doing e.g. > > > > > > rm -rf tmp_install/ && ninja clean && meson test --suite setup --suite ecpg > > > > > > It'll fail, because the dependencies of the tests are insufficient. > > > > > > See the set of patches at > > > https://www.postgresql.org/message-id/qh4c5tvkgjef7jikjig56rclbcdrrotngnwpycukd2n3k25zi2%4044hxxvtwmgum > > > > > > > > > I think the only reason your patch on its own suffices, is that the "all" > > > target, that we ran separately beforehand, actually has sufficient > > > dependencies to make things work. > > > > Yes, you are right. I agree that what you said is the correct solution > > and that should be the ultimate goal. > > I think we need to fix this properly across branches. The version of meson is > going to be more common soon. And it'll be a problem for developers too, not > just CI. I'll start working on committing these fixes across the branches, > unless somebody protests immediately. > > > > What I shared could be a band-aid fix to make the Windows CI task happy > > until the patches you shared get committed. > > I think we'll still need something like what you propose. Although I do think > it'd be better if we continued building all targets in a dedicated _script: > block, so that you can see all build failures in those steps. Pushed like that. I'll watch CI and BF over the next hours. Greetings, Andres
Commits
-
Show more-intuitive titles for psql commands \dt, \di, etc.
- a14707da564e 18.0 cited
-
meson: Add missing dependencies for libpq tests
- ad80e5823a50 16.7 landed
- 73ed502ea677 17.3 landed
- 26aca4de43d5 18.0 landed
-
meson: Add missing dependencies to libpq_pipeline test
- 5acf0636f874 16.7 landed
- 09df23cf321e 17.3 landed
- c89525d57bce 18.0 landed
-
meson: Add pg_regress_ecpg to ecpg test dependencies
- 057762066792 16.7 landed
- f52bc2388277 17.3 landed
- 69b05d581eca 18.0 landed
-
meson: Add test dependencies for test_json_parser
- 493398de2c4e 17.3 landed
- 1be5c3737243 18.0 landed
-
meson: Improve dependencies for tmp_install test target
- dab83a62fc62 16.7 landed
- 74ef4855b081 18.0 landed
- 25cb77694128 17.3 landed
-
meson: Narrow dependencies for 'install-quiet' target
- 80620931053d 16.7 landed
- c2ede6640ca2 18.0 landed
- 6a4815c49226 17.3 landed
-
meson: ci: ensure tests are built before running them
- d9b5e2fc09b6 16.7 landed
- d38fd59d2a16 17.3 landed
- b2bdb972c0df 18.0 landed
-
Add get_opfamily_name() function
- 43493cceda2f 18.0 cited
-
Test ECPG decadd(), decdiv(), decmul(), and decsub() for risnull() input.
- 7819a25cd101 18.0 cited