# Running: pg_basebackup --help [13:53:42.897](0.023s) ok 1 - pg_basebackup --help exit code 0 [13:53:42.898](0.000s) ok 2 - pg_basebackup --help goes to stdout [13:53:42.898](0.000s) ok 3 - pg_basebackup --help nothing to stderr [13:53:42.898](0.000s) ok 4 - pg_basebackup --help maximum line length # Running: pg_basebackup --version [13:53:42.904](0.006s) ok 5 - pg_basebackup --version exit code 0 [13:53:42.905](0.000s) ok 6 - pg_basebackup --version goes to stdout [13:53:42.905](0.000s) ok 7 - pg_basebackup --version nothing to stderr # Running: pg_basebackup --not-a-valid-option [13:53:42.911](0.007s) ok 8 - pg_basebackup with invalid option nonzero exit code [13:53:42.912](0.000s) ok 9 - pg_basebackup with invalid option prints error message # Checking port 60231 # Found port 60231 Name: main Data directory: /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/t_010_pg_basebackup_main_data/pgdata Backup directory: /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/t_010_pg_basebackup_main_data/backup Archive directory: /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/t_010_pg_basebackup_main_data/archives Connection string: port=60231 host=/tmp/NMHjoYw49t Log file: /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/log/010_pg_basebackup_main.log [13:53:42.916](0.004s) # initializing database system by running initdb # Running: initdb -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/t_010_pg_basebackup_main_data/pgdata -A trust -N --data-checksums The files belonging to this database system will be owned by user "postgres". This user must also own the server process. The database cluster will be initialized with this locale configuration: locale provider: libc LC_COLLATE: en_US.UTF-8 LC_CTYPE: en_US.UTF-8 LC_MESSAGES: C LC_MONETARY: en_US.UTF-8 LC_NUMERIC: en_US.UTF-8 LC_TIME: en_US.UTF-8 The default database encoding has accordingly been set to "UTF8". The default text search configuration will be set to "english". Data page checksums are enabled. creating directory /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/t_010_pg_basebackup_main_data/pgdata ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... posix selecting default max_connections ... 100 selecting default shared_buffers ... 128MB selecting default time zone ... UTC creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... 2024-03-28 13:53:43.297 UTC [34919] WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree 2024-03-28 13:53:43.562 UTC [34919] WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree 2024-03-28 13:53:43.565 UTC [34919] WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree 2024-03-28 13:53:43.567 UTC [34919] WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree 2024-03-28 13:53:43.568 UTC [34919] WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree 2024-03-28 13:53:43.570 UTC [34919] WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree 2024-03-28 13:53:43.571 UTC [34919] WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree 2024-03-28 13:53:43.571 UTC [34919] WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree 2024-03-28 13:53:43.572 UTC [34919] WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree 2024-03-28 13:53:43.573 UTC [34919] WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree 2024-03-28 13:53:43.573 UTC [34919] WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree 2024-03-28 13:53:43.688 UTC [34919] WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree ok Sync to disk skipped. The data directory might become corrupt if the operating system crashes. Success. You can now start the database server using: pg_ctl -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/t_010_pg_basebackup_main_data/pgdata -l logfile start # Running: /tmp/cirrus-ci-build/build/src/test/regress/pg_regress --config-auth /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/t_010_pg_basebackup_main_data/pgdata --create-role backupuser ### Starting node "main" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/t_010_pg_basebackup_main_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/log/010_pg_basebackup_main.log -o --cluster-name=main start waiting for server to start.... done server started # Postmaster PID for node "main" is 35033 # Running: pg_basebackup pg_basebackup: error: must specify output directory or backup target pg_basebackup: hint: Try "pg_basebackup --help" for more information. [13:53:44.030](1.114s) ok 10 - pg_basebackup needs target directory specified # Running: pg_basebackup -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup --compress none:1 [13:53:44.037](0.007s) ok 11 - failure if method "none" specified with compression level: exit code not 0 [13:53:44.038](0.000s) ok 12 - failure if method "none" specified with compression level: matches # Running: pg_basebackup -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup --compress none+ [13:53:44.044](0.006s) ok 13 - failure on incorrect separator to define compression level: exit code not 0 [13:53:44.044](0.000s) ok 14 - failure on incorrect separator to define compression level: matches ### Reloading node "main" # Running: pg_ctl -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/t_010_pg_basebackup_main_data/pgdata reload server signaled # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup pg_basebackup: error: connection to server on socket "/tmp/NMHjoYw49t/.s.PGSQL.60231" failed: FATAL: number of requested standby connections exceeds max_wal_senders (currently 0) [13:53:44.063](0.018s) ok 15 - pg_basebackup fails because of WAL configuration [13:53:44.064](0.002s) ok 16 - backup directory was cleaned up # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup -n pg_basebackup: error: connection to server on socket "/tmp/NMHjoYw49t/.s.PGSQL.60231" failed: FATAL: number of requested standby connections exceeds max_wal_senders (currently 0) [13:53:44.079](0.015s) ok 17 - failing run with no-clean option [13:53:44.079](0.000s) ok 18 - backup directory was created and left behind ### Restarting node "main" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/t_010_pg_basebackup_main_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/log/010_pg_basebackup_main.log restart waiting for server to shut down.... done server stopped waiting for server to start.... done server started # Postmaster PID for node "main" is 35090 # Running: pg_basebackup -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup --compress extrasquishy [13:53:44.302](0.223s) ok 19 - client failure on invalid compression algorithm: exit code not 0 [13:53:44.303](0.000s) ok 20 - client failure on invalid compression algorithm: matches # Running: pg_basebackup -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup --compress server-extrasquishy [13:53:44.313](0.010s) ok 21 - server failure on invalid compression algorithm: exit code not 0 [13:53:44.313](0.000s) ok 22 - server failure on invalid compression algorithm: matches # Running: pg_basebackup -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup --compress gzip: [13:53:44.320](0.007s) ok 23 - client failure on empty compression options list: exit code not 0 [13:53:44.320](0.000s) ok 24 - client failure on empty compression options list: matches # Running: pg_basebackup -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup --compress server-gzip: [13:53:44.329](0.009s) ok 25 - server failure on empty compression options list: exit code not 0 [13:53:44.330](0.000s) ok 26 - server failure on empty compression options list: matches # Running: pg_basebackup -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup --compress gzip:thunk [13:53:44.336](0.006s) ok 27 - client failure on unknown compression option: exit code not 0 [13:53:44.336](0.000s) ok 28 - client failure on unknown compression option: matches # Running: pg_basebackup -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup --compress server-gzip:thunk [13:53:44.345](0.009s) ok 29 - server failure on unknown compression option: exit code not 0 [13:53:44.345](0.000s) ok 30 - server failure on unknown compression option: matches # Running: pg_basebackup -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup --compress gzip:level [13:53:44.350](0.005s) ok 31 - client failure on missing compression level: exit code not 0 [13:53:44.351](0.000s) ok 32 - client failure on missing compression level: matches # Running: pg_basebackup -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup --compress server-gzip:level [13:53:44.359](0.009s) ok 33 - server failure on missing compression level: exit code not 0 [13:53:44.360](0.001s) ok 34 - server failure on missing compression level: matches # Running: pg_basebackup -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup --compress gzip:level= [13:53:44.366](0.006s) ok 35 - client failure on empty compression level: exit code not 0 [13:53:44.366](0.000s) ok 36 - client failure on empty compression level: matches # Running: pg_basebackup -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup --compress server-gzip:level= [13:53:44.374](0.008s) ok 37 - server failure on empty compression level: exit code not 0 [13:53:44.374](0.000s) ok 38 - server failure on empty compression level: matches # Running: pg_basebackup -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup --compress gzip:level=high [13:53:44.380](0.006s) ok 39 - client failure on non-numeric compression level: exit code not 0 [13:53:44.381](0.000s) ok 40 - client failure on non-numeric compression level: matches # Running: pg_basebackup -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup --compress server-gzip:level=high [13:53:44.390](0.009s) ok 41 - server failure on non-numeric compression level: exit code not 0 [13:53:44.390](0.000s) ok 42 - server failure on non-numeric compression level: matches # Running: pg_basebackup -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup --compress gzip:level=236 [13:53:44.397](0.007s) ok 43 - client failure on out-of-range compression level: exit code not 0 [13:53:44.397](0.000s) ok 44 - client failure on out-of-range compression level: matches # Running: pg_basebackup -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup --compress server-gzip:level=236 [13:53:44.407](0.010s) ok 45 - server failure on out-of-range compression level: exit code not 0 [13:53:44.409](0.002s) ok 46 - server failure on out-of-range compression level: matches # Running: pg_basebackup -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup --compress gzip:level=9, [13:53:44.417](0.007s) ok 47 - client failure on extra, empty compression option: exit code not 0 [13:53:44.417](0.001s) ok 48 - client failure on extra, empty compression option: matches # Running: pg_basebackup -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup --compress server-gzip:level=9, [13:53:44.426](0.008s) ok 49 - server failure on extra, empty compression option: exit code not 0 [13:53:44.426](0.000s) ok 50 - server failure on extra, empty compression option: matches # Running: pg_basebackup -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup --compress gzip:workers=3 [13:53:44.432](0.006s) ok 51 - client failure on worker count for gzip: exit code not 0 [13:53:44.433](0.000s) ok 52 - client failure on worker count for gzip: matches # Running: pg_basebackup -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup --compress server-gzip:workers=3 [13:53:44.442](0.010s) ok 53 - server failure on worker count for gzip: exit code not 0 [13:53:44.442](0.000s) ok 54 - server failure on worker count for gzip: matches # Running: pg_basebackup -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup --compress gzip:long [13:53:44.448](0.006s) ok 55 - client failure on long mode for gzip: exit code not 0 [13:53:44.449](0.000s) ok 56 - client failure on long mode for gzip: matches # Running: pg_basebackup -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup --compress server-gzip:long [13:53:44.458](0.010s) ok 57 - server failure on long mode for gzip: exit code not 0 [13:53:44.459](0.000s) ok 58 - server failure on long mode for gzip: matches [13:53:44.498](0.039s) ok 59 - unlogged init fork in base [13:53:44.498](0.000s) ok 60 - unlogged main fork in base # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup -X none NOTICE: WAL archiving is not enabled; you must ensure that all required WAL segments are copied through other means to complete the backup [13:53:44.674](0.176s) ok 61 - pg_basebackup runs [13:53:44.675](0.000s) ok 62 - backup was created [13:53:44.675](0.000s) ok 63 - backup manifest included [13:53:44.687](0.012s) ok 64 - check backup dir permissions [13:53:44.689](0.001s) ok 65 - no WAL files copied [13:53:44.689](0.000s) ok 66 - contents of pg_dynshmem/ not copied [13:53:44.689](0.000s) ok 67 - contents of pg_notify/ not copied [13:53:44.689](0.000s) ok 68 - contents of pg_replslot/ not copied [13:53:44.690](0.000s) ok 69 - contents of pg_serial/ not copied [13:53:44.690](0.000s) ok 70 - contents of pg_snapshots/ not copied [13:53:44.690](0.000s) ok 71 - contents of pg_stat_tmp/ not copied [13:53:44.690](0.000s) ok 72 - contents of pg_subtrans/ not copied [13:53:44.690](0.000s) ok 73 - postgresql.auto.conf.tmp not copied [13:53:44.690](0.000s) ok 74 - postmaster.opts not copied [13:53:44.690](0.000s) ok 75 - postmaster.pid not copied [13:53:44.690](0.000s) ok 76 - tablespace_map not copied [13:53:44.690](0.000s) ok 77 - current_logfiles.tmp not copied [13:53:44.690](0.000s) ok 78 - global/pg_internal.init not copied [13:53:44.690](0.000s) ok 79 - global/pg_internal.init.123 not copied [13:53:44.690](0.000s) ok 80 - .DS_Store not copied [13:53:44.690](0.000s) ok 81 - unlogged init fork in backup [13:53:44.690](0.000s) ok 82 - unlogged main fork not in backup [13:53:44.691](0.000s) ok 83 - base/5/t999_999 not copied [13:53:44.691](0.000s) ok 84 - base/5/t9999_999.1 not copied [13:53:44.691](0.000s) ok 85 - base/5/t999_9999_vm not copied [13:53:44.691](0.000s) ok 86 - base/5/t99999_99999_vm.1 not copied [13:53:44.691](0.000s) ok 87 - existing backup_label not copied # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup2 --no-manifest --waldir /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/xlog2 [13:53:44.786](0.095s) ok 88 - separate xlog directory [13:53:44.787](0.000s) ok 89 - backup was created [13:53:44.787](0.000s) ok 90 - manifest was suppressed [13:53:44.787](0.000s) ok 91 - xlog directory was created # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/tarbackup -Ft [13:53:44.967](0.181s) ok 92 - tar format [13:53:44.968](0.000s) ok 93 - backup tar was created # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup_foo -Fp -T=/foo pg_basebackup: error: invalid tablespace mapping format "=/foo", must be "OLDDIR=NEWDIR" [13:53:44.989](0.022s) ok 94 - -T with empty old directory fails # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup_foo -Fp -T/foo= pg_basebackup: error: invalid tablespace mapping format "/foo=", must be "OLDDIR=NEWDIR" [13:53:45.003](0.014s) ok 95 - -T with empty new directory fails # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup_foo -Fp -T/foo=/bar=/baz pg_basebackup: error: multiple "=" signs in tablespace mapping [13:53:45.018](0.015s) ok 96 - -T with multiple = fails # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup_foo -Fp -Tfoo=/bar pg_basebackup: error: old directory is not an absolute path in tablespace mapping: foo [13:53:45.033](0.015s) ok 97 - -T with old directory not absolute fails # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup_foo -Fp -T/foo=bar pg_basebackup: error: new directory is not an absolute path in tablespace mapping: bar [13:53:45.048](0.015s) ok 98 - -T with new directory not absolute fails # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup_foo -Fp -Tfoo pg_basebackup: error: invalid tablespace mapping format "foo", must be "OLDDIR=NEWDIR" [13:53:45.063](0.015s) ok 99 - -T with invalid format fails # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/tarbackup_l1 -Ft WARNING: aborting backup due to backend exiting before pg_backup_stop was called pg_basebackup: error: backup failed: ERROR: file name too long for tar format: "superlongname_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" pg_basebackup: removing data directory "/tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/tarbackup_l1" [13:53:45.144](0.081s) ok 100 - pg_basebackup tar with long name fails ### Stopping node "main" using mode fast # Running: pg_ctl -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/t_010_pg_basebackup_main_data/pgdata -m fast stop waiting for server to shut down.... done server stopped # No postmaster PID for node "main" ### Starting node "main" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/t_010_pg_basebackup_main_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/log/010_pg_basebackup_main.log -o --cluster-name=main start waiting for server to start.... done server started # Postmaster PID for node "main" is 35289 #### Begin standard error psql::1: WARNING: tablespaces created by regression test cases should have names starting with "regress_" #### End standard error # Taking pg_basebackup tarbackup2 from node "main" # Running: pg_basebackup -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/t_010_pg_basebackup_main_data/backup/tarbackup2 -h /tmp/NMHjoYw49t -p 60231 --checkpoint fast --no-sync -Ft # Backup finished [13:53:45.496](0.352s) ok 101 - backup tar was created [13:53:45.496](0.000s) ok 102 - WAL tar was created [13:53:45.496](0.000s) ok 103 - one tablespace tar was created # Checking port 60232 # Found port 60232 Name: replica Data directory: /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/t_010_pg_basebackup_replica_data/pgdata Backup directory: /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/t_010_pg_basebackup_replica_data/backup Archive directory: /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/t_010_pg_basebackup_replica_data/archives Connection string: port=60232 host=/tmp/NMHjoYw49t Log file: /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/log/010_pg_basebackup_replica.log # Initializing node "replica" from backup "tarbackup2" of node "main" # Running: /usr/bin/tar xf /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/t_010_pg_basebackup_main_data/backup/tarbackup2/base.tar -C /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/t_010_pg_basebackup_replica_data/pgdata # Running: /usr/bin/tar xf /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/t_010_pg_basebackup_main_data/backup/tarbackup2/pg_wal.tar -C /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/t_010_pg_basebackup_replica_data/pgdata/pg_wal # Running: /usr/bin/tar xf /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/t_010_pg_basebackup_main_data/backup/tarbackup2/16387.tar -C /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/tblspc1replica ### Starting node "replica" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/t_010_pg_basebackup_replica_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/log/010_pg_basebackup_replica.log -o --cluster-name=replica start waiting for server to start.... done server started # Postmaster PID for node "replica" is 35371 [13:53:45.696](0.200s) ok 104 - tablespace data restored from tar-format backup ### Stopping node "replica" using mode fast # Running: pg_ctl -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/t_010_pg_basebackup_replica_data/pgdata -m fast stop waiting for server to shut down.... done server stopped # No postmaster PID for node "replica" [13:53:45.821](0.125s) ok 105 - unlogged init fork in tablespace [13:53:45.821](0.000s) ok 106 - unlogged main fork in tablespace # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup1 -Fp pg_basebackup: error: directory "/tmp/1vnDjPC0J_/tempdir/tblspc1" exists but is not empty pg_basebackup: removing data directory "/tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup1" [13:53:45.866](0.045s) ok 107 - plain format with tablespaces fails without tablespace mapping # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup1 -Fp -T/tmp/1vnDjPC0J_/tempdir/tblspc1=/tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/tbackup/tblspc1 [13:53:46.029](0.163s) ok 108 - plain format with tablespaces succeeds with tablespace mapping [13:53:46.030](0.000s) ok 109 - tablespace was relocated [13:53:46.030](0.000s) ok 110 - tablespace symlink was updated [13:53:46.042](0.012s) ok 111 - check backup dir permissions [13:53:46.042](0.000s) ok 112 - unlogged init fork in tablespace backup [13:53:46.042](0.000s) ok 113 - unlogged main fork not in tablespace backup [13:53:46.042](0.000s) ok 114 - [tblspc1]/5/t888_888 not copied [13:53:46.042](0.000s) ok 115 - [tblspc1]/5/t888888_888888_vm.1 not copied [13:53:46.043](0.000s) ok 116 - pg_replslot symlink copied as directory #### Begin standard error psql::1: WARNING: tablespaces created by regression test cases should have names starting with "regress_" #### End standard error # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup3 -Fp -T/tmp/1vnDjPC0J_/tempdir/tbl\=spc2=/tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/tbackup/tbl\=spc2 [13:53:46.268](0.225s) ok 117 - mapping tablespace with = sign in path [13:53:46.272](0.004s) ok 118 - tablespace with = sign was relocated #### Begin standard error psql::1: WARNING: tablespaces created by regression test cases should have names starting with "regress_" #### End standard error # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/tarbackup_l3 -Ft [13:53:46.474](0.202s) ok 119 - pg_basebackup tar with long symlink target # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backupR -R [13:53:46.658](0.184s) ok 120 - pg_basebackup -R runs [13:53:46.658](0.000s) ok 121 - postgresql.auto.conf exists [13:53:46.658](0.000s) ok 122 - standby.signal was created [13:53:46.677](0.019s) ok 123 - postgresql.auto.conf sets primary_conninfo # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backupxd [13:53:46.755](0.078s) ok 124 - pg_basebackup runs in default xlog mode [13:53:46.755](0.000s) ok 125 - WAL files copied # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backupxf -X fetch [13:53:46.936](0.181s) ok 126 - pg_basebackup -X fetch runs [13:53:46.937](0.000s) ok 127 - WAL files copied # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backupxs -X stream [13:53:47.118](0.182s) ok 128 - pg_basebackup -X stream runs [13:53:47.119](0.000s) ok 129 - WAL files copied # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backupxst -X stream -Ft [13:53:47.219](0.100s) ok 130 - pg_basebackup -X stream runs in tar mode [13:53:47.219](0.000s) ok 131 - tar file was created # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backupnoslot -X stream --no-slot [13:53:47.387](0.167s) ok 132 - pg_basebackup -X stream runs with --no-slot # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backupxf -X fetch [13:53:47.566](0.180s) ok 133 - pg_basebackup -X fetch runs # Running: pg_basebackup --no-sync -cfast --target blackhole [13:53:47.574](0.008s) ok 134 - backup target requires -X: exit code not 0 [13:53:47.575](0.000s) ok 135 - backup target requires -X: matches # Running: pg_basebackup --no-sync -cfast --target blackhole -X stream [13:53:47.582](0.007s) ok 136 - backup target requires -X other than -X stream: exit code not 0 [13:53:47.582](0.000s) ok 137 - backup target requires -X other than -X stream: matches # Running: pg_basebackup --no-sync -cfast --target bogus -X none [13:53:47.592](0.010s) ok 138 - backup target unrecognized: exit code not 0 [13:53:47.593](0.000s) ok 139 - backup target unrecognized: matches # Running: pg_basebackup --no-sync -cfast --target blackhole -X none -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/blackhole [13:53:47.600](0.007s) ok 140 - backup target and output directory: exit code not 0 [13:53:47.600](0.000s) ok 141 - backup target and output directory: matches # Running: pg_basebackup --no-sync -cfast --target blackhole -X none -Ft [13:53:47.607](0.007s) ok 142 - backup target and output directory: exit code not 0 [13:53:47.607](0.000s) ok 143 - backup target and output directory: matches # Running: pg_basebackup --no-sync -cfast --target blackhole -X none NOTICE: WAL archiving is not enabled; you must ensure that all required WAL segments are copied through other means to complete the backup [13:53:47.687](0.079s) ok 144 - backup target blackhole # Running: pg_basebackup --no-sync -cfast --target server:/tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backuponserver -X none NOTICE: WAL archiving is not enabled; you must ensure that all required WAL segments are copied through other means to complete the backup [13:53:47.765](0.079s) ok 145 - backup target server [13:53:47.766](0.000s) ok 146 - backup tar was created # Running: createuser --replication --role=pg_write_server_files backupuser WARNING: roles created by regression test cases should have names starting with "regress_" [13:53:47.786](0.020s) ok 147 - create backup user # Running: pg_basebackup --no-sync -cfast -U backupuser --target server:/tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backuponserver -X none NOTICE: WAL archiving is not enabled; you must ensure that all required WAL segments are copied through other means to complete the backup [13:53:47.864](0.078s) ok 148 - backup target server [13:53:47.864](0.000s) ok 149 - backup tar was created as non-superuser # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backupxs_sl_fail -X stream -S slot0 pg_basebackup: error: could not send replication command "START_REPLICATION": ERROR: replication slot "slot0" does not exist pg_basebackup: error: background process terminated unexpectedly pg_basebackup: removing data directory "/tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backupxs_sl_fail" [13:53:47.912](0.048s) ok 150 - pg_basebackup fails with nonexistent replication slot # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backupxs_slot -C pg_basebackup: error: --create-slot needs a slot to be specified using --slot pg_basebackup: hint: Try "pg_basebackup --help" for more information. [13:53:47.927](0.015s) ok 151 - pg_basebackup -C fails without slot name # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backupxs_slot -C -S slot0 --no-slot pg_basebackup: error: --no-slot cannot be used with slot name pg_basebackup: hint: Try "pg_basebackup --help" for more information. [13:53:47.942](0.015s) ok 152 - pg_basebackup fails with -C -S --no-slot # Running: pg_basebackup --no-sync -cfast --target blackhole -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/blackhole [13:53:47.950](0.008s) ok 153 - backup target and output directory: exit code not 0 [13:53:47.951](0.000s) ok 154 - backup target and output directory: matches # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backuptr/co -X none NOTICE: WAL archiving is not enabled; you must ensure that all required WAL segments are copied through other means to complete the backup [13:53:48.114](0.163s) ok 155 - pg_basebackup -X fetch runs # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backupxs_sl_fail -X stream -S slot0 pg_basebackup: error: could not send replication command "START_REPLICATION": ERROR: replication slot "slot0" does not exist pg_basebackup: error: background process terminated unexpectedly pg_basebackup: removing data directory "/tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backupxs_sl_fail" [13:53:48.150](0.036s) ok 156 - pg_basebackup fails with nonexistent replication slot # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backupxs_slot -C pg_basebackup: error: --create-slot needs a slot to be specified using --slot pg_basebackup: hint: Try "pg_basebackup --help" for more information. [13:53:48.165](0.015s) ok 157 - pg_basebackup -C fails without slot name # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backupxs_slot -C -S slot0 --no-slot pg_basebackup: error: --no-slot cannot be used with slot name pg_basebackup: hint: Try "pg_basebackup --help" for more information. [13:53:48.180](0.015s) ok 158 - pg_basebackup fails with -C -S --no-slot # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backupxs_slot -C -S slot0 [13:53:48.339](0.159s) ok 159 - pg_basebackup -C runs #### Begin standard error psql::1: WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree #### End standard error [13:53:48.372](0.033s) ok 160 - replication slot was created #### Begin standard error psql::1: WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree #### End standard error [13:53:48.385](0.013s) ok 161 - restart LSN of new slot is not null # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backupxs_slot1 -C -S slot0 pg_basebackup: error: could not send replication command "CREATE_REPLICATION_SLOT "slot0" PHYSICAL ( RESERVE_WAL)": ERROR: replication slot "slot0" already exists pg_basebackup: removing data directory "/tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backupxs_slot1" [13:53:48.400](0.015s) ok 162 - pg_basebackup fails with -C -S and a previously existing slot #### Begin standard error psql::1: WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree #### End standard error #### Begin standard error psql::1: WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree #### End standard error [13:53:48.425](0.025s) ok 163 - restart LSN of new slot is null # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/fail -S slot1 -X none pg_basebackup: error: replication slots can only be used with WAL streaming pg_basebackup: hint: Try "pg_basebackup --help" for more information. [13:53:48.440](0.015s) ok 164 - pg_basebackup with replication slot fails without WAL streaming # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backupxs_sl -X stream -S slot1 [13:53:48.603](0.163s) ok 165 - pg_basebackup -X stream with replication slot runs #### Begin standard error psql::1: WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree #### End standard error [13:53:48.616](0.012s) ok 166 - restart LSN of slot has advanced # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backupxs_sl_R -X stream -S slot1 -R [13:53:48.790](0.175s) ok 167 - pg_basebackup with replication slot and -R runs [13:53:48.791](0.001s) ok 168 - recovery conf file sets primary_slot_name [13:53:48.801](0.010s) ok 169 - checksums are enabled # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup_dbname_R -X stream -d dbname=db1 -R [13:53:48.982](0.181s) ok 170 - pg_basebackup with dbname and -R runs [13:53:48.983](0.001s) ok 171 - recovery conf file sets dbname #### Begin standard error psql::1: WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree #### End standard error #### Begin standard error psql::1: WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree #### End standard error ### Stopping node "main" using mode fast # Running: pg_ctl -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/t_010_pg_basebackup_main_data/pgdata -m fast stop waiting for server to shut down.... done server stopped # No postmaster PID for node "main" ### Starting node "main" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/t_010_pg_basebackup_main_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/log/010_pg_basebackup_main.log -o --cluster-name=main start waiting for server to start.... done server started # Postmaster PID for node "main" is 35982 # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup_corrupt [13:53:49.354](0.371s) ok 172 - pg_basebackup reports checksum mismatch status (got 1 vs expected 1) [13:53:49.354](0.000s) ok 173 - pg_basebackup reports checksum mismatch stdout /(?^:^$)/ [13:53:49.354](0.000s) ok 174 - pg_basebackup reports checksum mismatch stderr /(?^s:^WARNING.*checksum verification failed)/ ### Stopping node "main" using mode fast # Running: pg_ctl -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/t_010_pg_basebackup_main_data/pgdata -m fast stop waiting for server to shut down.... done server stopped # No postmaster PID for node "main" ### Starting node "main" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/t_010_pg_basebackup_main_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/log/010_pg_basebackup_main.log -o --cluster-name=main start waiting for server to start.... done server started # Postmaster PID for node "main" is 36034 # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup_corrupt2 [13:53:49.687](0.332s) ok 175 - pg_basebackup does not report more than 5 checksum mismatches status (got 1 vs expected 1) [13:53:49.687](0.000s) ok 176 - pg_basebackup does not report more than 5 checksum mismatches stdout /(?^:^$)/ [13:53:49.687](0.000s) ok 177 - pg_basebackup does not report more than 5 checksum mismatches stderr /(?^s:^WARNING.*further.*failures.*will.not.be.reported)/ ### Stopping node "main" using mode fast # Running: pg_ctl -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/t_010_pg_basebackup_main_data/pgdata -m fast stop waiting for server to shut down.... done server stopped # No postmaster PID for node "main" ### Starting node "main" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/t_010_pg_basebackup_main_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/log/010_pg_basebackup_main.log -o --cluster-name=main start waiting for server to start.... done server started # Postmaster PID for node "main" is 36083 # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup_corrupt3 [13:53:50.028](0.341s) ok 178 - pg_basebackup correctly report the total number of checksum mismatches status (got 1 vs expected 1) [13:53:50.029](0.000s) ok 179 - pg_basebackup correctly report the total number of checksum mismatches stdout /(?^:^$)/ [13:53:50.029](0.000s) ok 180 - pg_basebackup correctly report the total number of checksum mismatches stderr /(?^s:^WARNING.*7 total checksum verification failures)/ # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup_corrupt4 --no-verify-checksums [13:53:50.210](0.182s) ok 181 - pg_basebackup with -k does not report checksum mismatch [13:53:50.261](0.051s) # Testing pg_basebackup with compression methods # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup_gzip --compress 1 --format t [13:53:50.609](0.348s) ok 182 - pg_basebackup with --compress # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup_gzip2 --gzip --format t [13:53:51.276](0.666s) ok 183 - pg_basebackup with --gzip # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup_gzip3 --compress gzip:1 --format t [13:53:51.599](0.324s) ok 184 - pg_basebackup with --compress=gzip:1 [13:53:51.600](0.001s) ok 185 - two files created with --compress=NUM (base.tar.gz and pg_wal.tar.gz) [13:53:51.600](0.000s) ok 186 - two files created with --gzip (base.tar.gz and pg_wal.tar.gz) [13:53:51.601](0.000s) ok 187 - two files created with --compress=gzip:NUM (base.tar.gz and pg_wal.tar.gz) # Running: /usr/bin/gzip --test /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup_gzip/base.tar.gz /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup_gzip/pg_wal.tar.gz /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup_gzip2/base.tar.gz /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup_gzip2/pg_wal.tar.gz /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup_gzip3/base.tar.gz /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/backup_gzip3/pg_wal.tar.gz [13:53:51.805](0.204s) ok 188 - gzip verified the integrity of compressed data #### Begin standard error psql::1: WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree #### End standard error [13:57:24.507](212.702s) # poll_query_until timed out executing this query: # SELECT pg_terminate_backend(pid) FROM pg_stat_activity WHERE application_name = '010_pg_basebackup.pl' AND wait_event = 'WalSenderMain' AND backend_type = 'walsender' AND query ~ 'START_REPLICATION' # expecting this output: # t # last actual query output: # # with stderr: # WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree [13:57:24.508](0.001s) not ok 189 - Walsender killed [13:57:24.509](0.001s) # Failed test 'Walsender killed' # at /tmp/cirrus-ci-build/src/bin/pg_basebackup/t/010_pg_basebackup.pl line 949. [13:57:24.509](0.000s) # got: '0' # expected: '1' [13:57:24.509](0.000s) # pump_until: timeout expired when searching for "(?^:background process terminated unexpectedly)" with stream: "" [13:57:24.509](0.000s) not ok 190 - background process exit message [13:57:24.509](0.000s) # Failed test 'background process exit message' # at /tmp/cirrus-ci-build/src/bin/pg_basebackup/t/010_pg_basebackup.pl line 957. #### Begin standard error psql::1: WARNING: tablespaces created by regression test cases should have names starting with "regress_" #### End standard error # Taking pg_basebackup backup3 from node "main" # Running: pg_basebackup -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/t_010_pg_basebackup_main_data/backup/backup3 -h /tmp/NMHjoYw49t -p 60231 --checkpoint fast --no-sync # Backup finished [13:57:24.676](0.167s) ok 191 - tblspc directory copied # Checking port 60233 # Found port 60233 Name: node2 Data directory: /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/t_010_pg_basebackup_node2_data/pgdata Backup directory: /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/t_010_pg_basebackup_node2_data/backup Archive directory: /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/t_010_pg_basebackup_node2_data/archives Connection string: port=60233 host=/tmp/NMHjoYw49t Log file: /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/log/010_pg_basebackup_node2.log [13:57:24.680](0.004s) # initializing database system by running initdb # Running: initdb -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/t_010_pg_basebackup_node2_data/pgdata -A trust -N The files belonging to this database system will be owned by user "postgres". This user must also own the server process. The database cluster will be initialized with this locale configuration: locale provider: libc LC_COLLATE: en_US.UTF-8 LC_CTYPE: en_US.UTF-8 LC_MESSAGES: C LC_MONETARY: en_US.UTF-8 LC_NUMERIC: en_US.UTF-8 LC_TIME: en_US.UTF-8 The default database encoding has accordingly been set to "UTF8". The default text search configuration will be set to "english". Data page checksums are disabled. creating directory /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/t_010_pg_basebackup_node2_data/pgdata ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... posix selecting default max_connections ... 100 selecting default shared_buffers ... 128MB selecting default time zone ... UTC creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... 2024-03-28 13:57:25.054 UTC [66134] WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree 2024-03-28 13:57:25.315 UTC [66134] WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree 2024-03-28 13:57:25.318 UTC [66134] WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree 2024-03-28 13:57:25.320 UTC [66134] WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree 2024-03-28 13:57:25.321 UTC [66134] WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree 2024-03-28 13:57:25.323 UTC [66134] WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree 2024-03-28 13:57:25.324 UTC [66134] WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree 2024-03-28 13:57:25.324 UTC [66134] WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree 2024-03-28 13:57:25.325 UTC [66134] WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree 2024-03-28 13:57:25.326 UTC [66134] WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree 2024-03-28 13:57:25.327 UTC [66134] WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree 2024-03-28 13:57:25.440 UTC [66134] WARNING: outfuncs/readfuncs failed to produce an equal rewritten parse tree ok Sync to disk skipped. The data directory might become corrupt if the operating system crashes. Success. You can now start the database server using: pg_ctl -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/t_010_pg_basebackup_node2_data/pgdata -l logfile start # Running: /tmp/cirrus-ci-build/build/src/test/regress/pg_regress --config-auth /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/t_010_pg_basebackup_node2_data/pgdata ### Enabling WAL archiving for node "node2" ### Starting node "node2" # Running: pg_ctl -w -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/t_010_pg_basebackup_node2_data/pgdata -l /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/log/010_pg_basebackup_node2.log -o --cluster-name=node2 start waiting for server to start.... done server started # Postmaster PID for node "node2" is 66239 # Running: pg_basebackup --no-sync -cfast -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/tmp_test_LFJP/diff_sysid --incremental /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/t_010_pg_basebackup_main_data/backup/backup3/backup_manifest [13:57:25.775](1.095s) ok 192 - pg_basebackup fails with different database system manifest: exit code not 0 [13:57:25.776](0.000s) ok 193 - pg_basebackup fails with different database system manifest: matches [13:57:25.776](0.000s) 1..193 ### Stopping node "main" using mode immediate # Running: pg_ctl -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/t_010_pg_basebackup_main_data/pgdata -m immediate stop waiting for server to shut down.... done server stopped # No postmaster PID for node "main" ### Stopping node "node2" using mode immediate # Running: pg_ctl -D /tmp/cirrus-ci-build/build/testrun/pg_basebackup/010_pg_basebackup/data/t_010_pg_basebackup_node2_data/pgdata -m immediate stop waiting for server to shut down.... done server stopped # No postmaster PID for node "node2" [13:57:25.990](0.214s) # Looks like you failed 2 tests of 193.