# Checking port 21138 # Found port 21138 Name: primary Data directory: /Users/admin/pgsql/build/testrun/basebackup_to_shell/001_basic/data/t_001_basic_primary_data/pgdata Backup directory: /Users/admin/pgsql/build/testrun/basebackup_to_shell/001_basic/data/t_001_basic_primary_data/backup Archive directory: /Users/admin/pgsql/build/testrun/basebackup_to_shell/001_basic/data/t_001_basic_primary_data/archives Connection string: port=21138 host=/var/folders/7m/kxwv39y54d9g6lmkzwbqwk8r0000gn/T/ZJk2ZBlLQl Log file: /Users/admin/pgsql/build/testrun/basebackup_to_shell/001_basic/log/001_basic_primary.log [08:25:56.642](0.044s) # initializing database system by copying initdb template # Running: cp -RPp /Users/admin/pgsql/build/tmp_install/initdb-template /Users/admin/pgsql/build/testrun/basebackup_to_shell/001_basic/data/t_001_basic_primary_data/pgdata # Running: /Users/admin/pgsql/build/src/test/regress/pg_regress --config-auth /Users/admin/pgsql/build/testrun/basebackup_to_shell/001_basic/data/t_001_basic_primary_data/pgdata --create-role backupuser ### Starting node "primary" # Running: pg_ctl --wait --pgdata /Users/admin/pgsql/build/testrun/basebackup_to_shell/001_basic/data/t_001_basic_primary_data/pgdata --log /Users/admin/pgsql/build/testrun/basebackup_to_shell/001_basic/log/001_basic_primary.log --options --cluster-name=primary start waiting for server to start.... done server started # Postmaster PID for node "primary" is 2325 # Running: pg_basebackup --no-sync --checkpoint fast --username backupuser --wal-method fetch --target shell [08:25:58.596](1.954s) ok 1 - fails if basebackup_to_shell.command is not set: exit code not 0 [08:25:58.597](0.001s) ok 2 - fails if basebackup_to_shell.command is not set: matches ### Reloading node "primary" # Running: pg_ctl --pgdata /Users/admin/pgsql/build/testrun/basebackup_to_shell/001_basic/data/t_001_basic_primary_data/pgdata reload server signaled # Running: pg_basebackup --no-sync --checkpoint fast --username backupuser --wal-method fetch --target shell pg_basebackup: error: backup failed: ERROR: requested WAL segment 000000010000000000000002 has already been removed [08:25:59.323](0.726s) not ok 3 - backup with no detail: pg_basebackup [08:25:59.325](0.001s) # Failed test 'backup with no detail: pg_basebackup' # at /Users/admin/pgsql/contrib/basebackup_to_shell/t/001_basic.pl line 70. [08:25:59.325](0.001s) not ok 4 - backup with no detail: backup_manifest.gz was created [08:25:59.325](0.000s) # Failed test 'backup with no detail: backup_manifest.gz was created' # at /Users/admin/pgsql/contrib/basebackup_to_shell/t/001_basic.pl line 116. [08:25:59.326](0.000s) ok 5 - backup with no detail: base.tar.gz was created # Running: /usr/bin/gzip -d /Users/admin/pgsql/build/testrun/basebackup_to_shell/001_basic/data/tmp_test_gnhB/backup_manifest.gz gzip: can't stat: /Users/admin/pgsql/build/testrun/basebackup_to_shell/001_basic/data/tmp_test_gnhB/backup_manifest.gz (/Users/admin/pgsql/build/testrun/basebackup_to_shell/001_basic/data/tmp_test_gnhB/backup_manifest.gz.gz): No such file or directory [08:25:59.333](0.007s) Bail out! command "/usr/bin/gzip -d /Users/admin/pgsql/build/testrun/basebackup_to_shell/001_basic/data/tmp_test_gnhB/backup_manifest.gz" exited with value 1 # Postmaster PID for node "primary" is 2325 ### Stopping node "primary" using mode immediate # Running: pg_ctl --pgdata /Users/admin/pgsql/build/testrun/basebackup_to_shell/001_basic/data/t_001_basic_primary_data/pgdata --mode immediate stop waiting for server to shut down.... done server stopped # No postmaster PID for node "primary"