Closed AndreMikulec closed 1 month ago
branch
R_4.4.1_PGsrc_REL_17_QQQ_PGbin_UCRT64_x64_windows_latest_Debug_R_4.4.1_PGSRC_PGSRCMETH_SRCCTB_true
R 4.4.1 PGsrc REL_17_BETA2 PGbin UCRT64 x64 windows-latest Debug R 4.4.1 PGSRC PGSRCMETH SRCCTB true matid 7
R devel PGsrc REL_16_3 PGbin 16.3-2 UCRT64 x64 windows-latest Debug R devel PGSRC PGSRCMETH SRCCTB true matid 8
REL_17_BETA1 and 12/31/2024
(fails)
REL_17_STABLE
REL_17_BETA2 23c5a0e7 - 6/24/2024 5:24:14 PM
REL_17_BETA1 c3726716 - 5/21/2024 12:54:09 PM
1141e29b61e9bf82b045540d41b27581fc3207ec - 12/31/2023 9:30:57 AM - Revert "pg_stat_statements: Add coverage for entry_dealloc()"
Git Extensions
check remote origin/REL_17_STABLE - in memory only
search branch - origin/REL_17_STABLE
search REL_17
(all fail)
11/30/2023 11:52:13 PM 10/31/2023 1:18:42 PM 9/30/2023 3:10:47 PM 8/31/2023 6:02:15 AM
f66fcc5cd616da8d81a2d2f9b80a9f080796f4b6 - 11/30/2023 11:52:13 PM
6ec62b779907e2fa49283a7d1dbd761fb64675f1 - 10/31/2023 1:18:42 PM
b1a8dc846da4d96d903dcb5733f68a1e02d82a23 - 9/30/2023 3:10:47 PM
e8d74ad625f7344f6b715254d3869663c1569a51 - 8/31/2023 6:02:15 AM
(HAD BEEN SUCCESS)
d3a38318ac614f20a9e2e163bba083d15be54f06 - 7/31/2023 8:04:47 PM
(successes)
7/31/2023 4/29/2023
d3a38318ac614f20a9e2e163bba083d15be54f06 # 7/31/2023 WORKS
f47004add16041a9cbd19aef29775ca4d9d6001e # 4/29/2023 WORKS
----
8/31/2023 6:02:15 AM 8/24/2023 4:25:51 AM 8/17/2023 8:40:46 PM 8/9/2023 4:00:50 AM 7/31/2023 8:04:47 PM
(HAD BEEN FAIL)
e8d74ad625f7344f6b715254d3869663c1569a51 - 8/31/2023 6:02:15 AM
2024-08-05T02:54:56.9240443Z # meson test -C build --num-processes 1 -v --suite setup --suite plr
2024-08-05T02:54:56.9241719Z meson test -C build --num-processes 1 -q --print-errorlogs --suite setup --suite plr
2024-08-05T02:54:56.9243062Z + meson test -C build --num-processes 1 -q --print-errorlogs --suite setup --suite plr
2024-08-05T02:54:57.4906612Z ninja: Entering directory `D:/PGSOURCE/build'
2024-08-05T02:54:57.4907159Z ninja: no work to do.
2024-08-05T02:54:59.2882577Z | 4/4 # test failed ERROR
2024-08-05T02:54:59.2942695Z 4/4 postgresql:plr / plr/regress ERROR 0.06s exit status 2
2024-08-05T02:54:59.2951182Z >>> INITDB_TEMPLATE=D:/PGSOURCE/build/tmp_install/initdb-template REGRESS_SHLIB=D:/PGSOURCE/build/src/test/regress/regress.dll ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 PG_REGRESS=D:/PGSOURCE/build/src/test/regress/pg_regress.exe MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 PG_TEST_EXTRA= UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=213 MESON_TEST_ITERATION=1 PATH=D:/PGSOURCE/build/tmp_install/PGINSTALL/bin;D:/PGSOURCE/build/contrib/plr;D:\RINSTALL\bin\x64;D:\RINSTALL\bin;D:\a\_temp\msys64\ucrt64\bin;D:\a\_temp\msys64\ucrt64\bin\site_perl\5.38.2;D:\a\_temp\msys64\ucrt64\bin\vendor_perl;D:\a\_temp\msys64\ucrt64\bin\core_perl;D:\a\_temp\msys64\usr\local\bin;D:\a\_temp\msys64\usr\bin;D:\a\_temp\msys64\usr\bin D:\a\_temp\msys64\ucrt64\bin/python3.EXE D:/PGSOURCE/build/../src/tools/testwrap --basedir D:/PGSOURCE/build --srcdir D:/PGSOURCE/contrib/plr --testgroup plr --testname regress -- D:/PGSOURCE/build/src/test/regress/pg_regress.exe --inputdir D:/PGSOURCE/contrib/plr --expecteddir D:/PGSOURCE/contrib/plr --bindir --dlpath D:/PGSOURCE/build/contrib/plr --max-concurrent-tests=20 --dbname regression_plr --outputdir D:/PGSOURCE/build/testrun/plr/regress --temp-instance D:/PGSOURCE/build/testrun/plr/regress/tmp_check --port 40041 plr bad_fun opt_window do out_args plr_transaction opt_window_frame
2024-08-05T02:54:59.2957823Z ------------------------------------- 8< -------------------------------------
2024-08-05T02:54:59.2958217Z stderr:
2024-08-05T02:54:59.2959068Z # could not open "D:/PGSOURCE/build/testrun/plr/regress/tmp_check/data/postgresql.conf" for adding extra config: No such file or directory
(HAD BEEN "WRONG" SUCCESS)
9efcf442b9a4035be2692525be81a23224288d1b - 8/24/2023 4:25:51 AM
2024-08-05T02:55:11.6800156Z # meson test -C build --num-processes 1 -v --suite setup --suite plr
2024-08-05T02:55:11.6801465Z meson test -C build --num-processes 1 -q --print-errorlogs --suite setup --suite plr
2024-08-05T02:55:11.6802820Z + meson test -C build --num-processes 1 -q --print-errorlogs --suite setup --suite plr
2024-08-05T02:55:12.2512676Z ninja: Entering directory `D:/PGSOURCE/build'
2024-08-05T02:55:12.2513314Z ninja: no work to do.
2024-08-05T02:55:20.9477040Z
2024-08-05T02:55:20.9477498Z Ok: 3
2024-08-05T02:55:20.9478214Z Expected Fail: 0
2024-08-05T02:55:20.9478559Z Fail: 0
2024-08-05T02:55:20.9478883Z Unexpected Pass: 0
2024-08-05T02:55:20.9479207Z Skipped: 0
2024-08-05T02:55:20.9479503Z Timeout: 0
2024-08-05T02:55:20.9479695Z
2024-08-05T02:55:20.9480232Z Full log written to D:/PGSOURCE/build/meson-logs/testlog.txt
249d74394500e0830d45769423fe8aac7012537c - 8/17/2023 8:40:46 PM
(HAD BEEN "WRONG" SUCCESS)
4a8fef0d733965c1a1836022f8a42ab1e83a721f - 8/9/2023 4:00:50 AM
(HAD BEEN "WRONG" SUCCESS)
d3a38318ac614f20a9e2e163bba083d15be54f06 - 7/31/2023 8:04:47 PM
SEARCH github postgres for "cube"
TEST_JOBS: 8 (XX seems the number of MTEST_ARGS found XX)
MTEST_ARGS: --print-errorlogs --no-rebuild -C build
meson test $MTEST_ARGS --suite setup
meson test $MTEST_ARGS --num-processes ${TEST_JOBS} cube/regress pg_ctl/001_start_stop
TRY
meson test --print-errorlogs --no-rebuild -C build --suite setup
meson test --print-errorlogs --no-rebuild -C build --num-processes 1 cube/regress pg_ctl/001_start_stop
meson test --print-errorlogs --no-rebuild -C build --suite setup
meson test --print-errorlogs --no-rebuild -C build --num-processes 1 plr/regress pg_ctl/001_start_stop
TRY AGAIN
meson test --print-errorlogs --no-rebuild -C build --suite setup
meson test --print-errorlogs --no-rebuild -C build --num-processes 1 cube/regress
meson test --print-errorlogs --no-rebuild -C build --suite setup
meson test --print-errorlogs --no-rebuild -C build --num-processes 1 plr/regress
1/1 postgresql:cube / cube/regress ERROR 0.06s exit status 2
1/1 postgresql:plr / plr/regress ERROR 0.06s exit status 2
# could not open "D:/PGSOURCE/build/testrun/cube/regress/tmp_check/data/postgresql.conf" for adding extra config: No such file or directory
-q is not mentioned
https://mesonbuild.com/Unit-tests.html
TRY AGAIN AGAIN (WITH WIKI)
https://wiki.postgresql.org/index.php?title=Meson&diff=39209&oldid=38340
meson test -C build --num-processes 1 --no-rebuild --print-errorlogs --suite setup --suite cube || true
meson test -C build --num-processes 1 --no-rebuild --print-errorlogs --suite setup --suite plr
https://github.com/AndreMikulec/plr/actions/runs/10242935555/job/28333444705
EARLIER JOB PASSED
MORE RECENT 'time' JOBS
https://github.com/AndreMikulec/plr/actions/runs/10243228302
EG
https://github.com/postgres/postgres/blame/75534436a477474ea05004b7fbed21e20cea774a/contrib/cube/meson.build
tests += {
'name': 'cube',
'sd': meson.current_source_dir(),
'bd': meson.current_build_dir(),
'regress': {
'sql': [
'cube',
'cube_sci',
],
},
}
plr meson.build
tests += {
'name': 'plr',
'sd': meson.current_source_dir(),
'bd': meson.current_build_dir(),
'regress': {
'sql': [
plr_regress
],
},
}
https://github.com/postgres/postgres/blob/75534436a477474ea05004b7fbed21e20cea774a/src/bin/pg_ctl/meson.build#L26
tests += {
'name': 'pg_ctl',
'sd': meson.current_source_dir(),
'bd': meson.current_build_dir(),
'tap': {
'tests': [
't/001_start_stop.pl',
't/002_status.pl',
't/003_promote.pl',
't/004_logrotate.pl',
],
},
}
https://github.com/postgres/postgres/blame/9625845532ae03e7da3fc8fc592c6ec333b93166/.cirrus.tasks.yml#L92
configure_script: |
su postgres <<-EOF
meson setup \
--buildtype=debug \
--auto-features=disabled \
-Dtap_tests=enabled \
build
EOF
IF THE "TRY" WORKS
# AUG 24 2023 - by - change 252dcb3, made on Aug 24, 2023
# anarazel
# Andres Freund
# Discussion: https://postgr.es/m/20220120021859.3zpsfqn4z7ob7afz@alap3.anarazel.de
# LAST OF THREAD DISCUSSION: https://www.postgresql.org/message-id/20230805222639.npbht6inelpn34hr%40awork3.anarazel.de
# https://github.com/postgres/postgres/blob/75534436a477474ea05004b7fbed21e20cea774a/.cirrus.tasks.yml#L114
# https://github.com/postgres/postgres/blame/75534436a477474ea05004b7fbed21e20cea774a/.cirrus.tasks.yml#L112
# https://github.com/postgres/postgres/commit/252dcb32397f64a5e1ceac05b29a271ab19aa960
https://github.com/postgres/postgres/blob/75534436a477474ea05004b7fbed21e20cea774a/.cirrus.tasks.yml#L114
AND BLAME
AUG 24 2023 - by - change 252dcb3, made on Aug 24, 2023
. . .
anarazel
Andres Freund
PostgreSQL Developer & Committer
. . .
Use "template" data directory in tests
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/20220120021859.3zpsfqn4z7ob7afz@alap3.anarazel.de
DISCUSSION - LAST OF THREAD
260/265 postgresql:regress / regress/regress OK 24.95s 215 subtests passed
261/265 postgresql:ssl / ssl/001_ssltests OK 7.97s 205 subtests passed
https://www.postgresql.org/message-id/20230805222639.npbht6inelpn34hr%40awork3.anarazel.de
https://github.com/postgres/postgres/blame/75534436a477474ea05004b7fbed21e20cea774a/.cirrus.tasks.yml#L112
https://github.com/postgres/postgres/commit/252dcb32397f64a5e1ceac05b29a271ab19aa960
----
Adapt REL_17_STABLE to its new status as a stable branch
Per the checklist in RELEASE_CHANGES for the creation of a new stable
branch, this commit does the following things:
- Arm gen_node_support.pl's nodetag ABI stability, based on the contents
of nodetags.h.
- Update URLs of top-level README and Makefile to point to the new
stable version.
in - origin/REL_17_STABLE
search - REL_17_STABLE
10ee893d786a34e7e1b7c5ac49b529ef5f28af0d # 6/30/2024 7:05:35 PM - In passing, this fixes an incorrect comment in release-17.sgml.
--no-stdsplit
do not split stderr and stdout in test logs
--logbase
base of file name to use for writing test logs
--num-processes
how many parallel processes to use to run tests
--verbose
do not redirect stdout and stderr
https://manpages.debian.org/testing/meson/meson.1.en.html
Currently, setting up a LOCAL manual build.
AnonymousUser@ANONYMOUST UCRT64 ~
$ meson test --help
usage: meson test [-h] [--maxfail MAXFAIL] [--repeat REPEAT] [--no-rebuild] [--gdb] [--gdb-path GDB_PATH] [-i] [--list] [--wrapper WRAPPER] [-C WD] [--suite SUITE]
[--no-suite SUITE] [--no-stdsplit] [--print-errorlogs] [--benchmark] [--logbase LOGBASE] [-j NUM_PROCESSES] [-v] [-q] [-t TIMEOUT_MULTIPLIER]
[--setup SETUP] [--test-args TEST_ARGS] [--max-lines MAX_LINES]
[args ...]
positional arguments:
args Optional list of test names to run. "testname" to run all tests with that name, "subprojname:testname"
to specifically run "testname" from "subprojname", "subprojname:" to run all tests defined by
"subprojname".
options:
-h, --help show this help message and exit
--maxfail MAXFAIL Number of failing tests before aborting the test run. (default: 0, to disable aborting on failure)
--repeat REPEAT Number of times to run the tests.
--no-rebuild Do not rebuild before running tests.
--gdb Run test under gdb.
--gdb-path GDB_PATH Path to the gdb binary (default: gdb).
-i, --interactive Run tests with interactive input/output.
--list List available tests.
--wrapper WRAPPER wrapper to run tests with (e.g. Valgrind)
-C WD directory to cd into before running
--suite SUITE Only run tests belonging to the given suite.
--no-suite SUITE Do not run tests belonging to the given suite.
--no-stdsplit Do not split stderr and stdout in test logs.
--print-errorlogs Whether to print failing tests' logs.
--benchmark Run benchmarks instead of tests.
--logbase LOGBASE Base name for log file.
-j NUM_PROCESSES, --num-processes NUM_PROCESSES How many parallel processes to use.
-v, --verbose Do not redirect stdout and stderr
-q, --quiet Produce less output to the terminal.
-t TIMEOUT_MULTIPLIER, --timeout-multiplier TIMEOUT_MULTIPLIER Define a multiplier for test timeout, for example when running tests in particular conditions they
might take more time to execute. (<= 0 to disable timeout)
--setup SETUP Which test setup to use.
--test-args TEST_ARGS Arguments to pass to the specified test(s) or all tests
--max-lines MAX_LINES Maximum number of lines to show from a long test log. Since 1.5.0.
AnonymousUser@ANONYMOUST UCRT64 ~
$
Simpler Quick Test,
In these NON-BIND "pg +contrib"
Replace
meson test . . .
with CLASSIC
regress (just Like I did in the SIMPLE BIND builds)
AND *** also TEST cube FIRST like I have always been doing ***
If the "regress" works for cube [and plr], then something is wrong with "meson test" AND/OR "I do not know something" IMPORTANT
acknowledged. Closed.