# Running: pg_basebackup --help [16:14:21.637](0.111s) ok 1 - pg_basebackup --help exit code 0 [16:14:21.639](0.002s) ok 2 - pg_basebackup --help goes to stdout [16:14:21.640](0.001s) ok 3 - pg_basebackup --help nothing to stderr [16:14:21.640](0.000s) ok 4 - pg_basebackup --help maximum line length # Running: pg_basebackup --version [16:14:21.699](0.059s) ok 5 - pg_basebackup --version exit code 0 [16:14:21.705](0.006s) ok 6 - pg_basebackup --version goes to stdout [16:14:21.706](0.001s) ok 7 - pg_basebackup --version nothing to stderr # Running: pg_basebackup --not-a-valid-option [16:14:21.758](0.052s) ok 8 - pg_basebackup with invalid option nonzero exit code [16:14:21.758](0.000s) ok 9 - pg_basebackup with invalid option prints error message # Checking port 58432 # Found port 58432 Name: main Data directory: C:\cirrus\build/testrun/pg_basebackup/010_pg_basebackup\data/t_010_pg_basebackup_main_data/pgdata Backup directory: C:\cirrus\build/testrun/pg_basebackup/010_pg_basebackup\data/t_010_pg_basebackup_main_data/backup Archive directory: C:\cirrus\build/testrun/pg_basebackup/010_pg_basebackup\data/t_010_pg_basebackup_main_data/archives Connection string: port=58432 host=C:/Windows/TEMP/ufSKjjEpw5 Log file: C:\cirrus\build/testrun/pg_basebackup/010_pg_basebackup\log/010_pg_basebackup_main.log [16:14:21.783](0.024s) # initializing database system by running initdb # Running: initdb -D C:\cirrus\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 "SYSTEM". This user must also own the server process. The database cluster will be initialized with locale "English_United States.1252". The default database encoding has accordingly been set to "WIN1252". The default text search configuration will be set to "english". Data page checksums are enabled. creating directory C:/cirrus/build/testrun/pg_basebackup/010_pg_basebackup/data/t_010_pg_basebackup_main_data/pgdata ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... windows selecting default max_connections ... 100 selecting default shared_buffers ... 128MB selecting default time zone ... Atlantic/Reykjavik creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... 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 ^"C^:^\cirrus^\build^/testrun^/pg^_basebackup^/010^_pg^_basebackup^\data^/t^_010^_pg^_basebackup^_main^_data^/pgdata^" -l logfile start # Running: C:\cirrus\build\src/test\regress\pg_regress.exe --config-auth C:\cirrus\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 C:\cirrus\build/testrun/pg_basebackup/010_pg_basebackup\data/t_010_pg_basebackup_main_data/pgdata -l C:\cirrus\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 8136 # Running: pg_basebackup pg_basebackup: error: must specify output directory or backup target pg_basebackup: hint: Try "pg_basebackup --help" for more information. [16:14:27.676](5.893s) ok 10 - pg_basebackup needs target directory specified # Running: pg_basebackup -D C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\tmp_test_7aFS/backup --compress none:1 [16:14:27.760](0.083s) ok 11 - failure if method "none" specified with compression level: exit code not 0 [16:14:27.760](0.000s) ok 12 - failure if method "none" specified with compression level: matches # Running: pg_basebackup -D C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\tmp_test_7aFS/backup --compress none+ [16:14:27.830](0.070s) ok 13 - failure on incorrect separator to define compression level: exit code not 0 [16:14:27.830](0.001s) ok 14 - failure on incorrect separator to define compression level: matches ### Reloading node "main" # Running: pg_ctl -D C:\cirrus\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 C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\tmp_test_7aFS/backup pg_basebackup: error: connection to server on socket "C:/Windows/TEMP/ufSKjjEpw5/.s.PGSQL.58432" failed: FATAL: number of requested standby connections exceeds max_wal_senders (currently 0) [16:14:27.967](0.137s) ok 15 - pg_basebackup fails because of WAL configuration [16:14:27.969](0.002s) ok 16 - backup directory was cleaned up # Running: pg_basebackup --no-sync -cfast -D C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\tmp_test_7aFS/backup -n pg_basebackup: error: connection to server on socket "C:/Windows/TEMP/ufSKjjEpw5/.s.PGSQL.58432" failed: FATAL: number of requested standby connections exceeds max_wal_senders (currently 0) [16:14:28.046](0.077s) ok 17 - failing run with no-clean option [16:14:28.048](0.002s) ok 18 - backup directory was created and left behind ### Restarting node "main" # Running: pg_ctl -w -D C:\cirrus\build/testrun/pg_basebackup/010_pg_basebackup\data/t_010_pg_basebackup_main_data/pgdata -l C:\cirrus\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 5584 [16:14:28.459](0.411s) ok 19 # skip postgres was not built with ZLIB support [16:14:28.460](0.001s) ok 20 # skip postgres was not built with ZLIB support [16:14:28.461](0.001s) ok 21 # skip postgres was not built with ZLIB support [16:14:28.462](0.001s) ok 22 # skip postgres was not built with ZLIB support [16:14:28.462](0.001s) ok 23 # skip postgres was not built with ZLIB support [16:14:28.463](0.001s) ok 24 # skip postgres was not built with ZLIB support [16:14:28.888](0.425s) ok 25 - unlogged init fork in base [16:14:28.888](0.000s) ok 26 - unlogged main fork in base # Running: pg_basebackup --no-sync -cfast -D C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\tmp_test_7aFS/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 [16:14:29.850](0.962s) ok 27 - pg_basebackup runs [16:14:29.853](0.003s) ok 28 - backup was created [16:14:29.854](0.001s) ok 29 - backup manifest included [16:14:29.855](0.001s) ok 30 # skip unix-style permissions not supported on Windows [16:14:29.855](0.001s) ok 31 - no WAL files copied [16:14:29.856](0.000s) ok 32 - contents of pg_dynshmem/ not copied [16:14:29.856](0.000s) ok 33 - contents of pg_notify/ not copied [16:14:29.857](0.000s) ok 34 - contents of pg_replslot/ not copied [16:14:29.857](0.000s) ok 35 - contents of pg_serial/ not copied [16:14:29.857](0.000s) ok 36 - contents of pg_snapshots/ not copied [16:14:29.858](0.000s) ok 37 - contents of pg_stat_tmp/ not copied [16:14:29.858](0.000s) ok 38 - contents of pg_subtrans/ not copied [16:14:29.859](0.000s) ok 39 - postgresql.auto.conf.tmp not copied [16:14:29.859](0.000s) ok 40 - postmaster.opts not copied [16:14:29.859](0.000s) ok 41 - postmaster.pid not copied [16:14:29.860](0.000s) ok 42 - tablespace_map not copied [16:14:29.860](0.000s) ok 43 - current_logfiles.tmp not copied [16:14:29.861](0.001s) ok 44 - global/pg_internal.init not copied [16:14:29.861](0.000s) ok 45 - global/pg_internal.init.123 not copied [16:14:29.861](0.000s) ok 46 - .DS_Store not copied [16:14:29.862](0.000s) ok 47 - unlogged init fork in backup [16:14:29.862](0.000s) ok 48 - unlogged main fork not in backup [16:14:29.862](0.000s) ok 49 - base/5/t999_999 not copied [16:14:29.863](0.000s) ok 50 - base/5/t9999_999.1 not copied [16:14:29.863](0.000s) ok 51 - base/5/t999_9999_vm not copied [16:14:29.863](0.000s) ok 52 - base/5/t99999_99999_vm.1 not copied [16:14:29.863](0.001s) ok 53 - existing backup_label not copied # Running: pg_basebackup --no-sync -cfast -D C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\tmp_test_7aFS/backup2 --no-manifest --waldir C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\tmp_test_7aFS/xlog2 [16:14:31.212](1.348s) ok 54 - separate xlog directory [16:14:31.215](0.003s) ok 55 - backup was created [16:14:31.215](0.000s) ok 56 - manifest was suppressed [16:14:31.215](0.000s) ok 57 - xlog directory was created # Running: pg_basebackup --no-sync -cfast -D C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\tmp_test_7aFS/tarbackup -Ft [16:14:32.167](0.951s) ok 58 - tar format [16:14:32.170](0.003s) ok 59 - backup tar was created # Running: pg_basebackup --no-sync -cfast -D C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\tmp_test_7aFS/backup_foo -Fp -T=/foo pg_basebackup: error: invalid tablespace mapping format "=/foo", must be "OLDDIR=NEWDIR" [16:14:32.236](0.066s) ok 60 - -T with empty old directory fails # Running: pg_basebackup --no-sync -cfast -D C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\tmp_test_7aFS/backup_foo -Fp -T/foo= pg_basebackup: error: invalid tablespace mapping format "/foo=", must be "OLDDIR=NEWDIR" [16:14:32.330](0.094s) ok 61 - -T with empty new directory fails # Running: pg_basebackup --no-sync -cfast -D C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\tmp_test_7aFS/backup_foo -Fp -T/foo=/bar=/baz pg_basebackup: error: multiple "=" signs in tablespace mapping [16:14:32.456](0.126s) ok 62 - -T with multiple = fails # Running: pg_basebackup --no-sync -cfast -D C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\tmp_test_7aFS/backup_foo -Fp -Tfoo=/bar pg_basebackup: error: old directory is not an absolute path in tablespace mapping: foo [16:14:32.499](0.043s) ok 63 - -T with old directory not absolute fails # Running: pg_basebackup --no-sync -cfast -D C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\tmp_test_7aFS/backup_foo -Fp -T/foo=bar pg_basebackup: error: new directory is not an absolute path in tablespace mapping: bar [16:14:32.617](0.118s) ok 64 - -T with new directory not absolute fails # Running: pg_basebackup --no-sync -cfast -D C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\tmp_test_7aFS/backup_foo -Fp -Tfoo pg_basebackup: error: invalid tablespace mapping format "foo", must be "OLDDIR=NEWDIR" [16:14:32.682](0.066s) ok 65 - -T with invalid format fails # Running: pg_basebackup --no-sync -cfast -D C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\tmp_test_7aFS/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" [16:14:33.604](0.922s) ok 66 - pg_basebackup tar with long name fails ### Stopping node "main" using mode fast # Running: pg_ctl -D C:\cirrus\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" Junction created for C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\t_010_pg_basebackup_main_data\pgdata\pg_replslot <<===>> C:\Windows\TEMP\OGV61keEEJ\pg_replslot ### Starting node "main" # Running: pg_ctl -w -D C:\cirrus\build/testrun/pg_basebackup/010_pg_basebackup\data/t_010_pg_basebackup_main_data/pgdata -l C:\cirrus\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 448 Junction created for C:\Windows\TEMP\OGV61keEEJ\tempdir <<===>> C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\tmp_test_7aFS # Taking pg_basebackup tarbackup2 from node "main" # Running: pg_basebackup -D C:\cirrus\build/testrun/pg_basebackup/010_pg_basebackup\data/t_010_pg_basebackup_main_data/backup/tarbackup2 -h C:/Windows/TEMP/ufSKjjEpw5 -p 58432 --checkpoint fast --no-sync -Ft # Backup finished [16:14:34.856](1.252s) ok 67 - backup tar was created [16:14:34.857](0.001s) ok 68 - WAL tar was created [16:14:34.858](0.001s) ok 69 - one tablespace tar was created # Checking port 58433 # Found port 58433 Name: replica Data directory: C:\cirrus\build/testrun/pg_basebackup/010_pg_basebackup\data/t_010_pg_basebackup_replica_data/pgdata Backup directory: C:\cirrus\build/testrun/pg_basebackup/010_pg_basebackup\data/t_010_pg_basebackup_replica_data/backup Archive directory: C:\cirrus\build/testrun/pg_basebackup/010_pg_basebackup\data/t_010_pg_basebackup_replica_data/archives Connection string: port=58433 host=C:/Windows/TEMP/ufSKjjEpw5 Log file: C:\cirrus\build/testrun/pg_basebackup/010_pg_basebackup\log/010_pg_basebackup_replica.log # Initializing node "replica" from backup "tarbackup2" of node "main" # Running: c:/windows/system32/tar.exe xf C:\cirrus\build/testrun/pg_basebackup/010_pg_basebackup\data/t_010_pg_basebackup_main_data/backup/tarbackup2/base.tar -C C:\cirrus\build/testrun/pg_basebackup/010_pg_basebackup\data/t_010_pg_basebackup_replica_data/pgdata # Running: c:/windows/system32/tar.exe xf C:\cirrus\build/testrun/pg_basebackup/010_pg_basebackup\data/t_010_pg_basebackup_main_data/backup/tarbackup2/pg_wal.tar -C C:\cirrus\build/testrun/pg_basebackup/010_pg_basebackup\data/t_010_pg_basebackup_replica_data/pgdata/pg_wal # Running: c:/windows/system32/tar.exe xf C:\cirrus\build/testrun/pg_basebackup/010_pg_basebackup\data/t_010_pg_basebackup_main_data/backup/tarbackup2/16387.tar -C C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\tmp_test_7aFS/tblspc1replica ### Starting node "replica" # Running: pg_ctl -w -D C:\cirrus\build/testrun/pg_basebackup/010_pg_basebackup\data/t_010_pg_basebackup_replica_data/pgdata -l C:\cirrus\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 2304 [16:14:35.999](1.141s) ok 70 - tablespace data restored from tar-format backup ### Stopping node "replica" using mode fast # Running: pg_ctl -D C:\cirrus\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" [16:14:36.323](0.324s) ok 71 - unlogged init fork in tablespace [16:14:36.324](0.001s) ok 72 - unlogged main fork in tablespace # Running: pg_basebackup --no-sync -cfast -D C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\tmp_test_7aFS/backup1 -Fp pg_basebackup: error: directory "C:\Windows\TEMP\OGV61keEEJ\tempdir\tblspc1" exists but is not empty pg_basebackup: removing data directory "C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\tmp_test_7aFS/backup1" [16:14:36.625](0.301s) ok 73 - plain format with tablespaces fails without tablespace mapping # Running: pg_basebackup --no-sync -cfast -D C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\tmp_test_7aFS/backup1 -Fp -TC:\Windows\TEMP\OGV61keEEJ/tempdir/tblspc1=C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\tmp_test_7aFS/tbackup/tblspc1 [16:14:47.342](10.717s) ok 74 - plain format with tablespaces succeeds with tablespace mapping [16:14:47.349](0.007s) ok 75 - tablespace was relocated [16:14:47.351](0.002s) ok 76 # skip symlink check not implemented on Windows [16:14:47.352](0.001s) ok 77 # skip unix-style permissions not supported on Windows [16:14:47.353](0.001s) ok 78 - unlogged init fork in tablespace backup [16:14:47.355](0.002s) ok 79 - unlogged main fork not in tablespace backup [16:14:47.356](0.001s) ok 80 - [tblspc1]/5/t888_888 not copied [16:14:47.358](0.002s) ok 81 - [tblspc1]/5/t888888_888888_vm.1 not copied [16:14:47.359](0.001s) ok 82 - pg_replslot symlink copied as directory # Running: pg_basebackup --no-sync -cfast -D C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\tmp_test_7aFS/backup3 -Fp -TC:\Windows\TEMP\OGV61keEEJ/tempdir/tbl\=spc2=C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\tmp_test_7aFS/tbackup/tbl\=spc2 [16:14:52.660](5.300s) ok 83 - mapping tablespace with = sign in path [16:14:52.660](0.000s) ok 84 - tablespace with = sign was relocated # Running: pg_basebackup --no-sync -cfast -D C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\tmp_test_7aFS/tarbackup_l3 -Ft [16:14:54.006](1.347s) ok 85 - pg_basebackup tar with long symlink target # Running: pg_basebackup --no-sync -cfast -D C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\tmp_test_7aFS/backupR -R [16:14:56.133](2.127s) ok 86 - pg_basebackup -R runs [16:14:56.151](0.018s) ok 87 - postgresql.auto.conf exists [16:14:56.156](0.005s) ok 88 - standby.signal was created [16:14:57.916](1.760s) ok 89 - postgresql.auto.conf sets primary_conninfo # Running: pg_basebackup --no-sync -cfast -D C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\tmp_test_7aFS/backupxd [16:14:59.247](1.330s) ok 90 - pg_basebackup runs in default xlog mode [16:14:59.249](0.002s) ok 91 - WAL files copied # Running: pg_basebackup --no-sync -cfast -D C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\tmp_test_7aFS/backupxf -X fetch [16:15:00.403](1.154s) ok 92 - pg_basebackup -X fetch runs [16:15:00.406](0.002s) ok 93 - WAL files copied # Running: pg_basebackup --no-sync -cfast -D C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\tmp_test_7aFS/backupxs -X stream [16:15:01.498](1.092s) ok 94 - pg_basebackup -X stream runs [16:15:01.500](0.002s) ok 95 - WAL files copied # Running: pg_basebackup --no-sync -cfast -D C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\tmp_test_7aFS/backupxst -X stream -Ft [16:15:02.311](0.811s) ok 96 - pg_basebackup -X stream runs in tar mode [16:15:02.316](0.005s) ok 97 - tar file was created # Running: pg_basebackup --no-sync -cfast -D C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\tmp_test_7aFS/backupnoslot -X stream --no-slot [16:15:03.546](1.229s) ok 98 - pg_basebackup -X stream runs with --no-slot # Running: pg_basebackup --no-sync -cfast -D C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\tmp_test_7aFS/backupxf -X fetch [16:15:04.690](1.144s) ok 99 - pg_basebackup -X fetch runs # Running: pg_basebackup --no-sync -cfast --target blackhole [16:15:04.756](0.066s) ok 100 - backup target requires -X: exit code not 0 [16:15:04.756](0.000s) ok 101 - backup target requires -X: matches # Running: pg_basebackup --no-sync -cfast --target blackhole -X stream [16:15:04.818](0.062s) ok 102 - backup target requires -X other than -X stream: exit code not 0 [16:15:04.819](0.001s) ok 103 - backup target requires -X other than -X stream: matches # Running: pg_basebackup --no-sync -cfast --target bogus -X none [16:15:05.077](0.258s) ok 104 - backup target unrecognized: exit code not 0 [16:15:05.083](0.006s) ok 105 - backup target unrecognized: matches # Running: pg_basebackup --no-sync -cfast --target blackhole -X none -D C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\tmp_test_7aFS/blackhole [16:15:05.163](0.080s) ok 106 - backup target and output directory: exit code not 0 [16:15:05.163](0.000s) ok 107 - backup target and output directory: matches # Running: pg_basebackup --no-sync -cfast --target blackhole -X none -Ft [16:15:05.222](0.059s) ok 108 - backup target and output directory: exit code not 0 [16:15:05.223](0.001s) ok 109 - backup target and output directory: matches # Running: pg_basebackup --no-sync -cfast --target blackhole -X none pg_basebackup: error: connection to server on socket "C:/Windows/TEMP/ufSKjjEpw5/.s.PGSQL.58432" failed: Connection refused (0x0000274D/10061) Is the server running locally and accepting connections on that socket? [16:15:05.279](0.056s) not ok 110 - backup target blackhole [16:15:05.280](0.001s) # Failed test 'backup target blackhole' # at C:/cirrus/src/bin/pg_basebackup/t/010_pg_basebackup.pl line 634. # Running: pg_basebackup --no-sync -cfast --target server:C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\tmp_test_7aFS/backuponserver -X none pg_basebackup: error: connection to server on socket "C:/Windows/TEMP/ufSKjjEpw5/.s.PGSQL.58432" failed: Connection refused (0x0000274D/10061) Is the server running locally and accepting connections on that socket? [16:15:05.311](0.030s) not ok 111 - backup target server [16:15:05.311](0.000s) # Failed test 'backup target server' # at C:/cirrus/src/bin/pg_basebackup/t/010_pg_basebackup.pl line 637. [16:15:05.313](0.002s) not ok 112 - backup tar was created [16:15:05.313](0.000s) # Failed test 'backup tar was created' # at C:/cirrus/src/bin/pg_basebackup/t/010_pg_basebackup.pl line 644. # Running: createuser --replication --role=pg_write_server_files backupuser createuser: error: connection to server on socket "C:/Windows/TEMP/ufSKjjEpw5/.s.PGSQL.58432" failed: Connection refused (0x0000274D/10061) Is the server running locally and accepting connections on that socket? [16:15:05.387](0.074s) not ok 113 - create backup user [16:15:05.388](0.001s) # Failed test 'create backup user' # at C:/cirrus/src/bin/pg_basebackup/t/010_pg_basebackup.pl line 647. # Running: pg_basebackup --no-sync -cfast -U backupuser --target server:C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\tmp_test_7aFS/backuponserver -X none pg_basebackup: error: connection to server on socket "C:/Windows/TEMP/ufSKjjEpw5/.s.PGSQL.58432" failed: Connection refused (0x0000274D/10061) Is the server running locally and accepting connections on that socket? [16:15:05.421](0.033s) not ok 114 - backup target server [16:15:05.422](0.001s) # Failed test 'backup target server' # at C:/cirrus/src/bin/pg_basebackup/t/010_pg_basebackup.pl line 650. [16:15:05.426](0.004s) not ok 115 - backup tar was created as non-superuser [16:15:05.426](0.000s) # Failed test 'backup tar was created as non-superuser' # at C:/cirrus/src/bin/pg_basebackup/t/010_pg_basebackup.pl line 657. # Running: pg_basebackup --no-sync -cfast -D C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\tmp_test_7aFS/backupxs_sl_fail -X stream -S slot0 pg_basebackup: error: connection to server on socket "C:/Windows/TEMP/ufSKjjEpw5/.s.PGSQL.58432" failed: Connection refused (0x0000274D/10061) Is the server running locally and accepting connections on that socket? [16:15:05.516](0.090s) ok 116 - pg_basebackup fails with nonexistent replication slot # Running: pg_basebackup --no-sync -cfast -D C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\tmp_test_7aFS/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. [16:15:05.547](0.031s) ok 117 - pg_basebackup -C fails without slot name # Running: pg_basebackup --no-sync -cfast -D C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\tmp_test_7aFS/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. [16:15:05.586](0.039s) ok 118 - pg_basebackup fails with -C -S --no-slot # Running: pg_basebackup --no-sync -cfast --target blackhole -D C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\tmp_test_7aFS/blackhole [16:15:05.679](0.092s) ok 119 - backup target and output directory: exit code not 0 [16:15:05.679](0.001s) ok 120 - backup target and output directory: matches # Running: pg_basebackup --no-sync -cfast -D C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\tmp_test_7aFS/backuptr/co -X none pg_basebackup: error: connection to server on socket "C:/Windows/TEMP/ufSKjjEpw5/.s.PGSQL.58432" failed: Connection refused (0x0000274D/10061) Is the server running locally and accepting connections on that socket? [16:15:05.772](0.093s) not ok 121 - pg_basebackup -X fetch runs [16:15:05.772](0.000s) # Failed test 'pg_basebackup -X fetch runs' # at C:/cirrus/src/bin/pg_basebackup/t/010_pg_basebackup.pl line 690. # Running: pg_basebackup --no-sync -cfast -D C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\tmp_test_7aFS/backupxs_sl_fail -X stream -S slot0 pg_basebackup: error: connection to server on socket "C:/Windows/TEMP/ufSKjjEpw5/.s.PGSQL.58432" failed: Connection refused (0x0000274D/10061) Is the server running locally and accepting connections on that socket? [16:15:05.863](0.091s) ok 122 - pg_basebackup fails with nonexistent replication slot # Running: pg_basebackup --no-sync -cfast -D C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\tmp_test_7aFS/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. [16:15:05.882](0.019s) ok 123 - pg_basebackup -C fails without slot name # Running: pg_basebackup --no-sync -cfast -D C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\tmp_test_7aFS/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. [16:15:05.921](0.039s) ok 124 - pg_basebackup fails with -C -S --no-slot # Running: pg_basebackup --no-sync -cfast -D C:\cirrus\build\testrun\pg_basebackup\010_pg_basebackup\data\tmp_test_7aFS/backupxs_slot -C -S slot0 pg_basebackup: error: connection to server on socket "C:/Windows/TEMP/ufSKjjEpw5/.s.PGSQL.58432" failed: Connection refused (0x0000274D/10061) Is the server running locally and accepting connections on that socket? [16:15:05.965](0.044s) not ok 125 - pg_basebackup -C runs [16:15:05.966](0.001s) # Failed test 'pg_basebackup -C runs' # at C:/cirrus/src/bin/pg_basebackup/t/010_pg_basebackup.pl line 716. connection error: 'psql: error: connection to server on socket "C:/Windows/TEMP/ufSKjjEpw5/.s.PGSQL.58432" failed: Connection refused (0x0000274D/10061) Is the server running locally and accepting connections on that socket?' while running 'psql -XAtq -d port=58432 host=C:/Windows/TEMP/ufSKjjEpw5 dbname='postgres' -f - -v ON_ERROR_STOP=1' at C:/cirrus/src/test/perl/PostgreSQL/Test/Cluster.pm line 2040. # No postmaster PID for node "main" # No postmaster PID for node "replica" [16:15:06.058](0.093s) # Tests were run but no plan was declared and done_testing() was not seen. [16:15:06.059](0.000s) # Looks like your test exited with 2 just after 125.