Conversation
561ee8f to
1f06345
Compare
|
I did some refactoring and added pgbouncer. Some of the tests' of pgbouncer fail, they also fail on my local except |
It'd be good to check if that works with autoconf. If it's reproducible there, worth opening a bug
Looks good.
A good source could be the list of extensions from the various cloud providers. E.g. Likely interesting:
|
e8cf3f5 to
1ee3073
Compare
f1d9361 to
3203147
Compare
66a5254 to
d32b323
Compare
5bde7a5 to
dc1866e
Compare
1fec615 to
c247526
Compare
I checked with autoconf and same errors appeared.
While building oracfe, it fails with:
While building hll, it fails with:
Build step doesn't work, there is open issue for error: pgpartman/pg_partman#464 and I couldn't find a way to start tests of pg_partman.
Done.
Done.
Almost done, only one test (in_gml) fails and it also fails on my local. It is interesting that I tested with autoconf and there were 2 tests (in_gml, long_xact) failed. |
c247526 to
6b14ca3
Compare
6b14ca3 to
fd7dd56
Compare
Does it work against an autoconf build?
Probably worth reporting to the postgis folks |
8e05b51 to
83f703b
Compare
|
I re-enabled 'pg_partman' since pgpartman/pg_partman#464 is fixed. postgis is working now, it seems that both 'proj' and 'proj-devel' need to be installed on OpenSUSE Tumbleweed. 'proj-devel' is enough to build but 'in_gml' test doesn't pass. pg_bouncer isn't working(same errors on autoconf), should I remove or comment it? |
Yes, commenting it out for now makes sense. |
|
I updated branch to use debian instead of openSUSE. building orafce fails with: And I have some questions: 1 - I think we can create another task to build and test extensions, we can set that task's depends_on: debian meson task. Otherwise, if the tests pass but extensions fail; task will be shown as failed. |
orafce will need to be updated...
What packages are we talking about here? Depends on the size, I'd say. |
Yes, that makes sense. |
|
It might even be worth setting |
install_required_packages_for_extensions_script: |
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get -y install \
autoconf \
libtool \
libgeos-dev \
libproj-dev \
libprotobuf-c-dev \
protobuf-c-compiler |
How many MB does that add? |
anarazel
left a comment
There was a problem hiding this comment.
Besides the other comments, it might also be worth running pycodestyle over the test file
src/tools/ci/test_extensions
Outdated
| logfile_name = '{}-logfile'.format(logfile_prefix).strip('-') | ||
|
|
||
| postgres_server_commands = [ | ||
| ['pg_ctl', 'stop', '-D', pgsql_data_path], |
There was a problem hiding this comment.
Why do you need to stop the server first? I assume that's from a prior run?
There was a problem hiding this comment.
Yes, since shared_preload_libraries could change, I am restarting the server. Also, reading logs are a bit easier since each extension will have its own log.
This should work with several other buildsystems. TODO: Docs and example
This needs a bit more love before being ready...
This is part of the series to be able to test meson on more platforms than normally part of CI. Author: Andres Freund <andres@anarazel.de> Author: Nazir Bilal Yavuz <byavuz81@gmail.com> Author: Justin Pryzby <pryzby@telsasoft.com>
|
Could you rebase this? |
anarazel
left a comment
There was a problem hiding this comment.
I think some of the currently disabled extensions should now work?
pg_qualstats-logfile
Outdated
| @@ -0,0 +1,22 @@ | |||
| 2022-10-20 10:49:44.926 +03 [2932] LOG: starting PostgreSQL 16devel on x86_64, compiled by gcc-12.2.1 | |||
There was a problem hiding this comment.
Does this actually need to me merged?
I am not sure if that is correct way to test the extensions? Also, I tried a couple more extensions but it seems they don't support PG 15 yet. Do you have any other extension suggestions to add?