On Fri, Apr 3, 2020 at 6:13 PM Tom Lane <t...@sss.pgh.pa.us> wrote: > Locally, I observe that "make clean" in src/bin/pg_validatebackup fails > to clean up the tmp_check directory left behind by "make check".
Fixed. I also tried to fix 'lapwing', which was complaining about about a call to pg_gmtime, saying that it "expected 'const pg_time_t *' but argument is of type 'time_t *'". I was thinking that the problem had something to do with const, but Thomas pointed out to me that pg_time_t != time_t, so I pushed a fix which assumes that was the issue. (It was certainly *an* issue.) 'prairiedog' is also unhappy, and it looks related: /bin/sh ../../../../config/install-sh -c -d '/Users/buildfarm/bf-data/HEAD/pgsql.build/src/test/modules/commit_ts'/tmp_check cd . && TESTDIR='/Users/buildfarm/bf-data/HEAD/pgsql.build/src/test/modules/commit_ts' PATH="/Users/buildfarm/bf-data/HEAD/pgsql.build/tmp_install/Users/buildfarm/bf-data/HEAD/inst/bin:$PATH" DYLD_LIBRARY_PATH="/Users/buildfarm/bf-data/HEAD/pgsql.build/tmp_install/Users/buildfarm/bf-data/HEAD/inst/lib:$DYLD_LIBRARY_PATH" PGPORT='65678' PG_REGRESS='/Users/buildfarm/bf-data/HEAD/pgsql.build/src/test/modules/commit_ts/../../../../src/test/regress/pg_regress' REGRESS_SHLIB='/Users/buildfarm/bf-data/HEAD/pgsql.build/src/test/regress/regress.so' /usr/local/perl5.8.3/bin/prove -I ../../../../src/test/perl/ -I . t/*.pl t/001_base.........ok t/002_standby......FAILED--Further testing stopped: system pg_basebackup failed make: *** [check] Error 25 Unfortunately, that error message is not very informative and for some reason the TAP logs don't seem to be included in the buildfarm output in this case, so it's hard to tell exactly what went wrong. This appears to be another 32-bit critter, which may be related somehow, but I don't know how exactly. 'serinus' is also failing. This is less obviously related: [02:08:55] t/003_constraints.pl .. ok 2048 ms ( 0.01 usr 0.00 sys + 1.28 cusr 0.38 csys = 1.67 CPU) # poll_query_until timed out executing this query: # SELECT count(1) = 0 FROM pg_subscription_rel WHERE srsubstate NOT IN ('r', 's'); # expecting this output: # t # last actual query output: # f # with stderr: But there's also this: 2020-04-04 02:08:57.297 CEST [5e87d019.506c1:1] LOG: connection received: host=[local] 2020-04-04 02:08:57.298 CEST [5e87d019.506c1:2] LOG: replication connection authorized: user=bf application_name=tap_sub_16390_sync_16384 2020-04-04 02:08:57.299 CEST [5e87d019.506c1:3] LOG: statement: BEGIN READ ONLY ISOLATION LEVEL REPEATABLE READ 2020-04-04 02:08:57.299 CEST [5e87d019.506c1:4] LOG: received replication command: CREATE_REPLICATION_SLOT "tap_sub_16390_sync_16384" TEMPORARY LOGICAL pgoutput USE_SNAPSHOT 2020-04-04 02:08:57.299 CEST [5e87d019.506c1:5] ERROR: replication slot "tap_sub_16390_sync_16384" already exists TRAP: FailedAssertion("owner->bufferarr.nitems == 0", File: "/home/bf/build/buildfarm-serinus/HEAD/pgsql.build/../pgsql/src/backend/utils/resowner/resowner.c", Line: 718) postgres: publisher: walsender bf [local] idle in transaction (aborted)(ExceptionalCondition+0x5c)[0x9a13ac] postgres: publisher: walsender bf [local] idle in transaction (aborted)(ResourceOwnerDelete+0x295)[0x9db8e5] postgres: publisher: walsender bf [local] idle in transaction (aborted)[0x54c61f] postgres: publisher: walsender bf [local] idle in transaction (aborted)(AbortOutOfAnyTransaction+0x122)[0x550e32] postgres: publisher: walsender bf [local] idle in transaction (aborted)[0x9b3bc9] postgres: publisher: walsender bf [local] idle in transaction (aborted)(shmem_exit+0x35)[0x80db45] postgres: publisher: walsender bf [local] idle in transaction (aborted)[0x80dc77] postgres: publisher: walsender bf [local] idle in transaction (aborted)(proc_exit+0x8)[0x80dd08] postgres: publisher: walsender bf [local] idle in transaction (aborted)(PostgresMain+0x59f)[0x83bd0f] postgres: publisher: walsender bf [local] idle in transaction (aborted)[0x7a0264] postgres: publisher: walsender bf [local] idle in transaction (aborted)(PostmasterMain+0xbfc)[0x7a2b8c] postgres: publisher: walsender bf [local] idle in transaction (aborted)(main+0x6fb)[0x49749b] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xeb)[0x7fc52d83bbbb] postgres: publisher: walsender bf [local] idle in transaction (aborted)(_start+0x2a)[0x49753a] 2020-04-04 02:08:57.302 CEST [5e87d018.5066b:4] LOG: server process (PID 329409) was terminated by signal 6: Aborted 2020-04-04 02:08:57.302 CEST [5e87d018.5066b:5] DETAIL: Failed process was running: BEGIN READ ONLY ISOLATION LEVEL REPEATABLE READ That might well be related. I note in passing that the DETAIL emitted by the postmaster shows the previous SQL command rather than the more-recent replication command, which seems like something to fix. (I still really dislike the fact that we have this evil hack allowing one connection to mix and match those sets of commands...) -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company