-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
installcheck not passed with pg12 pg13 pg14 #123
Comments
i test pg12 pg13 pg14,almost the same error message: "tests failed for test load_function" |
Hi, thanks for reporting. I tested in my environments and I found that all tests passed
The test procedure is following.
Please let me know your environment and your reproducible procedure. Regards, |
centos7.6 x86_64 pg12.10 pg13.6 pg14.2 |
eg: pg13.6postgres@pg pg_bulkload-VERSION3_1_19]$ cat /etc/centos-release [postgres@pg pg_bulkload-VERSION3_1_19]$ psql postgres=# \q [postgres@pg pg_bulkload-VERSION3_1_19]$ make uninstall [postgres@pg pg_bulkload-VERSION3_1_19]$ make install [postgres@pg pg_bulkload-VERSION3_1_19]$ make installcheck =======================
|
Thanks, I also tested with CentOS 7.9 and it works. Please to make new data cluster and test the pg_bulkload.
The regression.diff you shared said the following.
So, I would like to examine whether the root cause is pg_bulkload or not.
|
i use a cleaning PGDATA it's ok. so i check the postgresql.conf, found the difference: when i add shared_preload_libraries ='pgaudit', it occured. |
i test pg12(with pgaudit-1.4.3) 、pg13 (with pgaudit-1.5.2) 、pg14 (with pgaudit-1.6.2),when drop the "pgaudit" in shared_preload_libraries, all the 10 tests passed. |
Thanks, I could reproduce the issue. |
…ssc-db#123) If a function has variadic arguments, postgres may crash when the wrong number of arguments may be passed to postgres.
) (#138) If a function has variadic arguments, postgres may crash when the wrong number of arguments may be passed to postgres.
…ssc-db#123) (ossc-db#138) If a function has variadic arguments, postgres may crash when the wrong number of arguments may be passed to postgres.
VERSION3_1_20 fixed this issue. So I close this issue. |
i use pg_bulkload-VERSION3_1_19.tar.gz execute "make installcheck" ,get " 1 of 10 tests failed. " for test load_function
[postgres@pg pg_bulkload-VERSION3_1_19]$ make installcheck
Makefile:33: warning: overriding recipe for target
check' /opt/pg13/lib/postgresql/pgxs/src/makefiles/pgxs.mk:433: warning: ignoring old recipe for target
check'make[1]: Entering directory `/opt/pg_extension/pg_bulkload-VERSION3_1_19/bin'
cp sql/init-extension-v2.sql sql/init-13.sql
cp sql/init-13.sql sql/init.sql
cp sql/load_bin-v2.sql sql/load_bin-13.sql
cp sql/load_bin-13.sql sql/load_bin.sql
cp sql/load_csv-v2.sql sql/load_csv-13.sql
cp sql/load_csv-13.sql sql/load_csv.sql
cp sql/load_function-v3.sql sql/load_function-13.sql
cp sql/load_function-13.sql sql/load_function.sql
cp sql/load_filter-v3.sql sql/load_filter-13.sql
cp sql/load_filter-13.sql sql/load_filter.sql
cp sql/write_bin-v2.sql sql/write_bin-13.sql
cp sql/write_bin-13.sql sql/write_bin.sql
/opt/pg13/lib/postgresql/pgxs/src/makefiles/../../src/test/regress/pg_regress --inputdir=./ --bindir='/opt/pg13/bin' --dbname=contrib_regression --encoding=UTF8 init load_bin load_csv load_remote load_function load_encoding load_check load_filter load_parallel write_bin
(using postmaster on Unix socket, port 1306)
============== dropping database "contrib_regression" ==============
DROP DATABASE
============== creating database "contrib_regression" ==============
CREATE DATABASE
ALTER DATABASE
============== running regression test queries ==============
test init ... ok 3706 ms
test load_bin ... ok 1031 ms
test load_csv ... ok 638 ms
test load_remote ... ok 199 ms
test load_function ... FAILED 2560 ms
test load_encoding ... ok 447 ms
test load_check ... ok 307 ms
test load_filter ... ok 1018 ms
test load_parallel ... ok 4831 ms
test write_bin ... ok 698 ms
=======================
1 of 10 tests failed.
The differences that caused some tests to fail can be viewed in the
file "/opt/pg_extension/pg_bulkload-VERSION3_1_19/bin/regression.diffs". A copy of the test summary that you see
above is saved in the file "/opt/pg_extension/pg_bulkload-VERSION3_1_19/bin/regression.out".
make[1]: *** [installcheck] Error 1
make[1]: Leaving directory
/opt/pg_extension/pg_bulkload-VERSION3_1_19/bin' make[1]: Entering directory
/opt/pg_extension/pg_bulkload-VERSION3_1_19/lib'make[1]: Nothing to be done for
installcheck'. make[1]: Leaving directory
/opt/pg_extension/pg_bulkload-VERSION3_1_19/lib'make[1]: Entering directory
/opt/pg_extension/pg_bulkload-VERSION3_1_19/util' make[1]: Nothing to be done for
installcheck'.make[1]: Leaving directory `/opt/pg_extension/pg_bulkload-VERSION3_1_19/util'
make: *** [installcheck] Error 2
The text was updated successfully, but these errors were encountered: