mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2024-12-14 10:13:05 +02:00
977ec2e307
Set log-level-file=off when more that one test will run. In this case is it impossible to see the logs anyway since they will be automatically cleaned up after the test. This improves performance pretty dramatically since trace-level logging is expensive. If a singe integration test is run then log-level-file is trace by default but can be changed with the --log-level-test-file option. Reduce buffer-size to 64k to save memory during testing and allow more processes to run in parallel. Update log replacement rules so that these options can change without affecting expect logs.
71 lines
4.2 KiB
Plaintext
71 lines
4.2 KiB
Plaintext
run 001 - rmt 0, cmp 0, error version, s3 0, enc 1
|
|
==================================================
|
|
|
|
stanza-create db - create required data for stanza (db-master host)
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --stanza=db --no-online stanza-create
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
P00 INFO: stanza-create command begin [BACKREST-VERSION]: --buffer-size=[BUFFER-SIZE] --compress-level=3 --config=[TEST_PATH]/db-master/pgbackrest.conf --db-timeout=45 --lock-path=[TEST_PATH]/db-master/lock --log-level-console=detail --log-level-file=[LOG-LEVEL-FILE] --log-level-stderr=off --log-path=[TEST_PATH]/db-master/log[] --no-log-timestamp --no-online --pg1-path=[TEST_PATH]/db-master/db/base --protocol-timeout=60 --repo1-cipher-pass=<redacted> --repo1-cipher-type=aes-256-cbc --repo1-path=[TEST_PATH]/db-master/repo --stanza=db
|
|
P00 INFO: stanza-create command end: completed successfully
|
|
|
|
+ supplemental file: [TEST_PATH]/db-master/repo/backup/db/backup.info
|
|
---------------------------------------------------------------------
|
|
[backrest]
|
|
backrest-format=5
|
|
backrest-version="[VERSION-1]"
|
|
|
|
[cipher]
|
|
cipher-pass=[CIPHER-PASS-1]
|
|
|
|
[db]
|
|
db-catalog-version=201409291
|
|
db-control-version=942
|
|
db-id=1
|
|
db-system-id=1000000000000000094
|
|
db-version="9.4"
|
|
|
|
[db:history]
|
|
1={"db-catalog-version":201409291,"db-control-version":942,"db-system-id":1000000000000000094,"db-version":"9.4"}
|
|
|
|
[backrest]
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
+ supplemental file: [TEST_PATH]/db-master/repo/archive/db/archive.info
|
|
-----------------------------------------------------------------------
|
|
[backrest]
|
|
backrest-format=5
|
|
backrest-version="[VERSION-1]"
|
|
|
|
[cipher]
|
|
cipher-pass=[CIPHER-PASS-2]
|
|
|
|
[db]
|
|
db-id=1
|
|
db-system-id=1000000000000000094
|
|
db-version="9.4"
|
|
|
|
[db:history]
|
|
1={"db-id":1000000000000000094,"db-version":"9.4"}
|
|
|
|
[backrest]
|
|
backrest-checksum="[CHECKSUM]"
|
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --log-level-console=warn --archive-push-queue-max=33554432 --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000001
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --log-level-console=warn --archive-push-queue-max=33554432 --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000002
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
P00 ERROR: [044]: PostgreSQL version 9.4, system-id 1000000000000000094 do not match stanza version 8.0, system-id 1000000000000000094
|
|
HINT: are you archiving to the correct stanza?
|
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --log-level-console=warn --archive-push-queue-max=33554432 --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000003
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
P00 ERROR: [044]: PostgreSQL version 9.4, system-id 1000000000000000094 do not match stanza version 8.0, system-id 1000000000000000094
|
|
HINT: are you archiving to the correct stanza?
|
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --log-level-console=warn --archive-push-queue-max=33554432 --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000004 --repo1-host=bogus
|
|
------------------------------------------------------------------------------------------------------------------------------------
|
|
P00 WARN: dropped WAL file '000000010000000100000004' because archive queue exceeded 32MB
|
|
|
|
> [CONTAINER-EXEC] db-master [BACKREST-BIN] --config=[TEST_PATH]/db-master/pgbackrest.conf --log-level-console=warn --archive-push-queue-max=33554432 --stanza=db archive-push [TEST_PATH]/db-master/db/base/pg_xlog/000000010000000100000005
|
|
------------------------------------------------------------------------------------------------------------------------------------
|