* Package: dev-db/barman-2.12 * Repository: gentoo * Maintainer: patrick@gentoo.org * Upstream: https://sourceforge.net/p/pgbarman/tickets/ * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_7 python_targets_python3_8 python_targets_python3_9 test userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox @@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; This ebuild was merged at the following commit: https://github.com/gentoo/gentoo/commit/e2310c60c7cb455e000ebec7921e4fccf6f19662 (Tue Feb 9 16:16:18 UTC 2021) @@@@@ END @@@@@ emerge --info: Portage 3.0.14 (python 3.9.1-final-0, default/linux/amd64/17.1, gcc-10.2.0, glibc-2.32-r7, 5.4.0-1029-aws x86_64) ================================================================= System uname: Linux-5.4.0-1029-aws-x86_64-Intel-R-_Xeon-R-_Platinum_8124M_CPU_@_3.00GHz-with-glibc2.32 KiB Mem: 71926568 total, 62780088 free KiB Swap: 0 total, 0 free sh bash 5.1_p4 ld GNU ld (Gentoo 2.35.1 p2) 2.35.1 app-shells/bash: 5.1_p4::gentoo dev-lang/perl: 5.32.0-r1::gentoo dev-lang/python: 2.7.18-r6::gentoo, 3.7.9-r2::gentoo, 3.8.7-r1::gentoo, 3.9.1-r1::gentoo dev-util/cmake: 3.19.4::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.7-r1::gentoo sys-apps/openrc: 0.42.1-r1::gentoo sys-apps/sandbox: 2.20::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.16.3-r1::gentoo sys-devel/binutils: 2.35.1-r1::gentoo sys-devel/gcc: 10.2.0-r5::gentoo sys-devel/gcc-config: 2.3.3::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers) sys-libs/glibc: 2.32-r7::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: sync-rsync-verify-max-age: 24 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* GPL-3" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches" DISTDIR="/var/tmp/portage/dev-db/barman-2.12/distdir" EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -k -b" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" MAKEOPTS="-j36" PKGDIR="/root/.packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 berkdb bzip2 cli crypt dri elogind fortran gdbm iconv ipv6 jumbo-build libglvnd libtirpc multilib native-symlinks ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd test unicode xattr zlib" ABI_X86="64" ELIBC="glibc" KERNEL="linux" PYTHON_TARGETS="python3_7 python3_8 python3_9" USERLAND="GNU" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS emerge history: 2021-02-09T19:54:54 >>> dev-python/python-dateutil-2.8.1-r2 2021-02-09T19:54:54 >>> acct-group/postgres-0-r1 2021-02-09T19:54:55 >>> app-eselect/eselect-postgresql-2.4 2021-02-09T19:55:03 >>> acct-user/postgres-0-r1 2021-02-09T19:54:55 >>> dev-python/jmespath-0.10.0 2021-02-09T19:54:55 >>> dev-python/argh-0.26.2-r2 2021-02-09T19:54:56 >>> dev-python/toml-0.10.2 2021-02-09T19:54:55 >>> dev-python/typing-extensions-3.7.4.3 2021-02-09T19:55:17 >>> dev-python/zipp-3.4.0 2021-02-09T19:55:32 >>> dev-python/importlib_metadata-3.4.0 2021-02-09T19:55:13 >>> dev-python/botocore-1.20.4 2021-02-09T19:55:47 >>> dev-python/argcomplete-1.12.2-r1 2021-02-09T19:55:58 >>> dev-python/s3transfer-0.3.4 2021-02-09T19:55:09 >>> dev-db/postgresql-13.1 2021-02-09T19:56:09 >>> dev-python/boto3-1.17.4 2021-02-09T19:56:23 >>> dev-python/psycopg-2.8.6-r1 2021-02-09T19:56:48 >>> dev-db/barman-2.12 2021-02-09T19:57:03 >>> dev-python/pyparsing-2.4.7-r1 2021-02-09T19:57:07 >>> dev-python/namespace-zope-1-r1 2021-02-09T19:57:15 >>> dev-python/zope-interface-5.2.0 2021-02-09T19:57:05 >>> dev-python/pytest-timeout-1.4.2-r1 2021-02-09T19:57:04 >>> dev-python/mock-4.0.3 2021-02-09T19:57:07 >>> dev-python/pluggy-0.13.1-r1 2021-02-09T19:57:06 >>> dev-python/more-itertools-8.7.0 2021-02-09T19:57:08 >>> dev-python/packaging-20.9 2021-02-09T19:57:09 >>> dev-python/iniconfig-1.1.1 2021-02-09T19:57:10 >>> dev-python/py-1.10.0 2021-02-09T19:57:18 >>> dev-python/attrs-20.3.0 2021-02-09T19:57:35 >>> dev-python/pytest-6.2.2 >>> Unpacking source... >>> Unpacking barman-2.12.tar.gz to /var/tmp/portage/dev-db/barman-2.12/work >>> Source unpacked in /var/tmp/portage/dev-db/barman-2.12/work >>> Preparing source in /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12 ... * python3_7: running distutils-r1_run_phase distutils-r1_python_compile python3.7 setup.py build -j 36 running build running build_py creating /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_7/lib/barman copying barman/backup.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_7/lib/barman copying barman/diagnose.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_7/lib/barman copying barman/xlog.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_7/lib/barman copying barman/hooks.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_7/lib/barman copying barman/utils.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_7/lib/barman copying barman/recovery_executor.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_7/lib/barman copying barman/postgres_plumbing.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_7/lib/barman copying barman/cloud.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_7/lib/barman copying barman/__init__.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_7/lib/barman copying barman/version.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_7/lib/barman copying barman/fs.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_7/lib/barman copying barman/lockfile.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_7/lib/barman copying barman/compression.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_7/lib/barman copying barman/exceptions.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_7/lib/barman copying barman/command_wrappers.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_7/lib/barman copying barman/postgres.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_7/lib/barman copying barman/wal_archiver.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_7/lib/barman copying barman/config.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_7/lib/barman copying barman/process.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_7/lib/barman copying barman/remote_status.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_7/lib/barman copying barman/output.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_7/lib/barman copying barman/retention_policies.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_7/lib/barman copying barman/copy_controller.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_7/lib/barman copying barman/server.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_7/lib/barman copying barman/cli.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_7/lib/barman copying barman/backup_executor.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_7/lib/barman copying barman/infofile.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_7/lib/barman creating /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_7/lib/barman/clients copying barman/clients/cloud_backup_list.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_7/lib/barman/clients copying barman/clients/cloud_walarchive.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_7/lib/barman/clients copying barman/clients/walarchive.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_7/lib/barman/clients copying barman/clients/walrestore.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_7/lib/barman/clients copying barman/clients/__init__.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_7/lib/barman/clients copying barman/clients/cloud_restore.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_7/lib/barman/clients copying barman/clients/cloud_walrestore.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_7/lib/barman/clients copying barman/clients/cloud_backup.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_7/lib/barman/clients warning: build_py: byte-compiling is disabled, skipping. * python3_8: running distutils-r1_run_phase distutils-r1_python_compile python3.8 setup.py build -j 36 running build running build_py creating /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_8/lib/barman copying barman/backup.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_8/lib/barman copying barman/diagnose.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_8/lib/barman copying barman/xlog.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_8/lib/barman copying barman/hooks.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_8/lib/barman copying barman/utils.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_8/lib/barman copying barman/recovery_executor.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_8/lib/barman copying barman/postgres_plumbing.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_8/lib/barman copying barman/cloud.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_8/lib/barman copying barman/__init__.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_8/lib/barman copying barman/version.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_8/lib/barman copying barman/fs.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_8/lib/barman copying barman/lockfile.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_8/lib/barman copying barman/compression.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_8/lib/barman copying barman/exceptions.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_8/lib/barman copying barman/command_wrappers.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_8/lib/barman copying barman/postgres.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_8/lib/barman copying barman/wal_archiver.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_8/lib/barman copying barman/config.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_8/lib/barman copying barman/process.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_8/lib/barman copying barman/remote_status.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_8/lib/barman copying barman/output.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_8/lib/barman copying barman/retention_policies.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_8/lib/barman copying barman/copy_controller.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_8/lib/barman copying barman/server.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_8/lib/barman copying barman/cli.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_8/lib/barman copying barman/backup_executor.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_8/lib/barman copying barman/infofile.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_8/lib/barman creating /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_8/lib/barman/clients copying barman/clients/cloud_backup_list.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_8/lib/barman/clients copying barman/clients/cloud_walarchive.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_8/lib/barman/clients copying barman/clients/walarchive.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_8/lib/barman/clients copying barman/clients/walrestore.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_8/lib/barman/clients copying barman/clients/__init__.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_8/lib/barman/clients copying barman/clients/cloud_restore.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_8/lib/barman/clients copying barman/clients/cloud_walrestore.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_8/lib/barman/clients copying barman/clients/cloud_backup.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_8/lib/barman/clients warning: build_py: byte-compiling is disabled, skipping. * python3_9: running distutils-r1_run_phase distutils-r1_python_compile python3.9 setup.py build -j 36 running build running build_py creating /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_9/lib/barman copying barman/backup.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_9/lib/barman copying barman/diagnose.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_9/lib/barman copying barman/xlog.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_9/lib/barman copying barman/hooks.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_9/lib/barman copying barman/utils.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_9/lib/barman copying barman/recovery_executor.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_9/lib/barman copying barman/postgres_plumbing.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_9/lib/barman copying barman/cloud.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_9/lib/barman copying barman/__init__.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_9/lib/barman copying barman/version.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_9/lib/barman copying barman/fs.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_9/lib/barman copying barman/lockfile.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_9/lib/barman copying barman/compression.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_9/lib/barman copying barman/exceptions.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_9/lib/barman copying barman/command_wrappers.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_9/lib/barman copying barman/postgres.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_9/lib/barman copying barman/wal_archiver.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_9/lib/barman copying barman/config.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_9/lib/barman copying barman/process.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_9/lib/barman copying barman/remote_status.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_9/lib/barman copying barman/output.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_9/lib/barman copying barman/retention_policies.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_9/lib/barman copying barman/copy_controller.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_9/lib/barman copying barman/server.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_9/lib/barman copying barman/cli.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_9/lib/barman copying barman/backup_executor.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_9/lib/barman copying barman/infofile.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_9/lib/barman creating /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_9/lib/barman/clients copying barman/clients/cloud_backup_list.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_9/lib/barman/clients copying barman/clients/cloud_walarchive.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_9/lib/barman/clients copying barman/clients/walarchive.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_9/lib/barman/clients copying barman/clients/walrestore.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_9/lib/barman/clients copying barman/clients/__init__.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_9/lib/barman/clients copying barman/clients/cloud_restore.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_9/lib/barman/clients copying barman/clients/cloud_walrestore.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_9/lib/barman/clients copying barman/clients/cloud_backup.py -> /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12-python3_9/lib/barman/clients warning: build_py: byte-compiling is disabled, skipping. >>> Source compiled. >>> Test phase: dev-db/barman-2.12 * python3_7: running distutils-r1_run_phase python_test ============================= test session starts ============================== platform linux -- Python 3.7.9, pytest-6.2.2, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3.7 cachedir: .pytest_cache rootdir: /var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12 plugins: timeout-1.4.2 collecting ... collected 604 items tests/test_backup.py::TestBackup::test_backup_maximum_age PASSED [ 0%] tests/test_backup.py::TestBackup::test_keyboard_interrupt PASSED [ 0%] tests/test_backup.py::TestBackup::test_dateutil_parser PASSED [ 0%] tests/test_backup.py::TestBackup::test_delete_backup PASSED [ 0%] tests/test_backup.py::TestBackup::test_available_backups PASSED [ 0%] tests/test_backup.py::TestBackup::test_load_backup_cache PASSED [ 0%] tests/test_backup.py::TestBackup::test_backup_cache_add PASSED [ 1%] tests/test_backup.py::TestBackup::test_backup_cache_remove PASSED [ 1%] tests/test_backup.py::TestBackup::test_get_backup PASSED [ 1%] tests/test_backup.py::TestBackup::test_check_redundancy PASSED [ 1%] tests/test_backup.py::TestBackup::test_get_latest_archived_wals_info PASSED [ 1%] tests/test_barman_cloud_wal_archive.py::TestMain::test_ok PASSED [ 1%] tests/test_barman_cloud_wal_archive.py::TestMain::test_ko PASSED [ 2%] tests/test_barman_cloud_wal_archive.py::TestWalUploader::test_upload_wal PASSED [ 2%] tests/test_barman_cloud_wal_archive.py::TestWalUploader::test_encrypted_upload_wal PASSED [ 2%] tests/test_barman_cloud_wal_archive.py::TestWalUploader::test_retrieve_normal_file_obj PASSED [ 2%] tests/test_barman_cloud_wal_archive.py::TestWalUploader::test_retrieve_gzip_file_obj PASSED [ 2%] tests/test_barman_cloud_wal_archive.py::TestWalUploader::test_retrieve_bz2_file_obj PASSED [ 2%] tests/test_barman_cloud_wal_archive.py::TestWalUploader::test_retrieve_normal_file_name PASSED [ 3%] tests/test_barman_cloud_wal_archive.py::TestWalUploader::test_retrieve_gzip_file_name PASSED [ 3%] tests/test_barman_cloud_wal_archive.py::TestWalUploader::test_retrieve_bz2_file_name PASSED [ 3%] tests/test_barman_wal_archive.py::TestMain::test_ok PASSED [ 3%] tests/test_barman_wal_archive.py::TestMain::test_error_dir PASSED [ 3%] tests/test_barman_wal_archive.py::TestMain::test_error_io PASSED [ 3%] tests/test_barman_wal_archive.py::TestMain::test_error_ssh PASSED [ 4%] tests/test_barman_wal_archive.py::TestMain::test_error_barman PASSED [ 4%] tests/test_barman_wal_archive.py::TestMain::test_connectivity_test_ok PASSED [ 4%] tests/test_barman_wal_archive.py::TestMain::test_connectivity_test_error PASSED [ 4%] tests/test_barman_wal_archive.py::TestRemotePutWal::test_str_source_file PASSED [ 4%] tests/test_barman_wal_archive.py::TestRemotePutWal::test_error PASSED [ 4%] tests/test_barman_wal_archive.py::TestChecksumTarFile::test_tar PASSED [ 5%] tests/test_barman_wal_archive.py::TestChecksumTarFile::test_md5copyfileobj[0-0] PASSED [ 5%] tests/test_barman_wal_archive.py::TestChecksumTarFile::test_md5copyfileobj[10-None] PASSED [ 5%] tests/test_barman_wal_archive.py::TestChecksumTarFile::test_md5copyfileobj[10-0] PASSED [ 5%] tests/test_barman_wal_archive.py::TestChecksumTarFile::test_md5copyfileobj[10-1] PASSED [ 5%] tests/test_barman_wal_archive.py::TestChecksumTarFile::test_md5copyfileobj[10--5] PASSED [ 5%] tests/test_barman_wal_archive.py::TestChecksumTarFile::test_md5copyfileobj[16384-0] PASSED [ 6%] tests/test_barman_wal_archive.py::TestChecksumTarFile::test_md5copyfileobj[32767--1] PASSED [ 6%] tests/test_barman_wal_archive.py::TestChecksumTarFile::test_md5copyfileobj[32767-0] PASSED [ 6%] tests/test_barman_wal_archive.py::TestChecksumTarFile::test_md5copyfileobj[32767-1] PASSED [ 6%] tests/test_barman_wal_restore.py::TestRemoteGetWal::test_string_dest_file PASSED [ 6%] tests/test_barman_wal_restore.py::TestRemoteGetWal::test_connectivity_test_ok PASSED [ 6%] tests/test_barman_wal_restore.py::TestRemoteGetWal::test_connectivity_test_error PASSED [ 7%] tests/test_cli.py::TestCli::test_get_server PASSED [ 7%] tests/test_cli.py::TestCli::test_get_server_with_conflicts PASSED [ 7%] tests/test_cli.py::TestCli::test_manage_server_command PASSED [ 7%] tests/test_cli.py::TestCli::test_get_server_global_error_list PASSED [ 7%] tests/test_cli.py::TestCli::test_get_server_list PASSED [ 7%] tests/test_cli.py::TestCli::test_get_server_list_global_error_continue PASSED [ 8%] tests/test_cli.py::TestCli::test_recover_multiple_targets PASSED [ 8%] tests/test_cli.py::TestCli::test_recover_one_target PASSED [ 8%] tests/test_cli.py::TestCli::test_recover_default_target PASSED [ 8%] tests/test_cli.py::TestCli::test_check_target_action PASSED [ 8%] tests/test_cloud.py::TestCloudInterface::test_uploader_minimal PASSED [ 8%] tests/test_cloud.py::TestCloudInterface::test_ensure_async PASSED [ 9%] tests/test_cloud.py::TestCloudInterface::test_retrieve_results PASSED [ 9%] tests/test_cloud.py::TestCloudInterface::test_worker_process_main PASSED [ 9%] tests/test_cloud.py::TestCloudInterface::test_worker_process_execute_job PASSED [ 9%] tests/test_cloud.py::TestCloudInterface::test_handle_async_errors PASSED [ 9%] tests/test_cloud.py::TestCloudInterface::test_async_upload_part PASSED [ 9%] tests/test_cloud.py::TestCloudInterface::test_async_complete_multipart_upload PASSED [ 10%] tests/test_cloud.py::TestCloudInterface::test_invalid_uploader_minimal PASSED [ 10%] tests/test_cloud.py::TestCloudInterface::test_connectivity PASSED [ 10%] tests/test_cloud.py::TestCloudInterface::test_connectivity_failure PASSED [ 10%] tests/test_cloud.py::TestCloudInterface::test_setup_bucket PASSED [ 10%] tests/test_cloud.py::TestCloudInterface::test_setup_bucket_create PASSED [ 10%] tests/test_command_wrappers.py::TestCommand::test_simple_invocation PASSED [ 11%] tests/test_command_wrappers.py::TestCommand::test_simple_encoding PASSED [ 11%] tests/test_command_wrappers.py::TestCommand::test_multiline_output PASSED [ 11%] tests/test_command_wrappers.py::TestCommand::test_failed_invocation PASSED [ 11%] tests/test_command_wrappers.py::TestCommand::test_check_failed_invocation PASSED [ 11%] tests/test_command_wrappers.py::TestCommand::test_shell_invocation PASSED [ 11%] tests/test_command_wrappers.py::TestCommand::test_declaration_args_invocation PASSED [ 12%] tests/test_command_wrappers.py::TestCommand::test_call_args_invocation PASSED [ 12%] tests/test_command_wrappers.py::TestCommand::test_both_args_invocation PASSED [ 12%] tests/test_command_wrappers.py::TestCommand::test_env_invocation PASSED [ 12%] tests/test_command_wrappers.py::TestCommand::test_path_invocation PASSED [ 12%] tests/test_command_wrappers.py::TestCommand::test_env_path_invocation PASSED [ 12%] tests/test_command_wrappers.py::TestCommand::test_get_output_invocation PASSED [ 13%] tests/test_command_wrappers.py::TestCommand::test_execute_invocation PASSED [ 13%] tests/test_command_wrappers.py::TestCommand::test_execute_invocation_multiline PASSED [ 13%] tests/test_command_wrappers.py::TestCommand::test_execute_check_failed_invocation PASSED [ 13%] tests/test_command_wrappers.py::TestCommand::test_handlers_multiline PASSED [ 13%] tests/test_command_wrappers.py::TestCommand::test_execute_handlers PASSED [ 13%] tests/test_command_wrappers.py::TestCommand::test_retry PASSED [ 14%] tests/test_command_wrappers.py::TestCommandPipeProcessorLoop::test_ppl PASSED [ 14%] tests/test_command_wrappers.py::TestCommandPipeProcessorLoop::test_ppl_select_failure PASSED [ 14%] tests/test_command_wrappers.py::TestRsync::test_simple_invocation PASSED [ 14%] tests/test_command_wrappers.py::TestRsync::test_args_invocation PASSED [ 14%] tests/test_command_wrappers.py::TestRsync::test_custom_ssh_invocation PASSED [ 14%] tests/test_command_wrappers.py::TestRsync::test_rsync_build_failure PASSED [ 15%] tests/test_command_wrappers.py::TestRsync::test_protect_ssh_invocation PASSED [ 15%] tests/test_command_wrappers.py::TestRsync::test_bwlimit_ssh_invocation PASSED [ 15%] tests/test_command_wrappers.py::TestRsync::test_from_file_list_ssh_invocation PASSED [ 15%] tests/test_command_wrappers.py::TestRsyncPgdata::test_simple_invocation PASSED [ 15%] tests/test_command_wrappers.py::TestRsyncPgdata::test_args_invocation PASSED [ 15%] tests/test_command_wrappers.py::TestPgBaseBackup::test_init_simple PASSED [ 16%] tests/test_command_wrappers.py::TestPgBaseBackup::test_init_args PASSED [ 16%] tests/test_command_wrappers.py::TestPgBaseBackup::test_pg_basebackup10_no_wals PASSED [ 16%] tests/test_command_wrappers.py::TestPgBaseBackup::test_simple_invocation PASSED [ 16%] tests/test_command_wrappers.py::TestReceiveXlog::test_init_simple PASSED [ 16%] tests/test_command_wrappers.py::TestReceiveXlog::test_init_args PASSED [ 16%] tests/test_command_wrappers.py::TestReceiveXlog::test_simple_invocation PASSED [ 17%] tests/test_command_wrappers.py::TestReceiveXlog::test_find_command PASSED [ 17%] tests/test_command_wrappers.py::TestReceiveXlog::test_get_version_info PASSED [ 17%] tests/test_command_wrappers.py::TestBarmanSubProcess::test_init_minimal_cmd PASSED [ 17%] tests/test_command_wrappers.py::TestBarmanSubProcess::test_init_args PASSED [ 17%] tests/test_command_wrappers.py::TestBarmanSubProcess::test_simple_invocation PASSED [ 17%] tests/test_command_wrappers.py::test_shell_quote PASSED [ 18%] tests/test_command_wrappers.py::test_full_command_quote PASSED [ 18%] tests/test_compressor.py::TestCompressionManager::test_compression_manager_creation PASSED [ 18%] tests/test_compressor.py::TestCompressionManager::test_check_compression_none PASSED [ 18%] tests/test_compressor.py::TestCompressionManager::test_check_with_compression PASSED [ 18%] tests/test_compressor.py::TestCompressionManager::test_get_compressor_custom PASSED [ 18%] tests/test_compressor.py::TestCompressionManager::test_get_compressor_gzip PASSED [ 19%] tests/test_compressor.py::TestCompressionManager::test_get_compressor_bzip2 PASSED [ 19%] tests/test_compressor.py::TestCompressionManager::test_get_compressor_invalid PASSED [ 19%] tests/test_compressor.py::TestIdentifyCompression::test_identify_compression PASSED [ 19%] tests/test_compressor.py::TestCommandCompressors::test_creation PASSED [ 19%] tests/test_compressor.py::TestCommandCompressors::test_build_command PASSED [ 19%] tests/test_compressor.py::TestCommandCompressors::test_gzip PASSED [ 20%] tests/test_compressor.py::TestCommandCompressors::test_bzip2 PASSED [ 20%] tests/test_compressor.py::TestInternalCompressors::test_gzip PASSED [ 20%] tests/test_compressor.py::TestInternalCompressors::test_bzip2 PASSED [ 20%] tests/test_compressor.py::TestCustomCompressor::test_custom_compressor_creation PASSED [ 20%] tests/test_compressor.py::TestCustomCompressor::test_validate PASSED [ 20%] tests/test_config.py::TestConfig::test_server_list PASSED [ 21%] tests/test_config.py::TestConfig::test_config_file_existence PASSED [ 21%] tests/test_config.py::TestConfig::test_config PASSED [ 21%] tests/test_config.py::TestConfig::test_quotes PASSED [ 21%] tests/test_config.py::TestConfig::test_interpolation PASSED [ 21%] tests/test_config.py::TestConfig::test_parse_time_interval PASSED [ 21%] tests/test_config.py::TestConfig::test_primary_ssh_command PASSED [ 22%] tests/test_config.py::TestConfig::test_server_conflict_paths PASSED [ 22%] tests/test_config.py::TestConfig::test_populate_servers PASSED [ 22%] tests/test_config.py::TestConfig::test_populate_servers_following_symlink PASSED [ 22%] tests/test_config.py::TestConfig::test_parse_slot_name PASSED [ 22%] tests/test_config.py::TestCsvParsing::test_csv_values_global_exclusive PASSED [ 22%] tests/test_config.py::TestCsvParsing::test_csv_values_global_conflict PASSED [ 23%] tests/test_config.py::TestCsvParsing::test_csv_values_invalid_server_value PASSED [ 23%] tests/test_config.py::TestCsvParsing::test_csv_values_multikey_invalid_server_value PASSED [ 23%] tests/test_config.py::TestCsvParsing::test_csv_values_global_concurrent PASSED [ 23%] tests/test_config.py::TestCsvParsing::test_backup_option_parser PASSED [ 23%] tests/test_config.py::TestCsvParsing::test_csv_values_recovery_options PASSED [ 23%] tests/test_config.py::TestCsvParsing::test_recovery_option_parser PASSED [ 24%] tests/test_config.py::TestCsvParsing::test_invalid_option_output PASSED [ 24%] tests/test_copy_controller.py::TestRsyncCopyController::test_rsync_backup_executor_init PASSED [ 24%] tests/test_copy_controller.py::TestRsyncCopyController::test_reuse_args PASSED [ 24%] tests/test_copy_controller.py::TestRsyncCopyController::test_full_copy PASSED [ 24%] tests/test_copy_controller.py::TestRsyncCopyController::test_list_files PASSED [ 24%] tests/test_copy_controller.py::TestRsyncCopyController::test_fill_buckets PASSED [ 25%] tests/test_copy_controller.py::TestRsyncCopyController::test_analyze_directory PASSED [ 25%] tests/test_copy_controller.py::TestRsyncCopyController::test_create_dir_and_purge PASSED [ 25%] tests/test_copy_controller.py::TestRsyncCopyController::test_copy PASSED [ 25%] tests/test_copy_controller.py::TestRsyncCopyController::test_rsync_ignore_vanished_files PASSED [ 25%] tests/test_copy_controller.py::TestRsyncCopyController::test_statistics[1] PASSED [ 25%] tests/test_copy_controller.py::TestRsyncCopyController::test_statistics[4] PASSED [ 25%] tests/test_copy_controller.py::TestRsyncCopyController::test_statistics[16] PASSED [ 26%] tests/test_copy_controller.py::TestRsyncCopyController::test_rsync_copy_item_class PASSED [ 26%] tests/test_diagnose.py::TestDiagnose::test_diagnose_json PASSED [ 26%] tests/test_diagnose.py::TestDiagnose::test_diagnose_json_with_password PASSED [ 26%] tests/test_executor.py::TestRsyncBackupExecutor::test_rsync_backup_executor_init PASSED [ 26%] tests/test_executor.py::TestRsyncBackupExecutor::test_reuse_path PASSED [ 26%] tests/test_executor.py::TestRsyncBackupExecutor::test_check PASSED [ 27%] tests/test_executor.py::TestRsyncBackupExecutor::test_backup PASSED [ 27%] tests/test_executor.py::TestRsyncBackupExecutor::test_backup_copy PASSED [ 27%] tests/test_executor.py::TestRsyncBackupExecutor::test_backup_copy_tablespaces_in_datadir PASSED [ 27%] tests/test_executor.py::TestRsyncBackupExecutor::test_backup_copy_with_included_files PASSED [ 27%] tests/test_executor.py::TestRsyncBackupExecutor::test_backup_copy_with_included_files_nowarning PASSED [ 27%] tests/test_executor.py::TestStrategy::test_exclusive_start_backup PASSED [ 28%] tests/test_executor.py::TestStrategy::test_pgespresso_start_backup PASSED [ 28%] tests/test_executor.py::TestStrategy::test_concurrent_start_backup PASSED [ 28%] tests/test_executor.py::TestStrategy::test_exclusive_stop_backup PASSED [ 28%] tests/test_executor.py::TestStrategy::test_pgespresso_stop_backup PASSED [ 28%] tests/test_executor.py::TestStrategy::test_concurrent_stop_backup PASSED [ 28%] tests/test_executor.py::TestPostgresBackupExecutor::test_postgres_backup_executor_init PASSED [ 29%] tests/test_executor.py::TestPostgresBackupExecutor::test_backup PASSED [ 29%] tests/test_executor.py::TestPostgresBackupExecutor::test_check PASSED [ 29%] tests/test_executor.py::TestPostgresBackupExecutor::test_fetch_remote_status PASSED [ 29%] tests/test_executor.py::TestPostgresBackupExecutor::test_backup_copy PASSED [ 29%] tests/test_executor.py::TestPostgresBackupExecutor::test_postgres_start_backup PASSED [ 29%] tests/test_fs.py::TestUnixLocalCommand::test_cmd PASSED [ 30%] tests/test_fs.py::TestUnixLocalCommand::test_cmd_path PASSED [ 30%] tests/test_fs.py::TestUnixLocalCommand::test_get_last_output PASSED [ 30%] tests/test_fs.py::TestUnixLocalCommand::test_dir_if_not_exists PASSED [ 30%] tests/test_fs.py::TestUnixLocalCommand::test_delete_if_exists PASSED [ 30%] tests/test_fs.py::TestUnixLocalCommand::test_check_directory_exists PASSED [ 30%] tests/test_fs.py::TestUnixLocalCommand::test_check_write_permission PASSED [ 31%] tests/test_fs.py::TestUnixLocalCommand::test_create_symbolic_link PASSED [ 31%] tests/test_fs.py::TestUnixLocalCommand::test_get_file_content PASSED [ 31%] tests/test_fs.py::TestUnixLocalCommand::test_ping PASSED [ 31%] tests/test_fs.py::TestUnixLocalCommand::test_list_dir_content PASSED [ 31%] tests/test_fs.py::TestFileMatchingRules::test_match_dirs_not_anchored PASSED [ 31%] tests/test_fs.py::TestFileMatchingRules::test_match_dirs_anchored PASSED [ 32%] tests/test_fs.py::TestFileMatchingRules::test_match_files_not_anchored PASSED [ 32%] tests/test_fs.py::TestFileMatchingRules::test_match_files_anchored PASSED [ 32%] tests/test_fs.py::TestFileMatchingRules::test_match_multiple_rules PASSED [ 32%] tests/test_fs.py::TestFileMatchingRules::test_match_wildcards PASSED [ 32%] tests/test_fs.py::TestExcludeIncludeRules::test_include_rules PASSED [ 32%] tests/test_fs.py::TestExcludeIncludeRules::test_exclude_rules PASSED [ 33%] tests/test_fs.py::TestExcludeIncludeRules::test_both_include_exclude_rules PASSED [ 33%] tests/test_fs.py::TestExcludeIncludeRules::test_no_matching_rules PASSED [ 33%] tests/test_fs.py::TestExcludeIncludeRules::test_only_exclude_rules PASSED [ 33%] tests/test_fs.py::TestExcludeIncludeRules::test_only_include_rules PASSED [ 33%] tests/test_fs.py::TestWildcardMatch::test_exact_match PASSED [ 33%] tests/test_fs.py::TestWildcardMatch::test_question_mark PASSED [ 34%] tests/test_fs.py::TestWildcardMatch::test_asterisk PASSED [ 34%] tests/test_fs.py::TestWildcardMatch::test_asterisk_without_slash PASSED [ 34%] tests/test_fs.py::TestWildcardMatch::test_two_asterisks PASSED [ 34%] tests/test_fs.py::TestTranslate::test_empty_pattern PASSED [ 34%] tests/test_fs.py::TestTranslate::test_one_star_pattern PASSED [ 34%] tests/test_fs.py::TestTranslate::test_two_stars_pattern PASSED [ 35%] tests/test_fs.py::TestTranslate::test_question_mark_pattern PASSED [ 35%] tests/test_hooks.py::TestHooks::test_general PASSED [ 35%] tests/test_hooks.py::TestHooks::test_general_error PASSED [ 35%] tests/test_hooks.py::TestHooks::test_general_no_phase PASSED [ 35%] tests/test_hooks.py::TestHooks::test_missing_config PASSED [ 35%] tests/test_hooks.py::TestHooks::test_no_exception PASSED [ 36%] tests/test_hooks.py::TestHooks::test_backup_info PASSED [ 36%] tests/test_hooks.py::TestHooks::test_backup_info_corner_cases PASSED [ 36%] tests/test_hooks.py::TestHooks::test_backup_info_exception PASSED [ 36%] tests/test_hooks.py::TestHooks::test_wal_info PASSED [ 36%] tests/test_hooks.py::TestHooks::test_wal_info_corner_cases PASSED [ 36%] tests/test_hooks.py::TestHooks::test_retry_hooks PASSED [ 37%] tests/test_hooks.py::TestHooks::test_retry_hooks_with_retry PASSED [ 37%] tests/test_hooks.py::TestHooks::test_retry_hook_abort PASSED [ 37%] tests/test_hooks.py::TestHooks::test_delete_pre_script PASSED [ 37%] tests/test_hooks.py::TestHooks::test_delete_post_script PASSED [ 37%] tests/test_hooks.py::TestHooks::test_pre_wal_delete PASSED [ 37%] tests/test_hooks.py::TestHooks::test_post_wal_delete PASSED [ 38%] tests/test_hooks.py::TestHooks::test_recovery_pre_script PASSED [ 38%] tests/test_hooks.py::TestHooks::test_recovery_post_script PASSED [ 38%] tests/test_infofile.py::test_load_datetime_tz PASSED [ 38%] tests/test_infofile.py::TestField::test_field_creation PASSED [ 38%] tests/test_infofile.py::TestField::test_field_with_arguments PASSED [ 38%] tests/test_infofile.py::TestField::test_field_dump_decorator PASSED [ 39%] tests/test_infofile.py::TestField::test_field_load_decorator PASSED [ 39%] tests/test_infofile.py::TestFieldListFile::test_field_list_file_creation PASSED [ 39%] tests/test_infofile.py::TestFieldListFile::test_subclass_creation PASSED [ 39%] tests/test_infofile.py::TestFieldListFile::test_subclass_access PASSED [ 39%] tests/test_infofile.py::TestFieldListFile::test_subclass_load PASSED [ 39%] tests/test_infofile.py::TestFieldListFile::test_subclass_save PASSED [ 40%] tests/test_infofile.py::TestFieldListFile::test_subclass_from_meta_file PASSED [ 40%] tests/test_infofile.py::TestFieldListFile::test_subclass_items PASSED [ 40%] tests/test_infofile.py::TestFieldListFile::test_subclass_repr PASSED [ 40%] tests/test_infofile.py::TestWalFileInfo::test_from_file_no_compression PASSED [ 40%] tests/test_infofile.py::TestWalFileInfo::test_from_file_compression PASSED [ 40%] tests/test_infofile.py::TestWalFileInfo::test_from_file_unidentified_compression PASSED [ 41%] tests/test_infofile.py::TestWalFileInfo::test_from_file_override_compression PASSED [ 41%] tests/test_infofile.py::TestWalFileInfo::test_from_file_override PASSED [ 41%] tests/test_infofile.py::TestWalFileInfo::test_to_xlogdb_line PASSED [ 41%] tests/test_infofile.py::TestWalFileInfo::test_from_xlogdb_line PASSED [ 41%] tests/test_infofile.py::TestWalFileInfo::test_timezone_aware_parser PASSED [ 41%] tests/test_infofile.py::TestBackupInfo::test_backup_info_from_file PASSED [ 42%] tests/test_infofile.py::TestBackupInfo::test_backup_info_from_empty_file PASSED [ 42%] tests/test_infofile.py::TestBackupInfo::test_mode PASSED [ 42%] tests/test_infofile.py::TestBackupInfo::test_backup_info_from_backup_id PASSED [ 42%] tests/test_infofile.py::TestBackupInfo::test_backup_info_save PASSED [ 42%] tests/test_infofile.py::TestBackupInfo::test_backup_info_version PASSED [ 42%] tests/test_infofile.py::TestBackupInfo::test_data_dir PASSED [ 43%] tests/test_infofile.py::TestBackupInfo::test_to_json PASSED [ 43%] tests/test_infofile.py::TestBackupInfo::test_from_json PASSED [ 43%] tests/test_infofile.py::TestBackupInfo::test_xlog_segment_size PASSED [ 43%] tests/test_infofile.py::TestBackupInfo::test_backupinfo_load PASSED [ 43%] tests/test_lockfile.py::TestLockFileBehavior::test_raise PASSED [ 43%] tests/test_lockfile.py::TestLockFileBehavior::test_wait PASSED [ 44%] tests/test_lockfile.py::TestLockFileBehavior::test_acquire PASSED [ 44%] tests/test_lockfile.py::TestLockFileBehavior::test_release PASSED [ 44%] tests/test_lockfile.py::TestLockFileBehavior::test_owner_pid PASSED [ 44%] tests/test_lockfile.py::TestLockFile::test_init_with_minimal_params PASSED [ 44%] tests/test_lockfile.py::TestLockFile::test_init_with_raise PASSED [ 44%] tests/test_lockfile.py::TestLockFile::test_init_with_wait PASSED [ 45%] tests/test_lockfile.py::TestLockFile::test_context_manager_implementation PASSED [ 45%] tests/test_lockfile.py::TestLockFile::test_acquire PASSED [ 45%] tests/test_lockfile.py::TestLockFileSubclasses::test_global_cron_lock PASSED [ 45%] tests/test_lockfile.py::TestLockFileSubclasses::test_server_backup_lock PASSED [ 45%] tests/test_lockfile.py::TestLockFileSubclasses::test_server_cron_lock PASSED [ 45%] tests/test_lockfile.py::TestLockFileSubclasses::test_server_xlogdb_lock PASSED [ 46%] tests/test_lockfile.py::TestLockFileSubclasses::test_server_wal_receive_lock PASSED [ 46%] tests/test_lockfile.py::TestLockFileSubclasses::test_server_backup_sync_lock PASSED [ 46%] tests/test_lockfile.py::TestLockFileSubclasses::test_server_wal_sync_lock PASSED [ 46%] tests/test_output.py::TestOutputAPI::test_set_output_writer_close PASSED [ 46%] tests/test_output.py::TestOutputAPI::test_debug PASSED [ 46%] tests/test_output.py::TestOutputAPI::test_debug_with_args PASSED [ 47%] tests/test_output.py::TestOutputAPI::test_debug_error PASSED [ 47%] tests/test_output.py::TestOutputAPI::test_debug_with_kwargs PASSED [ 47%] tests/test_output.py::TestOutputAPI::test_info PASSED [ 47%] tests/test_output.py::TestOutputAPI::test_info_with_args PASSED [ 47%] tests/test_output.py::TestOutputAPI::test_info_error PASSED [ 47%] tests/test_output.py::TestOutputAPI::test_warning PASSED [ 48%] tests/test_output.py::TestOutputAPI::test_warning_with_args PASSED [ 48%] tests/test_output.py::TestOutputAPI::test_warning_error PASSED [ 48%] tests/test_output.py::TestOutputAPI::test_error PASSED [ 48%] tests/test_output.py::TestOutputAPI::test_error_with_args PASSED [ 48%] tests/test_output.py::TestOutputAPI::test_error_with_ignore PASSED [ 48%] tests/test_output.py::TestOutputAPI::test_exception PASSED [ 49%] tests/test_output.py::TestOutputAPI::test_exception_with_args PASSED [ 49%] tests/test_output.py::TestOutputAPI::test_exception_with_ignore PASSED [ 49%] tests/test_output.py::TestOutputAPI::test_exception_with_raise PASSED [ 49%] tests/test_output.py::TestOutputAPI::test_exception_with_raise_object PASSED [ 49%] tests/test_output.py::TestOutputAPI::test_exception_with_raise_class PASSED [ 49%] tests/test_output.py::TestOutputAPI::test_init PASSED [ 50%] tests/test_output.py::TestOutputAPI::test_init_bad_command PASSED [ 50%] tests/test_output.py::TestOutputAPI::test_result PASSED [ 50%] tests/test_output.py::TestOutputAPI::test_result_bad_command PASSED [ 50%] tests/test_output.py::TestOutputAPI::test_close PASSED [ 50%] tests/test_output.py::TestOutputAPI::test_close_and_exit PASSED [ 50%] tests/test_output.py::TestOutputAPI::test_close_and_exit_with_error PASSED [ 50%] tests/test_output.py::TestConsoleWriter::test_debug PASSED [ 51%] tests/test_output.py::TestConsoleWriter::test_debug_disabled PASSED [ 51%] tests/test_output.py::TestConsoleWriter::test_info_verbose PASSED [ 51%] tests/test_output.py::TestConsoleWriter::test_info_quiet PASSED [ 51%] tests/test_output.py::TestConsoleWriter::test_warning PASSED [ 51%] tests/test_output.py::TestConsoleWriter::test_error PASSED [ 51%] tests/test_output.py::TestConsoleWriter::test_exception PASSED [ 52%] tests/test_output.py::TestConsoleWriter::test_colored_warning PASSED [ 52%] tests/test_output.py::TestConsoleWriter::test_colored_error PASSED [ 52%] tests/test_output.py::TestConsoleWriter::test_colored_exception PASSED [ 52%] tests/test_output.py::TestConsoleWriter::test_init_check PASSED [ 52%] tests/test_output.py::TestConsoleWriter::test_result_check_ok PASSED [ 52%] tests/test_output.py::TestConsoleWriter::test_result_check_ok_hint PASSED [ 53%] tests/test_output.py::TestConsoleWriter::test_result_check_failed PASSED [ 53%] tests/test_output.py::TestConsoleWriter::test_result_check_failed_hint PASSED [ 53%] tests/test_output.py::TestConsoleWriter::test_result_check_ok_color PASSED [ 53%] tests/test_output.py::TestConsoleWriter::test_result_check_ok_hint_color PASSED [ 53%] tests/test_output.py::TestConsoleWriter::test_result_check_failed_color PASSED [ 53%] tests/test_output.py::TestConsoleWriter::test_result_check_failed_hint_color PASSED [ 54%] tests/test_output.py::TestConsoleWriter::test_init_list_backup PASSED [ 54%] tests/test_output.py::TestConsoleWriter::test_result_list_backup PASSED [ 54%] tests/test_output.py::TestConsoleWriter::test_result_show_backup PASSED [ 54%] tests/test_output.py::TestConsoleWriter::test_result_show_backup_error PASSED [ 54%] tests/test_output.py::TestConsoleWriter::test_init_status PASSED [ 54%] tests/test_output.py::TestConsoleWriter::test_result_status PASSED [ 55%] tests/test_output.py::TestConsoleWriter::test_result_status_non_str PASSED [ 55%] tests/test_output.py::TestConsoleWriter::test_redact_passwords PASSED [ 55%] tests/test_output.py::TestConsoleWriter::test_readact_passwords_in_json PASSED [ 55%] tests/test_output.py::TestJsonWriter::test_debug PASSED [ 55%] tests/test_output.py::TestJsonWriter::test_debug_disabled PASSED [ 55%] tests/test_output.py::TestJsonWriter::test_info_verbose PASSED [ 56%] tests/test_output.py::TestJsonWriter::test_info_quiet PASSED [ 56%] tests/test_output.py::TestJsonWriter::test_warning PASSED [ 56%] tests/test_output.py::TestJsonWriter::test_error PASSED [ 56%] tests/test_output.py::TestJsonWriter::test_exception PASSED [ 56%] tests/test_output.py::TestJsonWriter::test_init_check PASSED [ 56%] tests/test_output.py::TestJsonWriter::test_result_check_ok PASSED [ 57%] tests/test_output.py::TestJsonWriter::test_result_check_ok_hint PASSED [ 57%] tests/test_output.py::TestJsonWriter::test_result_check_failed PASSED [ 57%] tests/test_output.py::TestJsonWriter::test_result_check_failed_hint PASSED [ 57%] tests/test_output.py::TestJsonWriter::test_init_list_backup PASSED [ 57%] tests/test_output.py::TestJsonWriter::test_result_list_backup PASSED [ 57%] tests/test_output.py::TestJsonWriter::test_result_show_backup PASSED [ 58%] tests/test_output.py::TestJsonWriter::test_result_show_backup_error PASSED [ 58%] tests/test_output.py::TestJsonWriter::test_init_status PASSED [ 58%] tests/test_output.py::TestJsonWriter::test_result_status PASSED [ 58%] tests/test_output.py::TestJsonWriter::test_result_status_non_str PASSED [ 58%] tests/test_output.py::TestNagiosWriter::test_debug PASSED [ 58%] tests/test_output.py::TestNagiosWriter::test_debug_disabled PASSED [ 59%] tests/test_output.py::TestNagiosWriter::test_info PASSED [ 59%] tests/test_output.py::TestNagiosWriter::test_warning PASSED [ 59%] tests/test_output.py::TestNagiosWriter::test_error PASSED [ 59%] tests/test_output.py::TestNagiosWriter::test_exception PASSED [ 59%] tests/test_output.py::TestNagiosWriter::test_no_server_result_check PASSED [ 59%] tests/test_output.py::TestNagiosWriter::test_single_result_check PASSED [ 60%] tests/test_output.py::TestNagiosWriter::test_result_check PASSED [ 60%] tests/test_output.py::TestNagiosWriter::test_result_check_single_ignore PASSED [ 60%] tests/test_output.py::TestNagiosWriter::test_result_check_multiple_ignore PASSED [ 60%] tests/test_output.py::TestNagiosWriter::test_result_check_all_ignore PASSED [ 60%] tests/test_output.py::TestNagiosWriter::test_single_result_check_error PASSED [ 60%] tests/test_output.py::TestNagiosWriter::test_result_check_error PASSED [ 61%] tests/test_postgres.py::TestPostgres::test_connection_error PASSED [ 61%] tests/test_postgres.py::TestPostgres::test_connect_and_close PASSED [ 61%] tests/test_postgres.py::TestPostgres::test_connect_error PASSED [ 61%] tests/test_postgres.py::TestPostgres::test_server_txt_version PASSED [ 61%] tests/test_postgres.py::TestPostgres::test_create_restore_point PASSED [ 61%] tests/test_postgres.py::TestPostgres::test_stop_exclusive_backup PASSED [ 62%] tests/test_postgres.py::TestPostgres::test_stop_concurrent_backup PASSED [ 62%] tests/test_postgres.py::TestPostgres::test_pgespresso_stop_backup PASSED [ 62%] tests/test_postgres.py::TestPostgres::test_start_exclusive_backup PASSED [ 62%] tests/test_postgres.py::TestPostgres::test_start_concurrent_backup PASSED [ 62%] tests/test_postgres.py::TestPostgres::test_pgespresso_start_backup PASSED [ 62%] tests/test_postgres.py::TestPostgres::test_get_setting PASSED [ 63%] tests/test_postgres.py::TestPostgres::test_get_systemid PASSED [ 63%] tests/test_postgres.py::TestPostgres::test_get_tablespaces PASSED [ 63%] tests/test_postgres.py::TestPostgres::test_get_archiver_stats PASSED [ 63%] tests/test_postgres.py::TestPostgres::test_get_configuration_files PASSED [ 63%] tests/test_postgres.py::TestPostgres::test_has_pgespresso PASSED [ 63%] tests/test_postgres.py::TestPostgres::test_is_in_recovery PASSED [ 64%] tests/test_postgres.py::TestPostgres::test_current_xlog_info PASSED [ 64%] tests/test_postgres.py::TestPostgres::test_current_xlog_file_name PASSED [ 64%] tests/test_postgres.py::TestPostgres::test_get_remote_status PASSED [ 64%] tests/test_postgres.py::TestPostgres::test_checkpoint PASSED [ 64%] tests/test_postgres.py::TestPostgres::test_switch_wal PASSED [ 64%] tests/test_postgres.py::TestPostgres::test_get_replication_stats PASSED [ 65%] tests/test_postgres.py::TestPostgres::test_get_replication_slot PASSED [ 65%] tests/test_postgres.py::TestPostgres::test_get_synchronous_standby_names PASSED [ 65%] tests/test_postgres.py::TestPostgres::test_xlog_segment_size PASSED [ 65%] tests/test_postgres.py::TestPostgres::test_xlog_segment_size_10 PASSED [ 65%] tests/test_postgres.py::TestPostgres::test_xlog_segment_size_83 PASSED [ 65%] tests/test_postgres.py::TestPostgres::test_name_map PASSED [ 66%] tests/test_postgres.py::TestPostgres::test_switch_wal_function PASSED [ 66%] tests/test_postgres.py::TestPostgres::test_xlogfile_name_function PASSED [ 66%] tests/test_postgres.py::TestPostgres::test_xlogfile_name_offset_function PASSED [ 66%] tests/test_postgres.py::TestPostgres::test_xlog_directory PASSED [ 66%] tests/test_postgres.py::TestPostgres::test_last_xlog_replay_location_function PASSED [ 66%] tests/test_postgres.py::TestPostgres::test_current_xlog_location_function PASSED [ 67%] tests/test_postgres.py::TestPostgres::test_current_xlog_insert_location_function PASSED [ 67%] tests/test_postgres.py::TestPostgres::test_last_xlog_receive_location_function PASSED [ 67%] tests/test_postgres.py::TestStreamingConnection::test_connection_error PASSED [ 67%] tests/test_postgres.py::TestStreamingConnection::test_fetch_remote_status PASSED [ 67%] tests/test_postgres.py::TestStreamingConnection::test_streaming_server_txt_version PASSED [ 67%] tests/test_postgres.py::TestStreamingConnection::test_streaming_create_repslot PASSED [ 68%] tests/test_postgres.py::TestStreamingConnection::test_streaming_drop_repslot PASSED [ 68%] tests/test_postgres_plumbing.py::TestFunctionNameMap::test_null_server_version PASSED [ 68%] tests/test_postgres_plumbing.py::TestFunctionNameMap::test_postgresql_10 PASSED [ 68%] tests/test_postgres_plumbing.py::TestFunctionNameMap::test_postgresql_9 PASSED [ 68%] tests/test_process.py::TestProcessInfo::test_init PASSED [ 68%] tests/test_process.py::TestProcessManager::test_init PASSED [ 69%] tests/test_process.py::TestProcessManager::test_list PASSED [ 69%] tests/test_process.py::TestProcessManager::test_kill PASSED [ 69%] tests/test_recovery_executor.py::TestRecoveryExecutor::test_rsync_backup_executor_init PASSED [ 69%] tests/test_recovery_executor.py::TestRecoveryExecutor::test_analyse_temporary_config_files PASSED [ 69%] tests/test_recovery_executor.py::TestRecoveryExecutor::test_map_temporary_config_files PASSED [ 69%] tests/test_recovery_executor.py::TestRecoveryExecutor::test_setup PASSED [ 70%] tests/test_recovery_executor.py::TestRecoveryExecutor::test_set_pitr_targets PASSED [ 70%] tests/test_recovery_executor.py::TestRecoveryExecutor::test_generate_recovery_conf_pre12 PASSED [ 70%] tests/test_recovery_executor.py::TestRecoveryExecutor::test_generate_recovery_conf PASSED [ 70%] tests/test_recovery_executor.py::TestRecoveryExecutor::test_recover_backup_copy PASSED [ 70%] tests/test_recovery_executor.py::TestRecoveryExecutor::test_recover_xlog PASSED [ 70%] tests/test_recovery_executor.py::TestRecoveryExecutor::test_prepare_tablespaces PASSED [ 71%] tests/test_recovery_executor.py::TestRecoveryExecutor::test_recovery PASSED [ 71%] tests/test_recovery_executor.py::TestRecoveryExecutor::test_recover_standby_mode PASSED [ 71%] tests/test_recovery_executor.py::TestRecoveryExecutor::test_recover_waiting_for_wals PASSED [ 71%] tests/test_retention_policies.py::TestRetentionPolicies::test_redundancy_report PASSED [ 71%] tests/test_retention_policies.py::TestRetentionPolicies::test_recovery_window_report PASSED [ 71%] tests/test_retention_policies.py::TestRetentionPolicies::test_backup_status PASSED [ 72%] tests/test_retention_policies.py::TestRetentionPolicies::test_first_backup PASSED [ 72%] tests/test_server.py::TestServer::test_init PASSED [ 72%] tests/test_server.py::TestServer::test_bad_init PASSED [ 72%] tests/test_server.py::TestServer::test_check_config_missing PASSED [ 72%] tests/test_server.py::TestServer::test_xlogdb_with_exception PASSED [ 72%] tests/test_server.py::TestServer::test_xlogdb PASSED [ 73%] tests/test_server.py::TestServer::test_get_wal_full_path PASSED [ 73%] tests/test_server.py::TestServer::test_get_wal_until_next_backup PASSED [ 73%] tests/test_server.py::TestServer::test_pg_stat_archiver_show PASSED [ 73%] tests/test_server.py::TestServer::test_pg_stat_archiver_status PASSED [ 73%] tests/test_server.py::TestServer::test_check_postgres PASSED [ 73%] tests/test_server.py::TestServer::test_check_replication_slot PASSED [ 74%] tests/test_server.py::TestServer::test_get_wal_info PASSED [ 74%] tests/test_server.py::TestServer::test_backup PASSED [ 74%] tests/test_server.py::TestServer::test_delete_running_backup PASSED [ 74%] tests/test_server.py::TestServer::test_archive_wal_lock_acquisition PASSED [ 74%] tests/test_server.py::TestServer::test_cron_lock_acquisition PASSED [ 74%] tests/test_server.py::TestServer::test_kill PASSED [ 75%] tests/test_server.py::TestServer::test_check_archiver_errors PASSED [ 75%] tests/test_server.py::TestServer::test_switch_wal PASSED [ 75%] tests/test_server.py::TestServer::test_check_archive PASSED [ 75%] tests/test_server.py::TestServer::test_incoming_thresholds[incoming-archiver] PASSED [ 75%] tests/test_server.py::TestServer::test_incoming_thresholds[streaming-streaming_archiver] PASSED [ 75%] tests/test_server.py::TestServer::test_replication_status PASSED [ 75%] tests/test_server.py::TestServer::test_timeline_has_children PASSED [ 76%] tests/test_server.py::TestServer::test_xlogdb_file_name PASSED [ 76%] tests/test_server.py::TestServer::test_create_physical_repslot PASSED [ 76%] tests/test_server.py::TestServer::test_drop_repslot PASSED [ 76%] tests/test_server.py::TestServer::test_check_backup PASSED [ 76%] tests/test_server.py::TestServer::test_wait_for_wal PASSED [ 76%] tests/test_server.py::TestServer::test_put_wal[plain-True-None] PASSED [ 77%] tests/test_server.py::TestServer::test_put_wal[relative-True-None] PASSED [ 77%] tests/test_server.py::TestServer::test_put_wal[bad_sum_line-True-Bad checksum line] PASSED [ 77%] tests/test_server.py::TestServer::test_put_wal[bad_file_type-False-Unsupported file type] PASSED [ 77%] tests/test_server.py::TestServer::test_put_wal[subdir-False-Unsupported filename] PASSED [ 77%] tests/test_server.py::TestServer::test_put_wal_fail[file_absent-Checksum without corresponding file] PASSED [ 77%] tests/test_server.py::TestServer::test_put_wal_fail[sum_absent-Missing checksum for file] PASSED [ 78%] tests/test_server.py::TestServer::test_put_wal_fail[sum_mismatch-Bad file checksum] PASSED [ 78%] tests/test_server.py::TestServer::test_put_wal_fail[dest_exists-Impossible to write already existing] PASSED [ 78%] tests/test_server.py::TestServer::test_put_wal_fsync FAILED [ 78%] tests/test_server.py::TestServer::test_get_systemid_file_path PASSED [ 78%] tests/test_server.py::TestServer::test_write_systemid_file PASSED [ 78%] tests/test_server.py::TestServer::test_check_systemid PASSED [ 79%] tests/test_server.py::TestCheckStrategy::test_check_output_strategy PASSED [ 79%] tests/test_server.py::TestCheckStrategy::test_check_output_strategy_log PASSED [ 79%] tests/test_server.py::TestCheckStrategy::test_check_strategy PASSED [ 79%] tests/test_server.py::TestCheckStrategy::test_check_strategy_log PASSED [ 79%] tests/test_sync.py::TestSync::test_set_starting_point PASSED [ 79%] tests/test_sync.py::TestSync::test_status PASSED [ 80%] tests/test_sync.py::TestSync::test_check_sync_required PASSED [ 80%] tests/test_sync.py::TestSync::test_sync_backup PASSED [ 80%] tests/test_sync.py::TestSync::test_sync_wals PASSED [ 80%] tests/test_sync.py::TestSync::test_passive_node_cron PASSED [ 80%] tests/test_utils.py::TestDropPrivileges::test_change_user PASSED [ 80%] tests/test_utils.py::TestDropPrivileges::test_same_user PASSED [ 81%] tests/test_utils.py::TestParseLogLevel::test_int_to_int PASSED [ 81%] tests/test_utils.py::TestParseLogLevel::test_str_to_int PASSED [ 81%] tests/test_utils.py::TestParseLogLevel::test_symbolic_to_int PASSED [ 81%] tests/test_utils.py::TestParseLogLevel::test_symbolic_case_to_int PASSED [ 81%] tests/test_utils.py::TestParseLogLevel::test_unknown PASSED [ 81%] tests/test_utils.py::TestGetLogLevels::test_get_log_levels PASSED [ 82%] tests/test_utils.py::TestMkpath::test_path_exists PASSED [ 82%] tests/test_utils.py::TestMkpath::test_path_not_exists PASSED [ 82%] tests/test_utils.py::TestMkpath::test_path_error PASSED [ 82%] tests/test_utils.py::TestConfigureLogging::test_simple_call PASSED [ 82%] tests/test_utils.py::TestConfigureLogging::test_file_call PASSED [ 82%] tests/test_utils.py::TestConfigureLogging::test_file_level_call PASSED [ 83%] tests/test_utils.py::TestConfigureLogging::test_file_format_call PASSED [ 83%] tests/test_utils.py::TestConfigureLogging::test_file_error_mkdir PASSED [ 83%] tests/test_utils.py::TestConfigureLogging::test_file_error_file PASSED [ 83%] tests/test_utils.py::TestPrettySize::test_1000 PASSED [ 83%] tests/test_utils.py::TestPrettySize::test_1024 PASSED [ 83%] tests/test_utils.py::TestPrettySize::test_negative_1000 PASSED [ 84%] tests/test_utils.py::TestPrettySize::test_negative_1024 PASSED [ 84%] tests/test_utils.py::TestPrettySize::test_float PASSED [ 84%] tests/test_utils.py::TestHumanReadableDelta::test_one_day PASSED [ 84%] tests/test_utils.py::TestHumanReadableDelta::test_two_days PASSED [ 84%] tests/test_utils.py::TestHumanReadableDelta::test_one_hour PASSED [ 84%] tests/test_utils.py::TestHumanReadableDelta::test_two_hours PASSED [ 85%] tests/test_utils.py::TestHumanReadableDelta::test_one_minute PASSED [ 85%] tests/test_utils.py::TestHumanReadableDelta::test_two_minutes PASSED [ 85%] tests/test_utils.py::TestHumanReadableDelta::test_one_hour_two_mins PASSED [ 85%] tests/test_utils.py::TestHumanReadableDelta::test_one_day_three_hour_two_mins PASSED [ 85%] tests/test_utils.py::TestHumanReadableDelta::test_180_days_three_hour_4_mins PASSED [ 85%] tests/test_utils.py::TestHumanReadableDelta::test_seven_days PASSED [ 86%] tests/test_utils.py::TestBarmanEncoder::test_complex_objects PASSED [ 86%] tests/test_utils.py::TestBarmanEncoder::test_simple_objects PASSED [ 86%] tests/test_utils.py::TestBarmanEncoder::test_version_objects PASSED [ 86%] tests/test_utils.py::TestTimeout::test_timeout_enter PASSED [ 86%] tests/test_utils.py::TestTimeout::test_timeout_exit PASSED [ 86%] tests/test_utils.py::TestSimplifyVersion::test_normal_releases PASSED [ 87%] tests/test_utils.py::TestSimplifyVersion::test_dev_releases PASSED [ 87%] tests/test_utils.py::TestSimplifyVersion::test_rc_releases PASSED [ 87%] tests/test_utils.py::TestSimplifyVersion::test_beta_releases PASSED [ 87%] tests/test_utils.py::TestPowerOfTwo::test_zero PASSED [ 87%] tests/test_utils.py::TestPowerOfTwo::test_power_of_two PASSED [ 87%] tests/test_utils.py::TestPowerOfTwo::test_not_power_of_two PASSED [ 88%] tests/test_utils.py::TestPowerOfTwo::test_none PASSED [ 88%] tests/test_utils.py::TestForceText::test_force_text PASSED [ 88%] tests/test_utils.py::TestForceText::test_force_text_exception PASSED [ 88%] tests/test_utils.py::TestCheckSize::test_parse[12345-12345] PASSED [ 88%] tests/test_utils.py::TestCheckSize::test_parse[4321B-4321] PASSED [ 88%] tests/test_utils.py::TestCheckSize::test_parse[12kB-12288] PASSED [ 89%] tests/test_utils.py::TestCheckSize::test_parse[300MB-314572800] PASSED [ 89%] tests/test_utils.py::TestCheckSize::test_parse[20GB-21474836480] PASSED [ 89%] tests/test_utils.py::TestCheckSize::test_parse[1TB-1099511627776] PASSED [ 89%] tests/test_utils.py::TestCheckSize::test_parse[12kiB-12000] PASSED [ 89%] tests/test_utils.py::TestCheckSize::test_parse[300MiB-300000000] PASSED [ 89%] tests/test_utils.py::TestCheckSize::test_parse[20GiB-20000000000] PASSED [ 90%] tests/test_utils.py::TestCheckSize::test_parse[1TiB-1000000000000] PASSED [ 90%] tests/test_utils.py::TestCheckSize::test_parse_error PASSED [ 90%] tests/test_utils.py::TestCheckSize::test_negative_size PASSED [ 90%] tests/test_utils.py::TestCheckSize::test_none PASSED [ 90%] tests/test_wal_archiver.py::TestFileWalArchiver::test_init PASSED [ 90%] tests/test_wal_archiver.py::TestFileWalArchiver::test_get_remote_status PASSED [ 91%] tests/test_wal_archiver.py::TestFileWalArchiver::test_check PASSED [ 91%] tests/test_wal_archiver.py::TestFileWalArchiver::test_archive PASSED [ 91%] tests/test_wal_archiver.py::TestFileWalArchiver::test_archive_batch PASSED [ 91%] tests/test_wal_archiver.py::TestFileWalArchiver::test_base_archive_wal PASSED [ 91%] tests/test_wal_archiver.py::TestFileWalArchiver::test_archive_wal PASSED [ 91%] tests/test_wal_archiver.py::TestFileWalArchiver::test_archive_wal_no_backup PASSED [ 92%] tests/test_wal_archiver.py::TestFileWalArchiver::test_archive_wal_older_than_backup PASSED [ 92%] tests/test_wal_archiver.py::TestFileWalArchiver::test_archive_wal_timeline_lower_than_backup PASSED [ 92%] tests/test_wal_archiver.py::TestFileWalArchiver::test_get_next_batch PASSED [ 92%] tests/test_wal_archiver.py::TestStreamingWalArchiver::test_init PASSED [ 92%] tests/test_wal_archiver.py::TestStreamingWalArchiver::test_check_receivexlog_installed PASSED [ 92%] tests/test_wal_archiver.py::TestStreamingWalArchiver::test_check_receivexlog_is_compatible PASSED [ 93%] tests/test_wal_archiver.py::TestStreamingWalArchiver::test_receive_wal PASSED [ 93%] tests/test_wal_archiver.py::TestStreamingWalArchiver::test_when_streaming_connection_rejected PASSED [ 93%] tests/test_wal_archiver.py::TestStreamingWalArchiver::test_check PASSED [ 93%] tests/test_wal_archiver.py::TestStreamingWalArchiver::test_get_next_batch PASSED [ 93%] tests/test_wal_archiver.py::TestStreamingWalArchiver::test_is_synchronous PASSED [ 93%] tests/test_xlog.py::Test::test_encode_segment_name PASSED [ 94%] tests/test_xlog.py::Test::test_decode_segment_name PASSED [ 94%] tests/test_xlog.py::Test::test_generate_segment_names_xlog_file_size_known PASSED [ 94%] tests/test_xlog.py::Test::test_generate_segment_names_xlog_file_size_unknown PASSED [ 94%] tests/test_xlog.py::Test::test_hash_dir PASSED [ 94%] tests/test_xlog.py::Test::test_is_any_xlog_file PASSED [ 94%] tests/test_xlog.py::Test::test_history_file PASSED [ 95%] tests/test_xlog.py::Test::test_backup_file PASSED [ 95%] tests/test_xlog.py::Test::test_partial_file PASSED [ 95%] tests/test_xlog.py::Test::test_is_wal_file PASSED [ 95%] tests/test_xlog.py::Test::test_encode_history_filename PASSED [ 95%] tests/test_xlog.py::Test::test_decode_history_file PASSED [ 95%] tests/test_xlog.py::Test::test_parse_lsn PASSED [ 96%] tests/test_xlog.py::Test::test_format_lsn PASSED [ 96%] tests/test_xlog.py::Test::test_diff_lsn PASSED [ 96%] tests/test_xlog.py::Test::test_location_to_xlogfile_name_offset[24-000000030000000A00000012-3430008-A/12345678] PASSED [ 96%] tests/test_xlog.py::Test::test_location_to_xlogfile_name_offset[28-000000030000000A00000001-36984440-A/12345678] PASSED [ 96%] tests/test_xlog.py::Test::test_location_to_xlogfile_name_offset[20-000000030000000A00000123-284280-A/12345678] PASSED [ 96%] tests/test_xlog.py::Test::test_location_to_xlogfile_name_offset[26-000000030000011300000022-11906496-113/88B5ADC0] PASSED [ 97%] tests/test_xlog.py::Test::test_location_to_xlogfile_name_offset[28-000000030000005600000003-134559656-56/380537A8] PASSED [ 97%] tests/test_xlog.py::Test::test_location_from_xlogfile_name_offset[24-000000030000000A00000012-3430008-A/12345678] PASSED [ 97%] tests/test_xlog.py::Test::test_location_from_xlogfile_name_offset[28-000000030000000A00000001-36984440-A/12345678] PASSED [ 97%] tests/test_xlog.py::Test::test_location_from_xlogfile_name_offset[20-000000030000000A00000123-284280-A/12345678] PASSED [ 97%] tests/test_xlog.py::Test::test_location_from_xlogfile_name_offset[26-000000030000011300000022-11906496-113/88B5ADC0] PASSED [ 97%] tests/test_xlog.py::Test::test_location_from_xlogfile_name_offset[28-000000030000005600000003-134559656-56/380537A8] PASSED [ 98%] tests/test_xlog.py::Test::test_xlog_segment_in_file[1023-4194304] PASSED [ 98%] tests/test_xlog.py::Test::test_xlog_segment_in_file[511-8388608] PASSED [ 98%] tests/test_xlog.py::Test::test_xlog_segment_in_file[255-16777216] PASSED [ 98%] tests/test_xlog.py::Test::test_xlog_segment_in_file[127-33554432] PASSED [ 98%] tests/test_xlog.py::Test::test_xlog_segment_in_file[63-67108864] PASSED [ 98%] tests/test_xlog.py::Test::test_xlog_segment_in_file[31-134217728] PASSED [ 99%] tests/test_xlog.py::Test::test_xlog_segment_in_file[15-268435456] PASSED [ 99%] tests/test_xlog.py::Test::test_xlog_segment_in_file[7-536870912] PASSED [ 99%] tests/test_xlog.py::Test::test_xlog_segment_in_file[3-1073741824] PASSED [ 99%] tests/test_xlog.py::Test::test_xlog_segment_mask[4278190080-16777216] XPASS [ 99%] tests/test_xlog.py::Test::test_xlog_segment_mask[4227858432-67108864] XPASS [ 99%] tests/test_xlog.py::Test::test_xlog_segment_mask[4290772992-4194304] XPASS [100%] tests/test_xlog.py::Test::test_xlog_segment_mask[4290772992-4194304] XFAIL [100%] =================================== FAILURES =================================== ________________________ TestServer.test_put_wal_fsync _________________________ self = fd_mock = ff_mock = tmpdir = local('/var/tmp/portage/dev-db/barman-2.12/temp/pytest-of-portage/pytest-0/test_put_wal_fsync0') capsys = <_pytest.capture.CaptureFixture object at 0x7f0c4a13e690> caplog = <_pytest.logging.LogCaptureFixture object at 0x7f0c4901c0d0> @patch('barman.server.fsync_file') @patch('barman.server.fsync_dir') def test_put_wal_fsync(self, fd_mock, ff_mock, tmpdir, capsys, caplog): # See all logs caplog.set_level(0) lab = tmpdir.mkdir('lab') incoming = tmpdir.mkdir('incoming') server = build_real_server( main_conf={ "incoming_wals_directory": incoming.strpath, # Silence the warning for default backup strategy 'backup_options': 'exclusive_backup', }) output.error_occurred = False # Generate some test data in an in_memory tar tar_file = BytesIO() tar = tarfile.open(mode='w|', fileobj=tar_file, format=tarfile.PAX_FORMAT) wal = lab.join('00000001000000EF000000AB') wal.write('some random content', ensure=True) wal.setmtime(wal.mtime() - 100) # Set mtime to 100 seconds ago tar.add(wal.strpath, wal.basename) md5 = lab.join('MD5SUMS') md5.write('%s *%s\n' % (wal.computehash('md5'), wal.basename)) tar.add(md5.strpath, md5.basename) tar.close() # Feed the data to put-wal tar_file.seek(0) server.put_wal(tar_file) out, err = capsys.readouterr() # Output is always empty assert not out # Verify the result (this time without SSH_CONNECTION) assert not err assert not output.error_occurred dest_file = incoming.join(wal.basename) assert dest_file.computehash() == wal.computehash() > assert "Received file '00000001000000EF000000AB' " \ "with checksum '34743e1e454e967eb76a16c66372b0ef' " \ "by put-wal for server 'main'\n" in caplog.text E assert "Received file '00000001000000EF000000AB' with checksum '34743e1e454e967eb76a16c66372b0ef' by put-wal for server 'main'\n" in "INFO barman.server:server.py:1884 Received file '00000001000000EF000000AB' with checksum '34743e1e454e967eb76a16c66372b0ef' by put-wal for server 'main' (SSH host: 85.4.41.248)\n" E + where "INFO barman.server:server.py:1884 Received file '00000001000000EF000000AB' with checksum '34743e1e454e967eb76a16c66372b0ef' by put-wal for server 'main' (SSH host: 85.4.41.248)\n" = <_pytest.logging.LogCaptureFixture object at 0x7f0c4901c0d0>.text tests/test_server.py:1569: AssertionError ------------------------------ Captured log call ------------------------------- INFO barman.server:server.py:1884 Received file '00000001000000EF000000AB' with checksum '34743e1e454e967eb76a16c66372b0ef' by put-wal for server 'main' (SSH host: 85.4.41.248) =========================== short test summary info ============================ FAILED tests/test_server.py::TestServer::test_put_wal_fsync - assert "Receive... ============= 1 failed, 600 passed, 1 xfailed, 3 xpassed in 9.00s ============== Forcing StreamingConnection cleanup during process shut down. * ERROR: dev-db/barman-2.12::gentoo failed (test phase): * Tests fail with python3.7 * * Call stack: * ebuild.sh, line 125: Called src_test * environment, line 3077: Called distutils-r1_src_test * environment, line 1271: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 495: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 2682: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2114: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2112: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 834: Called distutils-r1_run_phase 'python_test' * environment, line 1208: Called python_test * environment, line 3036: Called die * The specific snippet of code: * pytest -vv || die "Tests fail with ${EPYTHON}" * * If you need support, post the output of `emerge --info '=dev-db/barman-2.12::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-db/barman-2.12::gentoo'`. * The complete build log is located at '/var/log/emerge-log/build/dev-db/barman-2.12:20210209-185750.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-db/barman-2.12/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-db/barman-2.12/temp/environment'. * Working directory: '/var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12' * S: '/var/tmp/portage/dev-db/barman-2.12/work/barman-release-2.12'