0s autopkgtest [13:05:41]: starting date and time: 2025-03-22 13:05:41+0000 0s autopkgtest [13:05:41]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [13:05:41]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.mngg1otj/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:patroni --apt-upgrade patroni --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=patroni/4.0.4-8 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-arm64-9.secgroup --name adt-plucky-arm64-patroni-20250322-130541-juju-7f2275-prod-proposed-migration-environment-15-16198363-5184-4b0a-ba11-ba21f5fa4ef2 --image adt/ubuntu-plucky-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 599s autopkgtest [13:15:40]: testbed dpkg architecture: arm64 601s autopkgtest [13:15:42]: testbed apt version: 2.9.33 603s autopkgtest [13:15:44]: @@@@@@@@@@@@@@@@@@@@ test bed setup 604s autopkgtest [13:15:45]: testbed release detected to be: None 605s autopkgtest [13:15:46]: updating testbed package index (apt update) 606s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [126 kB] 606s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 606s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 606s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 606s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [1232 B] 606s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [288 kB] 607s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [11.5 kB] 607s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [29.9 kB] 607s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [38.0 kB] 607s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 c-n-f Metadata [1292 B] 607s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 c-n-f Metadata [116 B] 607s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [192 kB] 607s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 c-n-f Metadata [11.1 kB] 607s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [3244 B] 607s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 c-n-f Metadata [316 B] 608s Fetched 703 kB in 1s (603 kB/s) 609s Reading package lists... 610s autopkgtest [13:15:51]: upgrading testbed (apt dist-upgrade and autopurge) 610s Reading package lists... 610s Building dependency tree... 610s Reading state information... 611s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 611s Starting 2 pkgProblemResolver with broken count: 0 611s Done 612s Entering ResolveByKeep 612s 612s Calculating upgrade... 612s The following packages will be upgraded: 612s apparmor apt apt-utils dpkg dpkg-dev flash-kernel fwupd gcc-14-base 612s ibverbs-providers libapparmor1 libapt-pkg7.0 libdpkg-perl libfwupd3 612s libibverbs1 612s 14 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 612s Need to get 12.0 MB of archives. 612s After this operation, 90.1 kB of additional disk space will be used. 612s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libapt-pkg7.0 arm64 2.9.34 [1030 kB] 613s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 dpkg arm64 1.22.18ubuntu2 [1291 kB] 613s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 apt arm64 2.9.34 [1368 kB] 613s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 apt-utils arm64 2.9.34 [207 kB] 613s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-14-base arm64 14.2.0-19ubuntu1 [54.0 kB] 613s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 libapparmor1 arm64 4.1.0~beta5-0ubuntu11 [54.4 kB] 613s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 apparmor arm64 4.1.0~beta5-0ubuntu11 [662 kB] 613s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 libibverbs1 arm64 56.0-3ubuntu1 [67.9 kB] 613s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 ibverbs-providers arm64 56.0-3ubuntu1 [388 kB] 613s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 dpkg-dev all 1.22.18ubuntu2 [1089 kB] 614s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 libdpkg-perl all 1.22.18ubuntu2 [281 kB] 614s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 flash-kernel arm64 3.108ubuntu2 [49.8 kB] 614s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 fwupd arm64 2.0.6-7 [5287 kB] 614s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 libfwupd3 arm64 2.0.6-7 [129 kB] 614s Preconfiguring packages ... 614s Fetched 12.0 MB in 2s (6981 kB/s) 615s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 117729 files and directories currently installed.) 615s Preparing to unpack .../libapt-pkg7.0_2.9.34_arm64.deb ... 615s Unpacking libapt-pkg7.0:arm64 (2.9.34) over (2.9.33) ... 615s Setting up libapt-pkg7.0:arm64 (2.9.34) ... 615s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 117729 files and directories currently installed.) 615s Preparing to unpack .../dpkg_1.22.18ubuntu2_arm64.deb ... 615s Unpacking dpkg (1.22.18ubuntu2) over (1.22.15ubuntu1) ... 615s Setting up dpkg (1.22.18ubuntu2) ... 615s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 117728 files and directories currently installed.) 615s Preparing to unpack .../archives/apt_2.9.34_arm64.deb ... 615s Unpacking apt (2.9.34) over (2.9.33) ... 616s Setting up apt (2.9.34) ... 616s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 117728 files and directories currently installed.) 616s Preparing to unpack .../00-apt-utils_2.9.34_arm64.deb ... 616s Unpacking apt-utils (2.9.34) over (2.9.33) ... 616s Preparing to unpack .../01-gcc-14-base_14.2.0-19ubuntu1_arm64.deb ... 616s Unpacking gcc-14-base:arm64 (14.2.0-19ubuntu1) over (14.2.0-17ubuntu3) ... 616s Preparing to unpack .../02-libapparmor1_4.1.0~beta5-0ubuntu11_arm64.deb ... 616s Unpacking libapparmor1:arm64 (4.1.0~beta5-0ubuntu11) over (4.1.0~beta5-0ubuntu9) ... 616s Preparing to unpack .../03-apparmor_4.1.0~beta5-0ubuntu11_arm64.deb ... 617s Unpacking apparmor (4.1.0~beta5-0ubuntu11) over (4.1.0~beta5-0ubuntu9) ... 617s Preparing to unpack .../04-libibverbs1_56.0-3ubuntu1_arm64.deb ... 617s Unpacking libibverbs1:arm64 (56.0-3ubuntu1) over (55.0-1ubuntu1) ... 617s Preparing to unpack .../05-ibverbs-providers_56.0-3ubuntu1_arm64.deb ... 617s Unpacking ibverbs-providers:arm64 (56.0-3ubuntu1) over (55.0-1ubuntu1) ... 617s Preparing to unpack .../06-dpkg-dev_1.22.18ubuntu2_all.deb ... 617s Unpacking dpkg-dev (1.22.18ubuntu2) over (1.22.15ubuntu1) ... 618s Preparing to unpack .../07-libdpkg-perl_1.22.18ubuntu2_all.deb ... 618s Unpacking libdpkg-perl (1.22.18ubuntu2) over (1.22.15ubuntu1) ... 618s Preparing to unpack .../08-flash-kernel_3.108ubuntu2_arm64.deb ... 618s Unpacking flash-kernel (3.108ubuntu2) over (3.108ubuntu1) ... 618s Preparing to unpack .../09-fwupd_2.0.6-7_arm64.deb ... 618s Unpacking fwupd (2.0.6-7) over (2.0.6-6) ... 618s Preparing to unpack .../10-libfwupd3_2.0.6-7_arm64.deb ... 618s Unpacking libfwupd3:arm64 (2.0.6-7) over (2.0.6-6) ... 618s Setting up libibverbs1:arm64 (56.0-3ubuntu1) ... 618s Setting up libapparmor1:arm64 (4.1.0~beta5-0ubuntu11) ... 618s Setting up apt-utils (2.9.34) ... 618s Setting up flash-kernel (3.108ubuntu2) ... 619s flash-kernel: deferring update (trigger activated) 619s Setting up ibverbs-providers:arm64 (56.0-3ubuntu1) ... 619s Setting up gcc-14-base:arm64 (14.2.0-19ubuntu1) ... 619s Setting up libfwupd3:arm64 (2.0.6-7) ... 619s Setting up apparmor (4.1.0~beta5-0ubuntu11) ... 620s Reloading AppArmor profiles 621s Setting up libdpkg-perl (1.22.18ubuntu2) ... 621s Setting up fwupd (2.0.6-7) ... 622s fwupd-refresh.service is a disabled or a static unit not running, not starting it. 622s fwupd.service is a disabled or a static unit not running, not starting it. 622s Setting up dpkg-dev (1.22.18ubuntu2) ... 622s Processing triggers for initramfs-tools (0.146ubuntu1) ... 622s update-initramfs: Generating /boot/initrd.img-6.14.0-11-generic 622s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 640s System running in EFI mode, skipping. 640s Processing triggers for libc-bin (2.41-1ubuntu2) ... 640s Processing triggers for systemd (257.4-1ubuntu1) ... 640s Processing triggers for man-db (2.13.0-1) ... 642s Processing triggers for dbus (1.16.2-2ubuntu1) ... 642s Processing triggers for flash-kernel (3.108ubuntu2) ... 642s System running in EFI mode, skipping. 643s Reading package lists... 644s Building dependency tree... 644s Reading state information... 644s Starting pkgProblemResolver with broken count: 0 644s Starting 2 pkgProblemResolver with broken count: 0 644s Done 645s Solving dependencies... 645s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 645s autopkgtest [13:16:26]: rebooting testbed after setup commands that affected boot 668s autopkgtest [13:16:49]: testbed running kernel: Linux 6.14.0-11-generic #11-Ubuntu SMP PREEMPT_DYNAMIC Mon Mar 17 12:19:09 UTC 2025 671s autopkgtest [13:16:52]: @@@@@@@@@@@@@@@@@@@@ apt-source patroni 674s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/universe patroni 4.0.4-8 (dsc) [2870 B] 674s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/universe patroni 4.0.4-8 (tar) [1205 kB] 674s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/universe patroni 4.0.4-8 (diff) [28.2 kB] 674s gpgv: Signature made Fri Mar 14 13:47:44 2025 UTC 674s gpgv: using RSA key 9CA877749FAB2E4FA96862ECDC686A27B43481B0 674s gpgv: Can't check signature: No public key 674s dpkg-source: warning: cannot verify inline signature for ./patroni_4.0.4-8.dsc: no acceptable signature found 674s autopkgtest [13:16:55]: testing package patroni version 4.0.4-8 675s autopkgtest [13:16:56]: build not needed 675s autopkgtest [13:16:56]: test test: preparing testbed 675s Reading package lists... 676s Building dependency tree... 676s Reading state information... 676s Starting pkgProblemResolver with broken count: 0 676s Starting 2 pkgProblemResolver with broken count: 0 676s Done 677s The following NEW packages will be installed: 677s fonts-font-awesome fonts-lato libcares2 libev4t64 libjs-jquery 677s libjs-jquery-hotkeys libjs-jquery-isonscreen libjs-jquery-metadata 677s libjs-jquery-tablesorter libjs-jquery-throttle-debounce libjs-sphinxdoc 677s libjs-underscore libpq5 patroni patroni-doc python3-aiohappyeyeballs 677s python3-aiohttp python3-aiosignal python3-async-timeout python3-boto3 677s python3-botocore python3-cachetools python3-click python3-consul 677s python3-coverage python3-dateutil python3-dnspython python3-etcd 677s python3-eventlet python3-flake8 python3-frozenlist python3-gevent 677s python3-google-auth python3-greenlet python3-iniconfig python3-jmespath 677s python3-kazoo python3-kerberos python3-kubernetes python3-mccabe 677s python3-mock python3-multidict python3-packaging python3-pluggy 677s python3-prettytable python3-psutil python3-psycopg2 python3-pure-sasl 677s python3-pyasn1 python3-pyasn1-modules python3-pycodestyle python3-pyflakes 677s python3-pysyncobj python3-pytest python3-pytest-cov python3-pyu2f 677s python3-requests-oauthlib python3-responses python3-rsa python3-s3transfer 677s python3-six python3-wcwidth python3-websocket python3-yarl python3-ydiff 677s python3-zope.event python3-zope.interface sphinx-rtd-theme-common 677s 0 upgraded, 68 newly installed, 0 to remove and 0 not upgraded. 677s Need to get 17.6 MB of archives. 677s After this operation, 170 MB of additional disk space will be used. 677s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 fonts-lato all 2.015-1 [2781 kB] 681s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 fonts-font-awesome all 5.0.10+really4.7.0~dfsg-4.1 [516 kB] 682s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 libcares2 arm64 1.34.4-2.1 [100 kB] 682s Get:4 http://ftpmaster.internal/ubuntu plucky/universe arm64 libev4t64 arm64 1:4.33-2.1build1 [30.5 kB] 682s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 683s Get:6 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjs-jquery-metadata all 12-4 [6582 B] 683s Get:7 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjs-jquery-tablesorter all 1:2.31.3+dfsg1-4 [192 kB] 683s Get:8 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjs-jquery-throttle-debounce all 1.1+dfsg.1-2 [12.5 kB] 683s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 683s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 libjs-sphinxdoc all 8.1.3-5 [31.0 kB] 683s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 libpq5 arm64 17.4-1 [142 kB] 684s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-click all 8.2.0+0.really.8.1.8-1 [80.0 kB] 684s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-dateutil all 2.9.0-4 [80.3 kB] 684s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-wcwidth all 0.2.13+dfsg1-1 [26.3 kB] 684s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-prettytable all 3.12.0-1 [36.5 kB] 684s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-psutil arm64 5.9.8-2build3 [196 kB] 684s Get:17 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-ydiff all 1.4.2-1 [19.0 kB] 684s Get:18 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-psycopg2 arm64 2.9.10-1build1 [133 kB] 684s Get:19 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-dnspython all 2.7.0-1ubuntu1 [167 kB] 684s Get:20 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-etcd all 0.4.5-6 [32.1 kB] 685s Get:21 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-consul all 1.5.1+dfsg-1 [21.7 kB] 685s Get:22 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-greenlet arm64 3.1.0-1build1 [160 kB] 685s Get:23 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-eventlet all 0.39.0-0ubuntu1 [277 kB] 685s Get:24 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-zope.event all 5.0-0.1 [7512 B] 685s Get:25 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-zope.interface arm64 7.2-1build1 [141 kB] 685s Get:26 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-gevent arm64 24.11.1-1build1 [847 kB] 686s Get:27 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-kerberos arm64 1.1.14-3.1build11 [21.2 kB] 686s Get:28 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pure-sasl all 0.5.1+dfsg1-5 [11.4 kB] 686s Get:29 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-six all 1.17.0-1 [13.2 kB] 686s Get:30 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-kazoo all 2.9.0-2 [103 kB] 687s Get:31 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-multidict arm64 6.1.0-1build2 [34.9 kB] 687s Get:32 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-yarl arm64 1.13.1-1build2 [93.8 kB] 687s Get:33 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-async-timeout all 5.0.1-1 [6830 B] 687s Get:34 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-aiohappyeyeballs all 2.6.1-1 [11.1 kB] 687s Get:35 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-frozenlist arm64 1.5.0-1build2 [48.2 kB] 687s Get:36 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-aiosignal all 1.3.2-1 [5182 B] 687s Get:37 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-aiohttp arm64 3.10.11-1build1 [298 kB] 687s Get:38 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-cachetools all 5.3.3-1 [10.3 kB] 687s Get:39 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-pyasn1 all 0.6.1-1 [56.4 kB] 687s Get:40 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-pyasn1-modules all 0.4.1-2 [80.3 kB] 687s Get:41 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pyu2f all 0.1.5-4 [22.9 kB] 687s Get:42 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-responses all 0.25.6-1 [40.5 kB] 687s Get:43 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-rsa all 4.9-2 [28.2 kB] 688s Get:44 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-google-auth all 2.28.2-3 [91.0 kB] 688s Get:45 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-requests-oauthlib all 1.3.1-1 [18.8 kB] 688s Get:46 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-websocket all 1.8.0-2 [38.5 kB] 688s Get:47 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-kubernetes all 30.1.0-2 [385 kB] 688s Get:48 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pysyncobj all 0.3.14-2 [61.9 kB] 688s Get:49 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 patroni all 4.0.4-8 [282 kB] 689s Get:50 http://ftpmaster.internal/ubuntu plucky/main arm64 sphinx-rtd-theme-common all 3.0.2+dfsg-2 [1014 kB] 690s Get:51 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 patroni-doc all 4.0.4-8 [526 kB] 691s Get:52 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-jmespath all 1.0.1-1 [21.3 kB] 691s Get:53 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-botocore all 1.37.9+repack-1 [6982 kB] 697s Get:54 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-s3transfer all 0.11.2-2 [55.5 kB] 697s Get:55 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-boto3 all 1.36.0+dfsg-1 [72.5 kB] 697s Get:56 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-coverage arm64 7.6.0+dfsg1-2build1 [153 kB] 697s Get:57 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-mccabe all 0.7.0-1 [8678 B] 697s Get:58 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pycodestyle all 2.12.1-2 [30.2 kB] 697s Get:59 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pyflakes all 3.2.0-3 [53.0 kB] 697s Get:60 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-flake8 all 7.1.1-3 [44.0 kB] 697s Get:61 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-iniconfig all 1.1.1-2 [6024 B] 697s Get:62 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.2-1 [51.5 kB] 697s Get:63 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pluggy all 1.5.0-1 [21.0 kB] 697s Get:64 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pytest all 8.3.5-1 [252 kB] 697s Get:65 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjs-jquery-hotkeys all 0.2.0-1 [13.3 kB] 697s Get:66 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjs-jquery-isonscreen all 1.2.0-1.1 [3244 B] 697s Get:67 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pytest-cov all 5.0.0-1 [21.3 kB] 697s Get:68 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-mock all 5.1.0-1 [64.1 kB] 698s Fetched 17.6 MB in 21s (860 kB/s) 698s Selecting previously unselected package fonts-lato. 698s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 117732 files and directories currently installed.) 698s Preparing to unpack .../00-fonts-lato_2.015-1_all.deb ... 698s Unpacking fonts-lato (2.015-1) ... 698s Selecting previously unselected package fonts-font-awesome. 698s Preparing to unpack .../01-fonts-font-awesome_5.0.10+really4.7.0~dfsg-4.1_all.deb ... 698s Unpacking fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 698s Selecting previously unselected package libcares2:arm64. 698s Preparing to unpack .../02-libcares2_1.34.4-2.1_arm64.deb ... 699s Unpacking libcares2:arm64 (1.34.4-2.1) ... 699s Selecting previously unselected package libev4t64:arm64. 699s Preparing to unpack .../03-libev4t64_1%3a4.33-2.1build1_arm64.deb ... 699s Unpacking libev4t64:arm64 (1:4.33-2.1build1) ... 699s Selecting previously unselected package libjs-jquery. 699s Preparing to unpack .../04-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 699s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 699s Selecting previously unselected package libjs-jquery-metadata. 699s Preparing to unpack .../05-libjs-jquery-metadata_12-4_all.deb ... 699s Unpacking libjs-jquery-metadata (12-4) ... 699s Selecting previously unselected package libjs-jquery-tablesorter. 699s Preparing to unpack .../06-libjs-jquery-tablesorter_1%3a2.31.3+dfsg1-4_all.deb ... 699s Unpacking libjs-jquery-tablesorter (1:2.31.3+dfsg1-4) ... 699s Selecting previously unselected package libjs-jquery-throttle-debounce. 699s Preparing to unpack .../07-libjs-jquery-throttle-debounce_1.1+dfsg.1-2_all.deb ... 699s Unpacking libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 699s Selecting previously unselected package libjs-underscore. 699s Preparing to unpack .../08-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 699s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 699s Selecting previously unselected package libjs-sphinxdoc. 699s Preparing to unpack .../09-libjs-sphinxdoc_8.1.3-5_all.deb ... 699s Unpacking libjs-sphinxdoc (8.1.3-5) ... 699s Selecting previously unselected package libpq5:arm64. 699s Preparing to unpack .../10-libpq5_17.4-1_arm64.deb ... 699s Unpacking libpq5:arm64 (17.4-1) ... 699s Selecting previously unselected package python3-click. 699s Preparing to unpack .../11-python3-click_8.2.0+0.really.8.1.8-1_all.deb ... 699s Unpacking python3-click (8.2.0+0.really.8.1.8-1) ... 699s Selecting previously unselected package python3-dateutil. 699s Preparing to unpack .../12-python3-dateutil_2.9.0-4_all.deb ... 699s Unpacking python3-dateutil (2.9.0-4) ... 699s Selecting previously unselected package python3-wcwidth. 699s Preparing to unpack .../13-python3-wcwidth_0.2.13+dfsg1-1_all.deb ... 699s Unpacking python3-wcwidth (0.2.13+dfsg1-1) ... 699s Selecting previously unselected package python3-prettytable. 699s Preparing to unpack .../14-python3-prettytable_3.12.0-1_all.deb ... 699s Unpacking python3-prettytable (3.12.0-1) ... 699s Selecting previously unselected package python3-psutil. 699s Preparing to unpack .../15-python3-psutil_5.9.8-2build3_arm64.deb ... 699s Unpacking python3-psutil (5.9.8-2build3) ... 699s Selecting previously unselected package python3-ydiff. 699s Preparing to unpack .../16-python3-ydiff_1.4.2-1_all.deb ... 699s Unpacking python3-ydiff (1.4.2-1) ... 699s Selecting previously unselected package python3-psycopg2. 699s Preparing to unpack .../17-python3-psycopg2_2.9.10-1build1_arm64.deb ... 699s Unpacking python3-psycopg2 (2.9.10-1build1) ... 699s Selecting previously unselected package python3-dnspython. 699s Preparing to unpack .../18-python3-dnspython_2.7.0-1ubuntu1_all.deb ... 699s Unpacking python3-dnspython (2.7.0-1ubuntu1) ... 699s Selecting previously unselected package python3-etcd. 699s Preparing to unpack .../19-python3-etcd_0.4.5-6_all.deb ... 699s Unpacking python3-etcd (0.4.5-6) ... 699s Selecting previously unselected package python3-consul. 699s Preparing to unpack .../20-python3-consul_1.5.1+dfsg-1_all.deb ... 699s Unpacking python3-consul (1.5.1+dfsg-1) ... 699s Selecting previously unselected package python3-greenlet. 699s Preparing to unpack .../21-python3-greenlet_3.1.0-1build1_arm64.deb ... 699s Unpacking python3-greenlet (3.1.0-1build1) ... 699s Selecting previously unselected package python3-eventlet. 699s Preparing to unpack .../22-python3-eventlet_0.39.0-0ubuntu1_all.deb ... 699s Unpacking python3-eventlet (0.39.0-0ubuntu1) ... 699s Selecting previously unselected package python3-zope.event. 699s Preparing to unpack .../23-python3-zope.event_5.0-0.1_all.deb ... 699s Unpacking python3-zope.event (5.0-0.1) ... 699s Selecting previously unselected package python3-zope.interface. 699s Preparing to unpack .../24-python3-zope.interface_7.2-1build1_arm64.deb ... 699s Unpacking python3-zope.interface (7.2-1build1) ... 699s Selecting previously unselected package python3-gevent. 699s Preparing to unpack .../25-python3-gevent_24.11.1-1build1_arm64.deb ... 699s Unpacking python3-gevent (24.11.1-1build1) ... 699s Selecting previously unselected package python3-kerberos. 699s Preparing to unpack .../26-python3-kerberos_1.1.14-3.1build11_arm64.deb ... 699s Unpacking python3-kerberos (1.1.14-3.1build11) ... 699s Selecting previously unselected package python3-pure-sasl. 699s Preparing to unpack .../27-python3-pure-sasl_0.5.1+dfsg1-5_all.deb ... 699s Unpacking python3-pure-sasl (0.5.1+dfsg1-5) ... 699s Selecting previously unselected package python3-six. 699s Preparing to unpack .../28-python3-six_1.17.0-1_all.deb ... 699s Unpacking python3-six (1.17.0-1) ... 699s Selecting previously unselected package python3-kazoo. 699s Preparing to unpack .../29-python3-kazoo_2.9.0-2_all.deb ... 699s Unpacking python3-kazoo (2.9.0-2) ... 700s Selecting previously unselected package python3-multidict. 700s Preparing to unpack .../30-python3-multidict_6.1.0-1build2_arm64.deb ... 700s Unpacking python3-multidict (6.1.0-1build2) ... 700s Selecting previously unselected package python3-yarl. 700s Preparing to unpack .../31-python3-yarl_1.13.1-1build2_arm64.deb ... 700s Unpacking python3-yarl (1.13.1-1build2) ... 700s Selecting previously unselected package python3-async-timeout. 700s Preparing to unpack .../32-python3-async-timeout_5.0.1-1_all.deb ... 700s Unpacking python3-async-timeout (5.0.1-1) ... 700s Selecting previously unselected package python3-aiohappyeyeballs. 700s Preparing to unpack .../33-python3-aiohappyeyeballs_2.6.1-1_all.deb ... 700s Unpacking python3-aiohappyeyeballs (2.6.1-1) ... 700s Selecting previously unselected package python3-frozenlist. 700s Preparing to unpack .../34-python3-frozenlist_1.5.0-1build2_arm64.deb ... 700s Unpacking python3-frozenlist (1.5.0-1build2) ... 700s Selecting previously unselected package python3-aiosignal. 700s Preparing to unpack .../35-python3-aiosignal_1.3.2-1_all.deb ... 700s Unpacking python3-aiosignal (1.3.2-1) ... 700s Selecting previously unselected package python3-aiohttp. 700s Preparing to unpack .../36-python3-aiohttp_3.10.11-1build1_arm64.deb ... 700s Unpacking python3-aiohttp (3.10.11-1build1) ... 700s Selecting previously unselected package python3-cachetools. 700s Preparing to unpack .../37-python3-cachetools_5.3.3-1_all.deb ... 700s Unpacking python3-cachetools (5.3.3-1) ... 700s Selecting previously unselected package python3-pyasn1. 700s Preparing to unpack .../38-python3-pyasn1_0.6.1-1_all.deb ... 700s Unpacking python3-pyasn1 (0.6.1-1) ... 700s Selecting previously unselected package python3-pyasn1-modules. 700s Preparing to unpack .../39-python3-pyasn1-modules_0.4.1-2_all.deb ... 700s Unpacking python3-pyasn1-modules (0.4.1-2) ... 700s Selecting previously unselected package python3-pyu2f. 700s Preparing to unpack .../40-python3-pyu2f_0.1.5-4_all.deb ... 700s Unpacking python3-pyu2f (0.1.5-4) ... 700s Selecting previously unselected package python3-responses. 700s Preparing to unpack .../41-python3-responses_0.25.6-1_all.deb ... 700s Unpacking python3-responses (0.25.6-1) ... 700s Selecting previously unselected package python3-rsa. 700s Preparing to unpack .../42-python3-rsa_4.9-2_all.deb ... 700s Unpacking python3-rsa (4.9-2) ... 700s Selecting previously unselected package python3-google-auth. 700s Preparing to unpack .../43-python3-google-auth_2.28.2-3_all.deb ... 700s Unpacking python3-google-auth (2.28.2-3) ... 700s Selecting previously unselected package python3-requests-oauthlib. 700s Preparing to unpack .../44-python3-requests-oauthlib_1.3.1-1_all.deb ... 700s Unpacking python3-requests-oauthlib (1.3.1-1) ... 700s Selecting previously unselected package python3-websocket. 700s Preparing to unpack .../45-python3-websocket_1.8.0-2_all.deb ... 700s Unpacking python3-websocket (1.8.0-2) ... 700s Selecting previously unselected package python3-kubernetes. 700s Preparing to unpack .../46-python3-kubernetes_30.1.0-2_all.deb ... 700s Unpacking python3-kubernetes (30.1.0-2) ... 700s Selecting previously unselected package python3-pysyncobj. 700s Preparing to unpack .../47-python3-pysyncobj_0.3.14-2_all.deb ... 700s Unpacking python3-pysyncobj (0.3.14-2) ... 700s Selecting previously unselected package patroni. 700s Preparing to unpack .../48-patroni_4.0.4-8_all.deb ... 700s Unpacking patroni (4.0.4-8) ... 700s Selecting previously unselected package sphinx-rtd-theme-common. 700s Preparing to unpack .../49-sphinx-rtd-theme-common_3.0.2+dfsg-2_all.deb ... 700s Unpacking sphinx-rtd-theme-common (3.0.2+dfsg-2) ... 700s Selecting previously unselected package patroni-doc. 700s Preparing to unpack .../50-patroni-doc_4.0.4-8_all.deb ... 700s Unpacking patroni-doc (4.0.4-8) ... 701s Selecting previously unselected package python3-jmespath. 701s Preparing to unpack .../51-python3-jmespath_1.0.1-1_all.deb ... 701s Unpacking python3-jmespath (1.0.1-1) ... 701s Selecting previously unselected package python3-botocore. 701s Preparing to unpack .../52-python3-botocore_1.37.9+repack-1_all.deb ... 701s Unpacking python3-botocore (1.37.9+repack-1) ... 701s Selecting previously unselected package python3-s3transfer. 701s Preparing to unpack .../53-python3-s3transfer_0.11.2-2_all.deb ... 701s Unpacking python3-s3transfer (0.11.2-2) ... 701s Selecting previously unselected package python3-boto3. 701s Preparing to unpack .../54-python3-boto3_1.36.0+dfsg-1_all.deb ... 701s Unpacking python3-boto3 (1.36.0+dfsg-1) ... 701s Selecting previously unselected package python3-coverage. 701s Preparing to unpack .../55-python3-coverage_7.6.0+dfsg1-2build1_arm64.deb ... 701s Unpacking python3-coverage (7.6.0+dfsg1-2build1) ... 701s Selecting previously unselected package python3-mccabe. 701s Preparing to unpack .../56-python3-mccabe_0.7.0-1_all.deb ... 701s Unpacking python3-mccabe (0.7.0-1) ... 701s Selecting previously unselected package python3-pycodestyle. 701s Preparing to unpack .../57-python3-pycodestyle_2.12.1-2_all.deb ... 701s Unpacking python3-pycodestyle (2.12.1-2) ... 701s Selecting previously unselected package python3-pyflakes. 701s Preparing to unpack .../58-python3-pyflakes_3.2.0-3_all.deb ... 701s Unpacking python3-pyflakes (3.2.0-3) ... 701s Selecting previously unselected package python3-flake8. 701s Preparing to unpack .../59-python3-flake8_7.1.1-3_all.deb ... 701s Unpacking python3-flake8 (7.1.1-3) ... 701s Selecting previously unselected package python3-iniconfig. 701s Preparing to unpack .../60-python3-iniconfig_1.1.1-2_all.deb ... 701s Unpacking python3-iniconfig (1.1.1-2) ... 701s Selecting previously unselected package python3-packaging. 701s Preparing to unpack .../61-python3-packaging_24.2-1_all.deb ... 701s Unpacking python3-packaging (24.2-1) ... 701s Selecting previously unselected package python3-pluggy. 701s Preparing to unpack .../62-python3-pluggy_1.5.0-1_all.deb ... 701s Unpacking python3-pluggy (1.5.0-1) ... 701s Selecting previously unselected package python3-pytest. 702s Preparing to unpack .../63-python3-pytest_8.3.5-1_all.deb ... 702s Unpacking python3-pytest (8.3.5-1) ... 702s Selecting previously unselected package libjs-jquery-hotkeys. 702s Preparing to unpack .../64-libjs-jquery-hotkeys_0.2.0-1_all.deb ... 702s Unpacking libjs-jquery-hotkeys (0.2.0-1) ... 702s Selecting previously unselected package libjs-jquery-isonscreen. 702s Preparing to unpack .../65-libjs-jquery-isonscreen_1.2.0-1.1_all.deb ... 702s Unpacking libjs-jquery-isonscreen (1.2.0-1.1) ... 702s Selecting previously unselected package python3-pytest-cov. 702s Preparing to unpack .../66-python3-pytest-cov_5.0.0-1_all.deb ... 702s Unpacking python3-pytest-cov (5.0.0-1) ... 702s Selecting previously unselected package python3-mock. 702s Preparing to unpack .../67-python3-mock_5.1.0-1_all.deb ... 702s Unpacking python3-mock (5.1.0-1) ... 702s Setting up python3-iniconfig (1.1.1-2) ... 702s Setting up libev4t64:arm64 (1:4.33-2.1build1) ... 702s Setting up fonts-lato (2.015-1) ... 702s Setting up python3-pysyncobj (0.3.14-2) ... 702s Setting up python3-cachetools (5.3.3-1) ... 702s Setting up python3-zope.event (5.0-0.1) ... 702s Setting up python3-zope.interface (7.2-1build1) ... 702s Setting up python3-pyflakes (3.2.0-3) ... 703s Setting up python3-ydiff (1.4.2-1) ... 703s Setting up libpq5:arm64 (17.4-1) ... 703s Setting up python3-kerberos (1.1.14-3.1build11) ... 703s Setting up python3-coverage (7.6.0+dfsg1-2build1) ... 703s Setting up libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 703s Setting up python3-click (8.2.0+0.really.8.1.8-1) ... 703s Setting up python3-psutil (5.9.8-2build3) ... 703s Setting up python3-multidict (6.1.0-1build2) ... 704s Setting up python3-frozenlist (1.5.0-1build2) ... 704s Setting up python3-aiosignal (1.3.2-1) ... 704s Setting up python3-mock (5.1.0-1) ... 704s Setting up python3-async-timeout (5.0.1-1) ... 704s Setting up python3-six (1.17.0-1) ... 704s Setting up python3-responses (0.25.6-1) ... 704s Setting up python3-pycodestyle (2.12.1-2) ... 704s Setting up python3-packaging (24.2-1) ... 705s Setting up python3-wcwidth (0.2.13+dfsg1-1) ... 705s Setting up python3-pyu2f (0.1.5-4) ... 705s Setting up python3-jmespath (1.0.1-1) ... 705s Setting up python3-greenlet (3.1.0-1build1) ... 705s Setting up libcares2:arm64 (1.34.4-2.1) ... 705s Setting up python3-psycopg2 (2.9.10-1build1) ... 705s Setting up python3-aiohappyeyeballs (2.6.1-1) ... 705s Setting up python3-pluggy (1.5.0-1) ... 705s Setting up python3-dnspython (2.7.0-1ubuntu1) ... 706s Setting up python3-pyasn1 (0.6.1-1) ... 706s Setting up python3-dateutil (2.9.0-4) ... 706s Setting up python3-mccabe (0.7.0-1) ... 706s Setting up python3-consul (1.5.1+dfsg-1) ... 706s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 706s Setting up libjs-jquery-hotkeys (0.2.0-1) ... 706s Setting up python3-prettytable (3.12.0-1) ... 707s Setting up python3-yarl (1.13.1-1build2) ... 707s Setting up fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 707s Setting up sphinx-rtd-theme-common (3.0.2+dfsg-2) ... 707s Setting up python3-websocket (1.8.0-2) ... 707s Setting up python3-requests-oauthlib (1.3.1-1) ... 707s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 707s Setting up python3-pure-sasl (0.5.1+dfsg1-5) ... 707s Setting up python3-etcd (0.4.5-6) ... 707s Setting up python3-pytest (8.3.5-1) ... 708s Setting up python3-aiohttp (3.10.11-1build1) ... 708s Setting up python3-gevent (24.11.1-1build1) ... 708s Setting up python3-flake8 (7.1.1-3) ... 708s Setting up python3-eventlet (0.39.0-0ubuntu1) ... 709s Setting up python3-kazoo (2.9.0-2) ... 709s Setting up python3-pyasn1-modules (0.4.1-2) ... 709s Setting up libjs-jquery-metadata (12-4) ... 709s Setting up python3-botocore (1.37.9+repack-1) ... 709s Setting up libjs-jquery-isonscreen (1.2.0-1.1) ... 709s Setting up libjs-sphinxdoc (8.1.3-5) ... 709s Setting up libjs-jquery-tablesorter (1:2.31.3+dfsg1-4) ... 709s Setting up python3-rsa (4.9-2) ... 709s Setting up patroni (4.0.4-8) ... 710s Created symlink '/etc/systemd/system/multi-user.target.wants/patroni.service' → '/usr/lib/systemd/system/patroni.service'. 710s Setting up patroni-doc (4.0.4-8) ... 710s Setting up python3-s3transfer (0.11.2-2) ... 710s Setting up python3-pytest-cov (5.0.0-1) ... 710s Setting up python3-google-auth (2.28.2-3) ... 711s Setting up python3-boto3 (1.36.0+dfsg-1) ... 711s Setting up python3-kubernetes (30.1.0-2) ... 712s Processing triggers for man-db (2.13.0-1) ... 713s Processing triggers for libc-bin (2.41-1ubuntu2) ... 714s autopkgtest [13:17:35]: test test: [----------------------- 716s ============================= test session starts ============================== 716s platform linux -- Python 3.13.2, pytest-8.3.5, pluggy-1.5.0 716s rootdir: /tmp/autopkgtest.8qHkda/build.IZy/src 716s plugins: typeguard-4.4.2, cov-5.0.0 716s collected 651 items 716s 716s tests/test_api.py ................................... [ 5%] 716s tests/test_async_executor.py .... [ 5%] 717s tests/test_aws.py .... [ 6%] 717s tests/test_barman.py ................ [ 9%] 717s tests/test_bootstrap.py .......... [ 10%] 717s tests/test_callback_executor.py . [ 10%] 717s tests/test_cancellable.py ... [ 11%] 717s tests/test_citus.py sssssssssssss................ [ 15%] 717s tests/test_config.py .......... [ 17%] 717s tests/test_config_generator.py ...... [ 18%] 717s tests/test_consul.py ....................... [ 21%] 717s tests/test_ctl.py ...................................... [ 27%] 718s tests/test_etcd.py ............................. [ 31%] 718s tests/test_etcd3.py ................................. [ 37%] 718s tests/test_exhibitor.py ... [ 37%] 718s tests/test_file_perm.py ... [ 37%] 719s tests/test_ha.py ....................................................... [ 46%] 719s ................................................................ [ 56%] 721s tests/test_kubernetes.py ........................................ [ 62%] 721s tests/test_log.py .......... [ 63%] 721s tests/test_mpp.py .. [ 64%] 721s tests/test_patroni.py .................... [ 67%] 722s tests/test_postgresql.py ............................................... [ 74%] 722s ............. [ 76%] 722s tests/test_postmaster.py ......... [ 77%] 722s tests/test_quorum.py ............... [ 80%] 731s tests/test_raft.py ........... [ 81%] 732s tests/test_raft_controller.py ... [ 82%] 732s tests/test_rewind.py .............. [ 84%] 732s tests/test_slots.py ............... [ 86%] 732s tests/test_sync.py .... [ 87%] 733s tests/test_utils.py ............... [ 89%] 733s tests/test_validator.py .................. [ 92%] 733s tests/test_wale_restore.py ...... [ 93%] 733s tests/test_watchdog.py ................ [ 95%] 733s tests/test_zookeeper.py ........................... [100%] 733s 733s ======================= 638 passed, 13 skipped in 17.89s ======================= 733s autopkgtest [13:17:54]: test test: -----------------------] 734s autopkgtest [13:17:55]: test test: - - - - - - - - - - results - - - - - - - - - - 734s test PASS 734s autopkgtest [13:17:55]: test acceptance-etcd3-basic: preparing testbed 825s autopkgtest [13:19:26]: testbed dpkg architecture: arm64 825s autopkgtest [13:19:26]: testbed apt version: 2.9.34 826s autopkgtest [13:19:27]: @@@@@@@@@@@@@@@@@@@@ test bed setup 826s autopkgtest [13:19:27]: testbed release detected to be: plucky 827s autopkgtest [13:19:28]: updating testbed package index (apt update) 827s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [126 kB] 827s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 827s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 827s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 828s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [288 kB] 828s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [29.9 kB] 828s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [1232 B] 828s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [11.5 kB] 828s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [38.0 kB] 828s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 c-n-f Metadata [1292 B] 828s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 c-n-f Metadata [116 B] 828s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [192 kB] 828s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 c-n-f Metadata [11.1 kB] 828s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [3244 B] 828s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 c-n-f Metadata [316 B] 829s Fetched 703 kB in 1s (709 kB/s) 830s Reading package lists... 831s autopkgtest [13:19:32]: upgrading testbed (apt dist-upgrade and autopurge) 831s Reading package lists... 831s Building dependency tree... 831s Reading state information... 832s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 832s Starting 2 pkgProblemResolver with broken count: 0 832s Done 833s Entering ResolveByKeep 833s 833s Calculating upgrade... 834s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 834s Reading package lists... 834s Building dependency tree... 834s Reading state information... 834s Starting pkgProblemResolver with broken count: 0 835s Starting 2 pkgProblemResolver with broken count: 0 835s Done 839s Solving dependencies... 839s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 847s Reading package lists... 847s Building dependency tree... 847s Reading state information... 847s Starting pkgProblemResolver with broken count: 0 847s Starting 2 pkgProblemResolver with broken count: 0 847s Done 849s The following NEW packages will be installed: 849s etcd-server fonts-font-awesome fonts-lato libio-pty-perl libipc-run-perl 849s libjs-jquery libjs-sphinxdoc libjs-underscore libjson-perl libllvm20 libpq5 849s libtime-duration-perl libtimedate-perl libxslt1.1 moreutils patroni 849s patroni-doc postgresql postgresql-17 postgresql-client-17 849s postgresql-client-common postgresql-common postgresql-common-dev 849s python3-behave python3-click python3-coverage python3-dateutil 849s python3-dnspython python3-etcd python3-parse python3-parse-type 849s python3-prettytable python3-psutil python3-psycopg2 python3-six 849s python3-wcwidth python3-ydiff sphinx-rtd-theme-common ssl-cert 849s 0 upgraded, 39 newly installed, 0 to remove and 0 not upgraded. 849s Need to get 64.7 MB of archives. 849s After this operation, 270 MB of additional disk space will be used. 849s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 fonts-lato all 2.015-1 [2781 kB] 850s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 libjson-perl all 4.10000-1 [81.9 kB] 850s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 postgresql-client-common all 274 [47.6 kB] 850s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 libio-pty-perl arm64 1:1.20-1build3 [31.3 kB] 850s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 libipc-run-perl all 20231003.0-2 [91.5 kB] 850s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 postgresql-common-dev all 274 [73.0 kB] 850s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 ssl-cert all 1.1.3ubuntu1 [18.7 kB] 850s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 postgresql-common all 274 [101 kB] 850s Get:9 http://ftpmaster.internal/ubuntu plucky/universe arm64 etcd-server arm64 3.5.16-4 [11.1 MB] 850s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 fonts-font-awesome all 5.0.10+really4.7.0~dfsg-4.1 [516 kB] 850s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 850s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 850s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 libjs-sphinxdoc all 8.1.3-5 [31.0 kB] 850s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 libllvm20 arm64 1:20.1.0~+rc3-1~exp1ubuntu1 [29.1 MB] 851s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 libpq5 arm64 17.4-1 [142 kB] 851s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 libtime-duration-perl all 1.21-2 [12.3 kB] 851s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 libtimedate-perl all 2.3300-2 [34.0 kB] 851s Get:18 http://ftpmaster.internal/ubuntu plucky/main arm64 libxslt1.1 arm64 1.1.39-0exp1ubuntu4 [168 kB] 851s Get:19 http://ftpmaster.internal/ubuntu plucky/universe arm64 moreutils arm64 0.69-1 [56.7 kB] 851s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-click all 8.2.0+0.really.8.1.8-1 [80.0 kB] 851s Get:21 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-dateutil all 2.9.0-4 [80.3 kB] 851s Get:22 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-wcwidth all 0.2.13+dfsg1-1 [26.3 kB] 851s Get:23 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-prettytable all 3.12.0-1 [36.5 kB] 851s Get:24 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-psutil arm64 5.9.8-2build3 [196 kB] 851s Get:25 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-ydiff all 1.4.2-1 [19.0 kB] 851s Get:26 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-psycopg2 arm64 2.9.10-1build1 [133 kB] 851s Get:27 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-dnspython all 2.7.0-1ubuntu1 [167 kB] 851s Get:28 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-etcd all 0.4.5-6 [32.1 kB] 851s Get:29 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 patroni all 4.0.4-8 [282 kB] 851s Get:30 http://ftpmaster.internal/ubuntu plucky/main arm64 sphinx-rtd-theme-common all 3.0.2+dfsg-2 [1014 kB] 851s Get:31 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 patroni-doc all 4.0.4-8 [526 kB] 851s Get:32 http://ftpmaster.internal/ubuntu plucky/main arm64 postgresql-client-17 arm64 17.4-1 [1342 kB] 851s Get:33 http://ftpmaster.internal/ubuntu plucky/main arm64 postgresql-17 arm64 17.4-1 [15.6 MB] 852s Get:34 http://ftpmaster.internal/ubuntu plucky/main arm64 postgresql all 17+274 [14.4 kB] 852s Get:35 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-parse all 1.20.2-1 [27.0 kB] 852s Get:36 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-parse-type all 0.6.4-2 [23.5 kB] 852s Get:37 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-six all 1.17.0-1 [13.2 kB] 852s Get:38 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-behave all 1.2.6-6 [98.6 kB] 852s Get:39 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-coverage arm64 7.6.0+dfsg1-2build1 [153 kB] 852s Preconfiguring packages ... 853s /var/cache/debconf/tmp.ci/postgresql.config.4cOPmE: 12: pg_lsclusters: not found 853s Fetched 64.7 MB in 3s (22.6 MB/s) 853s Selecting previously unselected package fonts-lato. 853s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 117732 files and directories currently installed.) 853s Preparing to unpack .../00-fonts-lato_2.015-1_all.deb ... 853s Unpacking fonts-lato (2.015-1) ... 853s Selecting previously unselected package libjson-perl. 853s Preparing to unpack .../01-libjson-perl_4.10000-1_all.deb ... 853s Unpacking libjson-perl (4.10000-1) ... 853s Selecting previously unselected package postgresql-client-common. 853s Preparing to unpack .../02-postgresql-client-common_274_all.deb ... 853s Unpacking postgresql-client-common (274) ... 853s Selecting previously unselected package libio-pty-perl. 854s Preparing to unpack .../03-libio-pty-perl_1%3a1.20-1build3_arm64.deb ... 854s Unpacking libio-pty-perl (1:1.20-1build3) ... 854s Selecting previously unselected package libipc-run-perl. 854s Preparing to unpack .../04-libipc-run-perl_20231003.0-2_all.deb ... 854s Unpacking libipc-run-perl (20231003.0-2) ... 854s Selecting previously unselected package postgresql-common-dev. 854s Preparing to unpack .../05-postgresql-common-dev_274_all.deb ... 854s Unpacking postgresql-common-dev (274) ... 854s Selecting previously unselected package ssl-cert. 854s Preparing to unpack .../06-ssl-cert_1.1.3ubuntu1_all.deb ... 854s Unpacking ssl-cert (1.1.3ubuntu1) ... 854s Selecting previously unselected package postgresql-common. 854s Preparing to unpack .../07-postgresql-common_274_all.deb ... 854s Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by postgresql-common' 854s Unpacking postgresql-common (274) ... 854s Selecting previously unselected package etcd-server. 854s Preparing to unpack .../08-etcd-server_3.5.16-4_arm64.deb ... 854s Unpacking etcd-server (3.5.16-4) ... 854s Selecting previously unselected package fonts-font-awesome. 854s Preparing to unpack .../09-fonts-font-awesome_5.0.10+really4.7.0~dfsg-4.1_all.deb ... 854s Unpacking fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 854s Selecting previously unselected package libjs-jquery. 854s Preparing to unpack .../10-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 854s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 854s Selecting previously unselected package libjs-underscore. 854s Preparing to unpack .../11-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 854s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 854s Selecting previously unselected package libjs-sphinxdoc. 854s Preparing to unpack .../12-libjs-sphinxdoc_8.1.3-5_all.deb ... 854s Unpacking libjs-sphinxdoc (8.1.3-5) ... 854s Selecting previously unselected package libllvm20:arm64. 854s Preparing to unpack .../13-libllvm20_1%3a20.1.0~+rc3-1~exp1ubuntu1_arm64.deb ... 854s Unpacking libllvm20:arm64 (1:20.1.0~+rc3-1~exp1ubuntu1) ... 855s Selecting previously unselected package libpq5:arm64. 855s Preparing to unpack .../14-libpq5_17.4-1_arm64.deb ... 855s Unpacking libpq5:arm64 (17.4-1) ... 855s Selecting previously unselected package libtime-duration-perl. 855s Preparing to unpack .../15-libtime-duration-perl_1.21-2_all.deb ... 855s Unpacking libtime-duration-perl (1.21-2) ... 855s Selecting previously unselected package libtimedate-perl. 855s Preparing to unpack .../16-libtimedate-perl_2.3300-2_all.deb ... 855s Unpacking libtimedate-perl (2.3300-2) ... 856s Selecting previously unselected package libxslt1.1:arm64. 856s Preparing to unpack .../17-libxslt1.1_1.1.39-0exp1ubuntu4_arm64.deb ... 856s Unpacking libxslt1.1:arm64 (1.1.39-0exp1ubuntu4) ... 856s Selecting previously unselected package moreutils. 856s Preparing to unpack .../18-moreutils_0.69-1_arm64.deb ... 856s Unpacking moreutils (0.69-1) ... 856s Selecting previously unselected package python3-click. 856s Preparing to unpack .../19-python3-click_8.2.0+0.really.8.1.8-1_all.deb ... 856s Unpacking python3-click (8.2.0+0.really.8.1.8-1) ... 856s Selecting previously unselected package python3-dateutil. 856s Preparing to unpack .../20-python3-dateutil_2.9.0-4_all.deb ... 856s Unpacking python3-dateutil (2.9.0-4) ... 856s Selecting previously unselected package python3-wcwidth. 856s Preparing to unpack .../21-python3-wcwidth_0.2.13+dfsg1-1_all.deb ... 856s Unpacking python3-wcwidth (0.2.13+dfsg1-1) ... 856s Selecting previously unselected package python3-prettytable. 856s Preparing to unpack .../22-python3-prettytable_3.12.0-1_all.deb ... 856s Unpacking python3-prettytable (3.12.0-1) ... 856s Selecting previously unselected package python3-psutil. 856s Preparing to unpack .../23-python3-psutil_5.9.8-2build3_arm64.deb ... 856s Unpacking python3-psutil (5.9.8-2build3) ... 856s Selecting previously unselected package python3-ydiff. 856s Preparing to unpack .../24-python3-ydiff_1.4.2-1_all.deb ... 856s Unpacking python3-ydiff (1.4.2-1) ... 856s Selecting previously unselected package python3-psycopg2. 856s Preparing to unpack .../25-python3-psycopg2_2.9.10-1build1_arm64.deb ... 856s Unpacking python3-psycopg2 (2.9.10-1build1) ... 856s Selecting previously unselected package python3-dnspython. 856s Preparing to unpack .../26-python3-dnspython_2.7.0-1ubuntu1_all.deb ... 856s Unpacking python3-dnspython (2.7.0-1ubuntu1) ... 856s Selecting previously unselected package python3-etcd. 856s Preparing to unpack .../27-python3-etcd_0.4.5-6_all.deb ... 856s Unpacking python3-etcd (0.4.5-6) ... 856s Selecting previously unselected package patroni. 856s Preparing to unpack .../28-patroni_4.0.4-8_all.deb ... 856s Unpacking patroni (4.0.4-8) ... 856s Selecting previously unselected package sphinx-rtd-theme-common. 856s Preparing to unpack .../29-sphinx-rtd-theme-common_3.0.2+dfsg-2_all.deb ... 856s Unpacking sphinx-rtd-theme-common (3.0.2+dfsg-2) ... 856s Selecting previously unselected package patroni-doc. 856s Preparing to unpack .../30-patroni-doc_4.0.4-8_all.deb ... 856s Unpacking patroni-doc (4.0.4-8) ... 856s Selecting previously unselected package postgresql-client-17. 856s Preparing to unpack .../31-postgresql-client-17_17.4-1_arm64.deb ... 856s Unpacking postgresql-client-17 (17.4-1) ... 856s Selecting previously unselected package postgresql-17. 856s Preparing to unpack .../32-postgresql-17_17.4-1_arm64.deb ... 856s Unpacking postgresql-17 (17.4-1) ... 857s Selecting previously unselected package postgresql. 857s Preparing to unpack .../33-postgresql_17+274_all.deb ... 857s Unpacking postgresql (17+274) ... 857s Selecting previously unselected package python3-parse. 857s Preparing to unpack .../34-python3-parse_1.20.2-1_all.deb ... 857s Unpacking python3-parse (1.20.2-1) ... 857s Selecting previously unselected package python3-parse-type. 857s Preparing to unpack .../35-python3-parse-type_0.6.4-2_all.deb ... 857s Unpacking python3-parse-type (0.6.4-2) ... 857s Selecting previously unselected package python3-six. 857s Preparing to unpack .../36-python3-six_1.17.0-1_all.deb ... 857s Unpacking python3-six (1.17.0-1) ... 857s Selecting previously unselected package python3-behave. 857s Preparing to unpack .../37-python3-behave_1.2.6-6_all.deb ... 857s Unpacking python3-behave (1.2.6-6) ... 857s Selecting previously unselected package python3-coverage. 857s Preparing to unpack .../38-python3-coverage_7.6.0+dfsg1-2build1_arm64.deb ... 857s Unpacking python3-coverage (7.6.0+dfsg1-2build1) ... 857s Setting up postgresql-client-common (274) ... 857s Setting up fonts-lato (2.015-1) ... 857s Setting up libio-pty-perl (1:1.20-1build3) ... 857s Setting up python3-ydiff (1.4.2-1) ... 857s Setting up libpq5:arm64 (17.4-1) ... 857s Setting up python3-coverage (7.6.0+dfsg1-2build1) ... 858s Setting up python3-click (8.2.0+0.really.8.1.8-1) ... 858s Setting up python3-psutil (5.9.8-2build3) ... 858s Setting up python3-six (1.17.0-1) ... 859s Setting up python3-wcwidth (0.2.13+dfsg1-1) ... 859s Setting up ssl-cert (1.1.3ubuntu1) ... 859s Created symlink '/etc/systemd/system/multi-user.target.wants/ssl-cert.service' → '/usr/lib/systemd/system/ssl-cert.service'. 860s Setting up libllvm20:arm64 (1:20.1.0~+rc3-1~exp1ubuntu1) ... 860s Setting up python3-psycopg2 (2.9.10-1build1) ... 860s Setting up libipc-run-perl (20231003.0-2) ... 860s Setting up libtime-duration-perl (1.21-2) ... 860s Setting up libtimedate-perl (2.3300-2) ... 860s Setting up python3-dnspython (2.7.0-1ubuntu1) ... 860s Setting up python3-parse (1.20.2-1) ... 860s Setting up libjson-perl (4.10000-1) ... 860s Setting up libxslt1.1:arm64 (1.1.39-0exp1ubuntu4) ... 860s Setting up python3-dateutil (2.9.0-4) ... 861s Setting up etcd-server (3.5.16-4) ... 861s info: Selecting UID from range 100 to 999 ... 861s 861s info: Selecting GID from range 100 to 999 ... 861s info: Adding system user `etcd' (UID 107) ... 861s info: Adding new group `etcd' (GID 111) ... 861s info: Adding new user `etcd' (UID 107) with group `etcd' ... 861s info: Creating home directory `/var/lib/etcd/' ... 861s Created symlink '/etc/systemd/system/etcd2.service' → '/usr/lib/systemd/system/etcd.service'. 861s Created symlink '/etc/systemd/system/multi-user.target.wants/etcd.service' → '/usr/lib/systemd/system/etcd.service'. 862s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 862s Setting up python3-prettytable (3.12.0-1) ... 862s Setting up fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 862s Setting up sphinx-rtd-theme-common (3.0.2+dfsg-2) ... 862s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 862s Setting up postgresql-common-dev (274) ... 862s Setting up moreutils (0.69-1) ... 862s Setting up postgresql-client-17 (17.4-1) ... 863s update-alternatives: using /usr/share/postgresql/17/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode 863s Setting up python3-etcd (0.4.5-6) ... 863s Setting up python3-parse-type (0.6.4-2) ... 863s Setting up postgresql-common (274) ... 864s Creating config file /etc/postgresql-common/createcluster.conf with new version 864s Building PostgreSQL dictionaries from installed myspell/hunspell packages... 864s Removing obsolete dictionary files: 865s Created symlink '/etc/systemd/system/multi-user.target.wants/postgresql.service' → '/usr/lib/systemd/system/postgresql.service'. 865s Setting up libjs-sphinxdoc (8.1.3-5) ... 865s Setting up python3-behave (1.2.6-6) ... 865s /usr/lib/python3/dist-packages/behave/formatter/ansi_escapes.py:57: SyntaxWarning: invalid escape sequence '\[' 865s _ANSI_ESCAPE_PATTERN = re.compile(u"\x1b\[\d+[mA]", re.UNICODE) 865s /usr/lib/python3/dist-packages/behave/matchers.py:284: SyntaxWarning: invalid escape sequence '\d' 865s @parse.with_pattern(r"\d+") 865s Setting up patroni (4.0.4-8) ... 865s Created symlink '/etc/systemd/system/multi-user.target.wants/patroni.service' → '/usr/lib/systemd/system/patroni.service'. 866s Setting up postgresql-17 (17.4-1) ... 867s Creating new PostgreSQL cluster 17/main ... 867s /usr/lib/postgresql/17/bin/initdb -D /var/lib/postgresql/17/main --auth-local peer --auth-host scram-sha-256 --no-instructions 867s The files belonging to this database system will be owned by user "postgres". 867s This user must also own the server process. 867s 867s The database cluster will be initialized with locale "C.UTF-8". 867s The default database encoding has accordingly been set to "UTF8". 867s The default text search configuration will be set to "english". 867s 867s Data page checksums are disabled. 867s 867s fixing permissions on existing directory /var/lib/postgresql/17/main ... ok 867s creating subdirectories ... ok 867s selecting dynamic shared memory implementation ... posix 867s selecting default "max_connections" ... 100 867s selecting default "shared_buffers" ... 128MB 867s selecting default time zone ... Etc/UTC 867s creating configuration files ... ok 868s running bootstrap script ... ok 868s performing post-bootstrap initialization ... ok 868s syncing data to disk ... ok 871s Setting up patroni-doc (4.0.4-8) ... 871s Setting up postgresql (17+274) ... 871s Processing triggers for man-db (2.13.0-1) ... 873s Processing triggers for libc-bin (2.41-1ubuntu2) ... 876s autopkgtest [13:20:17]: test acceptance-etcd3-basic: debian/tests/acceptance etcd3 features/basic_replication.feature 876s autopkgtest [13:20:17]: test acceptance-etcd3-basic: [----------------------- 876s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 876s ++ ls -1r /usr/lib/postgresql/ 876s + for PG_VERSION in $(ls -1r /usr/lib/postgresql/) 876s + '[' 17 == 10 -o 17 == 11 ']' 876s + echo '### PostgreSQL 17 acceptance-etcd3 features/basic_replication.feature ###' 876s + bash -c 'set -o pipefail; ETCD_UNSUPPORTED_ARCH=arm64 DCS=etcd3 PATH=/usr/lib/postgresql/17/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin behave features/basic_replication.feature | ts' 876s ### PostgreSQL 17 acceptance-etcd3 features/basic_replication.feature ### 877s Mar 22 13:20:18 Feature: basic replication # features/basic_replication.feature:1 877s Mar 22 13:20:18 We should check that the basic bootstrapping, replication and failover works. 877s Mar 22 13:20:18 Scenario: check replication of a single table # features/basic_replication.feature:4 877s Mar 22 13:20:18 Given I start postgres-0 # features/steps/basic_replication.py:20 880s Mar 22 13:20:21 Then postgres-0 is a leader after 10 seconds # features/steps/patroni_api.py:31 881s Mar 22 13:20:22 And there is a non empty initialize key in DCS after 15 seconds # features/steps/cascading_replication.py:41 881s Mar 22 13:20:22 When I issue a PATCH request to http://127.0.0.1:8008/config with {"ttl": 20, "synchronous_mode": true} # features/steps/patroni_api.py:73 881s Mar 22 13:20:22 Then I receive a response code 200 # features/steps/patroni_api.py:100 881s Mar 22 13:20:22 When I start postgres-1 # features/steps/basic_replication.py:20 884s Mar 22 13:20:25 And I configure and start postgres-2 with a tag replicatefrom postgres-0 # features/steps/cascading_replication.py:7 887s Mar 22 13:20:28 And "sync" key in DCS has leader=postgres-0 after 20 seconds # features/steps/cascading_replication.py:23 887s Mar 22 13:20:28 And I add the table foo to postgres-0 # features/steps/basic_replication.py:66 887s Mar 22 13:20:28 Then table foo is present on postgres-1 after 20 seconds # features/steps/basic_replication.py:105 888s Mar 22 13:20:29 Then table foo is present on postgres-2 after 20 seconds # features/steps/basic_replication.py:105 888s Mar 22 13:20:29 888s Mar 22 13:20:29 Scenario: check restart of sync replica # features/basic_replication.feature:17 888s Mar 22 13:20:29 Given I shut down postgres-2 # features/steps/basic_replication.py:41 890s Mar 22 13:20:30 Then "sync" key in DCS has sync_standby=postgres-1 after 5 seconds # features/steps/cascading_replication.py:23 890s Mar 22 13:20:30 When I start postgres-2 # features/steps/basic_replication.py:20 894s Mar 22 13:20:34 And I shut down postgres-1 # features/steps/basic_replication.py:41 897s Mar 22 13:20:37 Then "sync" key in DCS has sync_standby=postgres-2 after 10 seconds # features/steps/cascading_replication.py:23 898s Mar 22 13:20:38 When I start postgres-1 # features/steps/basic_replication.py:20 902s Mar 22 13:20:43 Then "members/postgres-1" key in DCS has state=running after 10 seconds # features/steps/cascading_replication.py:23 902s Mar 22 13:20:43 And Status code on GET http://127.0.0.1:8010/sync is 200 after 3 seconds # features/steps/patroni_api.py:144 902s Mar 22 13:20:43 And Status code on GET http://127.0.0.1:8009/async is 200 after 3 seconds # features/steps/patroni_api.py:144 902s Mar 22 13:20:43 902s Mar 22 13:20:43 Scenario: check stuck sync replica # features/basic_replication.feature:28 902s Mar 22 13:20:43 Given I issue a PATCH request to http://127.0.0.1:8008/config with {"pause": true, "maximum_lag_on_syncnode": 15000000, "postgresql": {"parameters": {"synchronous_commit": "remote_apply"}}} # features/steps/patroni_api.py:73 902s Mar 22 13:20:43 Then I receive a response code 200 # features/steps/patroni_api.py:100 902s Mar 22 13:20:43 And I create table on postgres-0 # features/steps/basic_replication.py:85 902s Mar 22 13:20:43 And table mytest is present on postgres-1 after 2 seconds # features/steps/basic_replication.py:105 903s Mar 22 13:20:44 And table mytest is present on postgres-2 after 2 seconds # features/steps/basic_replication.py:105 903s Mar 22 13:20:44 When I pause wal replay on postgres-2 # features/steps/basic_replication.py:76 903s Mar 22 13:20:44 And I load data on postgres-0 # features/steps/basic_replication.py:96 903s Mar 22 13:20:44 Then "sync" key in DCS has sync_standby=postgres-1 after 15 seconds # features/steps/cascading_replication.py:23 906s Mar 22 13:20:47 And I resume wal replay on postgres-2 # features/steps/basic_replication.py:76 907s Mar 22 13:20:47 And Status code on GET http://127.0.0.1:8009/sync is 200 after 3 seconds # features/steps/patroni_api.py:144 907s Mar 22 13:20:48 And Status code on GET http://127.0.0.1:8010/async is 200 after 3 seconds # features/steps/patroni_api.py:144 907s Mar 22 13:20:48 When I issue a PATCH request to http://127.0.0.1:8008/config with {"pause": null, "maximum_lag_on_syncnode": -1, "postgresql": {"parameters": {"synchronous_commit": "on"}}} # features/steps/patroni_api.py:73 907s Mar 22 13:20:48 Then I receive a response code 200 # features/steps/patroni_api.py:100 907s Mar 22 13:20:48 And I drop table on postgres-0 # features/steps/basic_replication.py:85 907s Mar 22 13:20:48 907s Mar 22 13:20:48 Scenario: check multi sync replication # features/basic_replication.feature:44 907s Mar 22 13:20:48 Given I issue a PATCH request to http://127.0.0.1:8008/config with {"synchronous_node_count": 2} # features/steps/patroni_api.py:73 907s Mar 22 13:20:48 Then I receive a response code 200 # features/steps/patroni_api.py:100 907s Mar 22 13:20:48 Then "sync" key in DCS has sync_standby=postgres-1,postgres-2 after 10 seconds # features/steps/cascading_replication.py:23 911s Mar 22 13:20:52 And Status code on GET http://127.0.0.1:8010/sync is 200 after 3 seconds # features/steps/patroni_api.py:144 911s Mar 22 13:20:52 And Status code on GET http://127.0.0.1:8009/sync is 200 after 3 seconds # features/steps/patroni_api.py:144 911s Mar 22 13:20:52 When I issue a PATCH request to http://127.0.0.1:8008/config with {"synchronous_node_count": 1} # features/steps/patroni_api.py:73 911s Mar 22 13:20:52 Then I receive a response code 200 # features/steps/patroni_api.py:100 911s Mar 22 13:20:52 And I shut down postgres-1 # features/steps/basic_replication.py:41 914s Mar 22 13:20:55 Then "sync" key in DCS has sync_standby=postgres-2 after 10 seconds # features/steps/cascading_replication.py:23 915s Mar 22 13:20:56 When I start postgres-1 # features/steps/basic_replication.py:20 919s Mar 22 13:21:00 Then "members/postgres-1" key in DCS has state=running after 10 seconds # features/steps/cascading_replication.py:23 919s Mar 22 13:21:00 And Status code on GET http://127.0.0.1:8010/sync is 200 after 3 seconds # features/steps/patroni_api.py:144 919s Mar 22 13:21:00 And Status code on GET http://127.0.0.1:8009/async is 200 after 3 seconds # features/steps/patroni_api.py:144 919s Mar 22 13:21:00 919s Mar 22 13:21:00 Scenario: check the basic failover in synchronous mode # features/basic_replication.feature:59 919s Mar 22 13:21:00 Given I run patronictl.py pause batman # features/steps/patroni_api.py:88 920s Mar 22 13:21:01 Then I receive a response returncode 0 # features/steps/patroni_api.py:100 920s Mar 22 13:21:01 When I sleep for 2 seconds # features/steps/patroni_api.py:41 922s Mar 22 13:21:03 And I shut down postgres-0 # features/steps/basic_replication.py:41 923s Mar 22 13:21:04 And I run patronictl.py resume batman # features/steps/patroni_api.py:88 925s Mar 22 13:21:06 Then I receive a response returncode 0 # features/steps/patroni_api.py:100 925s Mar 22 13:21:06 And postgres-2 role is the primary after 24 seconds # features/steps/basic_replication.py:117 945s Mar 22 13:21:26 And Response on GET http://127.0.0.1:8010/history contains recovery after 10 seconds # features/steps/patroni_api.py:158 948s Mar 22 13:21:29 And there is a postgres-2_cb.log with "on_role_change primary batman" in postgres-2 data directory # features/steps/cascading_replication.py:12 948s Mar 22 13:21:29 When I issue a PATCH request to http://127.0.0.1:8010/config with {"synchronous_mode": null, "master_start_timeout": 0} # features/steps/patroni_api.py:73 948s Mar 22 13:21:29 Then I receive a response code 200 # features/steps/patroni_api.py:100 948s Mar 22 13:21:29 When I add the table bar to postgres-2 # features/steps/basic_replication.py:66 948s Mar 22 13:21:29 Then table bar is present on postgres-1 after 20 seconds # features/steps/basic_replication.py:105 948s Mar 22 13:21:29 And Response on GET http://127.0.0.1:8010/config contains master_start_timeout after 10 seconds # features/steps/patroni_api.py:158 948s Mar 22 13:21:29 948s Mar 22 13:21:29 Scenario: check rejoin of the former primary with pg_rewind # features/basic_replication.feature:75 948s Mar 22 13:21:29 Given I add the table splitbrain to postgres-0 # features/steps/basic_replication.py:66 948s Mar 22 13:21:29 And I start postgres-0 # features/steps/basic_replication.py:20 948s Mar 22 13:21:29 Then postgres-0 role is the secondary after 20 seconds # features/steps/basic_replication.py:117 952s Mar 22 13:21:33 When I add the table buz to postgres-2 # features/steps/basic_replication.py:66 952s Mar 22 13:21:33 Then table buz is present on postgres-0 after 20 seconds # features/steps/basic_replication.py:105 956s Mar 22 13:21:37 956s Mar 22 13:21:37 @reject-duplicate-name 956s Mar 22 13:21:37 Scenario: check graceful rejection when two nodes have the same name # features/basic_replication.feature:83 956s Mar 22 13:21:37 Given I start duplicate postgres-0 on port 8011 # features/steps/basic_replication.py:25 959s Mar 22 13:21:40 Then there is one of ["Can't start; there is already a node named 'postgres-0' running"] CRITICAL in the dup-postgres-0 patroni log after 5 seconds # features/steps/basic_replication.py:133 964s Mar 22 13:21:45 964s Mar 22 13:21:45 Combined data file .coverage.autopkgtest.4293.XxegFBdx 964s Mar 22 13:21:45 Combined data file .coverage.autopkgtest.4339.XXWbBYax 964s Mar 22 13:21:45 Combined data file .coverage.autopkgtest.4378.XuLqnMJx 964s Mar 22 13:21:45 Combined data file .coverage.autopkgtest.4446.XOxIENkx 964s Mar 22 13:21:45 Combined data file .coverage.autopkgtest.4495.XySjTCAx 964s Mar 22 13:21:45 Combined data file .coverage.autopkgtest.4568.XfcmVuGx 964s Mar 22 13:21:45 Combined data file .coverage.autopkgtest.4618.XsCItRgx 964s Mar 22 13:21:45 Combined data file .coverage.autopkgtest.4621.XsbFXUZx 964s Mar 22 13:21:45 Combined data file .coverage.autopkgtest.4701.XnyylxDx 964s Mar 22 13:21:45 Combined data file .coverage.autopkgtest.4804.XZUFmFvx 968s Mar 22 13:21:49 Name Stmts Miss Cover 968s Mar 22 13:21:49 ------------------------------------------------------------------------------------------------------------- 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/OpenSSL/SSL.py 1159 647 44% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/OpenSSL/__init__.py 3 0 100% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/OpenSSL/_util.py 44 15 66% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/OpenSSL/crypto.py 869 663 24% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/OpenSSL/version.py 9 0 100% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/_distutils_hack/__init__.py 101 96 5% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/bcrypt/__init__.py 3 0 100% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/__about__.py 5 0 100% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/__init__.py 3 0 100% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/exceptions.py 26 5 81% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/hazmat/__init__.py 2 0 100% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/hazmat/_oid.py 135 0 100% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/hazmat/bindings/__init__.py 0 0 100% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/hazmat/bindings/openssl/__init__.py 0 0 100% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/hazmat/bindings/openssl/_conditional.py 38 17 55% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/hazmat/bindings/openssl/binding.py 51 4 92% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/hazmat/decrepit/__init__.py 1 0 100% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/hazmat/decrepit/ciphers/__init__.py 1 0 100% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/hazmat/decrepit/ciphers/algorithms.py 68 18 74% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/__init__.py 0 0 100% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/_asymmetric.py 6 0 100% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/_cipheralgorithm.py 23 4 83% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/_serialization.py 79 35 56% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/__init__.py 0 0 100% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/dh.py 47 0 100% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/dsa.py 55 5 91% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/ec.py 172 22 87% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/ed448.py 45 12 73% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/ed25519.py 43 12 72% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/padding.py 55 23 58% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/rsa.py 93 40 57% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/types.py 19 0 100% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/utils.py 14 5 64% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/x448.py 43 12 72% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/x25519.py 41 12 71% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/ciphers/__init__.py 4 0 100% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/ciphers/algorithms.py 72 15 79% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/ciphers/base.py 54 12 78% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/ciphers/modes.py 140 59 58% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/constant_time.py 6 3 50% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/hashes.py 127 20 84% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/serialization/__init__.py 5 0 100% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/serialization/base.py 7 0 100% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/serialization/ssh.py 775 614 21% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/utils.py 76 28 63% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/x509/__init__.py 70 0 100% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/x509/base.py 488 227 53% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/x509/certificate_transparency.py 42 0 100% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/x509/extensions.py 1024 552 46% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/x509/general_name.py 166 94 43% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/x509/name.py 236 144 39% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/x509/oid.py 3 0 100% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/cryptography/x509/verification.py 12 0 100% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dateutil/__init__.py 13 4 69% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dateutil/_common.py 25 15 40% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dateutil/_version.py 13 3 77% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dateutil/parser/__init__.py 33 4 88% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dateutil/parser/_parser.py 810 688 15% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dateutil/parser/isoparser.py 183 150 18% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dateutil/relativedelta.py 240 206 14% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dateutil/tz/__init__.py 4 0 100% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dateutil/tz/_common.py 151 117 23% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dateutil/tz/_factories.py 49 21 57% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dateutil/tz/tz.py 794 629 21% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dateutil/tz/win.py 152 149 2% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/__init__.py 2 0 100% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/_asyncbackend.py 14 6 57% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/_ddr.py 105 86 18% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/_features.py 46 8 83% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/_immutable_ctx.py 40 5 88% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/asyncbackend.py 44 32 27% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/asyncquery.py 322 283 12% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/edns.py 307 185 40% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/entropy.py 80 49 39% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/enum.py 72 46 36% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/exception.py 59 33 44% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/flags.py 40 14 65% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/grange.py 33 30 9% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/immutable.py 41 30 27% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/inet.py 79 65 18% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/ipv4.py 26 20 23% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/ipv6.py 114 100 12% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/message.py 829 676 18% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/name.py 617 425 31% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/nameserver.py 102 55 46% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/node.py 117 71 39% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/opcode.py 30 7 77% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/query.py 562 477 15% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/quic/__init__.py 28 23 18% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/rcode.py 68 13 81% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/rdata.py 386 277 28% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/rdataclass.py 43 9 79% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/rdataset.py 192 133 31% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/rdatatype.py 215 23 89% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/rdtypes/ANY/OPT.py 34 19 44% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/rdtypes/ANY/SOA.py 41 26 37% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/rdtypes/ANY/TSIG.py 58 42 28% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/rdtypes/ANY/ZONEMD.py 43 27 37% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/rdtypes/ANY/__init__.py 1 0 100% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/rdtypes/__init__.py 1 0 100% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/rdtypes/svcbbase.py 415 268 35% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/rdtypes/util.py 191 154 19% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/renderer.py 151 118 22% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/resolver.py 873 696 20% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/reversename.py 32 24 25% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/rrset.py 77 56 27% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/serial.py 92 79 14% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/set.py 148 107 28% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/tokenizer.py 334 279 16% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/transaction.py 269 201 25% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/tsig.py 176 122 31% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/ttl.py 44 38 14% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/version.py 6 0 100% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/wire.py 64 42 34% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/xfr.py 148 126 15% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/zone.py 507 383 24% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/zonefile.py 427 379 11% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/dns/zonetypes.py 14 2 86% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/etcd/__init__.py 125 63 50% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/etcd/client.py 380 256 33% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/etcd/lock.py 125 103 18% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/idna/__init__.py 4 0 100% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/idna/core.py 292 257 12% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/idna/idnadata.py 4 0 100% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/idna/intranges.py 30 24 20% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/idna/package_data.py 1 0 100% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/patroni/__init__.py 13 2 85% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/patroni/__main__.py 201 68 66% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/patroni/api.py 788 439 44% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/patroni/async_executor.py 96 19 80% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/patroni/collections.py 56 7 88% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/patroni/config.py 357 100 72% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/patroni/config_generator.py 212 159 25% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/patroni/daemon.py 76 6 92% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/patroni/dcs/__init__.py 710 165 77% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/patroni/dcs/etcd3.py 679 156 77% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/patroni/dcs/etcd.py 603 256 58% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/patroni/dynamic_loader.py 35 7 80% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/patroni/exceptions.py 16 0 100% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/patroni/file_perm.py 47 11 77% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/patroni/global_config.py 87 4 95% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/patroni/ha.py 1359 680 50% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/patroni/log.py 235 81 66% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/patroni/postgresql/__init__.py 825 240 71% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/patroni/postgresql/available_parameters/__init__.py 24 3 88% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/patroni/postgresql/bootstrap.py 254 89 65% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/patroni/postgresql/callback_executor.py 55 8 85% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/patroni/postgresql/cancellable.py 104 41 61% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/patroni/postgresql/config.py 840 255 70% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/patroni/postgresql/connection.py 75 7 91% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/patroni/postgresql/misc.py 43 13 70% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/patroni/postgresql/mpp/__init__.py 89 12 87% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/patroni/postgresql/postmaster.py 170 92 46% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/patroni/postgresql/rewind.py 416 200 52% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/patroni/postgresql/slots.py 349 177 49% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/patroni/postgresql/sync.py 154 23 85% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/patroni/postgresql/validator.py 157 24 85% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/patroni/psycopg.py 46 19 59% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/patroni/quorum.py 182 160 12% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/patroni/request.py 58 7 88% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/patroni/tags.py 38 5 87% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/patroni/utils.py 371 124 67% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/patroni/validator.py 309 218 29% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/patroni/version.py 1 0 100% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/patroni/watchdog/__init__.py 2 0 100% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/patroni/watchdog/base.py 203 49 76% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/patroni/watchdog/linux.py 135 50 63% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/psutil/__init__.py 950 636 33% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/psutil/_common.py 422 212 50% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/psutil/_compat.py 301 264 12% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/psutil/_pslinux.py 1250 936 25% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/psutil/_psposix.py 95 41 57% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/psycopg2/__init__.py 19 3 84% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/psycopg2/_json.py 64 27 58% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/psycopg2/_range.py 269 172 36% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/psycopg2/errors.py 3 2 33% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/psycopg2/extensions.py 91 25 73% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/urllib3/__init__.py 49 15 69% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/urllib3/_base_connection.py 63 45 29% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/urllib3/_collections.py 231 120 48% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/urllib3/_request_methods.py 54 24 56% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/urllib3/_version.py 13 3 77% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/urllib3/connection.py 389 138 65% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/urllib3/connectionpool.py 344 127 63% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/urllib3/contrib/__init__.py 0 0 100% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py 263 103 61% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/urllib3/exceptions.py 121 39 68% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/urllib3/fields.py 92 73 21% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/urllib3/filepost.py 37 24 35% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/urllib3/http2/__init__.py 28 21 25% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/urllib3/http2/probe.py 49 31 37% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/urllib3/poolmanager.py 233 85 64% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/urllib3/response.py 634 350 45% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/urllib3/util/__init__.py 10 0 100% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/urllib3/util/connection.py 66 42 36% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/urllib3/util/proxy.py 13 6 54% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/urllib3/util/request.py 104 49 53% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/urllib3/util/response.py 32 15 53% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/urllib3/util/retry.py 174 54 69% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/urllib3/util/ssl_.py 172 74 57% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/urllib3/util/ssl_match_hostname.py 66 54 18% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/urllib3/util/ssltransport.py 152 106 30% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/urllib3/util/timeout.py 71 14 80% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/urllib3/util/url.py 203 70 66% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/urllib3/util/util.py 26 10 62% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/urllib3/util/wait.py 49 18 63% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/yaml/__init__.py 165 109 34% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/yaml/composer.py 92 17 82% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/yaml/constructor.py 479 276 42% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/yaml/cyaml.py 46 24 48% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/yaml/dumper.py 23 12 48% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/yaml/emitter.py 838 769 8% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/yaml/error.py 58 42 28% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/yaml/events.py 61 6 90% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/yaml/loader.py 47 24 49% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/yaml/nodes.py 29 7 76% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/yaml/parser.py 352 198 44% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/yaml/reader.py 122 34 72% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/yaml/representer.py 248 176 29% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/yaml/resolver.py 135 76 44% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/yaml/scanner.py 758 437 42% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/yaml/serializer.py 85 70 18% 968s Mar 22 13:21:49 /usr/lib/python3/dist-packages/yaml/tokens.py 76 17 78% 968s Mar 22 13:21:49 patroni/__init__.py 13 2 85% 968s Mar 22 13:21:49 patroni/__main__.py 201 201 0% 968s Mar 22 13:21:49 patroni/api.py 788 788 0% 968s Mar 22 13:21:49 patroni/async_executor.py 96 69 28% 968s Mar 22 13:21:49 patroni/collections.py 56 15 73% 968s Mar 22 13:21:49 patroni/config.py 357 186 48% 968s Mar 22 13:21:49 patroni/config_generator.py 212 212 0% 968s Mar 22 13:21:49 patroni/ctl.py 936 661 29% 968s Mar 22 13:21:49 patroni/daemon.py 76 76 0% 968s Mar 22 13:21:49 patroni/dcs/__init__.py 710 357 50% 968s Mar 22 13:21:49 patroni/dcs/consul.py 482 482 0% 968s Mar 22 13:21:49 patroni/dcs/etcd3.py 679 362 47% 968s Mar 22 13:21:49 patroni/dcs/etcd.py 603 282 53% 968s Mar 22 13:21:49 patroni/dcs/exhibitor.py 62 62 0% 968s Mar 22 13:21:49 patroni/dcs/kubernetes.py 943 943 0% 968s Mar 22 13:21:49 patroni/dcs/raft.py 319 319 0% 968s Mar 22 13:21:49 patroni/dcs/zookeeper.py 289 289 0% 968s Mar 22 13:21:49 patroni/dynamic_loader.py 35 7 80% 968s Mar 22 13:21:49 patroni/exceptions.py 16 1 94% 968s Mar 22 13:21:49 patroni/file_perm.py 47 17 64% 968s Mar 22 13:21:49 patroni/global_config.py 87 25 71% 968s Mar 22 13:21:49 patroni/ha.py 1359 1359 0% 968s Mar 22 13:21:49 patroni/log.py 235 183 22% 968s Mar 22 13:21:49 patroni/postgresql/__init__.py 825 653 21% 968s Mar 22 13:21:49 patroni/postgresql/available_parameters/__init__.py 24 3 88% 968s Mar 22 13:21:49 patroni/postgresql/bootstrap.py 254 224 12% 968s Mar 22 13:21:49 patroni/postgresql/callback_executor.py 55 34 38% 968s Mar 22 13:21:49 patroni/postgresql/cancellable.py 104 84 19% 968s Mar 22 13:21:49 patroni/postgresql/config.py 840 720 14% 968s Mar 22 13:21:49 patroni/postgresql/connection.py 75 50 33% 968s Mar 22 13:21:49 patroni/postgresql/misc.py 43 30 30% 968s Mar 22 13:21:49 patroni/postgresql/mpp/__init__.py 89 21 76% 968s Mar 22 13:21:49 patroni/postgresql/mpp/citus.py 366 366 0% 968s Mar 22 13:21:49 patroni/postgresql/postmaster.py 170 139 18% 968s Mar 22 13:21:49 patroni/postgresql/rewind.py 416 416 0% 968s Mar 22 13:21:49 patroni/postgresql/slots.py 349 300 14% 968s Mar 22 13:21:49 patroni/postgresql/sync.py 154 114 26% 968s Mar 22 13:21:49 patroni/postgresql/validator.py 157 52 67% 968s Mar 22 13:21:49 patroni/psycopg.py 46 32 30% 968s Mar 22 13:21:49 patroni/quorum.py 182 182 0% 968s Mar 22 13:21:49 patroni/raft_controller.py 22 22 0% 968s Mar 22 13:21:49 patroni/request.py 58 6 90% 968s Mar 22 13:21:49 patroni/scripts/__init__.py 0 0 100% 968s Mar 22 13:21:49 patroni/scripts/aws.py 59 59 0% 968s Mar 22 13:21:49 patroni/scripts/barman/__init__.py 0 0 100% 968s Mar 22 13:21:49 patroni/scripts/barman/cli.py 50 50 0% 968s Mar 22 13:21:49 patroni/scripts/barman/config_switch.py 50 50 0% 968s Mar 22 13:21:49 patroni/scripts/barman/recover.py 36 36 0% 968s Mar 22 13:21:49 patroni/scripts/barman/utils.py 93 93 0% 968s Mar 22 13:21:49 patroni/scripts/wale_restore.py 207 207 0% 968s Mar 22 13:21:49 patroni/tags.py 38 15 61% 968s Mar 22 13:21:49 patroni/utils.py 371 237 36% 968s Mar 22 13:21:49 patroni/validator.py 309 222 28% 968s Mar 22 13:21:49 patroni/version.py 1 0 100% 968s Mar 22 13:21:49 patroni/watchdog/__init__.py 2 2 0% 968s Mar 22 13:21:49 patroni/watchdog/base.py 203 203 0% 968s Mar 22 13:21:49 patroni/watchdog/linux.py 135 135 0% 968s Mar 22 13:21:49 ------------------------------------------------------------------------------------------------------------- 968s Mar 22 13:21:49 TOTAL 54417 34426 37% 968s Mar 22 13:21:49 1 feature passed, 0 failed, 0 skipped 968s Mar 22 13:21:49 7 scenarios passed, 0 failed, 0 skipped 968s Mar 22 13:21:49 68 steps passed, 0 failed, 0 skipped, 0 undefined 968s Mar 22 13:21:49 Took 1m22.148s 968s + bash -c 'rm -rf features/output' 968s + echo '### End 17 acceptance-etcd3 features/basic_replication.feature ###' 968s + rm -f /tmp/pgpass_postgres-0 /tmp/pgpass_postgres-1 /tmp/pgpass_postgres-2 968s ### End 17 acceptance-etcd3 features/basic_replication.feature ### 968s ++ id -u 968s + '[' 1000 -eq 0 ']' 969s autopkgtest [13:21:50]: test acceptance-etcd3-basic: -----------------------] 969s autopkgtest [13:21:50]: test acceptance-etcd3-basic: - - - - - - - - - - results - - - - - - - - - - 969s acceptance-etcd3-basic PASS 970s autopkgtest [13:21:51]: test acceptance-etcd3: preparing testbed 971s Reading package lists... 971s Building dependency tree... 971s Reading state information... 971s Starting pkgProblemResolver with broken count: 0 972s Starting 2 pkgProblemResolver with broken count: 0 972s Done 972s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 974s autopkgtest [13:21:54]: test acceptance-etcd3: debian/tests/acceptance etcd3 974s autopkgtest [13:21:54]: test acceptance-etcd3: [----------------------- 974s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 974s ++ ls -1r /usr/lib/postgresql/ 974s + for PG_VERSION in $(ls -1r /usr/lib/postgresql/) 974s + '[' 17 == 10 -o 17 == 11 ']' 974s + echo '### PostgreSQL 17 acceptance-etcd3 ###' 974s + bash -c 'set -o pipefail; ETCD_UNSUPPORTED_ARCH=arm64 DCS=etcd3 PATH=/usr/lib/postgresql/17/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin behave | ts' 974s ### PostgreSQL 17 acceptance-etcd3 ### 975s Mar 22 13:21:56 Feature: basic replication # features/basic_replication.feature:1 975s Mar 22 13:21:56 We should check that the basic bootstrapping, replication and failover works. 975s Mar 22 13:21:56 Scenario: check replication of a single table # features/basic_replication.feature:4 975s Mar 22 13:21:56 Given I start postgres-0 # features/steps/basic_replication.py:20 979s Mar 22 13:22:00 Then postgres-0 is a leader after 10 seconds # features/steps/patroni_api.py:31 979s Mar 22 13:22:00 And there is a non empty initialize key in DCS after 15 seconds # features/steps/cascading_replication.py:41 979s Mar 22 13:22:00 When I issue a PATCH request to http://127.0.0.1:8008/config with {"ttl": 20, "synchronous_mode": true} # features/steps/patroni_api.py:73 979s Mar 22 13:22:00 Then I receive a response code 200 # features/steps/patroni_api.py:100 979s Mar 22 13:22:00 When I start postgres-1 # features/steps/basic_replication.py:20 983s Mar 22 13:22:04 And I configure and start postgres-2 with a tag replicatefrom postgres-0 # features/steps/cascading_replication.py:7 987s Mar 22 13:22:08 And "sync" key in DCS has leader=postgres-0 after 20 seconds # features/steps/cascading_replication.py:23 987s Mar 22 13:22:08 And I add the table foo to postgres-0 # features/steps/basic_replication.py:66 987s Mar 22 13:22:08 Then table foo is present on postgres-1 after 20 seconds # features/steps/basic_replication.py:105 988s Mar 22 13:22:09 Then table foo is present on postgres-2 after 20 seconds # features/steps/basic_replication.py:105 988s Mar 22 13:22:09 988s Mar 22 13:22:09 Scenario: check restart of sync replica # features/basic_replication.feature:17 988s Mar 22 13:22:09 Given I shut down postgres-2 # features/steps/basic_replication.py:41 989s Mar 22 13:22:10 Then "sync" key in DCS has sync_standby=postgres-1 after 5 seconds # features/steps/cascading_replication.py:23 989s Mar 22 13:22:10 When I start postgres-2 # features/steps/basic_replication.py:20 994s Mar 22 13:22:14 And I shut down postgres-1 # features/steps/basic_replication.py:41 997s Mar 22 13:22:17 Then "sync" key in DCS has sync_standby=postgres-2 after 10 seconds # features/steps/cascading_replication.py:23 998s Mar 22 13:22:18 When I start postgres-1 # features/steps/basic_replication.py:20 1002s Mar 22 13:22:23 Then "members/postgres-1" key in DCS has state=running after 10 seconds # features/steps/cascading_replication.py:23 1002s Mar 22 13:22:23 And Status code on GET http://127.0.0.1:8010/sync is 200 after 3 seconds # features/steps/patroni_api.py:144 1002s Mar 22 13:22:23 And Status code on GET http://127.0.0.1:8009/async is 200 after 3 seconds # features/steps/patroni_api.py:144 1002s Mar 22 13:22:23 1002s Mar 22 13:22:23 Scenario: check stuck sync replica # features/basic_replication.feature:28 1002s Mar 22 13:22:23 Given I issue a PATCH request to http://127.0.0.1:8008/config with {"pause": true, "maximum_lag_on_syncnode": 15000000, "postgresql": {"parameters": {"synchronous_commit": "remote_apply"}}} # features/steps/patroni_api.py:73 1002s Mar 22 13:22:23 Then I receive a response code 200 # features/steps/patroni_api.py:100 1002s Mar 22 13:22:23 And I create table on postgres-0 # features/steps/basic_replication.py:85 1002s Mar 22 13:22:23 And table mytest is present on postgres-1 after 2 seconds # features/steps/basic_replication.py:105 1003s Mar 22 13:22:24 And table mytest is present on postgres-2 after 2 seconds # features/steps/basic_replication.py:105 1003s Mar 22 13:22:24 When I pause wal replay on postgres-2 # features/steps/basic_replication.py:76 1003s Mar 22 13:22:24 And I load data on postgres-0 # features/steps/basic_replication.py:96 1004s Mar 22 13:22:25 Then "sync" key in DCS has sync_standby=postgres-1 after 15 seconds # features/steps/cascading_replication.py:23 1007s Mar 22 13:22:28 And I resume wal replay on postgres-2 # features/steps/basic_replication.py:76 1007s Mar 22 13:22:28 And Status code on GET http://127.0.0.1:8009/sync is 200 after 3 seconds # features/steps/patroni_api.py:144 1007s Mar 22 13:22:28 And Status code on GET http://127.0.0.1:8010/async is 200 after 3 seconds # features/steps/patroni_api.py:144 1007s Mar 22 13:22:28 When I issue a PATCH request to http://127.0.0.1:8008/config with {"pause": null, "maximum_lag_on_syncnode": -1, "postgresql": {"parameters": {"synchronous_commit": "on"}}} # features/steps/patroni_api.py:73 1007s Mar 22 13:22:28 Then I receive a response code 200 # features/steps/patroni_api.py:100 1007s Mar 22 13:22:28 And I drop table on postgres-0 # features/steps/basic_replication.py:85 1007s Mar 22 13:22:28 1007s Mar 22 13:22:28 Scenario: check multi sync replication # features/basic_replication.feature:44 1007s Mar 22 13:22:28 Given I issue a PATCH request to http://127.0.0.1:8008/config with {"synchronous_node_count": 2} # features/steps/patroni_api.py:73 1007s Mar 22 13:22:28 Then I receive a response code 200 # features/steps/patroni_api.py:100 1007s Mar 22 13:22:28 Then "sync" key in DCS has sync_standby=postgres-1,postgres-2 after 10 seconds # features/steps/cascading_replication.py:23 1011s Mar 22 13:22:32 And Status code on GET http://127.0.0.1:8010/sync is 200 after 3 seconds # features/steps/patroni_api.py:144 1011s Mar 22 13:22:32 And Status code on GET http://127.0.0.1:8009/sync is 200 after 3 seconds # features/steps/patroni_api.py:144 1011s Mar 22 13:22:32 When I issue a PATCH request to http://127.0.0.1:8008/config with {"synchronous_node_count": 1} # features/steps/patroni_api.py:73 1011s Mar 22 13:22:32 Then I receive a response code 200 # features/steps/patroni_api.py:100 1011s Mar 22 13:22:32 And I shut down postgres-1 # features/steps/basic_replication.py:41 1014s Mar 22 13:22:35 Then "sync" key in DCS has sync_standby=postgres-2 after 10 seconds # features/steps/cascading_replication.py:23 1015s Mar 22 13:22:36 When I start postgres-1 # features/steps/basic_replication.py:20 1018s Mar 22 13:22:39 Then "members/postgres-1" key in DCS has state=running after 10 seconds # features/steps/cascading_replication.py:23 1019s Mar 22 13:22:40 And Status code on GET http://127.0.0.1:8010/sync is 200 after 3 seconds # features/steps/patroni_api.py:144 1019s Mar 22 13:22:40 And Status code on GET http://127.0.0.1:8009/async is 200 after 3 seconds # features/steps/patroni_api.py:144 1019s Mar 22 13:22:40 1019s Mar 22 13:22:40 Scenario: check the basic failover in synchronous mode # features/basic_replication.feature:59 1019s Mar 22 13:22:40 Given I run patronictl.py pause batman # features/steps/patroni_api.py:88 1021s Mar 22 13:22:42 Then I receive a response returncode 0 # features/steps/patroni_api.py:100 1021s Mar 22 13:22:42 When I sleep for 2 seconds # features/steps/patroni_api.py:41 1023s Mar 22 13:22:44 And I shut down postgres-0 # features/steps/basic_replication.py:41 1024s Mar 22 13:22:45 And I run patronictl.py resume batman # features/steps/patroni_api.py:88 1025s Mar 22 13:22:46 Then I receive a response returncode 0 # features/steps/patroni_api.py:100 1025s Mar 22 13:22:46 And postgres-2 role is the primary after 24 seconds # features/steps/basic_replication.py:117 1044s Mar 22 13:23:05 And Response on GET http://127.0.0.1:8010/history contains recovery after 10 seconds # features/steps/patroni_api.py:158 1047s Mar 22 13:23:08 And there is a postgres-2_cb.log with "on_role_change primary batman" in postgres-2 data directory # features/steps/cascading_replication.py:12 1047s Mar 22 13:23:08 When I issue a PATCH request to http://127.0.0.1:8010/config with {"synchronous_mode": null, "master_start_timeout": 0} # features/steps/patroni_api.py:73 1047s Mar 22 13:23:08 Then I receive a response code 200 # features/steps/patroni_api.py:100 1047s Mar 22 13:23:08 When I add the table bar to postgres-2 # features/steps/basic_replication.py:66 1048s Mar 22 13:23:09 Then table bar is present on postgres-1 after 20 seconds # features/steps/basic_replication.py:105 1048s Mar 22 13:23:09 And Response on GET http://127.0.0.1:8010/config contains master_start_timeout after 10 seconds # features/steps/patroni_api.py:158 1048s Mar 22 13:23:09 1048s Mar 22 13:23:09 Scenario: check rejoin of the former primary with pg_rewind # features/basic_replication.feature:75 1048s Mar 22 13:23:09 Given I add the table splitbrain to postgres-0 # features/steps/basic_replication.py:66 1048s Mar 22 13:23:09 And I start postgres-0 # features/steps/basic_replication.py:20 1048s Mar 22 13:23:09 Then postgres-0 role is the secondary after 20 seconds # features/steps/basic_replication.py:117 1052s Mar 22 13:23:13 When I add the table buz to postgres-2 # features/steps/basic_replication.py:66 1052s Mar 22 13:23:13 Then table buz is present on postgres-0 after 20 seconds # features/steps/basic_replication.py:105 1055s Mar 22 13:23:16 1055s Mar 22 13:23:16 @reject-duplicate-name 1055s Mar 22 13:23:16 Scenario: check graceful rejection when two nodes have the same name # features/basic_replication.feature:83 1055s Mar 22 13:23:16 Given I start duplicate postgres-0 on port 8011 # features/steps/basic_replication.py:25 1057s Mar 22 13:23:18 Then there is one of ["Can't start; there is already a node named 'postgres-0' running"] CRITICAL in the dup-postgres-0 patroni log after 5 seconds # features/steps/basic_replication.py:133 1061s Mar 22 13:23:22 1061s Mar 22 13:23:22 Feature: cascading replication # features/cascading_replication.feature:1 1061s Mar 22 13:23:22 We should check that patroni can do base backup and streaming from the replica 1061s Mar 22 13:23:22 Scenario: check a base backup and streaming replication from a replica # features/cascading_replication.feature:4 1061s Mar 22 13:23:22 Given I start postgres-0 # features/steps/basic_replication.py:20 1064s Mar 22 13:23:25 And postgres-0 is a leader after 10 seconds # features/steps/patroni_api.py:31 1064s Mar 22 13:23:25 And I configure and start postgres-1 with a tag clonefrom true # features/steps/cascading_replication.py:7 1067s Mar 22 13:23:28 And replication works from postgres-0 to postgres-1 after 20 seconds # features/steps/basic_replication.py:124 1068s Mar 22 13:23:29 And I create label with "postgres-0" in postgres-0 data directory # features/steps/cascading_replication.py:18 1068s Mar 22 13:23:29 And I create label with "postgres-1" in postgres-1 data directory # features/steps/cascading_replication.py:18 1068s Mar 22 13:23:29 And "members/postgres-1" key in DCS has state=running after 12 seconds # features/steps/cascading_replication.py:23 1068s Mar 22 13:23:29 And I configure and start postgres-2 with a tag replicatefrom postgres-1 # features/steps/cascading_replication.py:7 1071s Mar 22 13:23:32 Then replication works from postgres-0 to postgres-2 after 30 seconds # features/steps/basic_replication.py:124 1072s Mar 22 13:23:33 And there is a label with "postgres-1" in postgres-2 data directory # features/steps/cascading_replication.py:12 1077s Mar 22 13:23:38 1077s SKIP FEATURE citus: Citus extension isn't available 1077s SKIP Scenario check that worker cluster is registered in the coordinator: Citus extension isn't available 1077s SKIP Scenario coordinator failover updates pg_dist_node: Citus extension isn't available 1077s SKIP Scenario worker switchover doesn't break client queries on the coordinator: Citus extension isn't available 1077s SKIP Scenario worker primary restart doesn't break client queries on the coordinator: Citus extension isn't available 1077s SKIP Scenario check that in-flight transaction is rolled back after timeout when other workers need to change pg_dist_node: Citus extension isn't available 1077s Mar 22 13:23:38 Feature: citus # features/citus.feature:1 1077s Mar 22 13:23:38 We should check that coordinator discovers and registers workers and clients don't have errors when worker cluster switches over 1077s Mar 22 13:23:38 Scenario: check that worker cluster is registered in the coordinator # features/citus.feature:4 1077s Mar 22 13:23:38 Given I start postgres-0 in citus group 0 # None 1077s Mar 22 13:23:38 And I start postgres-2 in citus group 1 # None 1077s Mar 22 13:23:38 Then postgres-0 is a leader in a group 0 after 10 seconds # None 1077s Mar 22 13:23:38 And postgres-2 is a leader in a group 1 after 10 seconds # None 1077s Mar 22 13:23:38 When I start postgres-1 in citus group 0 # None 1077s Mar 22 13:23:38 And I start postgres-3 in citus group 1 # None 1077s Mar 22 13:23:38 Then replication works from postgres-0 to postgres-1 after 15 seconds # None 1077s Mar 22 13:23:38 Then replication works from postgres-2 to postgres-3 after 15 seconds # None 1077s Mar 22 13:23:38 And postgres-0 is registered in the postgres-0 as the primary in group 0 after 5 seconds # None 1077s Mar 22 13:23:38 And postgres-1 is registered in the postgres-0 as the secondary in group 0 after 5 seconds # None 1077s Mar 22 13:23:38 And postgres-2 is registered in the postgres-0 as the primary in group 1 after 5 seconds # None 1077s Mar 22 13:23:38 And postgres-3 is registered in the postgres-0 as the secondary in group 1 after 5 seconds # None 1077s Mar 22 13:23:38 1077s Mar 22 13:23:38 Scenario: coordinator failover updates pg_dist_node # features/citus.feature:18 1077s Mar 22 13:23:38 Given I run patronictl.py failover batman --group 0 --candidate postgres-1 --force # None 1077s Mar 22 13:23:38 Then postgres-1 role is the primary after 10 seconds # None 1077s Mar 22 13:23:38 And "members/postgres-0" key in a group 0 in DCS has state=running after 15 seconds # None 1077s Mar 22 13:23:38 And replication works from postgres-1 to postgres-0 after 15 seconds # None 1077s Mar 22 13:23:38 And postgres-1 is registered in the postgres-2 as the primary in group 0 after 5 seconds # None 1077s Mar 22 13:23:38 And postgres-0 is registered in the postgres-2 as the secondary in group 0 after 15 seconds # None 1077s Mar 22 13:23:38 And "sync" key in a group 0 in DCS has sync_standby=postgres-0 after 15 seconds # None 1077s Mar 22 13:23:38 When I run patronictl.py switchover batman --group 0 --candidate postgres-0 --force # None 1077s Mar 22 13:23:38 Then postgres-0 role is the primary after 10 seconds # None 1077s Mar 22 13:23:38 And replication works from postgres-0 to postgres-1 after 15 seconds # None 1077s Mar 22 13:23:38 And postgres-0 is registered in the postgres-2 as the primary in group 0 after 5 seconds # None 1077s Mar 22 13:23:38 And postgres-1 is registered in the postgres-2 as the secondary in group 0 after 15 seconds # None 1077s Mar 22 13:23:38 And "sync" key in a group 0 in DCS has sync_standby=postgres-1 after 15 seconds # None 1077s Mar 22 13:23:38 1077s Mar 22 13:23:38 Scenario: worker switchover doesn't break client queries on the coordinator # features/citus.feature:33 1077s Mar 22 13:23:38 Given I create a distributed table on postgres-0 # None 1077s Mar 22 13:23:38 And I start a thread inserting data on postgres-0 # None 1077s Mar 22 13:23:38 When I run patronictl.py switchover batman --group 1 --force # None 1077s Mar 22 13:23:38 Then I receive a response returncode 0 # None 1077s Mar 22 13:23:38 And postgres-3 role is the primary after 10 seconds # None 1077s Mar 22 13:23:38 And "members/postgres-2" key in a group 1 in DCS has state=running after 15 seconds # None 1077s Mar 22 13:23:38 And replication works from postgres-3 to postgres-2 after 15 seconds # None 1077s Mar 22 13:23:38 And postgres-3 is registered in the postgres-0 as the primary in group 1 after 5 seconds # None 1077s Mar 22 13:23:38 And postgres-2 is registered in the postgres-0 as the secondary in group 1 after 15 seconds # None 1077s Mar 22 13:23:38 And "sync" key in a group 1 in DCS has sync_standby=postgres-2 after 15 seconds # None 1077s Mar 22 13:23:38 And a thread is still alive # None 1077s Mar 22 13:23:38 When I run patronictl.py switchover batman --group 1 --force # None 1077s Mar 22 13:23:38 Then I receive a response returncode 0 # None 1077s Mar 22 13:23:38 And postgres-2 role is the primary after 10 seconds # None 1077s Mar 22 13:23:38 And replication works from postgres-2 to postgres-3 after 15 seconds # None 1077s Mar 22 13:23:38 And postgres-2 is registered in the postgres-0 as the primary in group 1 after 5 seconds # None 1077s Mar 22 13:23:38 And postgres-3 is registered in the postgres-0 as the secondary in group 1 after 15 seconds # None 1077s Mar 22 13:23:38 And "sync" key in a group 1 in DCS has sync_standby=postgres-3 after 15 seconds # None 1077s Mar 22 13:23:38 And a thread is still alive # None 1077s Mar 22 13:23:38 When I stop a thread # None 1077s Mar 22 13:23:38 Then a distributed table on postgres-0 has expected rows # None 1077s Mar 22 13:23:38 1077s Mar 22 13:23:38 Scenario: worker primary restart doesn't break client queries on the coordinator # features/citus.feature:56 1077s Mar 22 13:23:38 Given I cleanup a distributed table on postgres-0 # None 1077s Mar 22 13:23:38 And I start a thread inserting data on postgres-0 # None 1077s Mar 22 13:23:38 When I run patronictl.py restart batman postgres-2 --group 1 --force # None 1077s Mar 22 13:23:38 Then I receive a response returncode 0 # None 1077s Mar 22 13:23:38 And postgres-2 role is the primary after 10 seconds # None 1077s Mar 22 13:23:38 And replication works from postgres-2 to postgres-3 after 15 seconds # None 1077s Mar 22 13:23:38 And postgres-2 is registered in the postgres-0 as the primary in group 1 after 5 seconds # None 1077s Mar 22 13:23:38 And postgres-3 is registered in the postgres-0 as the secondary in group 1 after 15 seconds # None 1077s Mar 22 13:23:38 And a thread is still alive # None 1077s Mar 22 13:23:38 When I stop a thread # None 1077s Mar 22 13:23:38 Then a distributed table on postgres-0 has expected rows # None 1077s Mar 22 13:23:38 1077s Mar 22 13:23:38 Scenario: check that in-flight transaction is rolled back after timeout when other workers need to change pg_dist_node # features/citus.feature:69 1077s Mar 22 13:23:38 Given I start postgres-4 in citus group 2 # None 1077s Mar 22 13:23:38 Then postgres-4 is a leader in a group 2 after 10 seconds # None 1077s Mar 22 13:23:38 And "members/postgres-4" key in a group 2 in DCS has role=primary after 3 seconds # None 1077s Mar 22 13:23:38 When I run patronictl.py edit-config batman --group 2 -s ttl=20 --force # None 1077s Mar 22 13:23:38 Then I receive a response returncode 0 # None 1077s Mar 22 13:23:38 And I receive a response output "+ttl: 20" # None 1077s Mar 22 13:23:38 Then postgres-4 is registered in the postgres-2 as the primary in group 2 after 5 seconds # None 1077s Mar 22 13:23:38 When I shut down postgres-4 # None 1077s Mar 22 13:23:38 Then there is a transaction in progress on postgres-0 changing pg_dist_node after 5 seconds # None 1077s Mar 22 13:23:38 When I run patronictl.py restart batman postgres-2 --group 1 --force # None 1077s Mar 22 13:23:38 Then a transaction finishes in 20 seconds # None 1077s Mar 22 13:23:38 1077s Mar 22 13:23:38 Feature: custom bootstrap # features/custom_bootstrap.feature:1 1077s Mar 22 13:23:38 We should check that patroni can bootstrap a new cluster from a backup 1077s Mar 22 13:23:38 Scenario: clone existing cluster using pg_basebackup # features/custom_bootstrap.feature:4 1077s Mar 22 13:23:38 Given I start postgres-0 # features/steps/basic_replication.py:20 1080s Mar 22 13:23:41 Then postgres-0 is a leader after 10 seconds # features/steps/patroni_api.py:31 1081s Mar 22 13:23:42 When I add the table foo to postgres-0 # features/steps/basic_replication.py:66 1081s Mar 22 13:23:42 And I start postgres-1 in a cluster batman1 as a clone of postgres-0 # features/steps/custom_bootstrap.py:6 1085s Mar 22 13:23:46 Then postgres-1 is a leader of batman1 after 10 seconds # features/steps/custom_bootstrap.py:16 1086s Mar 22 13:23:47 Then table foo is present on postgres-1 after 10 seconds # features/steps/basic_replication.py:105 1086s Mar 22 13:23:47 1086s Mar 22 13:23:47 Scenario: make a backup and do a restore into a new cluster # features/custom_bootstrap.feature:12 1086s Mar 22 13:23:47 Given I add the table bar to postgres-1 # features/steps/basic_replication.py:66 1086s Mar 22 13:23:47 And I do a backup of postgres-1 # features/steps/custom_bootstrap.py:25 1087s Mar 22 13:23:48 When I start postgres-2 in a cluster batman2 from backup # features/steps/custom_bootstrap.py:11 1092s Mar 22 13:23:53 Then postgres-2 is a leader of batman2 after 30 seconds # features/steps/custom_bootstrap.py:16 1092s Mar 22 13:23:53 And table bar is present on postgres-2 after 10 seconds # features/steps/basic_replication.py:105 1098s Mar 22 13:23:59 1098s Mar 22 13:23:59 Feature: dcs failsafe mode # features/dcs_failsafe_mode.feature:1 1098s Mar 22 13:23:59 We should check the basic dcs failsafe mode functioning 1098s Mar 22 13:23:59 Scenario: check failsafe mode can be successfully enabled # features/dcs_failsafe_mode.feature:4 1098s Mar 22 13:23:59 Given I start postgres-0 # features/steps/basic_replication.py:20 1101s Mar 22 13:24:02 And postgres-0 is a leader after 10 seconds # features/steps/patroni_api.py:31 1101s Mar 22 13:24:02 Then "config" key in DCS has ttl=30 after 10 seconds # features/steps/cascading_replication.py:23 1101s Mar 22 13:24:02 When I issue a PATCH request to http://127.0.0.1:8008/config with {"loop_wait": 2, "ttl": 20, "retry_timeout": 3, "failsafe_mode": true} # features/steps/patroni_api.py:73 1101s Mar 22 13:24:02 Then I receive a response code 200 # features/steps/patroni_api.py:100 1101s Mar 22 13:24:02 And Response on GET http://127.0.0.1:8008/failsafe contains postgres-0 after 10 seconds # features/steps/patroni_api.py:158 1102s Mar 22 13:24:03 When I issue a GET request to http://127.0.0.1:8008/failsafe # features/steps/patroni_api.py:63 1102s Mar 22 13:24:03 Then I receive a response code 200 # features/steps/patroni_api.py:100 1102s Mar 22 13:24:03 And I receive a response postgres-0 http://127.0.0.1:8008/patroni # features/steps/patroni_api.py:100 1102s Mar 22 13:24:03 When I issue a PATCH request to http://127.0.0.1:8008/config with {"postgresql": {"parameters": {"wal_level": "logical"}},"slots":{"dcs_slot_1": null,"postgres_0":null}} # features/steps/patroni_api.py:73 1102s Mar 22 13:24:03 Then I receive a response code 200 # features/steps/patroni_api.py:100 1102s Mar 22 13:24:03 When I issue a PATCH request to http://127.0.0.1:8008/config with {"slots": {"dcs_slot_0": {"type": "logical", "database": "postgres", "plugin": "test_decoding"}}} # features/steps/patroni_api.py:73 1102s SKIP Scenario check one-node cluster is functioning while DCS is down: it is not possible to control state of etcd3 from tests 1102s SKIP Scenario check new replica isn't promoted when leader is down and DCS is up: it is not possible to control state of etcd3 from tests 1102s Mar 22 13:24:03 Then I receive a response code 200 # features/steps/patroni_api.py:100 1102s Mar 22 13:24:03 1102s Mar 22 13:24:03 @dcs-failsafe 1102s Mar 22 13:24:03 Scenario: check one-node cluster is functioning while DCS is down # features/dcs_failsafe_mode.feature:20 1102s Mar 22 13:24:03 Given DCS is down # None 1102s Mar 22 13:24:03 Then Response on GET http://127.0.0.1:8008/primary contains failsafe_mode_is_active after 12 seconds # None 1102s Mar 22 13:24:03 And postgres-0 role is the primary after 10 seconds # None 1102s Mar 22 13:24:03 1102s Mar 22 13:24:03 @dcs-failsafe 1102s Mar 22 13:24:03 Scenario: check new replica isn't promoted when leader is down and DCS is up # features/dcs_failsafe_mode.feature:26 1102s Mar 22 13:24:03 Given DCS is up # None 1102s Mar 22 13:24:03 When I do a backup of postgres-0 # None 1102s Mar 22 13:24:03 And I shut down postgres-0 # None 1102s Mar 22 13:24:03 When I start postgres-1 in a cluster batman from backup with no_leader # None 1102s Mar 22 13:24:03 Then postgres-1 role is the replica after 12 seconds # None 1102s Mar 22 13:24:03 1102s Mar 22 13:24:03 Scenario: check leader and replica are both in /failsafe key after leader is back # features/dcs_failsafe_mode.feature:33 1102s Mar 22 13:24:03 Given I start postgres-0 # features/steps/basic_replication.py:20 1102s Mar 22 13:24:03 And I start postgres-1 # features/steps/basic_replication.py:20 1106s Mar 22 13:24:07 Then "members/postgres-0" key in DCS has state=running after 10 seconds # features/steps/cascading_replication.py:23 1106s Mar 22 13:24:07 And "members/postgres-1" key in DCS has state=running after 2 seconds # features/steps/cascading_replication.py:23 1106s Mar 22 13:24:07 And Response on GET http://127.0.0.1:8009/failsafe contains postgres-1 after 10 seconds # features/steps/patroni_api.py:158 1106s Mar 22 13:24:07 When I issue a GET request to http://127.0.0.1:8009/failsafe # features/steps/patroni_api.py:63 1107s Mar 22 13:24:08 Then I receive a response code 200 # features/steps/patroni_api.py:100 1107s Mar 22 13:24:08 And I receive a response postgres-0 http://127.0.0.1:8008/patroni # features/steps/patroni_api.py:100 1107s Mar 22 13:24:08 And I receive a response postgres-1 http://127.0.0.1:8009/patroni # features/steps/patroni_api.py:100 1107s SKIP Scenario check leader and replica are functioning while DCS is down: it is not possible to control state of etcd3 from tests 1107s SKIP Scenario check primary is demoted when one replica is shut down and DCS is down: it is not possible to control state of etcd3 from tests 1107s Mar 22 13:24:08 1107s Mar 22 13:24:08 @dcs-failsafe @slot-advance 1107s Mar 22 13:24:08 Scenario: check leader and replica are functioning while DCS is down # features/dcs_failsafe_mode.feature:46 1107s Mar 22 13:24:08 Given I get all changes from physical slot dcs_slot_1 on postgres-0 # None 1107s Mar 22 13:24:08 Then physical slot dcs_slot_1 is in sync between postgres-0 and postgres-1 after 10 seconds # None 1107s Mar 22 13:24:08 And logical slot dcs_slot_0 is in sync between postgres-0 and postgres-1 after 10 seconds # None 1107s Mar 22 13:24:08 And DCS is down # None 1107s Mar 22 13:24:08 Then Response on GET http://127.0.0.1:8008/primary contains failsafe_mode_is_active after 12 seconds # None 1107s Mar 22 13:24:08 Then postgres-0 role is the primary after 10 seconds # None 1107s Mar 22 13:24:08 And postgres-1 role is the replica after 2 seconds # None 1107s Mar 22 13:24:08 And replication works from postgres-0 to postgres-1 after 10 seconds # None 1107s Mar 22 13:24:08 When I get all changes from logical slot dcs_slot_0 on postgres-0 # None 1107s Mar 22 13:24:08 And I get all changes from physical slot dcs_slot_1 on postgres-0 # None 1107s Mar 22 13:24:08 Then logical slot dcs_slot_0 is in sync between postgres-0 and postgres-1 after 20 seconds # None 1107s Mar 22 13:24:08 And physical slot dcs_slot_1 is in sync between postgres-0 and postgres-1 after 10 seconds # None 1107s SKIP Scenario check known replica is promoted when leader is down and DCS is up: it is not possible to control state of etcd3 from tests 1107s Mar 22 13:24:08 1107s Mar 22 13:24:08 @dcs-failsafe 1107s Mar 22 13:24:08 Scenario: check primary is demoted when one replica is shut down and DCS is down # features/dcs_failsafe_mode.feature:61 1107s Mar 22 13:24:08 Given DCS is down # None 1107s Mar 22 13:24:08 And I kill postgres-1 # None 1107s Mar 22 13:24:08 And I kill postmaster on postgres-1 # None 1107s Mar 22 13:24:08 Then postgres-0 role is the replica after 12 seconds # None 1107s Mar 22 13:24:08 1107s Mar 22 13:24:08 @dcs-failsafe 1107s Mar 22 13:24:08 Scenario: check known replica is promoted when leader is down and DCS is up # features/dcs_failsafe_mode.feature:68 1107s Mar 22 13:24:08 Given I kill postgres-0 # None 1107s Mar 22 13:24:08 And I shut down postmaster on postgres-0 # None 1107s Mar 22 13:24:08 And DCS is up # None 1107s Mar 22 13:24:08 When I start postgres-1 # None 1107s Mar 22 13:24:08 Then "members/postgres-1" key in DCS has state=running after 10 seconds # None 1107s Mar 22 13:24:08 And postgres-1 role is the primary after 25 seconds # None 1107s Mar 22 13:24:08 1107s Mar 22 13:24:08 @dcs-failsafe 1107s Mar 22 13:24:08 Scenario: scale to three-node cluster # features/dcs_failsafe_mode.feature:77 1107s Mar 22 13:24:08 Given I start postgres-0 # None 1107s Mar 22 13:24:08 And I configure and start postgres-2 with a tag replicatefrom postgres-0 # None 1107s Mar 22 13:24:08 Then "members/postgres-2" key in DCS has state=running after 10 seconds # None 1107s Mar 22 13:24:08 And "members/postgres-0" key in DCS has state=running after 20 seconds # None 1107s Mar 22 13:24:08 And Response on GET http://127.0.0.1:8008/failsafe contains postgres-2 after 10 seconds # None 1107s Mar 22 13:24:08 And replication works from postgres-1 to postgres-0 after 10 seconds # None 1107s Mar 22 13:24:08 And replication works from postgres-1 to postgres-2 after 10 seconds # None 1107s SKIP Scenario scale to three-node cluster: it is not possible to control state of etcd3 from tests 1107s SKIP Scenario make sure permanent slots exist on replicas: it is not possible to control state of etcd3 from tests 1107s SKIP Scenario check three-node cluster is functioning while DCS is down: it is not possible to control state of etcd3 from tests 1107s Mar 22 13:24:08 1107s Mar 22 13:24:08 @dcs-failsafe @slot-advance 1107s Mar 22 13:24:08 Scenario: make sure permanent slots exist on replicas # features/dcs_failsafe_mode.feature:88 1107s Mar 22 13:24:08 Given I issue a PATCH request to http://127.0.0.1:8009/config with {"slots":{"dcs_slot_0":null,"dcs_slot_2":{"type":"logical","database":"postgres","plugin":"test_decoding"}}} # None 1107s Mar 22 13:24:08 Then logical slot dcs_slot_2 is in sync between postgres-1 and postgres-0 after 20 seconds # None 1107s Mar 22 13:24:08 And logical slot dcs_slot_2 is in sync between postgres-1 and postgres-2 after 20 seconds # None 1107s Mar 22 13:24:08 When I get all changes from physical slot dcs_slot_1 on postgres-1 # None 1107s Mar 22 13:24:08 Then physical slot dcs_slot_1 is in sync between postgres-1 and postgres-0 after 10 seconds # None 1107s Mar 22 13:24:08 And physical slot dcs_slot_1 is in sync between postgres-1 and postgres-2 after 10 seconds # None 1107s Mar 22 13:24:08 And physical slot postgres_0 is in sync between postgres-1 and postgres-2 after 10 seconds # None 1107s Mar 22 13:24:08 And physical slot postgres_2 is in sync between postgres-0 and postgres-1 after 10 seconds # None 1107s Mar 22 13:24:08 1107s Mar 22 13:24:08 @dcs-failsafe 1107s Mar 22 13:24:08 Scenario: check three-node cluster is functioning while DCS is down # features/dcs_failsafe_mode.feature:99 1107s Mar 22 13:24:08 Given DCS is down # None 1107s Mar 22 13:24:08 Then Response on GET http://127.0.0.1:8009/primary contains failsafe_mode_is_active after 12 seconds # None 1107s Mar 22 13:24:08 Then postgres-1 role is the primary after 10 seconds # None 1107s Mar 22 13:24:08 And postgres-0 role is the replica after 2 seconds # None 1107s Mar 22 13:24:08 And postgres-2 role is the replica after 2 seconds # None 1107s SKIP Scenario check that permanent slots are in sync between nodes while DCS is down: it is not possible to control state of etcd3 from tests 1111s Mar 22 13:24:12 1111s Mar 22 13:24:12 @dcs-failsafe @slot-advance 1111s Mar 22 13:24:12 Scenario: check that permanent slots are in sync between nodes while DCS is down # features/dcs_failsafe_mode.feature:108 1111s Mar 22 13:24:12 Given replication works from postgres-1 to postgres-0 after 10 seconds # None 1111s Mar 22 13:24:12 And replication works from postgres-1 to postgres-2 after 10 seconds # None 1111s Mar 22 13:24:12 When I get all changes from logical slot dcs_slot_2 on postgres-1 # None 1111s Mar 22 13:24:12 And I get all changes from physical slot dcs_slot_1 on postgres-1 # None 1111s Mar 22 13:24:12 Then logical slot dcs_slot_2 is in sync between postgres-1 and postgres-0 after 20 seconds # None 1111s Mar 22 13:24:12 And logical slot dcs_slot_2 is in sync between postgres-1 and postgres-2 after 20 seconds # None 1111s Mar 22 13:24:12 And physical slot dcs_slot_1 is in sync between postgres-1 and postgres-0 after 10 seconds # None 1111s Mar 22 13:24:12 And physical slot dcs_slot_1 is in sync between postgres-1 and postgres-2 after 10 seconds # None 1111s Mar 22 13:24:12 And physical slot postgres_0 is in sync between postgres-1 and postgres-2 after 10 seconds # None 1111s Mar 22 13:24:12 And physical slot postgres_2 is in sync between postgres-0 and postgres-1 after 10 seconds # None 1111s Mar 22 13:24:12 1111s Mar 22 13:24:12 Feature: ignored slots # features/ignored_slots.feature:1 1111s Mar 22 13:24:12 1111s Mar 22 13:24:12 Scenario: check ignored slots aren't removed on failover/switchover # features/ignored_slots.feature:2 1111s Mar 22 13:24:12 Given I start postgres-1 # features/steps/basic_replication.py:20 1114s Mar 22 13:24:15 Then postgres-1 is a leader after 10 seconds # features/steps/patroni_api.py:31 1115s Mar 22 13:24:16 And there is a non empty initialize key in DCS after 15 seconds # features/steps/cascading_replication.py:41 1115s Mar 22 13:24:16 When I issue a PATCH request to http://127.0.0.1:8009/config with {"ignore_slots": [{"name": "unmanaged_slot_0", "database": "postgres", "plugin": "test_decoding", "type": "logical"}, {"name": "unmanaged_slot_1", "database": "postgres", "plugin": "test_decoding"}, {"name": "unmanaged_slot_2", "database": "postgres"}, {"name": "unmanaged_slot_3"}], "postgresql": {"parameters": {"wal_level": "logical"}}} # features/steps/patroni_api.py:73 1115s Mar 22 13:24:16 Then I receive a response code 200 # features/steps/patroni_api.py:100 1115s Mar 22 13:24:16 And Response on GET http://127.0.0.1:8009/config contains ignore_slots after 10 seconds # features/steps/patroni_api.py:158 1115s Mar 22 13:24:16 When I shut down postgres-1 # features/steps/basic_replication.py:41 1117s Mar 22 13:24:18 And I start postgres-1 # features/steps/basic_replication.py:20 1120s Mar 22 13:24:21 Then postgres-1 is a leader after 10 seconds # features/steps/patroni_api.py:31 1120s Mar 22 13:24:21 And "members/postgres-1" key in DCS has role=primary after 10 seconds # features/steps/cascading_replication.py:23 1122s Mar 22 13:24:23 And postgres-1 role is the primary after 20 seconds # features/steps/basic_replication.py:117 1122s Mar 22 13:24:23 When I create a logical replication slot unmanaged_slot_0 on postgres-1 with the test_decoding plugin # features/steps/slots.py:9 1122s Mar 22 13:24:23 And I create a logical replication slot unmanaged_slot_1 on postgres-1 with the test_decoding plugin # features/steps/slots.py:9 1122s Mar 22 13:24:23 And I create a logical replication slot unmanaged_slot_2 on postgres-1 with the test_decoding plugin # features/steps/slots.py:9 1122s Mar 22 13:24:23 And I create a logical replication slot unmanaged_slot_3 on postgres-1 with the test_decoding plugin # features/steps/slots.py:9 1122s Mar 22 13:24:23 And I create a logical replication slot dummy_slot on postgres-1 with the test_decoding plugin # features/steps/slots.py:9 1122s Mar 22 13:24:23 Then postgres-1 has a logical replication slot named unmanaged_slot_0 with the test_decoding plugin after 2 seconds # features/steps/slots.py:20 1122s Mar 22 13:24:23 And postgres-1 has a logical replication slot named unmanaged_slot_1 with the test_decoding plugin after 2 seconds # features/steps/slots.py:20 1122s Mar 22 13:24:23 And postgres-1 has a logical replication slot named unmanaged_slot_2 with the test_decoding plugin after 2 seconds # features/steps/slots.py:20 1122s Mar 22 13:24:23 And postgres-1 has a logical replication slot named unmanaged_slot_3 with the test_decoding plugin after 2 seconds # features/steps/slots.py:20 1122s Mar 22 13:24:23 When I start postgres-0 # features/steps/basic_replication.py:20 1125s Mar 22 13:24:26 Then "members/postgres-0" key in DCS has role=replica after 10 seconds # features/steps/cascading_replication.py:23 1126s Mar 22 13:24:27 And postgres-0 role is the secondary after 20 seconds # features/steps/basic_replication.py:117 1126s Mar 22 13:24:27 And replication works from postgres-1 to postgres-0 after 20 seconds # features/steps/basic_replication.py:124 1127s Mar 22 13:24:28 When I shut down postgres-1 # features/steps/basic_replication.py:41 1129s Mar 22 13:24:30 Then "members/postgres-0" key in DCS has role=primary after 10 seconds # features/steps/cascading_replication.py:23 1130s Mar 22 13:24:31 When I start postgres-1 # features/steps/basic_replication.py:20 1133s Mar 22 13:24:34 Then postgres-1 role is the secondary after 20 seconds # features/steps/basic_replication.py:117 1133s Mar 22 13:24:34 And "members/postgres-1" key in DCS has role=replica after 10 seconds # features/steps/cascading_replication.py:23 1134s Mar 22 13:24:35 And I sleep for 2 seconds # features/steps/patroni_api.py:41 1136s Mar 22 13:24:37 And postgres-1 has a logical replication slot named unmanaged_slot_0 with the test_decoding plugin after 2 seconds # features/steps/slots.py:20 1136s Mar 22 13:24:37 And postgres-1 has a logical replication slot named unmanaged_slot_1 with the test_decoding plugin after 2 seconds # features/steps/slots.py:20 1136s Mar 22 13:24:37 And postgres-1 has a logical replication slot named unmanaged_slot_2 with the test_decoding plugin after 2 seconds # features/steps/slots.py:20 1136s Mar 22 13:24:37 And postgres-1 has a logical replication slot named unmanaged_slot_3 with the test_decoding plugin after 2 seconds # features/steps/slots.py:20 1136s Mar 22 13:24:37 And postgres-1 does not have a replication slot named dummy_slot # features/steps/slots.py:41 1136s Mar 22 13:24:37 When I shut down postgres-0 # features/steps/basic_replication.py:41 1138s Mar 22 13:24:39 Then "members/postgres-1" key in DCS has role=primary after 10 seconds # features/steps/cascading_replication.py:23 1139s Mar 22 13:24:40 And postgres-1 has a logical replication slot named unmanaged_slot_0 with the test_decoding plugin after 2 seconds # features/steps/slots.py:20 1139s Mar 22 13:24:40 And postgres-1 has a logical replication slot named unmanaged_slot_1 with the test_decoding plugin after 2 seconds # features/steps/slots.py:20 1139s Mar 22 13:24:40 And postgres-1 has a logical replication slot named unmanaged_slot_2 with the test_decoding plugin after 2 seconds # features/steps/slots.py:20 1139s Mar 22 13:24:40 And postgres-1 has a logical replication slot named unmanaged_slot_3 with the test_decoding plugin after 2 seconds # features/steps/slots.py:20 1141s Mar 22 13:24:42 1141s Mar 22 13:24:42 Feature: nostream node # features/nostream_node.feature:1 1141s Mar 22 13:24:42 1141s Mar 22 13:24:42 Scenario: check nostream node is recovering from archive # features/nostream_node.feature:3 1141s Mar 22 13:24:42 When I start postgres-0 # features/steps/basic_replication.py:20 1144s Mar 22 13:24:45 And I configure and start postgres-1 with a tag nostream true # features/steps/cascading_replication.py:7 1147s Mar 22 13:24:48 Then "members/postgres-1" key in DCS has replication_state=in archive recovery after 10 seconds # features/steps/cascading_replication.py:23 1148s Mar 22 13:24:49 And replication works from postgres-0 to postgres-1 after 30 seconds # features/steps/basic_replication.py:124 1153s Mar 22 13:24:54 1153s Mar 22 13:24:54 @slot-advance 1153s Mar 22 13:24:54 Scenario: check permanent logical replication slots are not copied # features/nostream_node.feature:10 1153s Mar 22 13:24:54 When I issue a PATCH request to http://127.0.0.1:8008/config with {"postgresql": {"parameters": {"wal_level": "logical"}}, "slots":{"test_logical":{"type":"logical","database":"postgres","plugin":"test_decoding"}}} # features/steps/patroni_api.py:73 1153s Mar 22 13:24:54 Then I receive a response code 200 # features/steps/patroni_api.py:100 1153s Mar 22 13:24:54 When I run patronictl.py restart batman postgres-0 --force # features/steps/patroni_api.py:88 1155s Mar 22 13:24:56 Then postgres-0 has a logical replication slot named test_logical with the test_decoding plugin after 10 seconds # features/steps/slots.py:20 1156s Mar 22 13:24:57 When I configure and start postgres-2 with a tag replicatefrom postgres-1 # features/steps/cascading_replication.py:7 1159s Mar 22 13:25:00 Then "members/postgres-2" key in DCS has replication_state=streaming after 10 seconds # features/steps/cascading_replication.py:23 1160s Mar 22 13:25:01 And postgres-1 does not have a replication slot named test_logical # features/steps/slots.py:41 1160s Mar 22 13:25:01 And postgres-2 does not have a replication slot named test_logical # features/steps/slots.py:41 1160s Mar 22 13:25:01 1160s Mar 22 13:25:01 @slot-advance 1160s Mar 22 13:25:01 Scenario: check that slots are written to the /status key # features/nostream_node.feature:21 1160s Mar 22 13:25:01 Given "status" key in DCS has postgres_0 in slots # features/steps/slots.py:118 1160s Mar 22 13:25:01 And "status" key in DCS has postgres_2 in slots # features/steps/slots.py:118 1160s Mar 22 13:25:01 Assertion Failed: status key in DCS doesn't have postgres_2 in slots 1160s Mar 22 13:25:01 1165s Mar 22 13:25:06 And "status" key in DCS has test_logical in slots # None 1165s Mar 22 13:25:06 And "status" key in DCS has test_logical in slots # None 1165s Mar 22 13:25:06 And "status" key in DCS does not have postgres_1 in slots # None 1165s Mar 22 13:25:06 1165s Mar 22 13:25:06 Feature: patroni api # features/patroni_api.feature:1 1165s Mar 22 13:25:06 We should check that patroni correctly responds to valid and not-valid API requests. 1165s Mar 22 13:25:06 Scenario: check API requests on a stand-alone server # features/patroni_api.feature:4 1165s Mar 22 13:25:06 Given I start postgres-0 # features/steps/basic_replication.py:20 1169s Mar 22 13:25:09 And postgres-0 is a leader after 10 seconds # features/steps/patroni_api.py:31 1170s Mar 22 13:25:10 When I issue a GET request to http://127.0.0.1:8008/ # features/steps/patroni_api.py:63 1170s Mar 22 13:25:11 Then I receive a response code 200 # features/steps/patroni_api.py:100 1170s Mar 22 13:25:11 And I receive a response state running # features/steps/patroni_api.py:100 1170s Mar 22 13:25:11 And I receive a response role primary # features/steps/patroni_api.py:100 1170s Mar 22 13:25:11 When I issue a GET request to http://127.0.0.1:8008/standby_leader # features/steps/patroni_api.py:63 1170s Mar 22 13:25:11 Then I receive a response code 503 # features/steps/patroni_api.py:100 1170s Mar 22 13:25:11 When I issue a GET request to http://127.0.0.1:8008/health # features/steps/patroni_api.py:63 1170s Mar 22 13:25:11 Then I receive a response code 200 # features/steps/patroni_api.py:100 1170s Mar 22 13:25:11 When I issue a GET request to http://127.0.0.1:8008/replica # features/steps/patroni_api.py:63 1170s Mar 22 13:25:11 Then I receive a response code 503 # features/steps/patroni_api.py:100 1170s Mar 22 13:25:11 When I issue a POST request to http://127.0.0.1:8008/reinitialize with {"force": true} # features/steps/patroni_api.py:73 1170s Mar 22 13:25:11 Then I receive a response code 503 # features/steps/patroni_api.py:100 1170s Mar 22 13:25:11 And I receive a response text I am the leader, can not reinitialize # features/steps/patroni_api.py:100 1170s Mar 22 13:25:11 When I run patronictl.py switchover batman --primary postgres-0 --force # features/steps/patroni_api.py:88 1171s Mar 22 13:25:12 Then I receive a response returncode 1 # features/steps/patroni_api.py:100 1171s Mar 22 13:25:12 And I receive a response output "Error: No candidates found to switchover to" # features/steps/patroni_api.py:100 1171s Mar 22 13:25:12 When I issue a POST request to http://127.0.0.1:8008/switchover with {"leader": "postgres-0"} # features/steps/patroni_api.py:73 1171s Mar 22 13:25:12 Then I receive a response code 412 # features/steps/patroni_api.py:100 1171s Mar 22 13:25:12 And I receive a response text switchover is not possible: cluster does not have members except leader # features/steps/patroni_api.py:100 1171s Mar 22 13:25:12 When I issue an empty POST request to http://127.0.0.1:8008/failover # features/steps/patroni_api.py:68 1171s Mar 22 13:25:12 Then I receive a response code 400 # features/steps/patroni_api.py:100 1171s Mar 22 13:25:12 When I issue a POST request to http://127.0.0.1:8008/failover with {"foo": "bar"} # features/steps/patroni_api.py:73 1171s Mar 22 13:25:12 Then I receive a response code 400 # features/steps/patroni_api.py:100 1171s Mar 22 13:25:12 And I receive a response text "Failover could be performed only to a specific candidate" # features/steps/patroni_api.py:100 1171s Mar 22 13:25:12 1171s Mar 22 13:25:12 Scenario: check local configuration reload # features/patroni_api.feature:32 1171s Mar 22 13:25:12 Given I add tag new_tag new_value to postgres-0 config # features/steps/patroni_api.py:139 1171s Mar 22 13:25:12 And I issue an empty POST request to http://127.0.0.1:8008/reload # features/steps/patroni_api.py:68 1171s Mar 22 13:25:12 Then I receive a response code 202 # features/steps/patroni_api.py:100 1171s Mar 22 13:25:12 1171s Mar 22 13:25:12 Scenario: check dynamic configuration change via DCS # features/patroni_api.feature:37 1171s Mar 22 13:25:12 Given I issue a PATCH request to http://127.0.0.1:8008/config with {"ttl": 20, "postgresql": {"parameters": {"max_connections": "101"}}} # features/steps/patroni_api.py:73 1171s Mar 22 13:25:12 Then I receive a response code 200 # features/steps/patroni_api.py:100 1171s Mar 22 13:25:12 And Response on GET http://127.0.0.1:8008/patroni contains pending_restart after 11 seconds # features/steps/patroni_api.py:158 1175s Mar 22 13:25:16 When I issue a GET request to http://127.0.0.1:8008/config # features/steps/patroni_api.py:63 1175s Mar 22 13:25:16 Then I receive a response code 200 # features/steps/patroni_api.py:100 1175s Mar 22 13:25:16 And I receive a response ttl 20 # features/steps/patroni_api.py:100 1175s Mar 22 13:25:16 When I issue a GET request to http://127.0.0.1:8008/patroni # features/steps/patroni_api.py:63 1175s Mar 22 13:25:16 Then I receive a response code 200 # features/steps/patroni_api.py:100 1175s Mar 22 13:25:16 And I receive a response tags {'new_tag': 'new_value'} # features/steps/patroni_api.py:100 1175s Mar 22 13:25:16 And I sleep for 4 seconds # features/steps/patroni_api.py:41 1179s Mar 22 13:25:20 1179s Mar 22 13:25:20 Scenario: check the scheduled restart # features/patroni_api.feature:49 1179s Mar 22 13:25:20 Given I run patronictl.py edit-config -p 'superuser_reserved_connections=6' --force batman # features/steps/patroni_api.py:88 1181s Mar 22 13:25:21 Then I receive a response returncode 0 # features/steps/patroni_api.py:100 1181s Mar 22 13:25:21 And I receive a response output "+ superuser_reserved_connections: 6" # features/steps/patroni_api.py:100 1181s Mar 22 13:25:21 And Response on GET http://127.0.0.1:8008/patroni contains pending_restart after 5 seconds # features/steps/patroni_api.py:158 1181s Mar 22 13:25:21 Given I issue a scheduled restart at http://127.0.0.1:8008 in 5 seconds with {"role": "replica"} # features/steps/patroni_api.py:126 1181s Mar 22 13:25:21 Then I receive a response code 202 # features/steps/patroni_api.py:100 1181s Mar 22 13:25:21 And I sleep for 8 seconds # features/steps/patroni_api.py:41 1188s Mar 22 13:25:29 And Response on GET http://127.0.0.1:8008/patroni contains pending_restart after 10 seconds # features/steps/patroni_api.py:158 1188s Mar 22 13:25:29 Given I issue a scheduled restart at http://127.0.0.1:8008 in 5 seconds with {"restart_pending": "True"} # features/steps/patroni_api.py:126 1188s Mar 22 13:25:29 Then I receive a response code 202 # features/steps/patroni_api.py:100 1188s Mar 22 13:25:29 And Response on GET http://127.0.0.1:8008/patroni does not contain pending_restart after 10 seconds # features/steps/patroni_api.py:173 1195s Mar 22 13:25:36 And postgres-0 role is the primary after 10 seconds # features/steps/basic_replication.py:117 1196s Mar 22 13:25:37 1196s Mar 22 13:25:37 Scenario: check API requests for the primary-replica pair in the pause mode # features/patroni_api.feature:63 1196s Mar 22 13:25:37 Given I start postgres-1 # features/steps/basic_replication.py:20 1199s Mar 22 13:25:40 Then replication works from postgres-0 to postgres-1 after 20 seconds # features/steps/basic_replication.py:124 1200s Mar 22 13:25:41 When I run patronictl.py pause batman # features/steps/patroni_api.py:88 1201s Mar 22 13:25:42 Then I receive a response returncode 0 # features/steps/patroni_api.py:100 1201s Mar 22 13:25:42 When I kill postmaster on postgres-1 # features/steps/basic_replication.py:56 1202s Mar 22 13:25:42 waiting for server to shut down.... done 1202s Mar 22 13:25:42 server stopped 1202s Mar 22 13:25:42 And I issue a GET request to http://127.0.0.1:8009/replica # features/steps/patroni_api.py:63 1202s Mar 22 13:25:43 Then I receive a response code 503 # features/steps/patroni_api.py:100 1202s Mar 22 13:25:43 And "members/postgres-1" key in DCS has state=stopped after 10 seconds # features/steps/cascading_replication.py:23 1204s Mar 22 13:25:45 When I run patronictl.py restart batman postgres-1 --force # features/steps/patroni_api.py:88 1206s Mar 22 13:25:47 Then I receive a response returncode 0 # features/steps/patroni_api.py:100 1206s Mar 22 13:25:47 Then replication works from postgres-0 to postgres-1 after 20 seconds # features/steps/basic_replication.py:124 1207s Mar 22 13:25:48 And I sleep for 2 seconds # features/steps/patroni_api.py:41 1209s Mar 22 13:25:50 When I issue a GET request to http://127.0.0.1:8009/replica # features/steps/patroni_api.py:63 1209s Mar 22 13:25:50 Then I receive a response code 200 # features/steps/patroni_api.py:100 1209s Mar 22 13:25:50 And I receive a response state running # features/steps/patroni_api.py:100 1209s Mar 22 13:25:50 And I receive a response role replica # features/steps/patroni_api.py:100 1209s Mar 22 13:25:50 When I run patronictl.py reinit batman postgres-1 --force --wait # features/steps/patroni_api.py:88 1213s Mar 22 13:25:54 Then I receive a response returncode 0 # features/steps/patroni_api.py:100 1213s Mar 22 13:25:54 And I receive a response output "Success: reinitialize for member postgres-1" # features/steps/patroni_api.py:100 1213s Mar 22 13:25:54 And postgres-1 role is the secondary after 30 seconds # features/steps/basic_replication.py:117 1214s Mar 22 13:25:55 And replication works from postgres-0 to postgres-1 after 20 seconds # features/steps/basic_replication.py:124 1215s Mar 22 13:25:56 When I run patronictl.py restart batman postgres-0 --force # features/steps/patroni_api.py:88 1217s Mar 22 13:25:58 Then I receive a response returncode 0 # features/steps/patroni_api.py:100 1217s Mar 22 13:25:58 And I receive a response output "Success: restart on member postgres-0" # features/steps/patroni_api.py:100 1217s Mar 22 13:25:58 And postgres-0 role is the primary after 5 seconds # features/steps/basic_replication.py:117 1218s Mar 22 13:25:59 1218s Mar 22 13:25:59 Scenario: check the switchover via the API in the pause mode # features/patroni_api.feature:90 1218s Mar 22 13:25:59 Given I issue a POST request to http://127.0.0.1:8008/switchover with {"leader": "postgres-0", "candidate": "postgres-1"} # features/steps/patroni_api.py:73 1220s Mar 22 13:26:01 Then I receive a response code 200 # features/steps/patroni_api.py:100 1220s Mar 22 13:26:01 And postgres-1 is a leader after 5 seconds # features/steps/patroni_api.py:31 1220s Mar 22 13:26:01 And postgres-1 role is the primary after 10 seconds # features/steps/basic_replication.py:117 1221s Mar 22 13:26:02 And postgres-0 role is the secondary after 10 seconds # features/steps/basic_replication.py:117 1225s Mar 22 13:26:06 And replication works from postgres-1 to postgres-0 after 20 seconds # features/steps/basic_replication.py:124 1225s Mar 22 13:26:06 And "members/postgres-0" key in DCS has state=running after 10 seconds # features/steps/cascading_replication.py:23 1226s Mar 22 13:26:07 When I issue a GET request to http://127.0.0.1:8008/primary # features/steps/patroni_api.py:63 1226s Mar 22 13:26:07 Then I receive a response code 503 # features/steps/patroni_api.py:100 1226s Mar 22 13:26:07 When I issue a GET request to http://127.0.0.1:8008/replica # features/steps/patroni_api.py:63 1226s Mar 22 13:26:07 Then I receive a response code 200 # features/steps/patroni_api.py:100 1226s Mar 22 13:26:07 When I issue a GET request to http://127.0.0.1:8009/primary # features/steps/patroni_api.py:63 1226s Mar 22 13:26:07 Then I receive a response code 200 # features/steps/patroni_api.py:100 1226s Mar 22 13:26:07 When I issue a GET request to http://127.0.0.1:8009/replica # features/steps/patroni_api.py:63 1226s Mar 22 13:26:07 Then I receive a response code 503 # features/steps/patroni_api.py:100 1226s Mar 22 13:26:07 1226s Mar 22 13:26:07 Scenario: check the scheduled switchover # features/patroni_api.feature:107 1226s Mar 22 13:26:07 Given I issue a scheduled switchover from postgres-1 to postgres-0 in 10 seconds # features/steps/patroni_api.py:119 1228s Mar 22 13:26:09 Then I receive a response returncode 1 # features/steps/patroni_api.py:100 1228s Mar 22 13:26:09 And I receive a response output "Can't schedule switchover in the paused state" # features/steps/patroni_api.py:100 1228s Mar 22 13:26:09 When I run patronictl.py resume batman # features/steps/patroni_api.py:88 1229s Mar 22 13:26:10 Then I receive a response returncode 0 # features/steps/patroni_api.py:100 1229s Mar 22 13:26:10 Given I issue a scheduled switchover from postgres-1 to postgres-0 in 10 seconds # features/steps/patroni_api.py:119 1230s Mar 22 13:26:11 Then I receive a response returncode 0 # features/steps/patroni_api.py:100 1230s Mar 22 13:26:11 And postgres-0 is a leader after 20 seconds # features/steps/patroni_api.py:31 1241s Mar 22 13:26:22 And postgres-0 role is the primary after 10 seconds # features/steps/basic_replication.py:117 1241s Mar 22 13:26:22 And postgres-1 role is the secondary after 10 seconds # features/steps/basic_replication.py:117 1244s Mar 22 13:26:25 And replication works from postgres-0 to postgres-1 after 25 seconds # features/steps/basic_replication.py:124 1244s Mar 22 13:26:25 And "members/postgres-1" key in DCS has state=running after 10 seconds # features/steps/cascading_replication.py:23 1245s Mar 22 13:26:26 When I issue a GET request to http://127.0.0.1:8008/primary # features/steps/patroni_api.py:63 1245s Mar 22 13:26:26 Then I receive a response code 200 # features/steps/patroni_api.py:100 1245s Mar 22 13:26:26 When I issue a GET request to http://127.0.0.1:8008/replica # features/steps/patroni_api.py:63 1245s Mar 22 13:26:26 Then I receive a response code 503 # features/steps/patroni_api.py:100 1245s Mar 22 13:26:26 When I issue a GET request to http://127.0.0.1:8009/primary # features/steps/patroni_api.py:63 1245s Mar 22 13:26:26 Then I receive a response code 503 # features/steps/patroni_api.py:100 1245s Mar 22 13:26:26 When I issue a GET request to http://127.0.0.1:8009/replica # features/steps/patroni_api.py:63 1246s Mar 22 13:26:27 Then I receive a response code 200 # features/steps/patroni_api.py:100 1250s Mar 22 13:26:31 1250s Mar 22 13:26:31 Feature: permanent slots # features/permanent_slots.feature:1 1250s Mar 22 13:26:31 1250s Mar 22 13:26:31 Scenario: check that physical permanent slots are created # features/permanent_slots.feature:2 1250s Mar 22 13:26:31 Given I start postgres-0 # features/steps/basic_replication.py:20 1253s Mar 22 13:26:34 Then postgres-0 is a leader after 10 seconds # features/steps/patroni_api.py:31 1254s Mar 22 13:26:35 And there is a non empty initialize key in DCS after 15 seconds # features/steps/cascading_replication.py:41 1254s Mar 22 13:26:35 When I issue a PATCH request to http://127.0.0.1:8008/config with {"slots":{"test_physical":0,"postgres_3":0},"postgresql":{"parameters":{"wal_level":"logical"}}} # features/steps/patroni_api.py:73 1254s Mar 22 13:26:35 Then I receive a response code 200 # features/steps/patroni_api.py:100 1254s Mar 22 13:26:35 And Response on GET http://127.0.0.1:8008/config contains slots after 10 seconds # features/steps/patroni_api.py:158 1254s Mar 22 13:26:35 When I start postgres-1 # features/steps/basic_replication.py:20 1257s Mar 22 13:26:38 And I configure and start postgres-2 with a tag nofailover true # features/steps/cascading_replication.py:7 1260s Mar 22 13:26:41 And I configure and start postgres-3 with a tag replicatefrom postgres-2 # features/steps/cascading_replication.py:7 1263s Mar 22 13:26:44 Then postgres-0 has a physical replication slot named test_physical after 10 seconds # features/steps/slots.py:82 1263s Mar 22 13:26:44 And postgres-0 has a physical replication slot named postgres_1 after 10 seconds # features/steps/slots.py:82 1263s Mar 22 13:26:44 And postgres-0 has a physical replication slot named postgres_2 after 10 seconds # features/steps/slots.py:82 1263s Mar 22 13:26:44 And postgres-2 has a physical replication slot named postgres_3 after 10 seconds # features/steps/slots.py:82 1263s Mar 22 13:26:44 And postgres-2 does not have a replication slot named test_physical # features/steps/slots.py:41 1263s Mar 22 13:26:44 1263s Mar 22 13:26:44 @slot-advance 1263s Mar 22 13:26:44 Scenario: check that logical permanent slots are created # features/permanent_slots.feature:19 1263s Mar 22 13:26:44 Given I run patronictl.py restart batman postgres-0 --force # features/steps/patroni_api.py:88 1265s Mar 22 13:26:46 And I issue a PATCH request to http://127.0.0.1:8008/config with {"slots":{"test_logical":{"type":"logical","database":"postgres","plugin":"test_decoding"}}} # features/steps/patroni_api.py:73 1265s Mar 22 13:26:46 Then postgres-0 has a logical replication slot named test_logical with the test_decoding plugin after 10 seconds # features/steps/slots.py:20 1266s Mar 22 13:26:47 1266s Mar 22 13:26:47 @slot-advance 1266s Mar 22 13:26:47 Scenario: check that permanent slots are created on replicas # features/permanent_slots.feature:25 1266s Mar 22 13:26:47 Given postgres-1 has a logical replication slot named test_logical with the test_decoding plugin after 10 seconds # features/steps/slots.py:20 1271s Mar 22 13:26:52 Then Logical slot test_logical is in sync between postgres-0 and postgres-1 after 10 seconds # features/steps/slots.py:52 1271s Mar 22 13:26:52 And Logical slot test_logical is in sync between postgres-0 and postgres-3 after 10 seconds # features/steps/slots.py:52 1272s Mar 22 13:26:53 And postgres-1 has a physical replication slot named test_physical after 2 seconds # features/steps/slots.py:82 1272s Mar 22 13:26:53 And postgres-2 does not have a replication slot named test_logical # features/steps/slots.py:41 1272s Mar 22 13:26:53 And postgres-3 has a physical replication slot named test_physical after 2 seconds # features/steps/slots.py:82 1272s Mar 22 13:26:53 1272s Mar 22 13:26:53 @slot-advance 1272s Mar 22 13:26:53 Scenario: check permanent physical slots that match with member names # features/permanent_slots.feature:34 1272s Mar 22 13:26:53 Given postgres-0 has a physical replication slot named postgres_3 after 2 seconds # features/steps/slots.py:82 1272s Mar 22 13:26:53 And postgres-1 has a physical replication slot named postgres_0 after 2 seconds # features/steps/slots.py:82 1272s Mar 22 13:26:53 And postgres-1 has a physical replication slot named postgres_2 after 2 seconds # features/steps/slots.py:82 1272s Mar 22 13:26:53 And postgres-1 has a physical replication slot named postgres_3 after 2 seconds # features/steps/slots.py:82 1272s Mar 22 13:26:53 And postgres-2 does not have a replication slot named postgres_0 # features/steps/slots.py:41 1272s Mar 22 13:26:53 And postgres-2 does not have a replication slot named postgres_1 # features/steps/slots.py:41 1272s Mar 22 13:26:53 And postgres-2 has a physical replication slot named postgres_3 after 2 seconds # features/steps/slots.py:82 1272s Mar 22 13:26:53 And postgres-3 has a physical replication slot named postgres_0 after 2 seconds # features/steps/slots.py:82 1272s Mar 22 13:26:53 And postgres-3 has a physical replication slot named postgres_1 after 2 seconds # features/steps/slots.py:82 1272s Mar 22 13:26:53 And postgres-3 has a physical replication slot named postgres_2 after 2 seconds # features/steps/slots.py:82 1272s Mar 22 13:26:53 1272s Mar 22 13:26:53 @slot-advance 1272s Mar 22 13:26:53 Scenario: check that permanent slots are advanced on replicas # features/permanent_slots.feature:47 1272s Mar 22 13:26:53 Given I add the table replicate_me to postgres-0 # features/steps/basic_replication.py:66 1272s Mar 22 13:26:53 When I get all changes from logical slot test_logical on postgres-0 # features/steps/slots.py:72 1272s Mar 22 13:26:53 And I get all changes from physical slot test_physical on postgres-0 # features/steps/slots.py:77 1272s Mar 22 13:26:53 Then Logical slot test_logical is in sync between postgres-0 and postgres-1 after 10 seconds # features/steps/slots.py:52 1273s Mar 22 13:26:54 And Physical slot test_physical is in sync between postgres-0 and postgres-1 after 10 seconds # features/steps/slots.py:52 1273s Mar 22 13:26:54 And Logical slot test_logical is in sync between postgres-0 and postgres-3 after 10 seconds # features/steps/slots.py:52 1273s Mar 22 13:26:54 And Physical slot test_physical is in sync between postgres-0 and postgres-3 after 10 seconds # features/steps/slots.py:52 1273s Mar 22 13:26:54 And Physical slot postgres_1 is in sync between postgres-0 and postgres-3 after 10 seconds # features/steps/slots.py:52 1273s Mar 22 13:26:54 And Physical slot postgres_3 is in sync between postgres-2 and postgres-0 after 20 seconds # features/steps/slots.py:52 1275s Mar 22 13:26:56 And Physical slot postgres_3 is in sync between postgres-2 and postgres-1 after 10 seconds # features/steps/slots.py:52 1276s Mar 22 13:26:57 1276s Mar 22 13:26:57 @slot-advance 1276s Mar 22 13:26:57 Scenario: check that permanent slots and member slots are written to the /status key # features/permanent_slots.feature:60 1276s Mar 22 13:26:57 Given "status" key in DCS has test_physical in slots # features/steps/slots.py:118 1276s Mar 22 13:26:57 And "status" key in DCS has postgres_0 in slots # features/steps/slots.py:118 1276s Mar 22 13:26:57 And "status" key in DCS has postgres_1 in slots # features/steps/slots.py:118 1276s Mar 22 13:26:57 And "status" key in DCS has postgres_2 in slots # features/steps/slots.py:118 1276s Mar 22 13:26:57 And "status" key in DCS has postgres_3 in slots # features/steps/slots.py:118 1276s Mar 22 13:26:57 1276s Mar 22 13:26:57 @slot-advance 1276s Mar 22 13:26:57 Scenario: check that only non-permanent member slots are written to the retain_slots in /status key # features/permanent_slots.feature:68 1276s Mar 22 13:26:57 Given "status" key in DCS has postgres_0 in retain_slots # features/steps/slots.py:118 1276s Mar 22 13:26:57 And "status" key in DCS has postgres_1 in retain_slots # features/steps/slots.py:118 1276s Mar 22 13:26:57 And "status" key in DCS has postgres_2 in retain_slots # features/steps/slots.py:118 1276s Mar 22 13:26:57 And "status" key in DCS does not have postgres_3 in retain_slots # features/steps/slots.py:124 1276s Mar 22 13:26:57 1276s Mar 22 13:26:57 Scenario: check permanent physical replication slot after failover # features/permanent_slots.feature:74 1276s Mar 22 13:26:57 Given I shut down postgres-3 # features/steps/basic_replication.py:41 1277s Mar 22 13:26:58 And I shut down postgres-2 # features/steps/basic_replication.py:41 1278s Mar 22 13:26:59 And I shut down postgres-0 # features/steps/basic_replication.py:41 1280s Mar 22 13:27:01 Then postgres-1 has a physical replication slot named test_physical after 10 seconds # features/steps/slots.py:82 1280s Mar 22 13:27:01 And postgres-1 has a physical replication slot named postgres_0 after 10 seconds # features/steps/slots.py:82 1280s Mar 22 13:27:01 And postgres-1 has a physical replication slot named postgres_3 after 10 seconds # features/steps/slots.py:82 1280s Mar 22 13:27:01 When I start postgres-0 # features/steps/basic_replication.py:20 1283s Mar 22 13:27:04 Then postgres-0 role is the replica after 20 seconds # features/steps/basic_replication.py:117 1283s Mar 22 13:27:04 And physical replication slot named postgres_1 on postgres-0 has no xmin value after 10 seconds # features/steps/slots.py:98 1283s Mar 22 13:27:04 And postgres-0 has a physical replication slot named postgres_2 after 10 seconds # features/steps/slots.py:82 1284s Mar 22 13:27:05 And postgres-0 has a physical replication slot named postgres_3 after 10 seconds # features/steps/slots.py:82 1288s Mar 22 13:27:08 1288s Mar 22 13:27:08 Feature: priority replication # features/priority_failover.feature:1 1288s Mar 22 13:27:08 We should check that we can give nodes priority during failover 1288s Mar 22 13:27:08 Scenario: check failover priority 0 prevents leaderships # features/priority_failover.feature:4 1288s Mar 22 13:27:08 Given I configure and start postgres-0 with a tag failover_priority 1 # features/steps/cascading_replication.py:7 1291s Mar 22 13:27:12 And I configure and start postgres-1 with a tag failover_priority 0 # features/steps/cascading_replication.py:7 1294s Mar 22 13:27:15 Then replication works from postgres-0 to postgres-1 after 20 seconds # features/steps/basic_replication.py:124 1295s Mar 22 13:27:16 When I shut down postgres-0 # features/steps/basic_replication.py:41 1297s Mar 22 13:27:18 And there is one of ["following a different leader because I am not allowed to promote"] INFO in the postgres-1 patroni log after 5 seconds # features/steps/basic_replication.py:133 1299s Mar 22 13:27:20 Then postgres-1 role is the secondary after 10 seconds # features/steps/basic_replication.py:117 1299s Mar 22 13:27:20 When I start postgres-0 # features/steps/basic_replication.py:20 1302s Mar 22 13:27:23 Then postgres-0 role is the primary after 10 seconds # features/steps/basic_replication.py:117 1303s Mar 22 13:27:24 1303s Mar 22 13:27:24 Scenario: check higher failover priority is respected # features/priority_failover.feature:14 1303s Mar 22 13:27:24 Given I configure and start postgres-2 with a tag failover_priority 1 # features/steps/cascading_replication.py:7 1306s Mar 22 13:27:27 And I configure and start postgres-3 with a tag failover_priority 2 # features/steps/cascading_replication.py:7 1309s Mar 22 13:27:30 Then replication works from postgres-0 to postgres-2 after 20 seconds # features/steps/basic_replication.py:124 1310s Mar 22 13:27:31 And replication works from postgres-0 to postgres-3 after 20 seconds # features/steps/basic_replication.py:124 1311s Mar 22 13:27:32 When I shut down postgres-0 # features/steps/basic_replication.py:41 1313s Mar 22 13:27:34 Then postgres-3 role is the primary after 10 seconds # features/steps/basic_replication.py:117 1314s Mar 22 13:27:35 And there is one of ["postgres-3 has equally tolerable WAL position and priority 2, while this node has priority 1","Wal position of postgres-3 is ahead of my wal position"] INFO in the postgres-2 patroni log after 5 seconds # features/steps/basic_replication.py:133 1314s Mar 22 13:27:35 1314s Mar 22 13:27:35 Scenario: check conflicting configuration handling # features/priority_failover.feature:23 1314s Mar 22 13:27:35 When I set nofailover tag in postgres-2 config # features/steps/patroni_api.py:133 1314s Mar 22 13:27:35 And I issue an empty POST request to http://127.0.0.1:8010/reload # features/steps/patroni_api.py:68 1314s Mar 22 13:27:35 Then I receive a response code 202 # features/steps/patroni_api.py:100 1314s Mar 22 13:27:35 And there is one of ["Conflicting configuration between nofailover: True and failover_priority: 1. Defaulting to nofailover: True"] WARNING in the postgres-2 patroni log after 5 seconds # features/steps/basic_replication.py:133 1316s Mar 22 13:27:37 And "members/postgres-2" key in DCS has tags={'failover_priority': '1', 'nofailover': True} after 10 seconds # features/steps/cascading_replication.py:23 1317s Mar 22 13:27:38 When I issue a POST request to http://127.0.0.1:8010/failover with {"candidate": "postgres-2"} # features/steps/patroni_api.py:73 1317s Mar 22 13:27:38 Then I receive a response code 412 # features/steps/patroni_api.py:100 1317s Mar 22 13:27:38 And I receive a response text "failover is not possible: no good candidates have been found" # features/steps/patroni_api.py:100 1317s Mar 22 13:27:38 When I reset nofailover tag in postgres-1 config # features/steps/patroni_api.py:133 1317s Mar 22 13:27:38 And I issue an empty POST request to http://127.0.0.1:8009/reload # features/steps/patroni_api.py:68 1317s Mar 22 13:27:38 Then I receive a response code 202 # features/steps/patroni_api.py:100 1317s Mar 22 13:27:38 And there is one of ["Conflicting configuration between nofailover: False and failover_priority: 0. Defaulting to nofailover: False"] WARNING in the postgres-1 patroni log after 5 seconds # features/steps/basic_replication.py:133 1319s Mar 22 13:27:40 And "members/postgres-1" key in DCS has tags={'failover_priority': '0', 'nofailover': False} after 10 seconds # features/steps/cascading_replication.py:23 1320s Mar 22 13:27:41 And I issue a POST request to http://127.0.0.1:8009/failover with {"candidate": "postgres-1"} # features/steps/patroni_api.py:73 1323s Mar 22 13:27:44 Then I receive a response code 200 # features/steps/patroni_api.py:100 1323s Mar 22 13:27:44 And postgres-1 role is the primary after 10 seconds # features/steps/basic_replication.py:117 1328s Mar 22 13:27:49 1328s Mar 22 13:27:49 Feature: quorum commit # features/quorum_commit.feature:1 1328s Mar 22 13:27:49 Check basic workfrlows when quorum commit is enabled 1328s Mar 22 13:27:49 Scenario: check enable quorum commit and that the only leader promotes after restart # features/quorum_commit.feature:4 1328s Mar 22 13:27:49 Given I start postgres-0 # features/steps/basic_replication.py:20 1332s Mar 22 13:27:52 Then postgres-0 is a leader after 10 seconds # features/steps/patroni_api.py:31 1333s Mar 22 13:27:53 And there is a non empty initialize key in DCS after 15 seconds # features/steps/cascading_replication.py:41 1333s Mar 22 13:27:53 When I issue a PATCH request to http://127.0.0.1:8008/config with {"ttl": 20, "synchronous_mode": "quorum"} # features/steps/patroni_api.py:73 1333s Mar 22 13:27:54 Then I receive a response code 200 # features/steps/patroni_api.py:100 1333s Mar 22 13:27:54 And sync key in DCS has leader=postgres-0 after 20 seconds # features/steps/quorum_commit.py:8 1334s Mar 22 13:27:55 And sync key in DCS has quorum=0 after 2 seconds # features/steps/quorum_commit.py:8 1334s Mar 22 13:27:55 And synchronous_standby_names on postgres-0 is set to '_empty_str_' after 2 seconds # features/steps/quorum_commit.py:39 1334s Mar 22 13:27:55 When I shut down postgres-0 # features/steps/basic_replication.py:41 1336s Mar 22 13:27:57 And sync key in DCS has leader=postgres-0 after 2 seconds # features/steps/quorum_commit.py:8 1336s Mar 22 13:27:57 When I start postgres-0 # features/steps/basic_replication.py:20 1339s Mar 22 13:28:00 Then postgres-0 role is the primary after 10 seconds # features/steps/basic_replication.py:117 1340s Mar 22 13:28:01 When I issue a PATCH request to http://127.0.0.1:8008/config with {"synchronous_mode_strict": true} # features/steps/patroni_api.py:73 1340s Mar 22 13:28:01 Then synchronous_standby_names on postgres-0 is set to 'ANY 1 (*)' after 10 seconds # features/steps/quorum_commit.py:39 1341s Mar 22 13:28:02 1341s Mar 22 13:28:02 Scenario: check failover with one quorum standby # features/quorum_commit.feature:20 1341s Mar 22 13:28:02 Given I start postgres-1 # features/steps/basic_replication.py:20 1344s Mar 22 13:28:05 Then sync key in DCS has sync_standby=postgres-1 after 10 seconds # features/steps/quorum_commit.py:8 1347s Mar 22 13:28:08 And synchronous_standby_names on postgres-0 is set to 'ANY 1 ("postgres-1")' after 2 seconds # features/steps/quorum_commit.py:39 1347s Mar 22 13:28:08 When I shut down postgres-0 # features/steps/basic_replication.py:41 1349s Mar 22 13:28:10 Then postgres-1 role is the primary after 10 seconds # features/steps/basic_replication.py:117 1350s Mar 22 13:28:11 And sync key in DCS has quorum=0 after 10 seconds # features/steps/quorum_commit.py:8 1350s Mar 22 13:28:11 Then synchronous_standby_names on postgres-1 is set to 'ANY 1 (*)' after 10 seconds # features/steps/quorum_commit.py:39 1353s Mar 22 13:28:14 When I start postgres-0 # features/steps/basic_replication.py:20 1356s Mar 22 13:28:17 Then sync key in DCS has leader=postgres-1 after 10 seconds # features/steps/quorum_commit.py:8 1356s Mar 22 13:28:17 Then sync key in DCS has sync_standby=postgres-0 after 10 seconds # features/steps/quorum_commit.py:8 1358s Mar 22 13:28:19 And synchronous_standby_names on postgres-1 is set to 'ANY 1 ("postgres-0")' after 2 seconds # features/steps/quorum_commit.py:39 1358s Mar 22 13:28:19 1358s Mar 22 13:28:19 Scenario: check behavior with three nodes and different replication factor # features/quorum_commit.feature:33 1358s Mar 22 13:28:19 Given I start postgres-2 # features/steps/basic_replication.py:20 1363s Mar 22 13:28:24 Then sync key in DCS has sync_standby=postgres-0,postgres-2 after 10 seconds # features/steps/quorum_commit.py:8 1364s Mar 22 13:28:25 And sync key in DCS has quorum=1 after 2 seconds # features/steps/quorum_commit.py:8 1364s Mar 22 13:28:25 And synchronous_standby_names on postgres-1 is set to 'ANY 1 ("postgres-0","postgres-2")' after 2 seconds # features/steps/quorum_commit.py:39 1364s Mar 22 13:28:25 When I issue a PATCH request to http://127.0.0.1:8009/config with {"synchronous_node_count": 2} # features/steps/patroni_api.py:73 1364s Mar 22 13:28:25 Then sync key in DCS has quorum=0 after 10 seconds # features/steps/quorum_commit.py:8 1365s Mar 22 13:28:26 And synchronous_standby_names on postgres-1 is set to 'ANY 2 ("postgres-0","postgres-2")' after 2 seconds # features/steps/quorum_commit.py:39 1365s Mar 22 13:28:26 1365s Mar 22 13:28:26 Scenario: switch from quorum replication to good old multisync and back # features/quorum_commit.feature:42 1365s Mar 22 13:28:26 Given I issue a PATCH request to http://127.0.0.1:8009/config with {"synchronous_mode": true, "synchronous_node_count": 1} # features/steps/patroni_api.py:73 1365s Mar 22 13:28:26 And I shut down postgres-0 # features/steps/basic_replication.py:41 1366s Mar 22 13:28:27 Then synchronous_standby_names on postgres-1 is set to '"postgres-2"' after 10 seconds # features/steps/quorum_commit.py:39 1368s Mar 22 13:28:29 And sync key in DCS has sync_standby=postgres-2 after 10 seconds # features/steps/quorum_commit.py:8 1370s Mar 22 13:28:31 Then sync key in DCS has quorum=0 after 2 seconds # features/steps/quorum_commit.py:8 1370s Mar 22 13:28:31 When I issue a PATCH request to http://127.0.0.1:8009/config with {"synchronous_mode": "quorum"} # features/steps/patroni_api.py:73 1370s Mar 22 13:28:31 And I start postgres-0 # features/steps/basic_replication.py:20 1375s Mar 22 13:28:36 Then synchronous_standby_names on postgres-1 is set to 'ANY 1 ("postgres-0","postgres-2")' after 10 seconds # features/steps/quorum_commit.py:39 1376s Mar 22 13:28:37 And sync key in DCS has sync_standby=postgres-0,postgres-2 after 10 seconds # features/steps/quorum_commit.py:8 1376s Mar 22 13:28:37 Then sync key in DCS has quorum=1 after 2 seconds # features/steps/quorum_commit.py:8 1376s Mar 22 13:28:37 1376s Mar 22 13:28:37 Scenario: REST API and patronictl # features/quorum_commit.feature:54 1376s Mar 22 13:28:37 Given I run patronictl.py list batman # features/steps/patroni_api.py:88 1378s Mar 22 13:28:39 Then I receive a response returncode 0 # features/steps/patroni_api.py:100 1378s Mar 22 13:28:39 And I receive a response output "Quorum Standby" # features/steps/patroni_api.py:100 1378s Mar 22 13:28:39 And Status code on GET http://127.0.0.1:8008/quorum is 200 after 3 seconds # features/steps/patroni_api.py:144 1378s Mar 22 13:28:39 And Status code on GET http://127.0.0.1:8010/quorum is 200 after 3 seconds # features/steps/patroni_api.py:144 1378s Mar 22 13:28:39 1378s Mar 22 13:28:39 Scenario: nosync node is removed from voters and synchronous_standby_names # features/quorum_commit.feature:61 1378s Mar 22 13:28:39 Given I add tag nosync true to postgres-2 config # features/steps/patroni_api.py:139 1378s Mar 22 13:28:39 When I issue an empty POST request to http://127.0.0.1:8010/reload # features/steps/patroni_api.py:68 1378s Mar 22 13:28:39 Then I receive a response code 202 # features/steps/patroni_api.py:100 1378s Mar 22 13:28:39 And sync key in DCS has quorum=0 after 10 seconds # features/steps/quorum_commit.py:8 1381s Mar 22 13:28:42 And sync key in DCS has sync_standby=postgres-0 after 10 seconds # features/steps/quorum_commit.py:8 1381s Mar 22 13:28:42 And synchronous_standby_names on postgres-1 is set to 'ANY 1 ("postgres-0")' after 2 seconds # features/steps/quorum_commit.py:39 1381s Mar 22 13:28:42 And Status code on GET http://127.0.0.1:8010/quorum is 503 after 10 seconds # features/steps/patroni_api.py:144 1388s Mar 22 13:28:49 1388s Mar 22 13:28:49 Feature: recovery # features/recovery.feature:1 1388s Mar 22 13:28:49 We want to check that crashed postgres is started back 1388s Mar 22 13:28:49 Scenario: check that timeline is not incremented when primary is started after crash # features/recovery.feature:4 1388s Mar 22 13:28:49 Given I start postgres-0 # features/steps/basic_replication.py:20 1391s Mar 22 13:28:52 Then postgres-0 is a leader after 10 seconds # features/steps/patroni_api.py:31 1392s Mar 22 13:28:53 And there is a non empty initialize key in DCS after 15 seconds # features/steps/cascading_replication.py:41 1392s Mar 22 13:28:53 When I start postgres-1 # features/steps/basic_replication.py:20 1395s Mar 22 13:28:56 And I add the table foo to postgres-0 # features/steps/basic_replication.py:66 1395s Mar 22 13:28:56 Then table foo is present on postgres-1 after 20 seconds # features/steps/basic_replication.py:105 1401s Mar 22 13:29:02 When I kill postmaster on postgres-0 # features/steps/basic_replication.py:56 1401s Mar 22 13:29:02 waiting for server to shut down.... done 1401s Mar 22 13:29:02 server stopped 1401s Mar 22 13:29:02 Then postgres-0 role is the primary after 10 seconds # features/steps/basic_replication.py:117 1402s Mar 22 13:29:03 When I issue a GET request to http://127.0.0.1:8008/ # features/steps/patroni_api.py:63 1402s Mar 22 13:29:03 Then I receive a response code 200 # features/steps/patroni_api.py:100 1402s Mar 22 13:29:03 And I receive a response role primary # features/steps/patroni_api.py:100 1402s Mar 22 13:29:03 And I receive a response timeline 1 # features/steps/patroni_api.py:100 1402s Mar 22 13:29:03 And "members/postgres-0" key in DCS has state=running after 12 seconds # features/steps/cascading_replication.py:23 1403s Mar 22 13:29:04 And replication works from postgres-0 to postgres-1 after 15 seconds # features/steps/basic_replication.py:124 1406s Mar 22 13:29:06 1406s Mar 22 13:29:06 Scenario: check immediate failover when master_start_timeout=0 # features/recovery.feature:20 1406s Mar 22 13:29:06 Given I issue a PATCH request to http://127.0.0.1:8008/config with {"master_start_timeout": 0} # features/steps/patroni_api.py:73 1406s Mar 22 13:29:07 Then I receive a response code 200 # features/steps/patroni_api.py:100 1406s Mar 22 13:29:07 And Response on GET http://127.0.0.1:8008/config contains master_start_timeout after 10 seconds # features/steps/patroni_api.py:158 1406s Mar 22 13:29:07 When I kill postmaster on postgres-0 # features/steps/basic_replication.py:56 1406s Mar 22 13:29:07 waiting for server to shut down.... done 1406s Mar 22 13:29:07 server stopped 1406s Mar 22 13:29:07 Then postgres-1 is a leader after 10 seconds # features/steps/patroni_api.py:31 1409s Mar 22 13:29:10 And postgres-1 role is the primary after 10 seconds # features/steps/basic_replication.py:117 1409s Mar 22 13:29:10 1409s Mar 22 13:29:10 Scenario: check crashed primary demotes after failed attempt to start # features/recovery.feature:28 1409s Mar 22 13:29:10 Given I issue a PATCH request to http://127.0.0.1:8009/config with {"master_start_timeout": null} # features/steps/patroni_api.py:73 1409s Mar 22 13:29:10 Then I receive a response code 200 # features/steps/patroni_api.py:100 1409s Mar 22 13:29:10 And postgres-0 role is the replica after 10 seconds # features/steps/basic_replication.py:117 1411s Mar 22 13:29:12 When I ensure postgres-1 fails to start after a failure # features/steps/recovery.py:6 1411s Mar 22 13:29:12 When I kill postmaster on postgres-1 # features/steps/basic_replication.py:56 1411s Mar 22 13:29:12 waiting for server to shut down.... done 1411s Mar 22 13:29:12 server stopped 1411s Mar 22 13:29:12 Then postgres-0 is a leader after 10 seconds # features/steps/patroni_api.py:31 1412s Mar 22 13:29:13 And there is a postgres-1_cb.log with "on_role_change demoted batman" in postgres-1 data directory # features/steps/cascading_replication.py:12 1415s Mar 22 13:29:16 1415s Mar 22 13:29:16 Feature: standby cluster # features/standby_cluster.feature:1 1415s Mar 22 13:29:16 1415s Mar 22 13:29:16 Scenario: prepare the cluster with logical slots # features/standby_cluster.feature:2 1415s Mar 22 13:29:16 Given I start postgres-1 # features/steps/basic_replication.py:20 1418s Mar 22 13:29:19 Then postgres-1 is a leader after 10 seconds # features/steps/patroni_api.py:31 1418s Mar 22 13:29:19 And there is a non empty initialize key in DCS after 15 seconds # features/steps/cascading_replication.py:41 1418s Mar 22 13:29:19 When I issue a PATCH request to http://127.0.0.1:8009/config with {"slots": {"pm_1": {"type": "physical"}}, "postgresql": {"parameters": {"wal_level": "logical"}}} # features/steps/patroni_api.py:73 1418s Mar 22 13:29:19 Then I receive a response code 200 # features/steps/patroni_api.py:100 1418s Mar 22 13:29:19 And Response on GET http://127.0.0.1:8009/config contains slots after 10 seconds # features/steps/patroni_api.py:158 1418s Mar 22 13:29:19 And I sleep for 3 seconds # features/steps/patroni_api.py:41 1421s Mar 22 13:29:22 When I issue a PATCH request to http://127.0.0.1:8009/config with {"slots": {"test_logical": {"type": "logical", "database": "postgres", "plugin": "test_decoding"}}} # features/steps/patroni_api.py:73 1421s Mar 22 13:29:22 Then I receive a response code 200 # features/steps/patroni_api.py:100 1421s Mar 22 13:29:22 And I do a backup of postgres-1 # features/steps/custom_bootstrap.py:25 1422s Mar 22 13:29:23 When I start postgres-0 # features/steps/basic_replication.py:20 1425s Mar 22 13:29:26 Then "members/postgres-0" key in DCS has state=running after 10 seconds # features/steps/cascading_replication.py:23 1426s Mar 22 13:29:27 And replication works from postgres-1 to postgres-0 after 15 seconds # features/steps/basic_replication.py:124 1427s Mar 22 13:29:28 When I issue a GET request to http://127.0.0.1:8008/patroni # features/steps/patroni_api.py:63 1427s Mar 22 13:29:28 Then I receive a response code 200 # features/steps/patroni_api.py:100 1427s Mar 22 13:29:28 And I receive a response replication_state streaming # features/steps/patroni_api.py:100 1427s Mar 22 13:29:28 And "members/postgres-0" key in DCS has replication_state=streaming after 10 seconds # features/steps/cascading_replication.py:23 1427s Mar 22 13:29:28 1427s Mar 22 13:29:28 @slot-advance 1427s Mar 22 13:29:28 Scenario: check permanent logical slots are synced to the replica # features/standby_cluster.feature:22 1427s Mar 22 13:29:28 Given I run patronictl.py restart batman postgres-1 --force # features/steps/patroni_api.py:88 1429s Mar 22 13:29:30 Then Logical slot test_logical is in sync between postgres-0 and postgres-1 after 10 seconds # features/steps/slots.py:52 1435s Mar 22 13:29:36 1435s Mar 22 13:29:36 Scenario: Detach exiting node from the cluster # features/standby_cluster.feature:26 1435s Mar 22 13:29:36 When I shut down postgres-1 # features/steps/basic_replication.py:41 1437s Mar 22 13:29:38 Then postgres-0 is a leader after 10 seconds # features/steps/patroni_api.py:31 1437s Mar 22 13:29:38 And "members/postgres-0" key in DCS has role=primary after 5 seconds # features/steps/cascading_replication.py:23 1438s Mar 22 13:29:39 When I issue a GET request to http://127.0.0.1:8008/ # features/steps/patroni_api.py:63 1438s Mar 22 13:29:39 Then I receive a response code 200 # features/steps/patroni_api.py:100 1438s Mar 22 13:29:39 1438s Mar 22 13:29:39 Scenario: check replication of a single table in a standby cluster # features/standby_cluster.feature:33 1438s Mar 22 13:29:39 Given I start postgres-1 in a standby cluster batman1 as a clone of postgres-0 # features/steps/standby_cluster.py:23 1441s Mar 22 13:29:42 Then postgres-1 is a leader of batman1 after 10 seconds # features/steps/custom_bootstrap.py:16 1442s Mar 22 13:29:43 When I add the table foo to postgres-0 # features/steps/basic_replication.py:66 1442s Mar 22 13:29:43 Then table foo is present on postgres-1 after 20 seconds # features/steps/basic_replication.py:105 1442s Mar 22 13:29:43 When I issue a GET request to http://127.0.0.1:8009/patroni # features/steps/patroni_api.py:63 1442s Mar 22 13:29:43 Then I receive a response code 200 # features/steps/patroni_api.py:100 1442s Mar 22 13:29:43 And I receive a response replication_state streaming # features/steps/patroni_api.py:100 1442s Mar 22 13:29:43 And I sleep for 3 seconds # features/steps/patroni_api.py:41 1445s Mar 22 13:29:46 When I issue a GET request to http://127.0.0.1:8009/primary # features/steps/patroni_api.py:63 1445s Mar 22 13:29:46 Then I receive a response code 503 # features/steps/patroni_api.py:100 1445s Mar 22 13:29:46 When I issue a GET request to http://127.0.0.1:8009/standby_leader # features/steps/patroni_api.py:63 1445s Mar 22 13:29:46 Then I receive a response code 200 # features/steps/patroni_api.py:100 1445s Mar 22 13:29:46 And I receive a response role standby_leader # features/steps/patroni_api.py:100 1445s Mar 22 13:29:46 And there is a postgres-1_cb.log with "on_role_change standby_leader batman1" in postgres-1 data directory # features/steps/cascading_replication.py:12 1445s Mar 22 13:29:46 When I start postgres-2 in a cluster batman1 # features/steps/standby_cluster.py:12 1448s Mar 22 13:29:49 Then postgres-2 role is the replica after 24 seconds # features/steps/basic_replication.py:117 1448s Mar 22 13:29:49 And postgres-2 is replicating from postgres-1 after 10 seconds # features/steps/standby_cluster.py:52 1449s Mar 22 13:29:50 And table foo is present on postgres-2 after 20 seconds # features/steps/basic_replication.py:105 1449s Mar 22 13:29:50 When I issue a GET request to http://127.0.0.1:8010/patroni # features/steps/patroni_api.py:63 1449s Mar 22 13:29:50 Then I receive a response code 200 # features/steps/patroni_api.py:100 1449s Mar 22 13:29:50 And I receive a response replication_state streaming # features/steps/patroni_api.py:100 1449s Mar 22 13:29:50 And postgres-1 does not have a replication slot named test_logical # features/steps/slots.py:41 1449s Mar 22 13:29:50 1449s Mar 22 13:29:50 Scenario: check switchover # features/standby_cluster.feature:57 1449s Mar 22 13:29:50 Given I run patronictl.py switchover batman1 --force # features/steps/patroni_api.py:88 1453s Mar 22 13:29:54 Then Status code on GET http://127.0.0.1:8010/standby_leader is 200 after 10 seconds # features/steps/patroni_api.py:144 1453s Mar 22 13:29:54 And postgres-1 is replicating from postgres-2 after 32 seconds # features/steps/standby_cluster.py:52 1456s Mar 22 13:29:57 And there is a postgres-2_cb.log with "on_start replica batman1\non_role_change standby_leader batman1" in postgres-2 data directory # features/steps/cascading_replication.py:12 1456s Mar 22 13:29:57 1456s Mar 22 13:29:57 Scenario: check failover # features/standby_cluster.feature:63 1456s Mar 22 13:29:57 When I kill postgres-2 # features/steps/basic_replication.py:46 1457s Mar 22 13:29:58 And I kill postmaster on postgres-2 # features/steps/basic_replication.py:56 1458s Mar 22 13:29:59 waiting for server to shut down.... done 1458s Mar 22 13:29:59 server stopped 1458s Mar 22 13:29:59 Then postgres-1 is replicating from postgres-0 after 32 seconds # features/steps/standby_cluster.py:52 1476s Mar 22 13:30:17 And Status code on GET http://127.0.0.1:8009/standby_leader is 200 after 10 seconds # features/steps/patroni_api.py:144 1476s Mar 22 13:30:17 When I issue a GET request to http://127.0.0.1:8009/primary # features/steps/patroni_api.py:63 1476s Mar 22 13:30:17 Then I receive a response code 503 # features/steps/patroni_api.py:100 1476s Mar 22 13:30:17 And I receive a response role standby_leader # features/steps/patroni_api.py:100 1476s Mar 22 13:30:17 And replication works from postgres-0 to postgres-1 after 15 seconds # features/steps/basic_replication.py:124 1477s Mar 22 13:30:18 And there is a postgres-1_cb.log with "on_role_change replica batman1\non_role_change standby_leader batman1" in postgres-1 data directory # features/steps/cascading_replication.py:12 1481s Mar 22 13:30:22 1481s Mar 22 13:30:22 Feature: watchdog # features/watchdog.feature:1 1481s Mar 22 13:30:22 Verify that watchdog gets pinged and triggered under appropriate circumstances. 1481s Mar 22 13:30:22 Scenario: watchdog is opened and pinged # features/watchdog.feature:4 1481s Mar 22 13:30:22 Given I start postgres-0 with watchdog # features/steps/watchdog.py:17 1484s Mar 22 13:30:25 Then postgres-0 is a leader after 10 seconds # features/steps/patroni_api.py:31 1484s Mar 22 13:30:25 And postgres-0 role is the primary after 10 seconds # features/steps/basic_replication.py:117 1484s Mar 22 13:30:25 And postgres-0 watchdog has been pinged after 10 seconds # features/steps/watchdog.py:22 1485s Mar 22 13:30:26 And postgres-0 watchdog has a 15 second timeout # features/steps/watchdog.py:35 1485s Mar 22 13:30:26 1485s Mar 22 13:30:26 Scenario: watchdog is reconfigured after global ttl changed # features/watchdog.feature:11 1485s Mar 22 13:30:26 Given I run patronictl.py edit-config batman -s ttl=30 --force # features/steps/patroni_api.py:88 1486s Mar 22 13:30:27 Then I receive a response returncode 0 # features/steps/patroni_api.py:100 1486s Mar 22 13:30:27 And I receive a response output "+ttl: 30" # features/steps/patroni_api.py:100 1486s Mar 22 13:30:27 When I sleep for 4 seconds # features/steps/patroni_api.py:41 1490s Mar 22 13:30:31 Then postgres-0 watchdog has a 25 second timeout # features/steps/watchdog.py:35 1490s Mar 22 13:30:31 1490s Mar 22 13:30:31 Scenario: watchdog is disabled during pause # features/watchdog.feature:18 1490s Mar 22 13:30:31 Given I run patronictl.py pause batman # features/steps/patroni_api.py:88 1491s Mar 22 13:30:32 Then I receive a response returncode 0 # features/steps/patroni_api.py:100 1491s Mar 22 13:30:32 When I sleep for 2 seconds # features/steps/patroni_api.py:41 1493s Mar 22 13:30:34 Then postgres-0 watchdog has been closed # features/steps/watchdog.py:30 1493s Mar 22 13:30:34 1493s Mar 22 13:30:34 Scenario: watchdog is opened and pinged after resume # features/watchdog.feature:24 1493s Mar 22 13:30:34 Given I reset postgres-0 watchdog state # features/steps/watchdog.py:40 1493s Mar 22 13:30:34 And I run patronictl.py resume batman # features/steps/patroni_api.py:88 1495s Mar 22 13:30:36 Then I receive a response returncode 0 # features/steps/patroni_api.py:100 1495s Mar 22 13:30:36 And postgres-0 watchdog has been pinged after 10 seconds # features/steps/watchdog.py:22 1496s Mar 22 13:30:37 1496s Mar 22 13:30:37 Scenario: watchdog is disabled when shutting down # features/watchdog.feature:30 1496s Mar 22 13:30:37 Given I shut down postgres-0 # features/steps/basic_replication.py:41 1498s Mar 22 13:30:39 Then postgres-0 watchdog has been closed # features/steps/watchdog.py:30 1498s Mar 22 13:30:39 1498s Mar 22 13:30:39 Scenario: watchdog is triggered if patroni stops responding # features/watchdog.feature:34 1498s Mar 22 13:30:39 Given I reset postgres-0 watchdog state # features/steps/watchdog.py:40 1498s Mar 22 13:30:39 And I start postgres-0 with watchdog # features/steps/watchdog.py:17 1501s Mar 22 13:30:42 Then postgres-0 role is the primary after 10 seconds # features/steps/basic_replication.py:117 1503s Mar 22 13:30:43 When postgres-0 hangs for 30 seconds # features/steps/watchdog.py:53 1503s Mar 22 13:30:43 Then postgres-0 watchdog is triggered after 30 seconds # features/steps/watchdog.py:45 1529s Mar 22 13:31:10 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.4995.XUlzMvpx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.5041.XuEpnLdx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.5082.XuGsgiix 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.5140.XOuUdJIx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.5188.XzsRidkx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.5261.XdJTFSUx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.5311.XtwNooXx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.5314.XQCvpWgx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.5392.XdClraex 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.5500.XqzTQuAx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.5510.XJlAuBtx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.5554.XIIDxNRx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.5602.XJNMZyvx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.5712.XXGPrNSx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.5758.XsnLkKWx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.5814.XYvfzoLx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.5904.XmqIrKBx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.5957.XHAZaEkx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.6056.XnWkkGYx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.6109.XILefjXx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.6173.XfrtlCVx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.6264.XtNBAujx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.6363.XzCcGpfx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.6405.XSmfarSx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.6470.XJYgvPdx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.6505.XnpwRYAx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.6615.XYnracQx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.6666.XuCgzdFx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.6682.XPUqbqEx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.6721.XAigotAx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.6769.XSswlxVx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.6774.XQjxmUvx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.6812.XUZLkqFx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.6856.XMHiRJFx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.7024.XEiPxwxx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.7026.XhptyIJx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.7032.XBmzGldx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.7167.XIFRllZx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.7213.XSSNONwx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.7256.XLHPKSPx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.7303.XxslmjQx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.7350.XcEvRAdx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.7494.XnbpQjcx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.7562.XWvODMxx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.7607.XJZXXUlx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.7679.XerwWSmx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.7759.XVwoIMRx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.7813.XQWAMGEx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.8156.XFmPJVfx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.8207.XxhypRBx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.8272.XGhbuHRx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.8363.XoKzdMax 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.8413.XbQLfSox 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.8470.XBOcHdFx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.8516.XSxNlmTx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.8554.XhMRpwAx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.8598.XCuqjONx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.8830.XyANwIgx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.8894.XMqvcojx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.8948.XcgLBVdx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.9051.XXDolxUx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.9169.XvbwOTpx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.9312.XjREUZFx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.9356.XwxWShMx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.9358.XxhTqtNx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.9361.XlcqhBtx 1529s Mar 22 13:31:10 Combined data file .coverage.autopkgtest.9372.XuEugCix 1533s Mar 22 13:31:14 Name Stmts Miss Cover 1533s Mar 22 13:31:14 ------------------------------------------------------------------------------------------------------------- 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/OpenSSL/SSL.py 1159 642 45% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/OpenSSL/__init__.py 3 0 100% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/OpenSSL/_util.py 44 15 66% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/OpenSSL/crypto.py 869 663 24% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/OpenSSL/version.py 9 0 100% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/_distutils_hack/__init__.py 101 96 5% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/bcrypt/__init__.py 3 0 100% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/__about__.py 5 0 100% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/__init__.py 3 0 100% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/exceptions.py 26 5 81% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/hazmat/__init__.py 2 0 100% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/hazmat/_oid.py 135 0 100% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/hazmat/bindings/__init__.py 0 0 100% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/hazmat/bindings/openssl/__init__.py 0 0 100% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/hazmat/bindings/openssl/_conditional.py 38 17 55% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/hazmat/bindings/openssl/binding.py 51 4 92% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/hazmat/decrepit/__init__.py 1 0 100% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/hazmat/decrepit/ciphers/__init__.py 1 0 100% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/hazmat/decrepit/ciphers/algorithms.py 68 18 74% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/__init__.py 0 0 100% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/_asymmetric.py 6 0 100% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/_cipheralgorithm.py 23 4 83% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/_serialization.py 79 35 56% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/__init__.py 0 0 100% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/dh.py 47 0 100% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/dsa.py 55 5 91% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/ec.py 172 22 87% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/ed448.py 45 12 73% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/ed25519.py 43 12 72% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/padding.py 55 23 58% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/rsa.py 93 40 57% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/types.py 19 0 100% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/utils.py 14 5 64% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/x448.py 43 12 72% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/x25519.py 41 12 71% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/ciphers/__init__.py 4 0 100% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/ciphers/algorithms.py 72 15 79% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/ciphers/base.py 54 12 78% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/ciphers/modes.py 140 59 58% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/constant_time.py 6 3 50% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/hashes.py 127 20 84% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/serialization/__init__.py 5 0 100% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/serialization/base.py 7 0 100% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/serialization/ssh.py 775 614 21% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/utils.py 76 28 63% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/x509/__init__.py 70 0 100% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/x509/base.py 488 227 53% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/x509/certificate_transparency.py 42 0 100% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/x509/extensions.py 1024 552 46% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/x509/general_name.py 166 94 43% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/x509/name.py 236 144 39% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/x509/oid.py 3 0 100% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/cryptography/x509/verification.py 12 0 100% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dateutil/__init__.py 13 4 69% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dateutil/_common.py 25 15 40% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dateutil/_version.py 13 3 77% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dateutil/parser/__init__.py 33 4 88% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dateutil/parser/_parser.py 810 436 46% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dateutil/parser/isoparser.py 183 150 18% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dateutil/relativedelta.py 240 206 14% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dateutil/tz/__init__.py 4 0 100% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dateutil/tz/_common.py 151 114 25% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dateutil/tz/_factories.py 49 21 57% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dateutil/tz/tz.py 794 626 21% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dateutil/tz/win.py 152 149 2% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/__init__.py 2 0 100% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/_asyncbackend.py 14 6 57% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/_ddr.py 105 86 18% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/_features.py 46 8 83% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/_immutable_ctx.py 40 5 88% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/asyncbackend.py 44 32 27% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/asyncquery.py 322 283 12% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/edns.py 307 185 40% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/entropy.py 80 49 39% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/enum.py 72 46 36% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/exception.py 59 33 44% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/flags.py 40 14 65% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/grange.py 33 30 9% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/immutable.py 41 30 27% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/inet.py 79 65 18% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/ipv4.py 26 20 23% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/ipv6.py 114 100 12% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/message.py 829 676 18% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/name.py 617 425 31% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/nameserver.py 102 55 46% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/node.py 117 71 39% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/opcode.py 30 7 77% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/query.py 562 477 15% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/quic/__init__.py 28 23 18% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/rcode.py 68 13 81% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/rdata.py 386 277 28% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/rdataclass.py 43 9 79% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/rdataset.py 192 133 31% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/rdatatype.py 215 23 89% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/rdtypes/ANY/OPT.py 34 19 44% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/rdtypes/ANY/SOA.py 41 26 37% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/rdtypes/ANY/TSIG.py 58 42 28% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/rdtypes/ANY/ZONEMD.py 43 27 37% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/rdtypes/ANY/__init__.py 1 0 100% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/rdtypes/__init__.py 1 0 100% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/rdtypes/svcbbase.py 415 268 35% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/rdtypes/util.py 191 154 19% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/renderer.py 151 118 22% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/resolver.py 873 696 20% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/reversename.py 32 24 25% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/rrset.py 77 56 27% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/serial.py 92 79 14% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/set.py 148 107 28% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/tokenizer.py 334 279 16% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/transaction.py 269 201 25% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/tsig.py 176 122 31% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/ttl.py 44 38 14% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/version.py 6 0 100% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/wire.py 64 42 34% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/xfr.py 148 126 15% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/zone.py 507 383 24% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/zonefile.py 427 379 11% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/dns/zonetypes.py 14 2 86% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/etcd/__init__.py 125 63 50% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/etcd/client.py 380 256 33% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/etcd/lock.py 125 103 18% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/idna/__init__.py 4 0 100% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/idna/core.py 292 257 12% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/idna/idnadata.py 4 0 100% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/idna/intranges.py 30 24 20% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/idna/package_data.py 1 0 100% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/patroni/__init__.py 13 2 85% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/patroni/__main__.py 201 64 68% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/patroni/api.py 788 292 63% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/patroni/async_executor.py 96 15 84% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/patroni/collections.py 56 5 91% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/patroni/config.py 357 84 76% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/patroni/config_generator.py 212 159 25% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/patroni/daemon.py 76 3 96% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/patroni/dcs/__init__.py 710 95 87% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/patroni/dcs/etcd3.py 679 124 82% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/patroni/dcs/etcd.py 603 253 58% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/patroni/dynamic_loader.py 35 7 80% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/patroni/exceptions.py 16 0 100% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/patroni/file_perm.py 47 10 79% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/patroni/global_config.py 87 0 100% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/patroni/ha.py 1359 376 72% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/patroni/log.py 235 79 66% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/patroni/postgresql/__init__.py 825 170 79% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/patroni/postgresql/available_parameters/__init__.py 24 3 88% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/patroni/postgresql/bootstrap.py 254 60 76% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/patroni/postgresql/callback_executor.py 55 8 85% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/patroni/postgresql/cancellable.py 104 41 61% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/patroni/postgresql/config.py 840 216 74% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/patroni/postgresql/connection.py 75 1 99% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/patroni/postgresql/misc.py 43 8 81% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/patroni/postgresql/mpp/__init__.py 89 11 88% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/patroni/postgresql/postmaster.py 170 83 51% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/patroni/postgresql/rewind.py 416 128 69% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/patroni/postgresql/slots.py 349 41 88% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/patroni/postgresql/sync.py 154 10 94% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/patroni/postgresql/validator.py 157 24 85% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/patroni/psycopg.py 46 19 59% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/patroni/quorum.py 182 48 74% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/patroni/request.py 58 7 88% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/patroni/tags.py 38 0 100% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/patroni/utils.py 371 105 72% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/patroni/validator.py 309 215 30% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/patroni/version.py 1 0 100% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/patroni/watchdog/__init__.py 2 0 100% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/patroni/watchdog/base.py 203 42 79% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/patroni/watchdog/linux.py 135 35 74% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/psutil/__init__.py 950 629 34% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/psutil/_common.py 422 212 50% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/psutil/_compat.py 301 263 13% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/psutil/_pslinux.py 1250 924 26% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/psutil/_psposix.py 95 38 60% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/psycopg2/__init__.py 19 3 84% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/psycopg2/_json.py 64 27 58% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/psycopg2/_range.py 269 172 36% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/psycopg2/errors.py 3 2 33% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/psycopg2/extensions.py 91 25 73% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/urllib3/__init__.py 49 15 69% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/urllib3/_base_connection.py 63 45 29% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/urllib3/_collections.py 231 120 48% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/urllib3/_request_methods.py 54 24 56% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/urllib3/_version.py 13 3 77% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/urllib3/connection.py 389 137 65% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/urllib3/connectionpool.py 344 122 65% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/urllib3/contrib/__init__.py 0 0 100% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py 263 101 62% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/urllib3/exceptions.py 121 39 68% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/urllib3/fields.py 92 73 21% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/urllib3/filepost.py 37 24 35% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/urllib3/http2/__init__.py 28 21 25% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/urllib3/http2/probe.py 49 31 37% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/urllib3/poolmanager.py 233 85 64% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/urllib3/response.py 634 330 48% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/urllib3/util/__init__.py 10 0 100% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/urllib3/util/connection.py 66 42 36% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/urllib3/util/proxy.py 13 6 54% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/urllib3/util/request.py 104 49 53% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/urllib3/util/response.py 32 15 53% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/urllib3/util/retry.py 174 50 71% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/urllib3/util/ssl_.py 172 74 57% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/urllib3/util/ssl_match_hostname.py 66 54 18% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/urllib3/util/ssltransport.py 152 106 30% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/urllib3/util/timeout.py 71 14 80% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/urllib3/util/url.py 203 70 66% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/urllib3/util/util.py 26 10 62% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/urllib3/util/wait.py 49 18 63% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/yaml/__init__.py 165 109 34% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/yaml/composer.py 92 17 82% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/yaml/constructor.py 479 276 42% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/yaml/cyaml.py 46 24 48% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/yaml/dumper.py 23 12 48% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/yaml/emitter.py 838 769 8% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/yaml/error.py 58 42 28% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/yaml/events.py 61 6 90% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/yaml/loader.py 47 24 49% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/yaml/nodes.py 29 7 76% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/yaml/parser.py 352 198 44% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/yaml/reader.py 122 34 72% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/yaml/representer.py 248 176 29% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/yaml/resolver.py 135 76 44% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/yaml/scanner.py 758 437 42% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/yaml/serializer.py 85 70 18% 1533s Mar 22 13:31:14 /usr/lib/python3/dist-packages/yaml/tokens.py 76 17 78% 1533s Mar 22 13:31:14 patroni/__init__.py 13 2 85% 1533s Mar 22 13:31:14 patroni/__main__.py 201 201 0% 1533s Mar 22 13:31:14 patroni/api.py 788 788 0% 1533s Mar 22 13:31:14 patroni/async_executor.py 96 69 28% 1533s Mar 22 13:31:14 patroni/collections.py 56 15 73% 1533s Mar 22 13:31:14 patroni/config.py 357 186 48% 1533s Mar 22 13:31:14 patroni/config_generator.py 212 212 0% 1533s Mar 22 13:31:14 patroni/ctl.py 936 395 58% 1533s Mar 22 13:31:14 patroni/daemon.py 76 76 0% 1533s Mar 22 13:31:14 patroni/dcs/__init__.py 710 317 55% 1533s Mar 22 13:31:14 patroni/dcs/consul.py 482 482 0% 1533s Mar 22 13:31:14 patroni/dcs/etcd3.py 679 346 49% 1533s Mar 22 13:31:14 patroni/dcs/etcd.py 603 277 54% 1533s Mar 22 13:31:14 patroni/dcs/exhibitor.py 62 62 0% 1533s Mar 22 13:31:14 patroni/dcs/kubernetes.py 943 943 0% 1533s Mar 22 13:31:14 patroni/dcs/raft.py 319 319 0% 1533s Mar 22 13:31:14 patroni/dcs/zookeeper.py 289 289 0% 1533s Mar 22 13:31:14 patroni/dynamic_loader.py 35 7 80% 1533s Mar 22 13:31:14 patroni/exceptions.py 16 1 94% 1533s Mar 22 13:31:14 patroni/file_perm.py 47 17 64% 1533s Mar 22 13:31:14 patroni/global_config.py 87 19 78% 1533s Mar 22 13:31:14 patroni/ha.py 1359 1359 0% 1533s Mar 22 13:31:14 patroni/log.py 235 183 22% 1533s Mar 22 13:31:14 patroni/postgresql/__init__.py 825 653 21% 1533s Mar 22 13:31:14 patroni/postgresql/available_parameters/__init__.py 24 3 88% 1533s Mar 22 13:31:14 patroni/postgresql/bootstrap.py 254 224 12% 1533s Mar 22 13:31:14 patroni/postgresql/callback_executor.py 55 34 38% 1533s Mar 22 13:31:14 patroni/postgresql/cancellable.py 104 84 19% 1533s Mar 22 13:31:14 patroni/postgresql/config.py 840 720 14% 1533s Mar 22 13:31:14 patroni/postgresql/connection.py 75 50 33% 1533s Mar 22 13:31:14 patroni/postgresql/misc.py 43 30 30% 1533s Mar 22 13:31:14 patroni/postgresql/mpp/__init__.py 89 21 76% 1533s Mar 22 13:31:14 patroni/postgresql/mpp/citus.py 366 366 0% 1533s Mar 22 13:31:14 patroni/postgresql/postmaster.py 170 139 18% 1533s Mar 22 13:31:14 patroni/postgresql/rewind.py 416 416 0% 1533s Mar 22 13:31:14 patroni/postgresql/slots.py 349 300 14% 1533s Mar 22 13:31:14 patroni/postgresql/sync.py 154 114 26% 1533s Mar 22 13:31:14 patroni/postgresql/validator.py 157 52 67% 1533s Mar 22 13:31:14 patroni/psycopg.py 46 32 30% 1533s Mar 22 13:31:14 patroni/quorum.py 182 182 0% 1533s Mar 22 13:31:14 patroni/raft_controller.py 22 22 0% 1533s Mar 22 13:31:14 patroni/request.py 58 6 90% 1533s Mar 22 13:31:14 patroni/scripts/__init__.py 0 0 100% 1533s Mar 22 13:31:14 patroni/scripts/aws.py 59 59 0% 1533s Mar 22 13:31:14 patroni/scripts/barman/__init__.py 0 0 100% 1533s Mar 22 13:31:14 patroni/scripts/barman/cli.py 50 50 0% 1533s Mar 22 13:31:14 patroni/scripts/barman/config_switch.py 50 50 0% 1533s Mar 22 13:31:14 patroni/scripts/barman/recover.py 36 36 0% 1533s Mar 22 13:31:14 patroni/scripts/barman/utils.py 93 93 0% 1533s Mar 22 13:31:14 patroni/scripts/wale_restore.py 207 207 0% 1533s Mar 22 13:31:14 patroni/tags.py 38 11 71% 1533s Mar 22 13:31:14 patroni/utils.py 371 185 50% 1533s Mar 22 13:31:14 patroni/validator.py 309 222 28% 1533s Mar 22 13:31:14 patroni/version.py 1 0 100% 1533s Mar 22 13:31:14 patroni/watchdog/__init__.py 2 2 0% 1533s Mar 22 13:31:14 patroni/watchdog/base.py 203 203 0% 1533s Mar 22 13:31:14 patroni/watchdog/linux.py 135 135 0% 1533s Mar 22 13:31:14 ------------------------------------------------------------------------------------------------------------- 1533s Mar 22 13:31:14 TOTAL 54417 32586 40% 1533s Mar 22 13:31:14 1533s Mar 22 13:31:14 Failing scenarios: 1533s Mar 22 13:31:14 features/nostream_node.feature:21 check that slots are written to the /status key 1533s Mar 22 13:31:14 1533s Mar 22 13:31:14 12 features passed, 1 failed, 1 skipped 1533s Mar 22 13:31:14 54 scenarios passed, 1 failed, 14 skipped 1533s Mar 22 13:31:14 535 steps passed, 1 failed, 131 skipped, 0 undefined 1533s Mar 22 13:31:14 Took 8m19.846s 1534s + for file in features/output/*_failed/* 1534s + case $file in 1534s + echo features/output/nostream_node_failed/patroni_postgres-0.log: 1534s + cat features/output/nostream_node_failed/patroni_postgres-0.log 1534s features/output/nostream_node_failed/patroni_postgres-0.log: 1534s 2025-03-22 13:24:44,106 WARNING [/usr/lib/python3/dist-packages/urllib3/connectionpool.py:868 - urlopen]: Retrying (Retry(total=0, connect=None, read=None, redirect=0, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /version 1534s 2025-03-22 13:24:44,107 ERROR [/usr/lib/python3/dist-packages/patroni/dcs/etcd.py:203 - _get_machines_list]: Failed to get list of machines from http://[::1]:2379/v3beta: MaxRetryError("HTTPConnectionPool(host='::1', port=2379): Max retries exceeded with url: /version (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))") 1534s 2025-03-22 13:24:44,167 INFO [/usr/lib/python3/dist-packages/patroni/postgresql/config.py:1265 - reload_config]: No PostgreSQL configuration items changed, nothing to reload. 1534s 2025-03-22 13:24:44,217 INFO [/usr/lib/python3/dist-packages/patroni/ha.py:404 - has_lock]: Lock owner: None; I am postgres-0 1534s 2025-03-22 13:24:44,306 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: trying to bootstrap a new cluster 1534s The files belonging to this database system will be owned by user "ubuntu". 1534s This user must also own the server process. 1534s 1534s The database cluster will be initialized with locale "C.UTF-8". 1534s The default text search configuration will be set to "english". 1534s 1534s Data page checksums are enabled. 1534s 1534s creating directory /tmp/autopkgtest.8qHkda/build.IZy/src/data/postgres-0 ... ok 1534s creating subdirectories ... ok 1534s selecting dynamic shared memory implementation ... posix 1534s selecting default "max_connections" ... 100 1534s selecting default "shared_buffers" ... 128MB 1534s selecting default time zone ... UTC 1534s creating configuration files ... ok 1534s running bootstrap script ... ok 1534s performing post-bootstrap initialization ... ok 1534s syncing data to disk ... ok 1534s 1534s Success. You can now start the database server using: 1534s 1534s pg_ctl -D /tmp/autopkgtest.8qHkda/build.IZy/src/data/postgres-0 -l logfile start 1534s 1534s 2025-03-22 13:24:45.547 UTC [6387] DEBUG: using armv8 crc32 hardware = 1 1534s 2025-03-22 13:24:45.547 UTC [6387] DEBUG: registering background worker "logical replication launcher" 1534s 2025-03-22 13:24:45.549 UTC [6387] DEBUG: mmap(10485760) with MAP_HUGETLB failed, huge pages disabled: Cannot allocate memory 1534s 2025-03-22 13:24:45.554 UTC [6387] LOG: redirecting log output to logging collector process 1534s 2025-03-22 13:24:45.554 UTC [6387] HINT: Future log output will appear in directory "/tmp/autopkgtest.8qHkda/build.IZy/src/features/output/nostream_node". 1534s 2025-03-22 13:24:45,599 INFO [/usr/lib/python3/dist-packages/patroni/postgresql/postmaster.py:254 - start]: postmaster pid=6387 1534s /tmp:5375 - accepting connections 1534s /tmp:5375 - accepting connections 1534s 2025-03-22 13:24:45,622 INFO [/usr/lib/python3/dist-packages/patroni/postgresql/connection.py:54 - get]: establishing a new patroni heartbeat connection to postgres 1534s 2025-03-22 13:24:45,675 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: running post_bootstrap 1534s ?column? 1534s ---------- 1534s 1 1534s (1 row) 1534s 1534s 2025-03-22 13:24:45,705 WARNING [/usr/lib/python3/dist-packages/patroni/watchdog/base.py:143 - _activate]: Could not activate Linux watchdog device: Can't open watchdog device: [Errno 2] No such file or directory: '/dev/watchdog' 1534s 2025-03-22 13:24:45,889 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: initialized a new cluster 1534s 2025-03-22 13:24:47,842 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-0), the leader with the lock 1534s 2025-03-22 13:24:49,750 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-0), the leader with the lock 1534s 2025-03-22 13:24:51,839 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-0), the leader with the lock 1534s 2025-03-22 13:24:53,750 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-0), the leader with the lock 1534s server signaled 1534s 2025-03-22 13:24:54,863 INFO [/usr/lib/python3/dist-packages/patroni/ha.py:404 - has_lock]: Lock owner: postgres-0; I am postgres-0 1534s 2025-03-22 13:24:54,927 ERROR [/usr/lib/python3/dist-packages/patroni/postgresql/slots.py:469 - _ensure_logical_slots_primary]: Failed to create logical replication slot 'test_logical' plugin='test_decoding': ObjectNotInPrerequisiteState('logical decoding requires "wal_level" >= "logical"\n') 1534s 2025-03-22 13:24:54,928 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-0), the leader with the lock 1534s 2025-03-22 13:24:54,937 INFO [/usr/lib/python3/dist-packages/patroni/postgresql/config.py:1183 - reload_config]: Changed wal_level from 'replica' to 'logical' (restart might be required) 1534s 2025-03-22 13:24:54,944 INFO [/usr/lib/python3/dist-packages/patroni/postgresql/config.py:1242 - reload_config]: Reloading PostgreSQL configuration. 1534s server signaled 1534s 2025-03-22 13:24:56,021 INFO [/usr/lib/python3/dist-packages/patroni/ha.py:404 - has_lock]: Lock owner: postgres-0; I am postgres-0 1534s 2025-03-22 13:24:56,170 INFO [/usr/lib/python3/dist-packages/patroni/postgresql/connection.py:153 - close]: closed patroni connections to postgres 1534s 2025-03-22 13:24:56.513 UTC [6489] DEBUG: using armv8 crc32 hardware = 1 1534s 2025-03-22 13:24:56.513 UTC [6489] DEBUG: registering background worker "logical replication launcher" 1534s 2025-03-22 13:24:56.515 UTC [6489] DEBUG: mmap(10485760) with MAP_HUGETLB failed, huge pages disabled: Cannot allocate memory 1534s 2025-03-22 13:24:56.520 UTC [6489] LOG: redirecting log output to logging collector process 1534s 2025-03-22 13:24:56.520 UTC [6489] HINT: Future log output will appear in directory "/tmp/autopkgtest.8qHkda/build.IZy/src/features/output/nostream_node". 1534s 2025-03-22 13:24:56,572 INFO [/usr/lib/python3/dist-packages/patroni/postgresql/postmaster.py:254 - start]: postmaster pid=6489 1534s /tmp:5375 - accepting connections 1534s /tmp:5375 - accepting connections 1534s 2025-03-22 13:24:56,599 INFO [/usr/lib/python3/dist-packages/patroni/ha.py:404 - has_lock]: Lock owner: postgres-0; I am postgres-0 1534s 2025-03-22 13:24:56,599 INFO [/usr/lib/python3/dist-packages/patroni/postgresql/connection.py:54 - get]: establishing a new patroni heartbeat connection to postgres 1534s 2025-03-22 13:24:56,776 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-0), the leader with the lock 1534s 2025-03-22 13:24:58,736 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-0), the leader with the lock 1534s 2025-03-22 13:25:00,766 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-0), the leader with the lock 1534s features/output/nostream_node_failed/patroni_postgres-1.log: 1534s + for file in features/output/*_failed/* 1534s + case $file in 1534s + echo features/output/nostream_node_failed/patroni_postgres-1.log: 1534s + cat features/output/nostream_node_failed/patroni_postgres-1.log 1534s 2025-03-22 13:24:47,120 WARNING [/usr/lib/python3/dist-packages/urllib3/connectionpool.py:868 - urlopen]: Retrying (Retry(total=0, connect=None, read=None, redirect=0, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /version 1534s 2025-03-22 13:24:47,122 ERROR [/usr/lib/python3/dist-packages/patroni/dcs/etcd.py:203 - _get_machines_list]: Failed to get list of machines from http://[::1]:2379/v3beta: MaxRetryError("HTTPConnectionPool(host='::1', port=2379): Max retries exceeded with url: /version (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))") 1534s 2025-03-22 13:24:47,181 INFO [/usr/lib/python3/dist-packages/patroni/postgresql/config.py:1265 - reload_config]: No PostgreSQL configuration items changed, nothing to reload. 1534s 2025-03-22 13:24:47,233 INFO [/usr/lib/python3/dist-packages/patroni/ha.py:404 - has_lock]: Lock owner: postgres-0; I am postgres-1 1534s 2025-03-22 13:24:47,278 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: trying to bootstrap from leader 'postgres-0' 1534s 2025-03-22 13:24:47,672 INFO [/usr/lib/python3/dist-packages/patroni/postgresql/bootstrap.py:279 - create_replica]: replica has been created using basebackup 1534s 2025-03-22 13:24:47,674 INFO [/usr/lib/python3/dist-packages/patroni/ha.py:508 - clone]: bootstrapped from leader 'postgres-0' 1534s 2025-03-22 13:24:47,800 INFO [/usr/lib/python3/dist-packages/patroni/ha.py:404 - has_lock]: Lock owner: postgres-0; I am postgres-1 1534s 2025-03-22 13:24:47,845 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: bootstrap from leader 'postgres-0' in progress 1534s 2025-03-22 13:24:48.044 UTC [6428] DEBUG: using armv8 crc32 hardware = 1 1534s 2025-03-22 13:24:48.044 UTC [6428] DEBUG: registering background worker "logical replication launcher" 1534s 2025-03-22 13:24:48.047 UTC [6428] DEBUG: mmap(10485760) with MAP_HUGETLB failed, huge pages disabled: Cannot allocate memory 1534s 2025-03-22 13:24:48.053 UTC [6428] LOG: redirecting log output to logging collector process 1534s 2025-03-22 13:24:48.053 UTC [6428] HINT: Future log output will appear in directory "/tmp/autopkgtest.8qHkda/build.IZy/src/features/output/nostream_node". 1534s 2025-03-22 13:24:48,100 INFO [/usr/lib/python3/dist-packages/patroni/postgresql/postmaster.py:254 - start]: postmaster pid=6428 1534s /tmp:5376 - rejecting connections 1534s /tmp:5376 - rejecting connections 1534s /tmp:5376 - accepting connections 1534s 2025-03-22 13:24:49,129 INFO [/usr/lib/python3/dist-packages/patroni/ha.py:404 - has_lock]: Lock owner: postgres-0; I am postgres-1 1534s 2025-03-22 13:24:49,129 INFO [/usr/lib/python3/dist-packages/patroni/postgresql/connection.py:54 - get]: establishing a new patroni heartbeat connection to postgres 1534s 2025-03-22 13:24:49,202 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-1), a secondary, and following a leader (postgres-0) 1534s 2025-03-22 13:24:51,674 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-1), a secondary, and following a leader (postgres-0) 1534s 2025-03-22 13:24:51,799 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-1), a secondary, and following a leader (postgres-0) 1534s 2025-03-22 13:24:54,385 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-1), a secondary, and following a leader (postgres-0) 1534s 2025-03-22 13:24:54,857 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-1), a secondary, and following a leader (postgres-0) 1534s 2025-03-22 13:24:54,861 INFO [/usr/lib/python3/dist-packages/patroni/postgresql/config.py:1183 - reload_config]: Changed wal_level from 'replica' to 'logical' (restart might be required) 1534s 2025-03-22 13:24:54,863 INFO [/usr/lib/python3/dist-packages/patroni/postgresql/config.py:1242 - reload_config]: Reloading PostgreSQL configuration. 1534s server signaled 1534s 2025-03-22 13:24:56,791 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-1), a secondary, and following a leader (postgres-0) 1534s 2025-03-22 13:24:58,699 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-1), a secondary, and following a leader (postgres-0) 1534s 2025-03-22 13:25:00,812 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-1), a secondary, and following a leader (postgres-0) 1534s 2025-03-22 13:25:03,126 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-1), a secondary, and following a leader (postgres-0) 1534s 2025-03-22 13:25:03,149 INFO [/usr/lib/python3/dist-packages/patroni/postgresql/connection.py:54 - get]: establishing a new patroni restapi connection to postgres 1534s 2025-03-22 13:25:03,199 INFO [/usr/lib/python3/dist-packages/patroni/ha.py:1138 - fetch_node_status]: Got response from postgres-2 https://127.0.0.1:8010/patroni: {"state": "running", "postmaster_start_time": "2025-03-22 13:25:00.137863+00:00", "role": "replica", "server_version": 170004, "xlog": {"received_location": 117440512, "replayed_location": 117440512, "replayed_timestamp": null, "paused": false}, "timeline": 1, "replication_state": "streaming", "cluster_unlocked": true, "dcs_last_seen": 1742649903, "tags": {"replicatefrom": "postgres-1"}, "database_system_identifier": "7484624261721975018", "patroni": {"version": "4.0.4", "scope": "batman", "name": "postgres-2"}} 1534s 2025-03-22 13:25:03,261 WARNING [/usr/lib/python3/dist-packages/patroni/ha.py:1141 - fetch_node_status]: Request failed to postgres-0: GET https://127.0.0.1:8008/patroni (HTTPSConnectionPool(host='127.0.0.1', port=8008): Max retries exceeded with url: /patroni (Caused by SSLError(SSLError("bad handshake: SysCallError(104, 'ECONNRESET')")))) 1534s 2025-03-22 13:25:03,311 ERROR [/usr/lib/python3/dist-packages/patroni/dcs/etcd3.py:541 - _build_cache]: watchprefix failed: ProtocolError("Connection broken: ConnectionResetError(104, 'Connection reset by peer')", ConnectionResetError(104, 'Connection reset by peer')) 1534s 2025-03-22 13:25:03,313 INFO [/usr/lib/python3/dist-packages/patroni/dcs/etcd3.py:884 - attempt_to_acquire_leader]: Could not take out TTL lock 1534s 2025-03-22 13:25:03,324 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: following new leader after trying and failing to obtain lock 1534s 2025-03-22 13:25:03,329 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-1), a secondary, and following a leader (postgres-2) 1534s features/output/nostream_node_failed/patroni_postgres-2.log: 1534s + for file in features/output/*_failed/* 1534s + case $file in 1534s + echo features/output/nostream_node_failed/patroni_postgres-2.log: 1534s + cat features/output/nostream_node_failed/patroni_postgres-2.log 1534s 2025-03-22 13:24:59,217 WARNING [/usr/lib/python3/dist-packages/urllib3/connectionpool.py:868 - urlopen]: Retrying (Retry(total=0, connect=None, read=None, redirect=0, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /version 1534s 2025-03-22 13:24:59,218 ERROR [/usr/lib/python3/dist-packages/patroni/dcs/etcd.py:203 - _get_machines_list]: Failed to get list of machines from http://[::1]:2379/v3beta: MaxRetryError("HTTPConnectionPool(host='::1', port=2379): Max retries exceeded with url: /version (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))") 1534s 2025-03-22 13:24:59,280 INFO [/usr/lib/python3/dist-packages/patroni/postgresql/config.py:1265 - reload_config]: No PostgreSQL configuration items changed, nothing to reload. 1534s 2025-03-22 13:24:59,333 INFO [/usr/lib/python3/dist-packages/patroni/ha.py:404 - has_lock]: Lock owner: postgres-0; I am postgres-2 1534s 2025-03-22 13:24:59,380 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: trying to bootstrap from leader 'postgres-0' 1534s 2025-03-22 13:24:59,758 INFO [/usr/lib/python3/dist-packages/patroni/postgresql/bootstrap.py:279 - create_replica]: replica has been created using basebackup 1534s 2025-03-22 13:24:59,760 INFO [/usr/lib/python3/dist-packages/patroni/ha.py:508 - clone]: bootstrapped from leader 'postgres-0' 1534s 2025-03-22 13:25:00.117 UTC [6534] DEBUG: using armv8 crc32 hardware = 1 1534s 2025-03-22 13:25:00.117 UTC [6534] DEBUG: registering background worker "logical replication launcher" 1534s 2025-03-22 13:25:00.119 UTC [6534] DEBUG: mmap(10485760) with MAP_HUGETLB failed, huge pages disabled: Cannot allocate memory 1534s 2025-03-22 13:25:00.127 UTC [6534] LOG: redirecting log output to logging collector process 1534s 2025-03-22 13:25:00.127 UTC [6534] HINT: Future log output will appear in directory "/tmp/autopkgtest.8qHkda/build.IZy/src/features/output/nostream_node". 1534s 2025-03-22 13:25:00,228 INFO [/usr/lib/python3/dist-packages/patroni/postgresql/postmaster.py:254 - start]: postmaster pid=6534 1534s /tmp:5377 - rejecting connections 1534s /tmp:5377 - rejecting connections 1534s 2025-03-22 13:25:00,695 INFO [/usr/lib/python3/dist-packages/patroni/ha.py:404 - has_lock]: Lock owner: postgres-0; I am postgres-2 1534s 2025-03-22 13:25:00,746 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: bootstrap from leader 'postgres-0' in progress 1534s /tmp:5377 - accepting connections 1534s 2025-03-22 13:25:01,267 INFO [/usr/lib/python3/dist-packages/patroni/ha.py:404 - has_lock]: Lock owner: postgres-0; I am postgres-2 1534s 2025-03-22 13:25:01,268 INFO [/usr/lib/python3/dist-packages/patroni/postgresql/connection.py:54 - get]: establishing a new patroni heartbeat connection to postgres 1534s 2025-03-22 13:25:01,391 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-2), a secondary, and following a leader (postgres-0) 1534s 2025-03-22 13:25:03,083 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-2), a secondary, and following a leader (postgres-0) 1534s 2025-03-22 13:25:03,157 INFO [/usr/lib/python3/dist-packages/patroni/postgresql/connection.py:54 - get]: establishing a new patroni restapi connection to postgres 1534s 2025-03-22 13:25:03,190 INFO [/usr/lib/python3/dist-packages/patroni/ha.py:1138 - fetch_node_status]: Got response from postgres-1 https://127.0.0.1:8009/patroni: {"state": "running", "postmaster_start_time": "2025-03-22 13:24:48.059587+00:00", "role": "replica", "server_version": 170004, "xlog": {"received_location": 117440512, "replayed_location": 117440512, "replayed_timestamp": "2025-03-22 13:24:49.767285+00:00", "paused": false}, "timeline": 1, "replication_state": "in archive recovery", "replication": [{"usename": "replicator", "application_name": "postgres-2", "client_addr": "127.0.0.1", "state": "streaming", "sync_state": "async", "sync_priority": 0}], "cluster_unlocked": true, "dcs_last_seen": 1742649903, "tags": {"nostream": "true"}, "database_system_identifier": "7484624261721975018", "pending_restart": true, "pending_restart_reason": {"wal_level": {"old_value": "replica", "new_value": "logical"}}, "patroni": {"version": "4.0.4", "scope": "batman", "name": "postgres-1"}} 1534s 2025-03-22 13:25:03,260 WARNING [/usr/lib/python3/dist-packages/patroni/ha.py:1141 - fetch_node_status]: Request failed to postgres-0: GET https://127.0.0.1:8008/patroni (HTTPSConnectionPool(host='127.0.0.1', port=8008): Max retries exceeded with url: /patroni (Caused by SSLError(SSLError("bad handshake: SysCallError(104, 'ECONNRESET')")))) 1534s 2025-03-22 13:25:03,309 WARNING [/usr/lib/python3/dist-packages/patroni/watchdog/base.py:143 - _activate]: Could not activate Linux watchdog device: Can't open watchdog device: [Errno 2] No such file or directory: '/dev/watchdog' 1534s server promoting 1534s 2025-03-22 13:25:03,361 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: promoted self to leader by acquiring session lock 1534s 2025-03-22 13:25:03,364 DEBUG [/usr/lib/python3/dist-packages/patroni/postgresql/__init__.py:1234 - promote]: CallbackExecutor.call(['/usr/bin/python3', 'features/callback2.py', 'postgres-2', '5377', on_role_change, 'primary', 'batman']) 1534s 2025-03-22 13:25:04,560 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-2), the leader with the lock 1534s features/output/nostream_node_failed/postgres-0.csv: 1534s + for file in features/output/*_failed/* 1534s + case $file in 1534s + echo features/output/nostream_node_failed/postgres-0.csv: 1534s + cat features/output/nostream_node_failed/postgres-0.csv 1534s 2025-03-22 13:24:45.554 UTC,,,6387,,67deba1d.18f3,1,,2025-03-22 13:24:45 UTC,,0,LOG,00000,"ending log output to stderr",,"Future log output will go to log destination ""csvlog"".",,,,,,,"","postmaster",,0 1534s 2025-03-22 13:24:45.554 UTC,,,6387,,67deba1d.18f3,2,,2025-03-22 13:24:45 UTC,,0,LOG,00000,"starting PostgreSQL 17.4 (Ubuntu 17.4-1) on aarch64-unknown-linux-gnu, compiled by gcc (Ubuntu 14.2.0-17ubuntu3) 14.2.0, 64-bit",,,,,,,,,"","postmaster",,0 1534s 2025-03-22 13:24:45.554 UTC,,,6387,,67deba1d.18f3,3,,2025-03-22 13:24:45 UTC,,0,LOG,00000,"listening on IPv4 address ""127.0.0.1"", port 5375",,,,,,,,,"","postmaster",,0 1534s 2025-03-22 13:24:45.558 UTC,,,6387,,67deba1d.18f3,4,,2025-03-22 13:24:45 UTC,,0,LOG,00000,"listening on Unix socket ""/tmp/.s.PGSQL.5375""",,,,,,,,,"","postmaster",,0 1534s 2025-03-22 13:24:45.564 UTC,,,6391,,67deba1d.18f7,1,,2025-03-22 13:24:45 UTC,,0,LOG,00000,"database system was shut down at 2025-03-22 13:24:44 UTC",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:45.565 UTC,,,6391,,67deba1d.18f7,2,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"checkpoint record is at 0/1735DF0",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:45.565 UTC,,,6391,,67deba1d.18f7,3,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"redo record is at 0/1735DF0; shutdown true",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:45.565 UTC,,,6391,,67deba1d.18f7,4,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"next transaction ID: 739; next OID: 13646",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:45.565 UTC,,,6391,,67deba1d.18f7,5,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"next MultiXactId: 1; next MultiXactOffset: 0",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:45.565 UTC,,,6391,,67deba1d.18f7,6,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"oldest unfrozen transaction ID: 731, in database 1",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:45.565 UTC,,,6391,,67deba1d.18f7,7,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"oldest MultiXactId: 1, in database 1",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:45.565 UTC,,,6391,,67deba1d.18f7,8,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"commit timestamp Xid oldest/newest: 0/0",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:45.565 UTC,,,6391,,67deba1d.18f7,9,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"transaction ID wrap limit is 2147484378, limited by database with OID 1",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:45.565 UTC,,,6391,,67deba1d.18f7,10,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"MultiXactId wrap limit is 2147483648, limited by database with OID 1",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:45.565 UTC,,,6391,,67deba1d.18f7,11,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"starting up replication slots",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:45.565 UTC,,,6391,,67deba1d.18f7,12,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"xmin required by slots: data 0, catalog 0",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:45.566 UTC,,,6391,,67deba1d.18f7,13,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"MultiXactId wrap limit is 2147483648, limited by database with OID 1",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:45.566 UTC,,,6391,,67deba1d.18f7,14,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"MultiXact member stop limit is now 4294914944 based on MultiXact 1",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:45.575 UTC,,,6387,,67deba1d.18f3,5,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"starting background worker process ""logical replication launcher""",,,,,,,,,"","postmaster",,0 1534s 2025-03-22 13:24:45.577 UTC,,,6393,,67deba1d.18f9,1,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"autovacuum launcher started",,,,,,,,,"","autovacuum launcher",,0 1534s 2025-03-22 13:24:45.577 UTC,,,6395,,67deba1d.18fb,1,,2025-03-22 13:24:45 UTC,105/0,0,DEBUG,00000,"logical replication launcher started",,,,,,,,,"","logical replication launcher",,0 1534s 2025-03-22 13:24:45.578 UTC,,,6387,,67deba1d.18f3,6,,2025-03-22 13:24:45 UTC,,0,LOG,00000,"database system is ready to accept connections",,,,,,,,,"","postmaster",,0 1534s 2025-03-22 13:24:45.627 UTC,"postgres","postgres",6400,"[local]",67deba1d.1900,1,"idle",2025-03-22 13:24:45 UTC,2/2,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:45.676 UTC,"postgres","postgres",6400,"[local]",67deba1d.1900,2,"idle",2025-03-22 13:24:45 UTC,2/3,0,LOG,00000,"statement: SET log_statement TO none",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:45.680 UTC,"postgres","postgres",6400,"[local]",67deba1d.1900,3,"idle",2025-03-22 13:24:45 UTC,2/12,0,LOG,00000,"statement: RESET pg_stat_statements.track_utility",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:45.680 UTC,"postgres","postgres",6400,"[local]",67deba1d.1900,4,"idle",2025-03-22 13:24:45 UTC,2/13,0,LOG,00000,"statement: RESET pgaudit.log",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:45.689 UTC,"postgres","postgres",6404,"[local]",67deba1d.1904,1,"idle",2025-03-22 13:24:45 UTC,3/2,0,LOG,00000,"statement: SELECT 1",,,,,,,,,"psql","client backend",,0 1534s 2025-03-22 13:24:45.692 UTC,"postgres","postgres",6400,"[local]",67deba1d.1900,5,"idle",2025-03-22 13:24:45 UTC,2/14,0,LOG,00000,"statement: SET log_statement TO none",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:45.696 UTC,"postgres","postgres",6402,"127.0.0.1:42512",67deba1d.1902,1,"idle",2025-03-22 13:24:45 UTC,4/2,0,LOG,00000,"statement: SELECT 1",,,,,,,,,"","client backend",,0 1534s 2025-03-22 13:24:45.696 UTC,"postgres","postgres",6400,"[local]",67deba1d.1900,6,"idle",2025-03-22 13:24:45 UTC,2/23,0,LOG,00000,"statement: RESET pg_stat_statements.track_utility",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:45.696 UTC,"postgres","postgres",6402,"127.0.0.1:42512",67deba1d.1902,2,"idle",2025-03-22 13:24:45 UTC,4/3,0,LOG,00000,"statement: SET synchronous_commit TO 'local'",,,,,,,,,"","client backend",,0 1534s 2025-03-22 13:24:45.696 UTC,"postgres","postgres",6400,"[local]",67deba1d.1900,7,"idle",2025-03-22 13:24:45 UTC,2/24,0,LOG,00000,"statement: RESET pgaudit.log",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:45.696 UTC,"postgres","postgres",6400,"[local]",67deba1d.1900,8,"idle",2025-03-22 13:24:45 UTC,2/25,0,LOG,00000,"statement: SET log_statement TO none",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:45.699 UTC,"postgres","postgres",6400,"[local]",67deba1d.1900,9,"idle",2025-03-22 13:24:45 UTC,2/34,0,LOG,00000,"statement: RESET pg_stat_statements.track_utility",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:45.699 UTC,"postgres","postgres",6400,"[local]",67deba1d.1900,10,"idle",2025-03-22 13:24:45 UTC,2/35,0,LOG,00000,"statement: RESET pgaudit.log",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:45.699 UTC,"postgres","postgres",6400,"[local]",67deba1d.1900,11,"idle",2025-03-22 13:24:45 UTC,2/36,0,LOG,00000,"statement: DO $$ 1534s BEGIN 1534s SET local synchronous_commit = 'local'; 1534s GRANT EXECUTE ON function pg_catalog.pg_ls_dir(text, boolean, boolean) TO ""rewind_user""; 1534s END;$$",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:45.701 UTC,"postgres","postgres",6400,"[local]",67deba1d.1900,12,"idle",2025-03-22 13:24:45 UTC,2/37,0,LOG,00000,"statement: DO $$ 1534s BEGIN 1534s SET local synchronous_commit = 'local'; 1534s GRANT EXECUTE ON function pg_catalog.pg_stat_file(text, boolean) TO ""rewind_user""; 1534s END;$$",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:45.702 UTC,"postgres","postgres",6400,"[local]",67deba1d.1900,13,"idle",2025-03-22 13:24:45 UTC,2/38,0,LOG,00000,"statement: DO $$ 1534s BEGIN 1534s SET local synchronous_commit = 'local'; 1534s GRANT EXECUTE ON function pg_catalog.pg_read_binary_file(text) TO ""rewind_user""; 1534s END;$$",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:45.703 UTC,"postgres","postgres",6400,"[local]",67deba1d.1900,14,"idle",2025-03-22 13:24:45 UTC,2/39,0,LOG,00000,"statement: DO $$ 1534s BEGIN 1534s SET local synchronous_commit = 'local'; 1534s GRANT EXECUTE ON function pg_catalog.pg_read_binary_file(text, bigint, bigint, boolean) TO ""rewind_user""; 1534s END;$$",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:45.706 UTC,"postgres","postgres",6400,"[local]",67deba1d.1900,15,"idle",2025-03-22 13:24:45 UTC,2/40,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:47.304 UTC,"replicator","",6415,"127.0.0.1:42524",67deba1f.190f,1,"idle",2025-03-22 13:24:47 UTC,113/0,0,DEBUG,00000,"received replication command: SHOW data_directory_mode",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:47.304 UTC,"replicator","",6415,"127.0.0.1:42524",67deba1f.190f,2,"idle",2025-03-22 13:24:47 UTC,113/0,0,DEBUG,00000,"received replication command: SHOW wal_segment_size",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:47.305 UTC,"replicator","",6415,"127.0.0.1:42524",67deba1f.190f,3,"idle",2025-03-22 13:24:47 UTC,113/0,0,DEBUG,00000,"received replication command: IDENTIFY_SYSTEM",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:47.305 UTC,"replicator","",6415,"127.0.0.1:42524",67deba1f.190f,4,"idle",2025-03-22 13:24:47 UTC,113/0,0,DEBUG,00000,"received replication command: BASE_BACKUP ( LABEL 'pg_basebackup base backup', PROGRESS, CHECKPOINT 'fast', WAIT 0, MANIFEST 'yes', TARGET 'client')",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:47.324 UTC,,,6389,,67deba1d.18f5,1,,2025-03-22 13:24:45 UTC,,0,LOG,00000,"checkpoint starting: immediate force wait",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:47.324 UTC,,,6389,,67deba1d.18f5,2,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"performing replication slot checkpoint",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:47.335 UTC,,,6389,,67deba1d.18f5,3,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"checkpoint sync: number=1 file=global/1233 time=1.846 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:47.337 UTC,,,6389,,67deba1d.18f5,4,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"checkpoint sync: number=2 file=base/5/2691 time=1.449 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:47.337 UTC,,,6389,,67deba1d.18f5,5,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"checkpoint sync: number=3 file=global/1260_vm time=0.507 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:47.338 UTC,,,6389,,67deba1d.18f5,6,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"checkpoint sync: number=4 file=pg_xact/0000 time=0.432 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:47.338 UTC,,,6389,,67deba1d.18f5,7,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"checkpoint sync: number=5 file=pg_multixact/offsets/0000 time=0.562 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:47.339 UTC,,,6389,,67deba1d.18f5,8,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"checkpoint sync: number=6 file=base/5/1255 time=0.094 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:47.339 UTC,,,6389,,67deba1d.18f5,9,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"checkpoint sync: number=7 file=global/2676 time=0.084 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:47.339 UTC,,,6389,,67deba1d.18f5,10,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"checkpoint sync: number=8 file=global/2677 time=0.097 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:47.339 UTC,,,6389,,67deba1d.18f5,11,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"checkpoint sync: number=9 file=global/1214 time=0.069 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:47.339 UTC,,,6389,,67deba1d.18f5,12,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"checkpoint sync: number=10 file=base/5/2690 time=0.072 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:47.339 UTC,,,6389,,67deba1d.18f5,13,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"checkpoint sync: number=11 file=global/1232 time=0.066 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:47.339 UTC,,,6389,,67deba1d.18f5,14,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"checkpoint sync: number=12 file=base/5/1255_vm time=0.064 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:47.339 UTC,,,6389,,67deba1d.18f5,15,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"checkpoint sync: number=13 file=global/1260 time=0.065 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:47.372 UTC,,,6389,,67deba1d.18f5,16,,2025-03-22 13:24:45 UTC,,0,LOG,00000,"checkpoint complete: wrote 16 buffers (12.5%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.004 s, sync=0.006 s, total=0.049 s; sync files=13, longest=0.002 s, average=0.001 s; distance=9000 kB, estimate=9000 kB; lsn=0/2000080, redo lsn=0/2000028",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:47.374 UTC,"replicator","",6415,"127.0.0.1:42524",67deba1f.190f,5,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:47 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_snapshots"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:47.374 UTC,"replicator","",6415,"127.0.0.1:42524",67deba1f.190f,6,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:47 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_subtrans"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:47.374 UTC,"replicator","",6415,"127.0.0.1:42524",67deba1f.190f,7,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:47 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_dynshmem"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:47.374 UTC,"replicator","",6415,"127.0.0.1:42524",67deba1f.190f,8,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:47 UTC,113/0,0,DEBUG,00000,"file ""postmaster.pid"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:47.374 UTC,"replicator","",6415,"127.0.0.1:42524",67deba1f.190f,9,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:47 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_stat_tmp"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:47.374 UTC,"replicator","",6415,"127.0.0.1:42524",67deba1f.190f,10,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:47 UTC,113/0,0,DEBUG,00000,"file ""postmaster.opts"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:47.374 UTC,"replicator","",6415,"127.0.0.1:42524",67deba1f.190f,11,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:47 UTC,113/0,0,DEBUG,00000,"file ""pg_internal.init"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:47.374 UTC,"replicator","",6415,"127.0.0.1:42524",67deba1f.190f,12,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:47 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_serial"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:47.379 UTC,"replicator","",6415,"127.0.0.1:42524",67deba1f.190f,13,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:47 UTC,113/0,0,DEBUG,00000,"file ""pg_internal.init"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:47.381 UTC,"replicator","",6415,"127.0.0.1:42524",67deba1f.190f,14,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:47 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_replslot"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:47.381 UTC,"replicator","",6415,"127.0.0.1:42524",67deba1f.190f,15,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:47 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_notify"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:47.381 UTC,"replicator","",6415,"127.0.0.1:42524",67deba1f.190f,16,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:47 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_snapshots"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:47.381 UTC,"replicator","",6415,"127.0.0.1:42524",67deba1f.190f,17,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:47 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_subtrans"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:47.381 UTC,"replicator","",6415,"127.0.0.1:42524",67deba1f.190f,18,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:47 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_dynshmem"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:47.381 UTC,"replicator","",6415,"127.0.0.1:42524",67deba1f.190f,19,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:47 UTC,113/0,0,DEBUG,00000,"file ""postmaster.pid"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:47.381 UTC,"replicator","",6415,"127.0.0.1:42524",67deba1f.190f,20,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:47 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_stat_tmp"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:47.381 UTC,"replicator","",6415,"127.0.0.1:42524",67deba1f.190f,21,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:47 UTC,113/0,0,DEBUG,00000,"file ""postmaster.opts"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:47.382 UTC,"replicator","",6415,"127.0.0.1:42524",67deba1f.190f,22,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:47 UTC,113/0,0,DEBUG,00000,"file ""pg_internal.init"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:47.383 UTC,"replicator","",6415,"127.0.0.1:42524",67deba1f.190f,23,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:47 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_serial"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:47.389 UTC,,,6394,,67deba1d.18fa,1,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"archived write-ahead log file ""000000010000000000000001""",,,,,,,,,"","archiver",,0 1534s 2025-03-22 13:24:47.400 UTC,"replicator","",6418,"127.0.0.1:42534",67deba1f.1912,1,"idle",2025-03-22 13:24:47 UTC,114/0,0,DEBUG,00000,"received replication command: SHOW data_directory_mode",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:47.401 UTC,"replicator","",6418,"127.0.0.1:42534",67deba1f.1912,2,"idle",2025-03-22 13:24:47 UTC,114/0,0,DEBUG,00000,"received replication command: CREATE_REPLICATION_SLOT ""pg_basebackup_6418"" TEMPORARY PHYSICAL ( RESERVE_WAL)",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:47.406 UTC,"replicator","",6418,"127.0.0.1:42534",67deba1f.1912,3,"CREATE_REPLICATION_SLOT",2025-03-22 13:24:47 UTC,114/0,0,DEBUG,00000,"released physical replication slot ""pg_basebackup_6418""",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:47.407 UTC,"replicator","",6418,"127.0.0.1:42534",67deba1f.1912,4,"idle",2025-03-22 13:24:47 UTC,114/0,0,DEBUG,00000,"received replication command: IDENTIFY_SYSTEM",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:47.408 UTC,"replicator","",6418,"127.0.0.1:42534",67deba1f.1912,5,"idle",2025-03-22 13:24:47 UTC,114/0,0,DEBUG,00000,"received replication command: START_REPLICATION SLOT ""pg_basebackup_6418"" 0/2000000 TIMELINE 1",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:47.408 UTC,"replicator","",6418,"127.0.0.1:42534",67deba1f.1912,6,"START_REPLICATION",2025-03-22 13:24:47 UTC,114/0,0,DEBUG,00000,"acquired physical replication slot ""pg_basebackup_6418""",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:47.409 UTC,"replicator","",6418,"127.0.0.1:42534",67deba1f.1912,7,"streaming 0/20000F8",2025-03-22 13:24:47 UTC,114/0,0,DEBUG,00000,"""pg_basebackup"" has now caught up with upstream server",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:47.449 UTC,"replicator","",6415,"127.0.0.1:42524",67deba1f.190f,24,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:47 UTC,113/0,0,DEBUG,00000,"file ""pg_internal.init"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:47.473 UTC,"replicator","",6415,"127.0.0.1:42524",67deba1f.190f,25,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:47 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_replslot"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:47.473 UTC,"replicator","",6415,"127.0.0.1:42524",67deba1f.190f,26,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:47 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_notify"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:47.528 UTC,"replicator","",6418,"127.0.0.1:42534",67deba1f.1912,8,"streaming 0/2A00000",2025-03-22 13:24:47 UTC,114/0,0,DEBUG,00000,"released physical replication slot ""pg_basebackup_6418""",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:47.534 UTC,"replicator","",6418,"127.0.0.1:42534",67deba1f.1912,9,"idle",2025-03-22 13:24:47 UTC,114/0,0,DEBUG,00000,"xmin required by slots: data 0, catalog 0",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:47.566 UTC,,,6394,,67deba1d.18fa,2,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"archived write-ahead log file ""000000010000000000000002""",,,,,,,,,"","archiver",,0 1534s 2025-03-22 13:24:47.605 UTC,,,6394,,67deba1d.18fa,3,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"archived write-ahead log file ""000000010000000000000002.00000028.backup""",,,,,,,,,"","archiver",,0 1534s 2025-03-22 13:24:47.707 UTC,"postgres","postgres",6400,"[local]",67deba1d.1900,16,"idle",2025-03-22 13:24:45 UTC,2/41,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:47.796 UTC,"postgres","postgres",6400,"[local]",67deba1d.1900,17,"idle",2025-03-22 13:24:45 UTC,2/42,0,LOG,00000,"statement: SELECT slot_name, slot_type, xmin, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint, plugin, database, datoid, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint FROM pg_catalog.pg_replication_slots WHERE NOT temporary",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:49.706 UTC,"postgres","postgres",6400,"[local]",67deba1d.1900,18,"idle",2025-03-22 13:24:45 UTC,2/43,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:49.735 UTC,"postgres","postgres",6402,"127.0.0.1:42512",67deba1d.1902,3,"idle",2025-03-22 13:24:45 UTC,4/4,0,LOG,00000,"statement: CREATE TABLE public.test_1742649889_7353702()",,,,,,,,,"","client backend",,0 1534s 2025-03-22 13:24:49.768 UTC,"postgres","postgres",6402,"127.0.0.1:42512",67deba1d.1902,4,"idle",2025-03-22 13:24:45 UTC,4/5,0,LOG,00000,"statement: SHOW server_version_num",,,,,,,,,"","client backend",,0 1534s 2025-03-22 13:24:49.768 UTC,"postgres","postgres",6402,"127.0.0.1:42512",67deba1d.1902,5,"idle",2025-03-22 13:24:45 UTC,4/6,0,LOG,00000,"statement: SELECT pg_switch_wal()",,,,,,,,,"","client backend",,0 1534s 2025-03-22 13:24:49.839 UTC,,,6394,,67deba1d.18fa,4,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"archived write-ahead log file ""000000010000000000000003""",,,,,,,,,"","archiver",,0 1534s 2025-03-22 13:24:51.706 UTC,"postgres","postgres",6400,"[local]",67deba1d.1900,19,"idle",2025-03-22 13:24:45 UTC,2/44,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:53.706 UTC,"postgres","postgres",6400,"[local]",67deba1d.1900,20,"idle",2025-03-22 13:24:45 UTC,2/45,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:54.862 UTC,,,6387,,67deba1d.18f3,7,,2025-03-22 13:24:45 UTC,,0,LOG,00000,"received SIGHUP, reloading configuration files",,,,,,,,,"","postmaster",,0 1534s 2025-03-22 13:24:54.865 UTC,"postgres","postgres",6400,"[local]",67deba1d.1900,21,"idle",2025-03-22 13:24:45 UTC,2/46,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:54.865 UTC,,,6387,,67deba1d.18f3,8,,2025-03-22 13:24:45 UTC,,0,LOG,00000,"parameter ""hot_standby_feedback"" changed to ""on""",,,,,,,,,"","postmaster",,0 1534s 2025-03-22 13:24:54.923 UTC,"postgres","postgres",6474,"[local]",67deba26.194a,1,"idle",2025-03-22 13:24:54 UTC,5/2,0,LOG,00000,"statement: SELECT pg_catalog.pg_create_logical_replication_slot('test_logical', 'test_decoding') WHERE NOT EXISTS (SELECT 1 FROM pg_catalog.pg_replication_slots WHERE slot_type = 'logical' AND slot_name = 'test_logical')",,,,,,,,,"Patroni","client backend",,0 1534s 2025-03-22 13:24:54.927 UTC,"postgres","postgres",6474,"[local]",67deba26.194a,2,"SELECT",2025-03-22 13:24:54 UTC,5/2,0,ERROR,55000,"logical decoding requires ""wal_level"" >= ""logical""",,,,,,"SELECT pg_catalog.pg_create_logical_replication_slot('test_logical', 'test_decoding') WHERE NOT EXISTS (SELECT 1 FROM pg_catalog.pg_replication_slots WHERE slot_type = 'logical' AND slot_name = 'test_logical')",,,"Patroni","client backend",,0 1534s 2025-03-22 13:24:54.932 UTC,"postgres","postgres",6400,"[local]",67deba1d.1900,22,"idle",2025-03-22 13:24:45 UTC,2/47,0,LOG,00000,"statement: SELECT name, setting, unit, vartype, context, sourcefile FROM pg_catalog.pg_settings WHERE pg_catalog.lower(name) = ANY(ARRAY['wal_level','max_connections','max_wal_senders','max_prepared_transactions','max_locks_per_transaction','track_commit_timestamp','max_replication_slots','max_worker_processes','wal_log_hints','archive_command','archive_mode','log_destination','log_directory','log_filename','log_min_messages','log_statement','logging_collector','shared_buffers','ssl','ssl_ca_file','ssl_cert_file','ssl_key_file','unix_socket_directories','cluster_name','listen_addresses','port','wal_keep_size'])",,,,,,,,,"Patroni heartbeat","client ba+ for file in features/output/*_failed/* 1534s + case $file in 1534s + echo features/output/nostream_node_failed/postgres-0.log: 1534s + cat features/output/nostream_node_failed/postgres-0.log 1534s + for file in features/output/*_failed/* 1534s + case $file in 1534s + echo features/output/nostream_node_failed/postgres-0.yml: 1534s + cat features/output/nostream_node_failed/postgres-0.yml 1534s + for file in features/output/*_failed/* 1534s + case $file in 1534s + echo features/output/nostream_node_failed/postgres-1.csv: 1534s + cat features/output/nostream_node_failed/postgres-1.csv 1534s ckend",,0 1534s 2025-03-22 13:24:54.948 UTC,,,6387,,67deba1d.18f3,9,,2025-03-22 13:24:45 UTC,,0,LOG,00000,"received SIGHUP, reloading configuration files",,,,,,,,,"","postmaster",,0 1534s 2025-03-22 13:24:54.951 UTC,,,6387,,67deba1d.18f3,10,,2025-03-22 13:24:45 UTC,,0,LOG,55P02,"parameter ""wal_level"" cannot be changed without restarting the server",,,,,,,,,"","postmaster",,0 1534s 2025-03-22 13:24:54.951 UTC,,,6387,,67deba1d.18f3,11,,2025-03-22 13:24:45 UTC,,0,LOG,F0000,"configuration file ""/tmp/autopkgtest.8qHkda/build.IZy/src/data/postgres-0/postgresql.conf"" contains errors; unaffected changes were applied",,,,,,,,,"","postmaster",,0 1534s 2025-03-22 13:24:55.949 UTC,"postgres","postgres",6400,"[local]",67deba1d.1900,23,"idle",2025-03-22 13:24:45 UTC,2/48,0,LOG,00000,"statement: SELECT name, pg_catalog.current_setting(name), unit, vartype FROM pg_catalog.pg_settings WHERE pg_catalog.lower(name) != ALL(ARRAY['archive_cleanup_command','pause_at_recovery_target','primary_conninfo','primary_slot_name','promote_trigger_file','recovery_end_command','recovery_min_apply_delay','recovery_target','recovery_target_action','recovery_target_inclusive','recovery_target_lsn','recovery_target_name','recovery_target_time','recovery_target_timeline','recovery_target_xid','restore_command','standby_mode','trigger_file','hot_standby']) AND pending_restart",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:56.025 UTC,"postgres","postgres",6482,"[local]",67deba28.1952,1,"idle",2025-03-22 13:24:56 UTC,6/2,0,LOG,00000,"statement: SET statement_timeout = 0",,,,,,,,,"Patroni","client backend",,0 1534s 2025-03-22 13:24:56.025 UTC,"postgres","postgres",6482,"[local]",67deba28.1952,2,"idle",2025-03-22 13:24:56 UTC,6/3,0,LOG,00000,"statement: CHECKPOINT",,,,,,,,,"Patroni","client backend",,0 1534s 2025-03-22 13:24:56.025 UTC,,,6389,,67deba1d.18f5,17,,2025-03-22 13:24:45 UTC,,0,LOG,00000,"checkpoint starting: immediate force wait",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:56.025 UTC,,,6389,,67deba1d.18f5,18,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"performing replication slot checkpoint",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:56.036 UTC,,,6389,,67deba1d.18f5,19,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"checkpoint sync: number=1 file=base/5/1249 time=1.134 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:56.038 UTC,,,6389,,67deba1d.18f5,20,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"checkpoint sync: number=2 file=base/5/2662 time=1.607 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:56.038 UTC,,,6389,,67deba1d.18f5,21,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"checkpoint sync: number=3 file=base/5/2674 time=0.569 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:56.039 UTC,,,6389,,67deba1d.18f5,22,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"checkpoint sync: number=4 file=base/5/2608 time=0.736 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:56.040 UTC,,,6389,,67deba1d.18f5,23,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"checkpoint sync: number=5 file=base/5/1247 time=0.658 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:56.040 UTC,,,6389,,67deba1d.18f5,24,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"checkpoint sync: number=6 file=base/5/2658 time=0.092 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:56.041 UTC,,,6389,,67deba1d.18f5,25,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"checkpoint sync: number=7 file=base/5/1259 time=0.797 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:56.041 UTC,,,6389,,67deba1d.18f5,26,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"checkpoint sync: number=8 file=base/5/2704 time=0.608 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:56.042 UTC,,,6389,,67deba1d.18f5,27,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"checkpoint sync: number=9 file=base/5/1247_vm time=0.615 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:56.042 UTC,,,6389,,67deba1d.18f5,28,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"checkpoint sync: number=10 file=base/5/2659 time=0.111 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:56.043 UTC,,,6389,,67deba1d.18f5,29,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"checkpoint sync: number=11 file=base/5/2608_fsm time=0.730 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:56.043 UTC,,,6389,,67deba1d.18f5,30,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"checkpoint sync: number=12 file=pg_xact/0000 time=0.403 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:56.044 UTC,,,6389,,67deba1d.18f5,31,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"checkpoint sync: number=13 file=base/5/2673 time=0.508 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:56.044 UTC,,,6389,,67deba1d.18f5,32,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"checkpoint sync: number=14 file=base/5/16386 time=0.075 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:56.045 UTC,,,6389,,67deba1d.18f5,33,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"checkpoint sync: number=15 file=base/5/2663 time=0.610 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:56.045 UTC,,,6389,,67deba1d.18f5,34,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"checkpoint sync: number=16 file=base/5/1249_vm time=0.465 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:56.046 UTC,,,6389,,67deba1d.18f5,35,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"checkpoint sync: number=17 file=base/5/1259_vm time=0.672 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:56.047 UTC,,,6389,,67deba1d.18f5,36,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"checkpoint sync: number=18 file=base/5/2608_vm time=0.908 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:56.047 UTC,,,6389,,67deba1d.18f5,37,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"checkpoint sync: number=19 file=base/5/3455 time=0.712 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:56.048 UTC,,,6389,,67deba1d.18f5,38,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"checkpoint sync: number=20 file=base/5/2703 time=0.074 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:56.075 UTC,,,6389,,67deba1d.18f5,39,,2025-03-22 13:24:45 UTC,,0,LOG,00000,"checkpoint complete: wrote 5 buffers (3.9%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.002 s, sync=0.013 s, total=0.051 s; sync files=20, longest=0.002 s, average=0.001 s; distance=32768 kB, estimate=32768 kB; lsn=0/4000080, redo lsn=0/4000028",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:56.076 UTC,,,6387,,67deba1d.18f3,12,,2025-03-22 13:24:45 UTC,,0,LOG,00000,"received fast shutdown request",,,,,,,,,"","postmaster",,0 1534s 2025-03-22 13:24:56.077 UTC,,,6387,,67deba1d.18f3,13,,2025-03-22 13:24:45 UTC,,0,LOG,00000,"aborting any active transactions",,,,,,,,,"","postmaster",,0 1534s 2025-03-22 13:24:56.078 UTC,"postgres","postgres",6402,"127.0.0.1:42512",67deba1d.1902,6,"idle",2025-03-22 13:24:45 UTC,4/0,0,FATAL,57P01,"terminating connection due to administrator command",,,,,,,,,"","client backend",,0 1534s 2025-03-22 13:24:56.079 UTC,"postgres","postgres",6400,"[local]",67deba1d.1900,24,"idle",2025-03-22 13:24:45 UTC,2/0,0,FATAL,57P01,"terminating connection due to administrator command",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:56.080 UTC,,,6393,,67deba1d.18f9,2,,2025-03-22 13:24:45 UTC,100/0,0,DEBUG,00000,"autovacuum launcher shutting down",,,,,,,,,"","autovacuum launcher",,0 1534s 2025-03-22 13:24:56.081 UTC,,,6395,,67deba1d.18fb,2,,2025-03-22 13:24:45 UTC,105/0,0,DEBUG,00000,"logical replication launcher shutting down",,,,,,,,,"","logical replication launcher",,0 1534s 2025-03-22 13:24:56.086 UTC,,,6387,,67deba1d.18f3,14,,2025-03-22 13:24:45 UTC,,0,LOG,00000,"background worker ""logical replication launcher"" (PID 6395) exited with exit code 1",,,,,,,,,"","postmaster",,0 1534s 2025-03-22 13:24:56.086 UTC,,,6389,,67deba1d.18f5,40,,2025-03-22 13:24:45 UTC,,0,LOG,00000,"shutting down",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:56.108 UTC,,,6389,,67deba1d.18f5,41,,2025-03-22 13:24:45 UTC,,0,LOG,00000,"checkpoint starting: shutdown immediate",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:56.108 UTC,,,6389,,67deba1d.18f5,42,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"performing replication slot checkpoint",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:56.145 UTC,,,6389,,67deba1d.18f5,43,,2025-03-22 13:24:45 UTC,,0,LOG,00000,"checkpoint complete: wrote 0 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.001 s, sync=0.001 s, total=0.039 s; sync files=0, longest=0.000 s, average=0.000 s; distance=16384 kB, estimate=31129 kB; lsn=0/5000028, redo lsn=0/5000028",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:56.160 UTC,,,6394,,67deba1d.18fa,5,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"archived write-ahead log file ""000000010000000000000004""",,,,,,,,,"","archiver",,0 1534s 2025-03-22 13:24:56.161 UTC,,,6394,,67deba1d.18fa,6,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"archiver process shutting down",,,,,,,,,"","archiver",,0 1534s 2025-03-22 13:24:56.164 UTC,,,6387,,67deba1d.18f3,15,,2025-03-22 13:24:45 UTC,,0,LOG,00000,"database system is shut down",,,,,,,,,"","postmaster",,0 1534s 2025-03-22 13:24:56.167 UTC,,,6388,,67deba1d.18f4,1,,2025-03-22 13:24:45 UTC,,0,DEBUG,00000,"logger shutting down",,,,,,,,,"","logger",,0 1534s 2025-03-22 13:24:56.520 UTC,,,6489,,67deba28.1959,1,,2025-03-22 13:24:56 UTC,,0,LOG,00000,"ending log output to stderr",,"Future log output will go to log destination ""csvlog"".",,,,,,,"","postmaster",,0 1534s 2025-03-22 13:24:56.520 UTC,,,6489,,67deba28.1959,2,,2025-03-22 13:24:56 UTC,,0,LOG,00000,"starting PostgreSQL 17.4 (Ubuntu 17.4-1) on aarch64-unknown-linux-gnu, compiled by gcc (Ubuntu 14.2.0-17ubuntu3) 14.2.0, 64-bit",,,,,,,,,"","postmaster",,0 1534s 2025-03-22 13:24:56.520 UTC,,,6489,,67deba28.1959,3,,2025-03-22 13:24:56 UTC,,0,LOG,00000,"listening on IPv4 address ""127.0.0.1"", port 5375",,,,,,,,,"","postmaster",,0 1534s 2025-03-22 13:24:56.526 UTC,,,6489,,67deba28.1959,4,,2025-03-22 13:24:56 UTC,,0,LOG,00000,"listening on Unix socket ""/tmp/.s.PGSQL.5375""",,,,,,,,,"","postmaster",,0 1534s 2025-03-22 13:24:56.533 UTC,,,6493,,67deba28.195d,1,,2025-03-22 13:24:56 UTC,,0,LOG,00000,"database system was shut down at 2025-03-22 13:24:56 UTC",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:56.533 UTC,,,6493,,67deba28.195d,2,,2025-03-22 13:24:56 UTC,,0,DEBUG,00000,"checkpoint record is at 0/5000028",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:56.533 UTC,,,6493,,67deba28.195d,3,,2025-03-22 13:24:56 UTC,,0,DEBUG,00000,"redo record is at 0/5000028; shutdown true",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:56.533 UTC,,,6493,,67deba28.195d,4,,2025-03-22 13:24:56 UTC,,0,DEBUG,00000,"next transaction ID: 747; next OID: 16389",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:56.533 UTC,,,6493,,67deba28.195d,5,,2025-03-22 13:24:56 UTC,,0,DEBUG,00000,"next MultiXactId: 1; next MultiXactOffset: 0",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:56.533 UTC,,,6493,,67deba28.195d,6,,2025-03-22 13:24:56 UTC,,0,DEBUG,00000,"oldest unfrozen transaction ID: 731, in database 1",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:56.533 UTC,,,6493,,67deba28.195d,7,,2025-03-22 13:24:56 UTC,,0,DEBUG,00000,"oldest MultiXactId: 1, in database 1",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:56.533 UTC,,,6493,,67deba28.195d,8,,2025-03-22 13:24:56 UTC,,0,DEBUG,00000,"commit timestamp Xid oldest/newest: 0/0",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:56.533 UTC,,,6493,,67deba28.195d,9,,2025-03-22 13:24:56 UTC,,0,DEBUG,00000,"transaction ID wrap limit is 2147484378, limited by database with OID 1",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:56.533 UTC,,,6493,,67deba28.195d,10,,2025-03-22 13:24:56 UTC,,0,DEBUG,00000,"MultiXactId wrap limit is 2147483648, limited by database with OID 1",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:56.533 UTC,,,6493,,67deba28.195d,11,,2025-03-22 13:24:56 UTC,,0,DEBUG,00000,"starting up replication slots",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:56.533 UTC,,,6493,,67deba28.195d,12,,2025-03-22 13:24:56 UTC,,0,DEBUG,00000,"xmin required by slots: data 0, catalog 0",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:56.534 UTC,,,6493,,67deba28.195d,13,,2025-03-22 13:24:56 UTC,,0,DEBUG,00000,"MultiXactId wrap limit is 2147483648, limited by database with OID 1",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:56.534 UTC,,,6493,,67deba28.195d,14,,2025-03-22 13:24:56 UTC,,0,DEBUG,00000,"MultiXact member stop limit is now 4294914944 based on MultiXact 1",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:56.542 UTC,,,6489,,67deba28.1959,5,,2025-03-22 13:24:56 UTC,,0,DEBUG,00000,"starting background worker process ""logical replication launcher""",,,,,,,,,"","postmaster",,0 1534s 2025-03-22 13:24:56.542 UTC,,,6489,,67deba28.1959,6,,2025-03-22 13:24:56 UTC,,0,LOG,00000,"database system is ready to accept connections",,,,,,,,,"","postmaster",,0 1534s 2025-03-22 13:24:56.543 UTC,,,6497,,67deba28.1961,1,,2025-03-22 13:24:56 UTC,105/0,0,DEBUG,00000,"logical replication launcher started",,,,,,,,,"","logical replication launcher",,0 1534s 2025-03-22 13:24:56.544 UTC,,,6495,,67deba28.195f,1,,2025-03-22 13:24:56 UTC,,0,DEBUG,00000,"autovacuum launcher started",,,,,,,,,"","autovacuum launcher",,0 1534s 2025-03-22 13:24:56.603 UTC,"postgres","postgres",6502,"[local]",67deba28.1966,1,"idle",2025-03-22 13:24:56 UTC,2/2,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:56.696 UTC,"postgres","postgres",6502,"[local]",67deba28.1966,2,"idle",2025-03-22 13:24:56 UTC,2/3,0,LOG,00000,"statement: SELECT slot_name, slot_type, xmin, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint, plugin, database, datoid, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint FROM pg_catalog.pg_replication_slots WHERE NOT temporary",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:56.708 UTC,"postgres","postgres",6503,"[local]",67deba28.1967,1,"idle",2025-03-22 13:24:56 UTC,3/2,0,LOG,00000,"statement: SELECT pg_catalog.pg_create_logical_replication_slot('test_logical', 'test_decoding') WHERE NOT EXISTS (SELECT 1 FROM pg_catalog.pg_replication_slots WHERE slot_type = 'logical' AND slot_name = 'test_logical')",,,,,,,,,"Patroni","client backend",,0 1534s 2025-03-22 13:24:56.720 UTC,"postgres","postgres",6503,"[local]",67deba28.1967,2,"SELECT",2025-03-22 13:24:56 UTC,3/2,0,DEBUG,00000,"xmin required by slots: data 0, catalog 747",,,,,,,,,"Patroni","client backend",,0 1534s 2025-03-22 13:24:56.725 UTC,"postgres","postgres",6503,"[local]",67deba28.1967,3,"SELECT",2025-03-22 13:24:56 UTC,3/2,0,DEBUG,00000,"searching for logical decoding starting point, starting at 0/5001E80",,,,,,,,,"Patroni","client backend",,0 1534s 2025-03-22 13:24:56.725 UTC,"postgres","postgres",6503,"[local]",67deba28.1967,4,"SELECT",2025-03-22 13:24:56 UTC,3/2,0,LOG,00000,"logical decoding found consistent point at 0/5001E80","There are no running transactions.",,,,,"SELECT pg_catalog.pg_create_logical_replication_slot('test_logical', 'test_decoding') WHERE NOT EXISTS (SELECT 1 FROM pg_catalog.pg_replication_slots WHERE slot_type = 'logical' AND slot_name = 'test_logical')",,,"Patroni","client backend",,0 1534s 2025-03-22 13:24:57.755 UTC,"postgres","postgres",6504,"127.0.0.1:56564",67deba29.1968,1,"idle",2025-03-22 13:24:57 UTC,4/2,0,LOG,00000,"statement: SELECT slot_type, plugin FROM pg_replication_slots WHERE slot_name = 'test_logical'",,,,,,,,,"","client backend",,0 1534s 2025-03-22 13:24:58.600 UTC,"postgres","postgres",6502,"[local]",67deba28.1966,3,"idle",2025-03-22 13:24:56 UTC,2/4,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:58.689 UTC,"postgres","postgres",6502,"[local]",67deba28.1966,4,"idle",2025-03-22 13:24:56 UTC,2/5,0,LOG,00000,"statement: SELECT slot_name, slot_type, xmin, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint, plugin, database, datoid, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint FROM pg_catalog.pg_replication_slots WHERE NOT temporary",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:59.406 UTC,"replicator","",6513,"127.0.0.1:56572",67deba2b.1971,1,"idle",2025-03-22 13:24:59 UTC,113/0,0,DEBUG,00000,"received replication command: SHOW data_directory_mode",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:59.406 UTC,"replicator","",6513,"127.0.0.1:56572",67deba2b.1971,2,"idle",2025-03-22 13:24:59 UTC,113/0,0,DEBUG,00000,"received replication command: SHOW wal_segment_size",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:59.407 UTC,"replicator","",6513,"127.0.0.1:56572",67deba2b.1971,3,"idle",2025-03-22 13:24:59 UTC,113/0,0,DEBUG,00000,"received replication command: IDENTIFY_SYSTEM",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:59.407 UTC,"replicator","",6513,"127.0.0.1:56572",67deba2b.1971,4,"idle",2025-03-22 13:24:59 UTC,113/0,0,DEBUG,00000,"received replication command: BASE_BACKUP ( LABEL 'pg_basebackup base backup', PROGRESS, CHECKPOINT 'fast', WAIT 0, MANIFEST 'yes', TARGET 'client')",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:59.424 UTC,,,6491,,67deba28.195b,1,,2025-03-22 13:24:56 UTC,,0,LOG,00000,"checkpoint starting: immediate force wait",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:59.424 UTC,,,6491,,67deba28.195b,2,,2025-03-22 13:24:56 UTC,,0,DEBUG,00000,"performing replication slot checkpoint",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:59.434 UTC,,,6491,,67deba28.195b,3,,2025-03-22 13:24:56 UTC,,0,DEBUG,00000,"checkpoint sync: number=1 file=base/5/1249 time=0.894 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:59.436 UTC,,,6491,,67deba28.195b,4,,2025-03-22 13:24:56 UTC,,0,DEBUG,00000,"checkpoint sync: number=2 file=base/5/1259 time=1.783 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:59.436 UTC,,,6491,,67deba28.195b,5,,2025-03-22 13:24:56 UTC,,0,DEBUG,00000,"checkpoint sync: number=3 file=pg_xact/0000 time=0.677 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:59.437 UTC,,,6491,,67deba28.195b,6,,2025-03-22 13:24:56 UTC,,0,DEBUG,00000,"checkpoint sync: number=4 file=pg_multixact/offsets/0000 time=0.662 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:59.466 UTC,,,6491,,67deba28.195b,7,,2025-03-22 13:24:56 UTC,,0,LOG,00000,"checkpoint complete: wrote 3 buffers (2.3%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.003 s, sync=0.005 s, total=0.043 s; sync files=4, longest=0.002 s, average=0.002 s; distance=16384 kB, estimate=16384 kB; lsn=0/6000080, redo lsn=0/6000028",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:24:59.467 UTC,"replicator","",6513,"127.0.0.1:56572",67deba2b.1971,5,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:59 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_snapshots"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:59.467 UTC,"replicator","",6513,"127.0.0.1:56572",67deba2b.1971,6,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:59 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_subtrans"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:59.467 UTC,"replicator","",6513,"127.0.0.1:56572",67deba2b.1971,7,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:59 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_dynshmem"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:59.467 UTC,"replicator","",6513,"127.0.0.1:56572",67deba2b.1971,8,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:59 UTC,113/0,0,DEBUG,00000,"file ""postmaster.pid"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:59.467 UTC,"replicator","",6513,"127.0.0.1:56572",67deba2b.1971,9,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:59 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_stat_tmp"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:59.467 UTC,"replicator","",6513,"127.0.0.1:56572",67deba2b.1971,10,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:59 UTC,113/0,0,DEBUG,00000,"file ""postmaster.opts"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:59.467 UTC,"replicator","",6513,"127.0.0.1:56572",67deba2b.1971,11,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:59 UTC,113/0,0,DEBUG,00000,"file ""pg_internal.init"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:59.467 UTC,"replicator","",6513,"127.0.0.1:56572",67deba2b.1971,12,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:59 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_serial"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:59.469 UTC,"replicator","",6513,"127.0.0.1:56572",67deba2b.1971,13,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:59 UTC,113/0,0,DEBUG,00000,"file ""pg_internal.init"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:59.470 UTC,"replicator","",6513,"127.0.0.1:56572",67deba2b.1971,14,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:59 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_replslot"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:59.470 UTC,"replicator","",6513,"127.0.0.1:56572",67deba2b.1971,15,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:59 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_notify"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:59.470 UTC,"replicator","",6513,"127.0.0.1:56572",67deba2b.1971,16,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:59 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_snapshots"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:59.470 UTC,"replicator","",6513,"127.0.0.1:56572",67deba2b.1971,17,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:59 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_subtrans"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:59.470 UTC,"replicator","",6513,"127.0.0.1:56572",67deba2b.1971,18,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:59 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_dynshmem"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:59.470 UTC,"replicator","",6513,"127.0.0.1:56572",67deba2b.1971,19,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:59 UTC,113/0,0,DEBUG,00000,"file ""postmaster.pid"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:59.470 UTC,"replicator","",6513,"127.0.0.1:56572",67deba2b.1971,20,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:59 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_stat_tmp"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:59.471 UTC,"replicator","",6513,"127.0.0.1:56572",67deba2b.1971,21,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:59 UTC,113/0,0,DEBUG,00000,"file ""postmaster.opts"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:59.471 UTC,"replicator","",6513,"127.0.0.1:56572",67deba2b.1971,22,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:59 UTC,113/0,0,DEBUG,00000,"file ""pg_internal.init"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:59.473 UTC,"replicator","",6513,"127.0.0.1:56572",67deba2b.1971,23,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:59 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_serial"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:59.488 UTC,,,6496,,67deba28.1960,1,,2025-03-22 13:24:56 UTC,,0,DEBUG,00000,"archived write-ahead log file ""000000010000000000000005""",,,,,,,,,"","archiver",,0 1534s 2025-03-22 13:24:59.493 UTC,"replicator","",6516,"127.0.0.1:56576",67deba2b.1974,1,"idle",2025-03-22 13:24:59 UTC,114/0,0,DEBUG,00000,"received replication command: SHOW data_directory_mode",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:59.493 UTC,"replicator","",6516,"127.0.0.1:56576",67deba2b.1974,2,"idle",2025-03-22 13:24:59 UTC,114/0,0,DEBUG,00000,"received replication command: CREATE_REPLICATION_SLOT ""pg_basebackup_6516"" TEMPORARY PHYSICAL ( RESERVE_WAL)",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:59.499 UTC,"replicator","",6516,"127.0.0.1:56576",67deba2b.1974,3,"CREATE_REPLICATION_SLOT",2025-03-22 13:24:59 UTC,114/0,0,DEBUG,00000,"released physical replication slot ""pg_basebackup_6516""",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:59.500 UTC,"replicator","",6516,"127.0.0.1:56576",67deba2b.1974,4,"idle",2025-03-22 13:24:59 UTC,114/0,0,DEBUG,00000,"received replication command: IDENTIFY_SYSTEM",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:59.503 UTC,"replicator","",6516,"127.0.0.1:56576",67deba2b.1974,5,"idle",2025-03-22 13:24:59 UTC,114/0,0,DEBUG,00000,"received replication command: START_REPLICATION SLOT ""pg_basebackup_6516"" 0/6000000 TIMELINE 1",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:59.503 UTC,"replicator","",6516,"127.0.0.1:56576",67deba2b.1974,6,"START_REPLICATION",2025-03-22 13:24:59 UTC,114/0,0,DEBUG,00000,"acquired physical replication slot ""pg_basebackup_6516""",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:59.503 UTC,"replicator","",6516,"127.0.0.1:56576",67deba2b.1974,7,"streaming 0/60000F8",2025-03-22 13:24:59 UTC,114/0,0,DEBUG,00000,"""pg_basebackup"" has now caught up with upstream server",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:59.555 UTC,"replicator","",6513,"127.0.0.1:56572",67deba2b.1971,24,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:59 UTC,113/0,0,DEBUG,00000,"file ""pg_internal.init"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:59.572 UTC,"replicator","",6513,"127.0.0.1:56572",67deba2b.1971,25,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:59 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_replslot"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:59.572 UTC,"replicator","",6513,"127.0.0.1:56572",67deba2b.1971,26,"sending backup ""pg_basebackup base backup""",2025-03-22 13:24:59 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_notify"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:59.601 UTC,"replicator","",6516,"127.0.0.1:56576",67deba2b.1974,8,"streaming 0/62A0000",2025-03-22 13:24:59 UTC,114/0,0,DEBUG,00000,"released physical replication slot ""pg_basebackup_6516""",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:59.610 UTC,"replicator","",6516,"127.0.0.1:56576",67deba2b.1974,9,"idle",2025-03-22 13:24:59 UTC,114/0,0,DEBUG,00000,"xmin required by slots: data 0, catalog 747",,,,,,,,,"pg_basebackup","walsender",,0 1534s 2025-03-22 13:24:59.648 UTC,,,6496,,67deba28.1960,2,,2025-03-22 13:24:56 UTC,,0,DEBUG,00000,"archived write-ahead log file ""000000010000000000000006""",,,,,,,,,"","archiver",,0 1534s 2025-03-22 13:24:59.690 UTC,,,6496,,67deba28.1960,3,,2025-03-22 13:24:56 UTC,,0,DEBUG,00000,"archived write-ahead log file ""000000010000000000000006.00000028.backup""",,,,,,,,,"","archiver",,0 1534s 2025-03-22 13:25:00.600 UTC,"postgres","postgres",6502,"[local]",67deba28.1966,5,"idle",2025-03-22 13:24:56 UTC,2/6,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:25:00.697 UTC,"postgres","postgres",6502,"[local]",67deba28.1966,6,"idle",2025-03-22 13:24:56 UTC,2/7,0,LOG,00000,"statement: SELECT pg_catalog.pg_create_physical_replication_slot('postgres_2', true) WHERE NOT EXISTS (SELECT 1 FROM pg_catalog.pg_replication_slots WHERE slot_type = 'physical' AND slot_name = 'postgres_2')",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:25:02.017 UTC,,,6489,,67deba28.1959,7,,2025-03-22 13:24:56 UTC,,0,LOG,00000,"received fast shutdown request",,,,,,,,,"","postmaster",,0 1534s 2025-03-22 13:25:02.019 UTC,,,6489,,67deba28.1959,8,,2025-03-22 13:24:56 UTC,,0,LOG,00000,"aborting any active transactions",,,,,,,,,"","postmaster",,0 1534s 2025-03-22 13:25:02.019 UTC,"postgres","postgres",6504,"127.0.0.1:56564",67deba29.1968,2,"idle",2025-03-22 13:24:57 UTC,4/0,0,FATAL,57P01,"terminating connection due to administrator command",,,,,,,,,"","client backend",,0 1534s 2025-03-22 13:25:02.019 UTC,"postgres","postgres",6502,"[local]",67deba28.1966,7,"idle",2025-03-22 13:24:56 UTC,2/0,0,FATAL,57P01,"terminating connection due to administrator command",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:25:02.019 UTC,,,6497,,67deba28.1961,2,,2025-03-22 13:24:56 UTC,105/0,0,DEBUG,00000,"logical replication launcher shutting down",,,,,,,,,"","logical replication launcher",,0 1534s 2025-03-22 13:25:02.020 UTC,,,6495,,67deba28.195f,2,,2025-03-22 13:24:56 UTC,100/0,0,DEBUG,00000,"autovacuum launcher shutting down",,,,,,,,,"","autovacuum launcher",,0 1534s 2025-03-22 13:25:02.028 UTC,,,6489,,67deba28.1959,9,,2025-03-22 13:24:56 UTC,,0,LOG,00000,"background worker ""logical replication launcher"" (PID 6497) exited with exit code 1",,,,,,,,,"","postmaster",,0 1534s 2025-03-22 13:25:02.028 UTC,,,6491,,67deba28.195b,8,,2025-03-22 13:24:56 UTC,,0,LOG,00000,"shutting down",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:25:02.030 UTC,,,6491,,67deba28.195b,9,,2025-03-22 13:24:56 UTC,,0,LOG,00000,"checkpoint starting: shutdown immediate",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:25:02.030 UTC,,,6491,,67deba28.195b,10,,2025-03-22 13:24:56 UTC,,0,DEBUG,00000,"performing replication slot checkpoint",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:25:02.067 UTC,,,6491,,67deba28.195b,11,,2025-03-22 13:24:56 UTC,,0,LOG,00000,"checkpoint complete: wrote 0 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.001 s, sync=0.001 s, total=0.039 s; sync files=0, longest=0.000 s, average=0.000 s; distance=16384 kB, estimate=16384 kB; lsn=0/7000028, redo lsn=0/7000028",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:25:02.070 UTC,,,6496,,67deba28.1960,4,,2025-03-22 13:24:56 UTC,,0,DEBUG,00000,"archiver process shutting down",,,,,,,,,"","archiver",,0 1534s 2025-03-22 13:25:02.074 UTC,,,6489,,67deba28.1959,10,,2025-03-22 13:24:56 UTC,,0,LOG,00000,"database system is shut down",,,,,,,,,"","postmaster",,0 1534s 2025-03-22 13:25:02.077 UTC,,,6490,,67deba28.195a,1,,2025-03-22 13:24:56 UTC,,0,DEBUG,00000,"logger shutting down",,,,,,,,,"","logger",,0 1534s features/output/nostream_node_failed/postgres-0.log: 1534s 2025-03-22 13:24:45.554 UTC [6387] LOG: ending log output to stderr 1534s 2025-03-22 13:24:45.554 UTC [6387] HINT: Future log output will go to log destination "csvlog". 1534s 2025-03-22 13:24:56.167 UTC [6388] DEBUG: logger shutting down 1534s 2025-03-22 13:24:56.520 UTC [6489] LOG: ending log output to stderr 1534s 2025-03-22 13:24:56.520 UTC [6489] HINT: Future log output will go to log destination "csvlog". 1534s 2025-03-22 13:25:02.077 UTC [6490] DEBUG: logger shutting down 1534s features/output/nostream_node_failed/postgres-0.yml: 1534s bootstrap: 1534s dcs: 1534s loop_wait: 2 1534s maximum_lag_on_failover: 1048576 1534s postgresql: 1534s parameters: 1534s archive_command: /usr/bin/python3 /tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py 1534s --mode archive --dirname /tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive 1534s --filename %f --pathname %p 1534s archive_mode: 'on' 1534s restore_command: /usr/bin/python3 /tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py 1534s --mode restore --dirname /tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive 1534s --filename %f --pathname %p 1534s wal_keep_segments: 100 1534s pg_hba: 1534s - host replication replicator 127.0.0.1/32 md5 1534s - host all all 0.0.0.0/0 md5 1534s use_pg_rewind: true 1534s retry_timeout: 10 1534s ttl: 30 1534s initdb: 1534s - encoding: UTF8 1534s - data-checksums 1534s - auth: md5 1534s - auth-host: md5 1534s post_bootstrap: psql -w -c "SELECT 1" 1534s log: 1534s format: '%(asctime)s %(levelname)s [%(pathname)s:%(lineno)d - %(funcName)s]: %(message)s' 1534s loggers: 1534s patroni.postgresql.callback_executor: DEBUG 1534s name: postgres-0 1534s postgresql: 1534s authentication: 1534s replication: 1534s password: rep-pass 1534s sslcert: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 1534s sslkey: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.key 1534s sslmode: verify-ca 1534s sslrootcert: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 1534s username: replicator 1534s rewind: 1534s password: rewind_password 1534s sslcert: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 1534s sslkey: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.key 1534s sslmode: verify-ca 1534s sslrootcert: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 1534s username: rewind_user 1534s superuser: 1534s password: patroni 1534s sslcert: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 1534s sslkey: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.key 1534s sslmode: verify-ca 1534s sslrootcert: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 1534s username: postgres 1534s basebackup: 1534s - checkpoint: fast 1534s callbacks: 1534s on_role_change: /usr/bin/python3 features/callback2.py postgres-0 5375 1534s connect_address: 127.0.0.1:5375 1534s data_dir: /tmp/autopkgtest.8qHkda/build.IZy/src/data/postgres-0 1534s listen: 127.0.0.1:5375 1534s parameters: 1534s log_destination: csvlog 1534s log_directory: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/nostream_node 1534s log_filename: postgres-0.log 1534s log_min_messages: debug1 1534s log_statement: all 1534s logging_collector: 'on' 1534s shared_buffers: 1MB 1534s ssl: 'on' 1534s ssl_ca_file: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 1534s ssl_cert_file: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 1534s ssl_key_file: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.key 1534s unix_socket_directories: /tmp 1534s pg_hba: 1534s - local all all trust 1534s - local replication all trust 1534s - hostssl replication replicator all md5 clientcert=verify-ca 1534s - hostssl all all all md5 clientcert=verify-ca 1534s pgpass: /tmp/pgpass_postgres-0 1534s use_unix_socket: true 1534s use_unix_socket_repl: true 1534s restapi: 1534s connect_address: 127.0.0.1:8008 1534s listen: 127.0.0.1:8008 1534s scope: batman 1534s tags: 1534s clonefrom: false 1534s noloadbalance: false 1534s nostream: false 1534s nosync: false 1534s features/output/nostream_node_failed/postgres-1.csv: 1534s 2025-03-22 13:24:48.053 UTC,,,6428,,67deba20.191c,1,,2025-03-22 13:24:48 UTC,,0,LOG,00000,"ending log output to stderr",,"Future log output will go to log destination ""csvlog"".",,,,,,,"","postmaster",,0 1534s 2025-03-22 13:24:48.053 UTC,,,6428,,67deba20.191c,2,,2025-03-22 13:24:48 UTC,,0,LOG,00000,"starting PostgreSQL 17.4 (Ubuntu 17.4-1) on aarch64-unknown-linux-gnu, compiled by gcc (Ubuntu 14.2.0-17ubuntu3) 14.2.0, 64-bit",,,,,,,,,"","postmaster",,0 1534s 2025-03-22 13:24:48.053 UTC,,,6428,,67deba20.191c,3,,2025-03-22 13:24:48 UTC,,0,LOG,00000,"listening on IPv4 address ""127.0.0.1"", port 5376",,,,,,,,,"","postmaster",,0 1534s 2025-03-22 13:24:48.057 UTC,,,6428,,67deba20.191c,4,,2025-03-22 13:24:48 UTC,,0,LOG,00000,"listening on Unix socket ""/tmp/.s.PGSQL.5376""",,,,,,,,,"","postmaster",,0 1534s 2025-03-22 13:24:48.063 UTC,,,6432,,67deba20.1920,1,,2025-03-22 13:24:48 UTC,,0,LOG,00000,"database system was interrupted; last known up at 2025-03-22 13:24:47 UTC",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:48.106 UTC,"postgres","postgres",6434,"[local]",67deba20.1922,1,"",2025-03-22 13:24:48 UTC,,0,FATAL,57P03,"the database system is starting up",,,,,,,,,"","client backend",,0 1534s 2025-03-22 13:24:48.112 UTC,"postgres","postgres",6436,"[local]",67deba20.1924,1,"",2025-03-22 13:24:48 UTC,,0,FATAL,57P03,"the database system is starting up",,,,,,,,,"","client backend",,0 1534s 2025-03-22 13:24:48.307 UTC,,,6432,,67deba20.1920,2,,2025-03-22 13:24:48 UTC,,0,DEBUG,00000,"backup time 2025-03-22 13:24:47 UTC in file ""backup_label""",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:48.307 UTC,,,6432,,67deba20.1920,3,,2025-03-22 13:24:48 UTC,,0,DEBUG,00000,"backup label pg_basebackup base backup in file ""backup_label""",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:48.307 UTC,,,6432,,67deba20.1920,4,,2025-03-22 13:24:48 UTC,,0,DEBUG,00000,"backup timeline 1 in file ""backup_label""",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:48.307 UTC,,,6432,,67deba20.1920,5,,2025-03-22 13:24:48 UTC,,0,LOG,00000,"starting backup recovery with redo LSN 0/2000028, checkpoint LSN 0/2000080, on timeline ID 1",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:48.359 UTC,,,6432,,67deba20.1920,6,,2025-03-22 13:24:48 UTC,,0,LOG,00000,"restored log file ""000000010000000000000002"" from archive",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:48.384 UTC,,,6432,,67deba20.1920,7,,2025-03-22 13:24:48 UTC,,0,DEBUG,00000,"got WAL segment from archive",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:48.384 UTC,,,6432,,67deba20.1920,8,,2025-03-22 13:24:48 UTC,,0,DEBUG,00000,"checkpoint record is at 0/2000080",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:48.384 UTC,,,6432,,67deba20.1920,9,,2025-03-22 13:24:48 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:48.384 UTC,,,6432,,67deba20.1920,10,,2025-03-22 13:24:48 UTC,,0,DEBUG,00000,"redo record is at 0/2000028; shutdown false",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:48.384 UTC,,,6432,,67deba20.1920,11,,2025-03-22 13:24:48 UTC,,0,DEBUG,00000,"next transaction ID: 746; next OID: 24576",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:48.384 UTC,,,6432,,67deba20.1920,12,,2025-03-22 13:24:48 UTC,,0,DEBUG,00000,"next MultiXactId: 1; next MultiXactOffset: 0",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:48.384 UTC,,,6432,,67deba20.1920,13,,2025-03-22 13:24:48 UTC,,0,DEBUG,00000,"oldest unfrozen transaction ID: 731, in database 1",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:48.384 UTC,,,6432,,67deba20.1920,14,,2025-03-22 13:24:48 UTC,,0,DEBUG,00000,"oldest MultiXactId: 1, in database 1",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:48.384 UTC,,,6432,,67deba20.1920,15,,2025-03-22 13:24:48 UTC,,0,DEBUG,00000,"commit timestamp Xid oldest/newest: 0/0",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:48.384 UTC,,,6432,,67deba20.1920,16,,2025-03-22 13:24:48 UTC,,0,DEBUG,00000,"transaction ID wrap limit is 2147484378, limited by database with OID 1",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:48.384 UTC,,,6432,,67deba20.1920,17,,2025-03-22 13:24:48 UTC,,0,DEBUG,00000,"MultiXactId wrap limit is 2147483648, limited by database with OID 1",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:48.384 UTC,,,6432,,67deba20.1920,18,,2025-03-22 13:24:48 UTC,,0,DEBUG,00000,"starting up replication slots",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:48.384 UTC,,,6432,,67deba20.1920,19,,2025-03-22 13:24:48 UTC,,0,DEBUG,00000,"xmin required by slots: data 0, catalog 0",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:48.388 UTC,,,6432,,67deba20.1920,20,,2025-03-22 13:24:48 UTC,,0,DEBUG,00000,"resetting unlogged relations: cleanup 1 init 0",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:48.388 UTC,,,6432,,67deba20.1920,21,,2025-03-22 13:24:48 UTC,,0,DEBUG,00000,"initializing for hot standby",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:48.388 UTC,,,6432,,67deba20.1920,22,,2025-03-22 13:24:48 UTC,125/0,0,LOG,00000,"redo starts at 0/2000028",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:48.564 UTC,,,6432,,67deba20.1920,23,,2025-03-22 13:24:48 UTC,125/0,0,DEBUG,00000,"recovery snapshots are now enabled",,,,,"WAL redo at 0/2000048 for Standby/RUNNING_XACTS: nextXid 746 latestCompletedXid 745 oldestRunningXid 746",,,,"","startup",,0 1534s 2025-03-22 13:24:48.564 UTC,,,6432,,67deba20.1920,24,,2025-03-22 13:24:48 UTC,125/0,0,DEBUG,00000,"end of backup record reached",,,,,"WAL redo at 0/20000F8 for XLOG/BACKUP_END: 0/2000028",,,,"","startup",,0 1534s 2025-03-22 13:24:48.564 UTC,,,6432,,67deba20.1920,25,,2025-03-22 13:24:48 UTC,125/0,0,DEBUG,00000,"end of backup reached",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:48.566 UTC,,,6432,,67deba20.1920,26,,2025-03-22 13:24:48 UTC,125/0,0,LOG,00000,"completed backup recovery with redo LSN 0/2000028 and end LSN 0/2000120",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:48.566 UTC,,,6432,,67deba20.1920,27,,2025-03-22 13:24:48 UTC,125/0,0,LOG,00000,"consistent recovery state reached at 0/2000120",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:48.566 UTC,,,6428,,67deba20.191c,5,,2025-03-22 13:24:48 UTC,,0,LOG,00000,"database system is ready to accept read-only connections",,,,,,,,,"","postmaster",,0 1534s 2025-03-22 13:24:48.729 UTC,"postgres","postgres",6445,"127.0.0.1:59328",67deba20.192d,1,"idle",2025-03-22 13:24:48 UTC,0/2,0,LOG,00000,"statement: SELECT 1",,,,,,,,,"","client backend",,0 1534s 2025-03-22 13:24:48.730 UTC,"postgres","postgres",6445,"127.0.0.1:59328",67deba20.192d,2,"idle",2025-03-22 13:24:48 UTC,0/3,0,LOG,00000,"statement: SET synchronous_commit TO 'local'",,,,,,,,,"","client backend",,0 1534s 2025-03-22 13:24:49.133 UTC,"postgres","postgres",6455,"[local]",67deba21.1937,1,"idle",2025-03-22 13:24:49 UTC,2/2,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:49.136 UTC,"postgres","postgres",6455,"[local]",67deba21.1937,2,"idle",2025-03-22 13:24:49 UTC,2/3,0,LOG,00000,"statement: SELECT name, setting, unit, vartype, context, sourcefile FROM pg_catalog.pg_settings WHERE pg_catalog.lower(name) = ANY(ARRAY['archive_cleanup_command','primary_conninfo','primary_slot_name','promote_trigger_file','recovery_end_command','recovery_min_apply_delay','recovery_target','recovery_target_lsn','recovery_target_name','recovery_target_time','recovery_target_timeline','recovery_target_xid','restore_command'])",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:49.139 UTC,"postgres","postgres",6455,"[local]",67deba21.1937,3,"idle",2025-03-22 13:24:49 UTC,2/4,0,LOG,00000,"statement: SELECT slot_name, slot_type, xmin, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint, plugin, database, datoid, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint FROM pg_catalog.pg_replication_slots WHERE NOT temporary",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:49.141 UTC,"postgres","postgres",6455,"[local]",67deba21.1937,4,"idle",2025-03-22 13:24:49 UTC,2/5,0,LOG,00000,"statement: SELECT pg_catalog.pg_create_physical_replication_slot('postgres_0', true) WHERE NOT EXISTS (SELECT 1 FROM pg_catalog.pg_replication_slots WHERE slot_type = 'physical' AND slot_name = 'postgres_0')",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:49.158 UTC,"replicator","",6457,"[local]",67deba21.1939,1,"idle",2025-03-22 13:24:49 UTC,113/0,0,DEBUG,00000,"received replication command: IDENTIFY_SYSTEM",,,,,,,,,"","walsender",,0 1534s 2025-03-22 13:24:49.277 UTC,,,6432,,67deba20.1920,28,,2025-03-22 13:24:48 UTC,125/0,0,LOG,00000,"waiting for WAL to become available at 0/3000018",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:49.787 UTC,"postgres","postgres",6445,"127.0.0.1:59328",67deba20.192d,3,"idle",2025-03-22 13:24:48 UTC,0/4,0,LOG,00000,"statement: SELECT 1 FROM public.test_1742649889_7353702",,,,,,,,,"","client backend",,0 1534s 2025-03-22 13:24:49.788 UTC,"postgres","postgres",6445,"127.0.0.1:59328",67deba20.192d,4,"SELECT",2025-03-22 13:24:48 UTC,0/4,0,DEBUG,42P01,"relation ""public.test_1742649889_7353702"" does not exist",,,,,,,,,"","client backend",,0 1534s 2025-03-22 13:24:49.788 UTC,"postgres","postgres",6445,"127.0.0.1:59328",67deba20.192d,5,"SELECT",2025-03-22 13:24:48 UTC,0/4,0,ERROR,42P01,"relation ""public.test_1742649889_7353702"" does not exist",,,,,,"SELECT 1 FROM public.test_1742649889_7353702",15,,"","client backend",,0 1534s 2025-03-22 13:24:50.788 UTC,"postgres","postgres",6445,"127.0.0.1:59328",67deba20.192d,6,"idle",2025-03-22 13:24:48 UTC,0/5,0,LOG,00000,"statement: SELECT 1 FROM public.test_1742649889_7353702",,,,,,,,,"","client backend",,0 1534s 2025-03-22 13:24:50.789 UTC,"postgres","postgres",6445,"127.0.0.1:59328",67deba20.192d,7,"SELECT",2025-03-22 13:24:48 UTC,0/5,0,DEBUG,42P01,"relation ""public.test_1742649889_7353702"" does not exist",,,,,,,,,"","client backend",,0 1534s 2025-03-22 13:24:50.789 UTC,"postgres","postgres",6445,"127.0.0.1:59328",67deba20.192d,8,"SELECT",2025-03-22 13:24:48 UTC,0/5,0,ERROR,42P01,"relation ""public.test_1742649889_7353702"" does not exist",,,,,,"SELECT 1 FROM public.test_1742649889_7353702",15,,"","client backend",,0 1534s 2025-03-22 13:24:51.627 UTC,"postgres","postgres",6455,"[local]",67deba21.1937,5,"idle",2025-03-22 13:24:49 UTC,2/6,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:51.628 UTC,"postgres","postgres",6455,"[local]",67deba21.1937,6,"idle",2025-03-22 13:24:49 UTC,2/7,0,LOG,00000,"statement: SELECT name, setting, unit, vartype, context, sourcefile FROM pg_catalog.pg_settings WHERE pg_catalog.lower(name) = ANY(ARRAY['archive_cleanup_command','primary_conninfo','primary_slot_name','promote_trigger_file','recovery_end_command','recovery_min_apply_delay','recovery_target','recovery_target_lsn','recovery_target_name','recovery_target_time','recovery_target_timeline','recovery_target_xid','restore_command'])",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:51.630 UTC,"postgres","postgres",6455,"[local]",67deba21.1937,7,"idle",2025-03-22 13:24:49 UTC,2/8,0,LOG,00000,"statement: SELECT slot_name, slot_type, xmin, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint, plugin, database, datoid, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint FROM pg_catalog.pg_replication_slots WHERE NOT temporary",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:51.631 UTC,"postgres","postgres",6455,"[local]",67deba21.1937,8,"idle",2025-03-22 13:24:49 UTC,2/9,0,LOG,00000,"statement: SELECT pg_catalog.pg_replication_slot_advance('postgres_0', '0/3000000')",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:51.631 UTC,"postgres","postgres",6455,"[local]",67deba21.1937,9,"SELECT",2025-03-22 13:24:49 UTC,2/9,0,DEBUG,00000,"xmin required by slots: data 0, catalog 0",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:51.789 UTC,"postgres","postgres",6445,"127.0.0.1:59328",67deba20.192d,9,"idle",2025-03-22 13:24:48 UTC,0/6,0,LOG,00000,"statement: SELECT 1 FROM public.test_1742649889_7353702",,,,,,,,,"","client backend",,0 1534s 2025-03-22 13:24:51.789 UTC,"postgres","postgres",6445,"127.0.0.1:59328",67deba20.192d,10,"SELECT",2025-03-22 13:24:48 UTC,0/6,0,DEBUG,42P01,"relation ""public.test_1742649889_7353702"" does not exist",,,,,,,,,"","client backend",,0 1534s 2025-03-22 13:24:51.789 UTC,"postgres","postgres",6445,"127.0.0.1:59328",67deba20.192d,11,"SELECT",2025-03-22 13:24:48 UTC,0/6,0,ERROR,42P01,"relation ""public.test_1742649889_7353702"" does not exist",,,,,,"SELECT 1 FROM public.test_1742649889_7353702",15,,"","client backend",,0 1534s 2025-03-22 13:24:51.795 UTC,"postgres","postgres",6455,"[local]",67deba21.1937,10,"idle",2025-03-22 13:24:49 UTC,2/10,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:51.796 UTC,"postgres","postgres",6455,"[local]",67deba21.1937,11,"idle",2025-03-22 13:24:49 UTC,2/11,0,LOG,00000,"statement: SELECT name, setting, unit, vartype, context, sourcefile FROM pg_catalog.pg_settings WHERE pg_catalog.lower(name) = ANY(ARRAY['archive_cleanup_command','primary_conninfo','primary_slot_name','promote_trigger_file','recovery_end_command','recovery_min_apply_delay','recovery_target','recovery_target_lsn','recovery_target_name','recovery_target_time','recovery_target_timeline','recovery_target_xid','restore_command'])",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:51.798 UTC,"postgres","postgres",6455,"[local]",67deba21.1937,12,"idle",2025-03-22 13:24:49 UTC,2/12,0,LOG,00000,"statement: SELECT pg_catalog.pg_replication_slot_advance('postgres_0', '0/4000000')",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:51.798 UTC,"postgres","postgres",6455,"[local]",67deba21.1937,13,"SELECT",2025-03-22 13:24:49 UTC,2/12,0,DEBUG,00000,"xmin required by slots: data 0, catalog 0",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:52.790 UTC,"postgres","postgres",6445,"127.0.0.1:59328",67deba20.192d,12,"idle",2025-03-22 13:24:48 UTC,0/7,0,LOG,00000,"statement: SELECT 1 FROM public.test_1742649889_7353702",,,,,,,,,"","client backend",,0 1534s 2025-03-22 13:24:52.790 UTC,"postgres","postgres",6445,"127.0.0.1:59328",67deba20.192d,13,"SELECT",2025-03-22 13:24:48 UTC,0/7,0,DEBUG,42P01,"relation ""public.test_1742649889_7353702"" does not exist",,,,,,,,,"","client backend",,0 1534s 2025-03-22 13:24:52.790 UTC,"postgres","postgres",6445,"127.0.0.1:59328",67deba20.192d,14,"SELECT",2025-03-22 13:24:48 UTC,0/7,0,ERROR,42P01,"relation ""public.test_1742649889_7353702"" does not exist",,,,,,"SELECT 1 FROM public.test_1742649889_7353702",15,,"","client backend",,0 1534s 2025-03-22 13:24:53.790 UTC,"postgres","postgres",6445,"127.0.0.1:59328",67deba20.192d,15,"idle",2025-03-22 13:24:48 UTC,0/8,0,LOG,00000,"statement: SELECT 1 FROM public.test_1742649889_7353702",,,,,,,,,"","client backend",,0 1534s 2025-03-22 13:24:53.790 UTC,"postgres","postgres",6445,"127.0.0.1:59328",67deba20.192d,16,"SELECT",2025-03-22 13:24:48 UTC,0/8,0,DEBUG,42P01,"relation ""public.test_1742649889_7353702"" does not exist",,,,,,,,,"","client backend",,0 1534s 2025-03-22 13:24:53.790 UTC,"postgres","postgres",6445,"127.0.0.1:59328",67deba20.192d,17,"SELECT",2025-03-22 13:24:48 UTC,0/8,0,ERROR,42P01,"relation ""public.test_1742649889_7353702"" does not exist",,,,,,"SELECT 1 FROM public.test_1742649889_7353702",15,,"","client backend",,0 1534s 2025-03-22 13:24:53.979 UTC,,,6432,,67deba20.1920,29,,2025-03-22 13:24:48 UTC,125/0,0,LOG,00000,"restored log file ""000000010000000000000003"" from archive",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:53.994 UTC,,,6432,,67deba20.1920,30,,2025-03-22 13:24:48 UTC,125/0,0,DEBUG,00000,"got WAL segment from archive",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:54.296 UTC,"postgres","postgres",6455,"[local]",67deba21.1937,14,"idle",2025-03-22 13:24:49 UTC,2/13,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:54.297 UTC,"postgres","postgres",6455,"[local]",67deba21.1937,15,"idle",2025-03-22 13:24:49 UTC,2/14,0,LOG,00000,"statement: SELECT name, setting, unit, vartype, context, sourcefile FROM pg_catalog.pg_settings WHERE pg_catalog.lower(name) = ANY(ARRAY['archive_cleanup_command','primary_conninfo','primary_slot_name','promote_trigger_file','recovery_end_command','recovery_min_apply_delay','recovery_target','recovery_target_lsn','recovery_target_name','recovery_target_time','recovery_target_timeline','recovery_target_xid','restore_command'])",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:54.299 UTC,"postgres","postgres",6455,"[local]",67deba21.1937,16,"idle",2025-03-22 13:24:49 UTC,2/15,0,LOG,00000,"statement: SELECT pg_catalog.pg_replication_slot_advance('postgres_0', '0/4000000')",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:54.299 UTC,"postgres","postgres",6455,"[local]",67deba21.1937,17,"SELECT",2025-03-22 13:24:49 UTC,2/15,0,DEBUG,00000,"xmin required by slots: data 0, catalog 0",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:54.534 UTC,,,6432,,67deba20.1920,31,,2025-03-22 13:24:48 UTC,125/0,0,LOG,00000,"waiting for WAL to become available at 0/4000018",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:54.791 UTC,"postgres","postgres",6445,"127.0.0.1:59328",67deba20.192d,18,"idle",2025-03-22 13:24:48 UTC,0/9,0,LOG,00000,"statement: SELECT 1 FROM public.test_1742649889_7353702",,,,,,,,,"","client backend",,0 1534s 2025-03-22 13:24:54.853 UTC,"postgres","postgres",6455,"[local]",67deba21.1937,18,"idle",2025-03-22 13:24:49 UTC,2/16,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:54.855 UTC,"postgres","postgres",6455,"[local]",67deba21.1937,19,"idle",2025-03-22 13:24:49 UTC,2/17,0,LOG,00000,"statement: SELECT name, setting, unit, vartype, context, sourcefile FROM pg_catalog.pg_settings WHERE pg_catalog.lower(name) = ANY(ARRAY['archive_cleanup_command','primary_conninfo','primary_slot_name','promote_trigger_file','recovery_end_command','recovery_min_apply_delay','recovery_target','recovery_target_lsn','recovery_target_name','recovery_target_time','recovery_target_timeline','recovery_target_xid','restore_command'])",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:54.859 UTC,"postgres","postgres",6455,"[local]",67deba21.1937,20,"idle",2025-03-22 13:24:49 UTC,2/18,0,LOG,00000,"statement: SELECT name, setting, unit, vartype, context, sourcefile FROM pg_catalog.pg_settings WHERE pg_catalog.lower(name) = ANY(ARRAY['wal_level','max_connections','max_wal_senders','max_prepared_transactions','max_locks_per_transaction','track_commit_timestamp','max_replication_slots','max_worker_processes','wal_log_hints','archive_command','archive_mode','log_destination','log_directory','log_filename','log_min_messages','log_statement','logging_collector','shared_buffers','ssl','ssl_ca_file','ssl_cert_file','ssl_key_file','unix_socket_directories','cluster_name','listen_addresses','port','wal_keep_size'])",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:54.867 UTC,,,6428,,67deba20.191c,6,,2025-03-22 13:24:48 UTC,,0,LOG,00000,"received SIGHUP, reloading configuration files",,,,,,,,,"","postmaster",,0 1534s 2025-03-22 13:24:54.868 UTC,,,6428,,67deba20.191c,7,,2025-03-22 13:24:48 UTC,,0,LOG,55P02,"parameter ""wal_level"" cannot be changed without restarting the server",,,,,,,,,"","postmaster",,0 1534s 2025-03-22 13:24:54.868 UTC,,,6428,,67deba20.191c,8,,2025-03-22 13:24:48 UTC,,0,LOG,F0000,"configuration file ""/tmp/autopkgtest.8qHkda/build.IZy/src/data/postgres-1/postgresql.conf"" contains errors; unaffected changes were applied",,,,,,,,,"","postmaster",,0 1534s 2025-03-22 13:24:55.242 UTC,,,6432,,67deba20.1920,32,,2025-03-22 13:24:48 UTC,125/0,0,LOG,00000,"waiting for WAL to become available at 0/4000018",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:55.873 UTC,"postgres","postgres",6455,"[local]",67deba21.1937,21,"idle",2025-03-22 13:24:49 UTC,2/19,0,LOG,00000,"statement: SELECT name, pg_catalog.current_setting(name), unit, vartype FROM pg_catalog.pg_settings WHERE pg_catalog.lower(name) != ALL(ARRAY['archive_cleanup_command','pause_at_recovery_target','primary_conninfo','primary_slot_name','promote_trigger_file','recovery_end_command','recovery_min_apply_delay','recovery_target','recovery_target_action','recovery_target_inclusive','recovery_target_lsn','recovery_target_name','recovery_target_time','recovery_target_timeline','recovery_target_xid','restore_command','standby_mode','trigger_file','hot_standby']) AND pending_restart",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:56.694 UTC,"postgres","postgres",6455,"[local]",67deba21.1937,22,"idle",2025-03-22 13:24:49 UTC,2/20,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:56.699 UTC,"postgres","postgres",6455,"[local]",67deba21.1937,23,"idle",2025-03-22 13:24:49 UTC,2/21,0,LOG,00000,"statement: SELECT name, setting, unit, vartype, context, sourcefile FROM pg_catalog.pg_settings WHERE pg_catalog.lower(name) = ANY(ARRAY['archive_cleanup_command','primary_conninfo','primary_slot_name','promote_trigger_file','recovery_end_command','recovery_min_apply_delay','recovery_target','recovery_target_lsn','recovery_target_name','recovery_target_time','recovery_target_timeline','recovery_target_xid','restore_command'])",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:56.703 UTC,"postgres","postgres",6455,"[local]",67deba21.1937,24,"idle",2025-03-22 13:24:49 UTC,2/22,0,LOG,00000,"statement: SELECT pg_catalog.pg_replication_slot_advance('postgres_0', '0/50000D8')",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:56.704 UTC,"postgres","postgres",6455,"[local]",67deba21.1937,25,"SELECT",2025-03-22 13:24:49 UTC,2/22,0,DEBUG,00000,"xmin required by slots: data 0, catalog 0",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:58.694 UTC,"postgres","postgres",6455,"[local]",67deba21.1937,26,"idle",2025-03-22 13:24:49 UTC,2/23,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:58.696 UTC,"postgres","postgres",6455,"[local]",67deba21.1937,27,"idle",2025-03-22 13:24:49 UTC,2/24,0,LOG,00000,"statement: SELECT name, setting, unit, vartype, context, sourcefile FROM pg_catalog.pg_settings WHERE pg_catalog.lower(name) = ANY(ARRAY['archive_cleanup_command','primary_conninfo','primary_slot_name','promote_trigger_file','recovery_end_command','recovery_min_apply_delay','recovery_target','recovery_target_lsn','recovery_target_name','recovery_target_time','recovery_target_timeline','recovery_target_xid','restore_command'])",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:58.699 UTC,"postgres","postgres",6455,"[local]",67deba21.1937,28,"idle",2025-03-22 13:24:49 UTC,2/25,0,LOG,00000,"statement: SELECT pg_catalog.pg_replication_slot_advance('postgres_0', '0/5001EB8')",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:58.699 UTC,"postgres","postgres",6455,"[local]",67deba21.1937,29,"SELECT",2025-03-22 13:24:49 UTC,2/25,0,DEBUG,00000,"xmin required by slots: data 0, catalog 0",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:24:59.921 UTC,,,6432,,67deba20.1920,33,,2025-03-22 13:24:48 UTC,125/0,0,LOG,00000,"restored log file ""000000010000000000000004"" from archive",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:59.938 UTC,,,6432,,67deba20.1920,34,,2025-03-22 13:24:48 UTC,125/0,0,DEBUG,00000,"got WAL segment from archive",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:24:59.989 UTC,,,6432,,67deba20.1920,35,,2025-03-22 13:24:48 UTC,125/0,0,LOG,00000,"restored log file ""000000010000000000000005"" from archive",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:25:00.004 UTC,,,6432,,67deba20.1920,36,,2025-03-22 13:24:48 UTC,125/0,0,DEBUG,00000,"got WAL segment from archive",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:25:00.004 UTC,,,6432,,67deba20.1920,37,,2025-03-22 13:24:48 UTC,125/0,0,DEBUG,00000,"transaction ID wrap limit is 2147484378, limited by database with OID 1",,,,,"WAL redo at 0/5000028 for XLOG/CHECKPOINT_SHUTDOWN: redo 0/5000028; tli 1; prev tli 1; fpw true; wal_level replica; xid 0:747; oid 16389; multi 1; offset 0; oldest xid 731 in DB 1; oldest multi 1 in DB 1; oldest/newest commit timestamp xid: 0/0; oldest running xid 0; shutdown",,,,"","startup",,0 1534s 2025-03-22 13:25:00.055 UTC,,,6432,,67deba20.1920,38,,2025-03-22 13:24:48 UTC,125/0,0,LOG,00000,"restored log file ""000000010000000000000006"" from archive",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:25:00.069 UTC,,,6432,,67deba20.1920,39,,2025-03-22 13:24:48 UTC,125/0,0,DEBUG,00000,"got WAL segment from archive",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:25:00.257 UTC,,,6432,,67deba20.1920,40,,2025-03-22 13:24:48 UTC,125/0,0,DEBUG,00000,"saw end-of-backup record for backup starting at 0/6000028, waiting for 0/0",,,,,"WAL redo at 0/60000F8 for XLOG/BACKUP_END: 0/6000028",,,,"","startup",,0 1534s 2025-03-22 13:25:00.616 UTC,,,6432,,67deba20.1920,41,,2025-03-22 13:24:48 UTC,125/0,0,LOG,00000,"waiting for WAL to become available at 0/7000018",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:25:00.698 UTC,"postgres","postgres",6455,"[local]",67deba21.1937,30,"idle",2025-03-22 13:24:49 UTC,2/26,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:25:00.699 UTC,"postgres","postgres",6455,"[local]",67deba21.1937,31,"idle",2025-03-22 13:24:49 UTC,2/27,0,LOG,00000,"statement: SELECT name, setting, unit, vartype, context, sourcefile FROM pg_catalog.pg_settings WHERE pg_catalog.lower(name) = ANY(ARRAY['archive_cleanup_command','primary_conninfo','primary_slot_name','promote_trigger_file','recovery_end_command','recovery_min_apply_delay','recovery_target','recovery_target_lsn','recovery_target_name','recovery_target_time','recovery_target_timeline','recovery_target_xid','restore_command'])",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:25:00.702 UTC,"postgres","postgres",6455,"[local]",67deba21.1937,32,"idle",2025-03-22 13:24:49 UTC,2/28,0,LOG,00000,"statement: SELECT pg_catalog.pg_replication_slot_advance('postgres_0', '0/7000000')",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:25:00.702 UTC,"postgres","postgres",6455,"[local]",67deba21.1937,33,"SELECT",2025-03-22 13:24:49 UTC,2/28,0,DEBUG,00000,"xmin required by slots: data 0, catalog 0",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:25:00.702 UTC,"postgres","postgres",6455,"[local]",67deba21.1937,34,"idle",2025-03-22 13:24:49 UTC,2/29,0,LOG,00000,"statement: SELECT pg_catalog.pg_create_physical_replication_slot('postgres_2', true) WHERE NOT EXISTS (SELECT 1 FROM pg_catalog.pg_replication_slots WHERE slot_type = 'physical' AND slot_name = 'postgres_2')",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:25:00.949 UTC,"replicator","",6557,"127.0.0.1:44188",67deba2c.199d,1,"idle",2025-03-22 13:25:00 UTC,114/0,0,DEBUG,00000,"received replication command: IDENTIFY_SYSTEM",,,,,,,,,"postgres-2","walsender",,0 1534s 2025-03-22 13:25:00.950 UTC,"replicator","",6557,"127.0.0.1:44188",67deba2c.199d,2,"idle",2025-03-22 13:25:00 UTC,114/0,0,DEBUG,00000,"received replication command: START_REPLICATION SLOT ""postgres_2"" 0/7000000 TIMELINE 1",,,,,,,,,"postgres-2","walsender",,0 1534s 2025-03-22 13:25:00.950 UTC,"replicator","",6557,"127.0.0.1:44188",67deba2c.199d,3,"START_REPLICATION",2025-03-22 13:25:00 UTC,114/0,0,DEBUG,00000,"acquired physical replication slot ""postgres_2""",,,,,,,,,"postgres-2","walsender",,0 1534s 2025-03-22 13:25:00.950 UTC,"replicator","",6557,"127.0.0.1:44188",67deba2c.199d,4,"START_REPLICATION",2025-03-22 13:25:00 UTC,114/0,0,DEBUG,00000,"""postgres-2"" has now caught up with upstream server",,,,,,,,,"postgres-2","walsender",,0 1534s 2025-03-22 13:25:00.950 UTC,"replicator","",6557,"127.0.0.1:44188",67deba2c.199d,5,"START_REPLICATION",2025-03-22 13:25:00 UTC,114/0,0,DEBUG,00000,"xmin required by slots: data 0, catalog 0",,,,,,,,,"postgres-2","walsender",,0 1534s 2025-03-22 13:25:01.797 UTC,"postgres","postgres",6445,"127.0.0.1:59328",67deba20.192d,19,"idle",2025-03-22 13:24:48 UTC,0/10,0,LOG,00000,"statement: SELECT 1 FROM pg_replication_slots WHERE slot_name = 'test_logical'",,,,,,,,,"","client backend",,0 1534s 2025-03-22 13:25:03.078 UTC,"postgres","postgres",6455,"[local]",67deba21.1937,35,"idle",2025-03-22 13:24:49 UTC,2/30,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:25:03.080 UTC,"postgres","postgres",6455,"[local]",67deba21.1937,36,"idle",2025-03-22 13:24:49 UTC,2/31,0,LOG,00000,"statement: SELECT name, setting, unit, vartype, context, sourcefile FROM pg_catalog.pg_settings WHERE pg_catalog.lower(name) = ANY(ARRAY['archive_cleanup_command','primary_conninfo','primary_slot_name','promote_trigger_file','recovery_end_command','recovery_min_apply_delay','recovery_target','recovery_target_lsn','recovery_target_name','recovery_target_time','recovery_target_timeline','recovery_target_xid','restore_command'])",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:25:03.082 UTC,"postgres","postgres",6455,"[local]",67deba21.1937,37,"idle",2025-03-22 13:24:49 UTC,2/32,0,LOG,00000,"statement: SELECT slot_name, slot_type, xmin, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint, plugin, database, datoid, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint FROM pg_catalog.pg_replication_slots WHERE NOT temporary",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:25:03.128 UTC,"postgres","postgres",6455,"[local]",67deba21.1937,38,"idle",2025-03-22 13:24:49 UTC,2/33,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:25:03.155 UTC,"postgres","postgres",6583,"[local]",67deba2f.19b7,1,"idle",2025-03-22 13:25:03 UTC,3/2,0,LOG,00000,"statement: SELECT pg_catalog.pg_postmaster_start_time(), CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), pg_catalog.pg_last_xact_replay_timestamp(), (pg_catalog.pg_stat_get_wal_receiver()).status, pg_catalog.current_setting('restore_command'), pg_catalog.array_to_json(pg_catalog.array_agg(pg_catalog.row_to_json(ri))) FROM (SELECT (SELECT rolname FROM pg_catalog.pg_authid WHERE oid = usesysid) AS usename, application_name, client_addr, w.state, sync_state, sync_priority FROM pg_catalog.pg_stat_get_wal_senders() w, pg_catalog.pg_stat_get_activity(pid)) AS ri",,,,,,,,,"Patroni restapi","client backend",,0 1534s 2025-03-22 13:25:03.167 UTC,"replicator","",6585,"[local]",67deba2f.19b9,1,"idle",2025-03-22 13:25:03 UTC,115/0,0,DEBUG,00000,"received replication command: IDENTIFY_SYSTEM",,,,,,,,,"","walsender",,0 1534s 2025-03-22 13:25:03.321 UTC,"postgres","postgres",6455,"[local]",67deba21.1937,39,"idle",2025-03-22 13:24:49 UTC,2/34,0,LOG,00000,"statement: SELECT name, setting, unit, vartype, context, sourcefile FROM pg_catalog.pg_settings WHERE pg_catalog.lower(name) = ANY(ARRAY['archive_cleanup_command','primary_conninfo','primary_slot_name','promote_trigger_file','recovery_end_command','recovery_min_apply_delay','recovery_target','recovery_target_lsn','recovery_target_name','recovery_target_time','recovery_target_timeline','recovery_target_xid','restore_command'])",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:25:03.325 UTC,"postgres","postgres",6455,"[local]",67deba21.1937,40,"idle",2025-03-22 13:24:49 UTC,2/35,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:25:03.327 UTC,"postgres","postgres",6455,"[local]",67deba21.1937,41,"idle",2025-03-22 13:24:49 UTC,2/36,0,LOG,00000,"statement: SELECT name, setting, unit, vartype, context, sourcefile FROM pg_catalog.pg_settings WHERE pg_catalog.lower(name) = ANY(ARRAY['archive_cleanup_command','primary_conninfo','primary_slot_name','promote_trigger_file','recovery_end_command','recovery_min_apply_delay','recovery_target','recovery_target_lsn','recovery_target_name','recovery_target_time','recovery_target_timeline','recovery_target_xid','restore_command'])",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:25:03.367 UTC,"replicator","",6557,"127.0.0.1:44188",67deba2c.199d,6,"START_REPLICATION",2025-03-22 13:25:00 UTC,114/0,0,DEBUG,00000,"released physical replication slot ""postgres_2""",,,,,,,,,"postgres-2","walsender",,0 1534s 2025-03-22 13:25:04.136 UTC,,,6428,,67deba20.191c,9,,2025-03-22 13:24:48 UTC,,0,LOG,00000,"received fast shutdown request",,,,,,,,,"","postmaster",,0 1534s 2025-03-22 13:25:04.138 UTC,,,6428,,67deba20.191c,10,,2025-03-22 13:24:48 UTC,,0,LOG,00000,"aborting any active transactions",,,,,,,,,"","postmaster",,0 1534s 2025-03-22 13:25:04.140 UTC,"postgres","postgres",6455,"[local]",67deba21.1937,42,"idle",2025-03-22 13:24:49 UTC,2/0,0,FATAL,57P01,"terminating connection due to administrator command",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:25:04.142 UTC,"postgres","postgres",6583,"[local]",67deba2f.19b7,2,"idle",2025-03-22 13:25:03 UTC,3/0,0,FATAL,57P01,"terminating connection due to administrator command",,,,,,,,,"Patroni restapi","client backend",,0 1534s 2025-03-22 13:25:04.142 UTC,"postgres","postgres",6445,"127.0.0.1:59328",67deba20.192d,20,"idle",2025-03-22 13:24:48 UTC,0/0,0,FATAL,57P01,"terminating connection due to administrator command",,,,,,,,,"","client backend",,0 1534s 2025-03-22 13:25:04.147 UTC,,,6430,,67deba20.191e,1,,2025-03-22 13:24:48 UTC,,0,LOG,00000,"shutting down",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:25:04.147 UTC,,,6430,,67deba20.191e,2,,2025-03-22 13:24:48 UTC,,0,LOG,00000,"restartpoint starting: shutdown immediate",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:25:04.147 UTC,,,6430,,67deba20.191e,3,,2025-03-22 13:24:48 UTC,,0,DEBUG,00000,"performing replication slot checkpoint",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:25:04.163 UTC,,,6430,,67deba20.191e,4,,2025-03-22 13:24:48 UTC,,0,DEBUG,00000,"checkpoint sync: number=1 file=base/5/2662 time=1.613 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:25:04.164 UTC,,,6430,,67deba20.191e,5,,2025-03-22 13:24:48 UTC,,0,DEBUG,00000,"checkpoint sync: number=2 file=base/5/1249 time=0.669 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:25:04.164 UTC,,,6430,,67deba20.191e,6,,2025-03-22 13:24:48 UTC,,0,DEBUG,00000,"checkpoint sync: number=3 file=base/5/2674 time=0.429 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:25:04.165 UTC,,,6430,,67deba20.191e,7,,2025-03-22 13:24:48 UTC,,0,DEBUG,00000,"checkpoint sync: number=4 file=base/5/2608 time=0.578 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:25:04.166 UTC,,,6430,,67deba20.191e,8,,2025-03-22 13:24:48 UTC,,0,DEBUG,00000,"checkpoint sync: number=5 file=base/5/1247 time=0.438 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:25:04.166 UTC,,,6430,,67deba20.191e,9,,2025-03-22 13:24:48 UTC,,0,DEBUG,00000,"checkpoint sync: number=6 file=base/5/2658 time=0.075 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:25:04.166 UTC,,,6430,,67deba20.191e,10,,2025-03-22 13:24:48 UTC,,0,DEBUG,00000,"checkpoint sync: number=7 file=base/5/1259 time=0.061 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:25:04.166 UTC,,,6430,,67deba20.191e,11,,2025-03-22 13:24:48 UTC,,0,DEBUG,00000,"checkpoint sync: number=8 file=base/5/2704 time=0.402 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:25:04.167 UTC,,,6430,,67deba20.191e,12,,2025-03-22 13:24:48 UTC,,0,DEBUG,00000,"checkpoint sync: number=9 file=base/5/1247_vm time=0.539 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:25:04.167 UTC,,,6430,,67deba20.191e,13,,2025-03-22 13:24:48 UTC,,0,DEBUG,00000,"checkpoint sync: number=10 file=base/5/2659 time=0.079 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:25:04.167 UTC,,,6430,,67deba20.191e,14,,2025-03-22 13:24:48 UTC,,0,DEBUG,00000,"checkpoint sync: number=11 file=base/5/2608_fsm time=0.487 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:25:04.168 UTC,,,6430,,67deba20.191e,15,,2025-03-22 13:24:48 UTC,,0,DEBUG,00000,"checkpoint sync: number=12 file=pg_xact/0000 time=0.630 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:25:04.169 UTC,,,6430,,67deba20.191e,16,,2025-03-22 13:24:48 UTC,,0,DEBUG,00000,"checkpoint sync: number=13 file=base/5/2673 time=0.439 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:25:04.169 UTC,,,6430,,67deba20.191e,17,,2025-03-22 13:24:48 UTC,,0,DEBUG,00000,"checkpoint sync: number=14 file=base/5/16386 time=0.097 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:25:04.169 UTC,,,6430,,67deba20.191e,18,,2025-03-22 13:24:48 UTC,,0,DEBUG,00000,"checkpoint sync: number=15 file=base/5/2663 time=0.368 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:25:04.170 UTC,,,6430,,67deba20.191e,19,,2025-03-22 13:24:48 UTC,,0,DEBUG,00000,"checkpoint sync: number=16 file=base/5/1249_vm time=0.434 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:25:04.170 UTC,,,6430,,67deba20.191e,20,,2025-03-22 13:24:48 UTC,,0,DEBUG,00000,"checkpoint sync: number=17 file=base/5/1259_vm time=0.557 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:25:04.170 UTC,,,6430,,67deba20.191e,21,,2025-03-22 13:24:48 UTC,,0,DEBUG,00000,"checkpoint sync: number=18 file=base/5/2608_vm time=0.322 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:25:04.171 UTC,,,6430,,67deba20.191e,22,,2025-03-22 13:24:48 UTC,,0,DEBUG,00000,"checkpoint sync: number=19 file=base/5/3455 time=0.506 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:25:04.171 UTC,,,6430,,67deba20.191e,23,,2025-03-22 13:24:48 UTC,,0,DEBUG,00000,"checkpoint sync: number=20 file=base/5/2703 time=0.369 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:25:04.173 UTC,,,6430,,67deba20.191e,24,,2025-03-22 13:24:48 UTC,,0,LOG,00000,"restartpoint complete: wrote 6 buffers (4.7%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.003 s, sync=0.010 s, total=0.026 s; sync files=20, longest=0.002 s, average=0.001 s; distance=65536 kB, estimate=65536 kB; lsn=0/6000080, redo lsn=0/6000028",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:25:04.173 UTC,,,6430,,67deba20.191e,25,,2025-03-22 13:24:48 UTC,,0,LOG,00000,"recovery restart point at 0/6000028","Last completed transaction was at log time 2025-03-22 13:24:49.767285+00.",,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:25:04.177 UTC,,,6428,,67deba20.191c,11,,2025-03-22 13:24:48 UTC,,0,LOG,00000,"database system is shut down",,,,,,,,,"","postmaster",,0 1534s 2025-03-22 13:25:04.179 UTC,,,6429,,67deba20.191d,1,,2025-03-22 13:24:48 UTC,,0,DEBUG,00000,"logger shutting down",,,,,,,,,"","logger",,0 1534s features/output/nostream_node_failed/postgres-1.log: 1534s + for file in features/output/*_failed/* 1534s + case $file in 1534s + echo features/output/nostream_node_failed/postgres-1.log: 1534s + cat features/output/nostream_node_failed/postgres-1.log 1534s + for file in features/output/*_failed/* 1534s + case $file in 1534s + echo features/output/nostream_node_failed/postgres-1.yml: 1534s + cat features/output/nostream_node_failed/postgres-1.yml 1534s + for file in features/output/*_failed/* 1534s + case $file in 1534s + echo features/output/nostream_node_failed/postgres-2.csv: 1534s + cat features/output/nostream_node_failed/postgres-2.csv 1534s + for file in features/output/*_failed/* 1534s + case $file in 1534s + echo features/output/nostream_node_failed/postgres-2.log: 1534s + cat features/output/nostream_node_failed/postgres-2.log 1534s + for file in features/output/*_failed/* 1534s + case $file in 1534s + echo features/output/nostream_node_failed/postgres-2.yml: 1534s + cat features/output/nostream_node_failed/postgres-2.yml 1534s 2025-03-22 13:24:48.053 UTC [6428] LOG: ending log output to stderr 1534s 2025-03-22 13:24:48.053 UTC [6428] HINT: Future log output will go to log destination "csvlog". 1534s Traceback (most recent call last): 1534s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 1534s shutil.copy(full_filename, args.pathname) 1534s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1534s File "/usr/lib/python3.13/shutil.py", line 428, in copy 1534s copyfile(src, dst, follow_symlinks=follow_symlinks) 1534s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1534s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 1534s with open(src, 'rb') as fsrc: 1534s ~~~~^^^^^^^^^^^ 1534s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/00000002.history' 1534s Traceback (most recent call last): 1534s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 1534s shutil.copy(full_filename, args.pathname) 1534s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1534s File "/usr/lib/python3.13/shutil.py", line 428, in copy 1534s copyfile(src, dst, follow_symlinks=follow_symlinks) 1534s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1534s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 1534s with open(src, 'rb') as fsrc: 1534s ~~~~^^^^^^^^^^^ 1534s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/000000010000000000000003' 1534s Traceback (most recent call last): 1534s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 1534s shutil.copy(full_filename, args.pathname) 1534s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1534s File "/usr/lib/python3.13/shutil.py", line 428, in copy 1534s copyfile(src, dst, follow_symlinks=follow_symlinks) 1534s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1534s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 1534s with open(src, 'rb') as fsrc: 1534s ~~~~^^^^^^^^^^^ 1534s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/000000010000000000000003' 1534s Traceback (most recent call last): 1534s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 1534s shutil.copy(full_filename, args.pathname) 1534s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1534s File "/usr/lib/python3.13/shutil.py", line 428, in copy 1534s copyfile(src, dst, follow_symlinks=follow_symlinks) 1534s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1534s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 1534s with open(src, 'rb') as fsrc: 1534s ~~~~^^^^^^^^^^^ 1534s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/00000002.history' 1534s Traceback (most recent call last): 1534s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 1534s shutil.copy(full_filename, args.pathname) 1534s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1534s File "/usr/lib/python3.13/shutil.py", line 428, in copy 1534s copyfile(src, dst, follow_symlinks=follow_symlinks) 1534s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1534s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 1534s with open(src, 'rb') as fsrc: 1534s ~~~~^^^^^^^^^^^ 1534s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/000000010000000000000003' 1534s Traceback (most recent call last): 1534s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 1534s shutil.copy(full_filename, args.pathname) 1534s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1534s File "/usr/lib/python3.13/shutil.py", line 428, in copy 1534s copyfile(src, dst, follow_symlinks=follow_symlinks) 1534s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1534s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 1534s with open(src, 'rb') as fsrc: 1534s ~~~~^^^^^^^^^^^ 1534s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/00000002.history' 1534s Traceback (most recent call last): 1534s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 1534s shutil.copy(full_filename, args.pathname) 1534s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1534s File "/usr/lib/python3.13/shutil.py", line 428, in copy 1534s copyfile(src, dst, follow_symlinks=follow_symlinks) 1534s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1534s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 1534s with open(src, 'rb') as fsrc: 1534s ~~~~^^^^^^^^^^^ 1534s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/000000010000000000000004' 1534s Traceback (most recent call last): 1534s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 1534s shutil.copy(full_filename, args.pathname) 1534s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1534s File "/usr/lib/python3.13/shutil.py", line 428, in copy 1534s copyfile(src, dst, follow_symlinks=follow_symlinks) 1534s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1534s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 1534s with open(src, 'rb') as fsrc: 1534s ~~~~^^^^^^^^^^^ 1534s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/000000010000000000000004' 1534s Traceback (most recent call last): 1534s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 1534s shutil.copy(full_filename, args.pathname) 1534s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1534s File "/usr/lib/python3.13/shutil.py", line 428, in copy 1534s copyfile(src, dst, follow_symlinks=follow_symlinks) 1534s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1534s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 1534s with open(src, 'rb') as fsrc: 1534s ~~~~^^^^^^^^^^^ 1534s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/00000002.history' 1534s Traceback (most recent call last): 1534s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 1534s shutil.copy(full_filename, args.pathname) 1534s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1534s File "/usr/lib/python3.13/shutil.py", line 428, in copy 1534s copyfile(src, dst, follow_symlinks=follow_symlinks) 1534s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1534s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 1534s with open(src, 'rb') as fsrc: 1534s ~~~~^^^^^^^^^^^ 1534s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/000000010000000000000004' 1534s Traceback (most recent call last): 1534s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 1534s shutil.copy(full_filename, args.pathname) 1534s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1534s File "/usr/lib/python3.13/shutil.py", line 428, in copy 1534s copyfile(src, dst, follow_symlinks=follow_symlinks) 1534s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1534s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 1534s with open(src, 'rb') as fsrc: 1534s ~~~~^^^^^^^^^^^ 1534s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/00000002.history' 1534s Traceback (most recent call last): 1534s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 1534s shutil.copy(full_filename, args.pathname) 1534s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1534s File "/usr/lib/python3.13/shutil.py", line 428, in copy 1534s copyfile(src, dst, follow_symlinks=follow_symlinks) 1534s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1534s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 1534s with open(src, 'rb') as fsrc: 1534s ~~~~^^^^^^^^^^^ 1534s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/000000010000000000000007' 1534s Traceback (most recent call last): 1534s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 1534s shutil.copy(full_filename, args.pathname) 1534s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1534s File "/usr/lib/python3.13/shutil.py", line 428, in copy 1534s copyfile(src, dst, follow_symlinks=follow_symlinks) 1534s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1534s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 1534s with open(src, 'rb') as fsrc: 1534s ~~~~^^^^^^^^^^^ 1534s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/000000010000000000000007' 1534s Traceback (most recent call last): 1534s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 1534s shutil.copy(full_filename, args.pathname) 1534s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1534s File "/usr/lib/python3.13/shutil.py", line 428, in copy 1534s copyfile(src, dst, follow_symlinks=follow_symlinks) 1534s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1534s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 1534s with open(src, 'rb') as fsrc: 1534s ~~~~^^^^^^^^^^^ 1534s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/00000002.history' 1534s 2025-03-22 13:25:04.179 UTC [6429] DEBUG: logger shutting down 1534s features/output/nostream_node_failed/postgres-1.yml: 1534s bootstrap: 1534s dcs: 1534s loop_wait: 2 1534s maximum_lag_on_failover: 1048576 1534s postgresql: 1534s parameters: 1534s archive_command: /usr/bin/python3 /tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py 1534s --mode archive --dirname /tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive 1534s --filename %f --pathname %p 1534s archive_mode: 'on' 1534s restore_command: /usr/bin/python3 /tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py 1534s --mode restore --dirname /tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive 1534s --filename %f --pathname %p 1534s wal_keep_segments: 100 1534s pg_hba: 1534s - host replication replicator 127.0.0.1/32 md5 1534s - host all all 0.0.0.0/0 md5 1534s use_pg_rewind: true 1534s retry_timeout: 10 1534s ttl: 30 1534s initdb: 1534s - encoding: UTF8 1534s - data-checksums 1534s - auth: md5 1534s - auth-host: md5 1534s post_bootstrap: psql -w -c "SELECT 1" 1534s log: 1534s format: '%(asctime)s %(levelname)s [%(pathname)s:%(lineno)d - %(funcName)s]: %(message)s' 1534s loggers: 1534s patroni.postgresql.callback_executor: DEBUG 1534s name: postgres-1 1534s postgresql: 1534s authentication: 1534s replication: 1534s password: rep-pass 1534s sslcert: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 1534s sslkey: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.key 1534s sslmode: verify-ca 1534s sslrootcert: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 1534s username: replicator 1534s rewind: 1534s password: rewind_password 1534s sslcert: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 1534s sslkey: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.key 1534s sslmode: verify-ca 1534s sslrootcert: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 1534s username: rewind_user 1534s superuser: 1534s password: patroni 1534s sslcert: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 1534s sslkey: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.key 1534s sslmode: verify-ca 1534s sslrootcert: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 1534s username: postgres 1534s basebackup: 1534s - checkpoint: fast 1534s callbacks: 1534s on_role_change: /usr/bin/python3 features/callback2.py postgres-1 5376 1534s connect_address: 127.0.0.1:5376 1534s data_dir: /tmp/autopkgtest.8qHkda/build.IZy/src/data/postgres-1 1534s listen: 127.0.0.1:5376 1534s parameters: 1534s log_destination: csvlog 1534s log_directory: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/nostream_node 1534s log_filename: postgres-1.log 1534s log_min_messages: debug1 1534s log_statement: all 1534s logging_collector: 'on' 1534s shared_buffers: 1MB 1534s ssl: 'on' 1534s ssl_ca_file: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 1534s ssl_cert_file: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 1534s ssl_key_file: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.key 1534s unix_socket_directories: /tmp 1534s pg_hba: 1534s - local all all trust 1534s - local replication all trust 1534s - hostssl replication replicator all md5 clientcert=verify-ca 1534s - hostssl all all all md5 clientcert=verify-ca 1534s pgpass: /tmp/pgpass_postgres-1 1534s use_unix_socket: true 1534s use_unix_socket_repl: true 1534s restapi: 1534s connect_address: 127.0.0.1:8009 1534s listen: 127.0.0.1:8009 1534s scope: batman 1534s tags: 1534s clonefrom: false 1534s noloadbalance: false 1534s nostream: 'true' 1534s nosync: false 1534s features/output/nostream_node_failed/postgres-2.csv: 1534s 2025-03-22 13:25:00.127 UTC,,,6534,,67deba2c.1986,1,,2025-03-22 13:25:00 UTC,,0,LOG,00000,"ending log output to stderr",,"Future log output will go to log destination ""csvlog"".",,,,,,,"","postmaster",,0 1534s 2025-03-22 13:25:00.129 UTC,,,6534,,67deba2c.1986,2,,2025-03-22 13:25:00 UTC,,0,LOG,00000,"starting PostgreSQL 17.4 (Ubuntu 17.4-1) on aarch64-unknown-linux-gnu, compiled by gcc (Ubuntu 14.2.0-17ubuntu3) 14.2.0, 64-bit",,,,,,,,,"","postmaster",,0 1534s 2025-03-22 13:25:00.129 UTC,,,6534,,67deba2c.1986,3,,2025-03-22 13:25:00 UTC,,0,LOG,00000,"listening on IPv4 address ""127.0.0.1"", port 5377",,,,,,,,,"","postmaster",,0 1534s 2025-03-22 13:25:00.135 UTC,,,6534,,67deba2c.1986,4,,2025-03-22 13:25:00 UTC,,0,LOG,00000,"listening on Unix socket ""/tmp/.s.PGSQL.5377""",,,,,,,,,"","postmaster",,0 1534s 2025-03-22 13:25:00.143 UTC,,,6538,,67deba2c.198a,1,,2025-03-22 13:25:00 UTC,,0,LOG,00000,"database system was interrupted; last known up at 2025-03-22 13:24:59 UTC",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:25:00.235 UTC,"postgres","postgres",6540,"[local]",67deba2c.198c,1,"",2025-03-22 13:25:00 UTC,,0,FATAL,57P03,"the database system is starting up",,,,,,,,,"","client backend",,0 1534s 2025-03-22 13:25:00.251 UTC,"postgres","postgres",6543,"[local]",67deba2c.198f,1,"",2025-03-22 13:25:00 UTC,,0,FATAL,57P03,"the database system is starting up",,,,,,,,,"","client backend",,0 1534s 2025-03-22 13:25:00.429 UTC,,,6538,,67deba2c.198a,2,,2025-03-22 13:25:00 UTC,,0,DEBUG,00000,"backup time 2025-03-22 13:24:59 UTC in file ""backup_label""",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:25:00.429 UTC,,,6538,,67deba2c.198a,3,,2025-03-22 13:25:00 UTC,,0,DEBUG,00000,"backup label pg_basebackup base backup in file ""backup_label""",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:25:00.429 UTC,,,6538,,67deba2c.198a,4,,2025-03-22 13:25:00 UTC,,0,DEBUG,00000,"backup timeline 1 in file ""backup_label""",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:25:00.429 UTC,,,6538,,67deba2c.198a,5,,2025-03-22 13:25:00 UTC,,0,LOG,00000,"starting backup recovery with redo LSN 0/6000028, checkpoint LSN 0/6000080, on timeline ID 1",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:25:00.479 UTC,,,6538,,67deba2c.198a,6,,2025-03-22 13:25:00 UTC,,0,LOG,00000,"restored log file ""000000010000000000000006"" from archive",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:25:00.500 UTC,,,6538,,67deba2c.198a,7,,2025-03-22 13:25:00 UTC,,0,DEBUG,00000,"got WAL segment from archive",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:25:00.500 UTC,,,6538,,67deba2c.198a,8,,2025-03-22 13:25:00 UTC,,0,DEBUG,00000,"checkpoint record is at 0/6000080",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:25:00.500 UTC,,,6538,,67deba2c.198a,9,,2025-03-22 13:25:00 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:25:00.500 UTC,,,6538,,67deba2c.198a,10,,2025-03-22 13:25:00 UTC,,0,DEBUG,00000,"redo record is at 0/6000028; shutdown false",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:25:00.500 UTC,,,6538,,67deba2c.198a,11,,2025-03-22 13:25:00 UTC,,0,DEBUG,00000,"next transaction ID: 747; next OID: 16389",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:25:00.500 UTC,,,6538,,67deba2c.198a,12,,2025-03-22 13:25:00 UTC,,0,DEBUG,00000,"next MultiXactId: 1; next MultiXactOffset: 0",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:25:00.500 UTC,,,6538,,67deba2c.198a,13,,2025-03-22 13:25:00 UTC,,0,DEBUG,00000,"oldest unfrozen transaction ID: 731, in database 1",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:25:00.500 UTC,,,6538,,67deba2c.198a,14,,2025-03-22 13:25:00 UTC,,0,DEBUG,00000,"oldest MultiXactId: 1, in database 1",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:25:00.500 UTC,,,6538,,67deba2c.198a,15,,2025-03-22 13:25:00 UTC,,0,DEBUG,00000,"commit timestamp Xid oldest/newest: 0/0",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:25:00.500 UTC,,,6538,,67deba2c.198a,16,,2025-03-22 13:25:00 UTC,,0,DEBUG,00000,"transaction ID wrap limit is 2147484378, limited by database with OID 1",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:25:00.500 UTC,,,6538,,67deba2c.198a,17,,2025-03-22 13:25:00 UTC,,0,DEBUG,00000,"MultiXactId wrap limit is 2147483648, limited by database with OID 1",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:25:00.500 UTC,,,6538,,67deba2c.198a,18,,2025-03-22 13:25:00 UTC,,0,DEBUG,00000,"starting up replication slots",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:25:00.500 UTC,,,6538,,67deba2c.198a,19,,2025-03-22 13:25:00 UTC,,0,DEBUG,00000,"xmin required by slots: data 0, catalog 0",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:25:00.503 UTC,,,6538,,67deba2c.198a,20,,2025-03-22 13:25:00 UTC,,0,DEBUG,00000,"resetting unlogged relations: cleanup 1 init 0",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:25:00.504 UTC,,,6538,,67deba2c.198a,21,,2025-03-22 13:25:00 UTC,,0,DEBUG,00000,"initializing for hot standby",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:25:00.504 UTC,,,6538,,67deba2c.198a,22,,2025-03-22 13:25:00 UTC,125/0,0,LOG,00000,"redo starts at 0/6000028",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:25:00.735 UTC,,,6538,,67deba2c.198a,23,,2025-03-22 13:25:00 UTC,125/0,0,DEBUG,00000,"recovery snapshots are now enabled",,,,,"WAL redo at 0/6000048 for Standby/RUNNING_XACTS: nextXid 747 latestCompletedXid 746 oldestRunningXid 747",,,,"","startup",,0 1534s 2025-03-22 13:25:00.735 UTC,,,6538,,67deba2c.198a,24,,2025-03-22 13:25:00 UTC,125/0,0,DEBUG,00000,"end of backup record reached",,,,,"WAL redo at 0/60000F8 for XLOG/BACKUP_END: 0/6000028",,,,"","startup",,0 1534s 2025-03-22 13:25:00.735 UTC,,,6538,,67deba2c.198a,25,,2025-03-22 13:25:00 UTC,125/0,0,DEBUG,00000,"end of backup reached",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:25:00.737 UTC,,,6538,,67deba2c.198a,26,,2025-03-22 13:25:00 UTC,125/0,0,LOG,00000,"completed backup recovery with redo LSN 0/6000028 and end LSN 0/6000120",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:25:00.737 UTC,,,6538,,67deba2c.198a,27,,2025-03-22 13:25:00 UTC,125/0,0,LOG,00000,"consistent recovery state reached at 0/6000120",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:25:00.737 UTC,,,6534,,67deba2c.1986,5,,2025-03-22 13:25:00 UTC,,0,LOG,00000,"database system is ready to accept read-only connections",,,,,,,,,"","postmaster",,0 1534s 2025-03-22 13:25:00.790 UTC,"postgres","postgres",6555,"127.0.0.1:55922",67deba2c.199b,1,"idle",2025-03-22 13:25:00 UTC,0/2,0,LOG,00000,"statement: SELECT 1",,,,,,,,,"","client backend",,0 1534s 2025-03-22 13:25:00.791 UTC,"postgres","postgres",6555,"127.0.0.1:55922",67deba2c.199b,2,"idle",2025-03-22 13:25:00 UTC,0/3,0,LOG,00000,"statement: SET synchronous_commit TO 'local'",,,,,,,,,"","client backend",,0 1534s 2025-03-22 13:25:00.950 UTC,,,6556,,67deba2c.199c,1,,2025-03-22 13:25:00 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/7000000 on timeline 1",,,,,,,,,"","walreceiver",,0 1534s 2025-03-22 13:25:01.272 UTC,"postgres","postgres",6564,"[local]",67deba2d.19a4,1,"idle",2025-03-22 13:25:01 UTC,2/2,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:25:01.274 UTC,"postgres","postgres",6564,"[local]",67deba2d.19a4,2,"idle",2025-03-22 13:25:01 UTC,2/3,0,LOG,00000,"statement: SELECT name, setting, unit, vartype, context, sourcefile FROM pg_catalog.pg_settings WHERE pg_catalog.lower(name) = ANY(ARRAY['archive_cleanup_command','primary_conninfo','primary_slot_name','promote_trigger_file','recovery_end_command','recovery_min_apply_delay','recovery_target','recovery_target_lsn','recovery_target_name','recovery_target_time','recovery_target_timeline','recovery_target_xid','restore_command'])",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:25:01.278 UTC,"postgres","postgres",6564,"[local]",67deba2d.19a4,3,"idle",2025-03-22 13:25:01 UTC,2/4,0,LOG,00000,"statement: SELECT slot_name, slot_type, xmin, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint, plugin, database, datoid, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint FROM pg_catalog.pg_replication_slots WHERE NOT temporary",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:25:01.280 UTC,"postgres","postgres",6564,"[local]",67deba2d.19a4,4,"idle",2025-03-22 13:25:01 UTC,2/5,0,LOG,00000,"statement: SELECT pg_catalog.pg_create_physical_replication_slot('postgres_0', true) WHERE NOT EXISTS (SELECT 1 FROM pg_catalog.pg_replication_slots WHERE slot_type = 'physical' AND slot_name = 'postgres_0')",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:25:01.302 UTC,"replicator","",6566,"[local]",67deba2d.19a6,1,"idle",2025-03-22 13:25:01 UTC,113/0,0,DEBUG,00000,"received replication command: IDENTIFY_SYSTEM",,,,,,,,,"","walsender",,0 1534s 2025-03-22 13:25:01.799 UTC,"postgres","postgres",6555,"127.0.0.1:55922",67deba2c.199b,3,"idle",2025-03-22 13:25:00 UTC,0/4,0,LOG,00000,"statement: SELECT 1 FROM pg_replication_slots WHERE slot_name = 'test_logical'",,,,,,,,,"","client backend",,0 1534s 2025-03-22 13:25:03.079 UTC,"postgres","postgres",6564,"[local]",67deba2d.19a4,5,"idle",2025-03-22 13:25:01 UTC,2/6,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:25:03.081 UTC,"postgres","postgres",6564,"[local]",67deba2d.19a4,6,"idle",2025-03-22 13:25:01 UTC,2/7,0,LOG,00000,"statement: SELECT slot_name, slot_type, xmin, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint, plugin, database, datoid, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint FROM pg_catalog.pg_replication_slots WHERE NOT temporary",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:25:03.083 UTC,"postgres","postgres",6564,"[local]",67deba2d.19a4,7,"idle",2025-03-22 13:25:01 UTC,2/8,0,LOG,00000,"statement: SELECT pg_catalog.pg_replication_slot_advance('postgres_0', '0/7000000')",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:25:03.083 UTC,"postgres","postgres",6564,"[local]",67deba2d.19a4,8,"SELECT",2025-03-22 13:25:01 UTC,2/8,0,DEBUG,00000,"xmin required by slots: data 0, catalog 0",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:25:03.121 UTC,"postgres","postgres",6564,"[local]",67deba2d.19a4,9,"idle",2025-03-22 13:25:01 UTC,2/9,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:25:03.162 UTC,"postgres","postgres",6584,"[local]",67deba2f.19b8,1,"idle",2025-03-22 13:25:03 UTC,3/2,0,LOG,00000,"statement: SELECT pg_catalog.pg_postmaster_start_time(), CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), pg_catalog.pg_last_xact_replay_timestamp(), (pg_catalog.pg_stat_get_wal_receiver()).status, pg_catalog.current_setting('restore_command'), pg_catalog.array_to_json(pg_catalog.array_agg(pg_catalog.row_to_json(ri))) FROM (SELECT (SELECT rolname FROM pg_catalog.pg_authid WHERE oid = usesysid) AS usename, application_name, client_addr, w.state, sync_state, sync_priority FROM pg_catalog.pg_stat_get_wal_senders() w, pg_catalog.pg_stat_get_activity(pid)) AS ri",,,,,,,,,"Patroni restapi","client backend",,0 1534s 2025-03-22 13:25:03.170 UTC,"replicator","",6586,"[local]",67deba2f.19ba,1,"idle",2025-03-22 13:25:03 UTC,114/0,0,DEBUG,00000,"received replication command: IDENTIFY_SYSTEM",,,,,,,,,"","walsender",,0 1534s 2025-03-22 13:25:03.366 UTC,,,6538,,67deba2c.198a,28,,2025-03-22 13:25:00 UTC,125/0,0,LOG,00000,"received promote request",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:25:03.367 UTC,,,6556,,67deba2c.199c,2,,2025-03-22 13:25:00 UTC,,0,FATAL,57P01,"terminating walreceiver process due to administrator command",,,,,,,,,"","walreceiver",,0 1534s 2025-03-22 13:25:03.732 UTC,,,6538,,67deba2c.198a,29,,2025-03-22 13:25:00 UTC,125/0,0,LOG,00000,"redo done at 0/6000120 system usage: CPU: user: 0.00 s, system: 0.00 s, elapsed: 3.22 s",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:25:03.782 UTC,,,6538,,67deba2c.198a,30,,2025-03-22 13:25:00 UTC,125/0,0,LOG,00000,"restored log file ""000000010000000000000006"" from archive",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:25:03.805 UTC,,,6538,,67deba2c.198a,31,,2025-03-22 13:25:00 UTC,125/0,0,DEBUG,00000,"got WAL segment from archive",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:25:03.805 UTC,,,6538,,67deba2c.198a,32,,2025-03-22 13:25:00 UTC,125/0,0,DEBUG,00000,"resetting unlogged relations: cleanup 0 init 1",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:25:03.987 UTC,,,6538,,67deba2c.198a,33,,2025-03-22 13:25:00 UTC,125/0,0,LOG,00000,"selected new timeline ID: 2",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:25:04.209 UTC,,,6538,,67deba2c.198a,34,,2025-03-22 13:25:00 UTC,125/0,0,LOG,00000,"archive recovery complete",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:25:04.210 UTC,,,6538,,67deba2c.198a,35,,2025-03-22 13:25:00 UTC,125/0,0,DEBUG,00000,"MultiXactId wrap limit is 2147483648, limited by database with OID 1",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:25:04.210 UTC,,,6538,,67deba2c.198a,36,,2025-03-22 13:25:00 UTC,125/0,0,DEBUG,00000,"MultiXact member stop limit is now 4294914944 based on MultiXact 1",,,,,,,,,"","startup",,0 1534s 2025-03-22 13:25:04.214 UTC,,,6536,,67deba2c.1988,1,,2025-03-22 13:25:00 UTC,,0,LOG,00000,"checkpoint starting: force",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:25:04.214 UTC,,,6536,,67deba2c.1988,2,,2025-03-22 13:25:00 UTC,,0,DEBUG,00000,"performing replication slot checkpoint",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:25:04.218 UTC,,,6534,,67deba2c.1986,6,,2025-03-22 13:25:00 UTC,,0,DEBUG,00000,"starting background worker process ""logical replication launcher""",,,,,,,,,"","postmaster",,0 1534s 2025-03-22 13:25:04.218 UTC,,,6602,,67deba30.19ca,1,,2025-03-22 13:25:04 UTC,,0,DEBUG,00000,"autovacuum launcher started",,,,,,,,,"","autovacuum launcher",,0 1534s 2025-03-22 13:25:04.219 UTC,,,6534,,67deba2c.1986,7,,2025-03-22 13:25:00 UTC,,0,LOG,00000,"database system is ready to accept connections",,,,,,,,,"","postmaster",,0 1534s 2025-03-22 13:25:04.220 UTC,,,6604,,67deba30.19cc,1,,2025-03-22 13:25:04 UTC,105/0,0,DEBUG,00000,"logical replication launcher started",,,,,,,,,"","logical replication launcher",,0 1534s 2025-03-22 13:25:04.230 UTC,,,6536,,67deba2c.1988,3,,2025-03-22 13:25:00 UTC,,0,DEBUG,00000,"checkpoint sync: number=1 file=pg_xact/0000 time=0.749 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:25:04.230 UTC,,,6536,,67deba2c.1988,4,,2025-03-22 13:25:00 UTC,,0,DEBUG,00000,"checkpoint sync: number=2 file=pg_multixact/offsets/0000 time=0.460 ms",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:25:04.232 UTC,,,6536,,67deba2c.1988,5,,2025-03-22 13:25:00 UTC,,0,LOG,00000,"checkpoint complete: wrote 3 buffers (2.3%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.004 s, sync=0.002 s, total=0.019 s; sync files=2, longest=0.001 s, average=0.001 s; distance=16384 kB, estimate=16384 kB; lsn=0/70000B8, redo lsn=0/7000060",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:25:04.263 UTC,,,6603,,67deba30.19cb,1,,2025-03-22 13:25:04 UTC,,0,DEBUG,00000,"archived write-ahead log file ""00000002.history""",,,,,,,,,"","archiver",,0 1534s 2025-03-22 13:25:04.377 UTC,"postgres","postgres",6564,"[local]",67deba2d.19a4,10,"idle",2025-03-22 13:25:01 UTC,2/10,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:25:05.147 UTC,,,6534,,67deba2c.1986,8,,2025-03-22 13:25:00 UTC,,0,LOG,00000,"received fast shutdown request",,,,,,,,,"","postmaster",,0 1534s 2025-03-22 13:25:05.149 UTC,,,6534,,67deba2c.1986,9,,2025-03-22 13:25:00 UTC,,0,LOG,00000,"aborting any active transactions",,,,,,,,,"","postmaster",,0 1534s 2025-03-22 13:25:05.149 UTC,,,6604,,67deba30.19cc,2,,2025-03-22 13:25:04 UTC,105/0,0,DEBUG,00000,"logical replication launcher shutting down",,,,,,,,,"","logical replication launcher",,0 1534s 2025-03-22 13:25:05.149 UTC,"postgres","postgres",6564,"[local]",67deba2d.19a4,11,"idle",2025-03-22 13:25:01 UTC,2/0,0,FATAL,57P01,"terminating connection due to administrator command",,,,,,,,,"Patroni heartbeat","client backend",,0 1534s 2025-03-22 13:25:05.151 UTC,"postgres","postgres",6584,"[local]",67deba2f.19b8,2,"idle",2025-03-22 13:25:03 UTC,3/0,0,FATAL,57P01,"terminating connection due to administrator command",,,,,,,,,"Patroni restapi","client backend",,0 1534s 2025-03-22 13:25:05.151 UTC,"postgres","postgres",6555,"127.0.0.1:55922",67deba2c.199b,4,"idle",2025-03-22 13:25:00 UTC,0/0,0,FATAL,57P01,"terminating connection due to administrator command",,,,,,,,,"","client backend",,0 1534s 2025-03-22 13:25:05.153 UTC,,,6602,,67deba30.19ca,2,,2025-03-22 13:25:04 UTC,100/0,0,DEBUG,00000,"autovacuum launcher shutting down",,,,,,,,,"","autovacuum launcher",,0 1534s 2025-03-22 13:25:05.157 UTC,,,6534,,67deba2c.1986,10,,2025-03-22 13:25:00 UTC,,0,LOG,00000,"background worker ""logical replication launcher"" (PID 6604) exited with exit code 1",,,,,,,,,"","postmaster",,0 1534s 2025-03-22 13:25:05.159 UTC,,,6536,,67deba2c.1988,6,,2025-03-22 13:25:00 UTC,,0,LOG,00000,"shutting down",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:25:05.185 UTC,,,6536,,67deba2c.1988,7,,2025-03-22 13:25:00 UTC,,0,LOG,00000,"checkpoint starting: shutdown immediate",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:25:05.185 UTC,,,6536,,67deba2c.1988,8,,2025-03-22 13:25:00 UTC,,0,DEBUG,00000,"performing replication slot checkpoint",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:25:05.224 UTC,,,6536,,67deba2c.1988,9,,2025-03-22 13:25:00 UTC,,0,LOG,00000,"checkpoint complete: wrote 0 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.001 s, sync=0.001 s, total=0.043 s; sync files=0, longest=0.000 s, average=0.000 s; distance=16383 kB, estimate=16384 kB; lsn=0/8000028, redo lsn=0/8000028",,,,,,,,,"","checkpointer",,0 1534s 2025-03-22 13:25:05.262 UTC,,,6603,,67deba30.19cb,2,,2025-03-22 13:25:04 UTC,,0,DEBUG,00000,"archived write-ahead log file ""000000020000000000000007""",,,,,,,,,"","archiver",,0 1534s 2025-03-22 13:25:05.262 UTC,,,6603,,67deba30.19cb,3,,2025-03-22 13:25:04 UTC,,0,DEBUG,00000,"archiver process shutting down",,,,,,,,,"","archiver",,0 1534s 2025-03-22 13:25:05.267 UTC,,,6534,,67deba2c.1986,11,,2025-03-22 13:25:00 UTC,,0,LOG,00000,"database system is shut down",,,,,,,,,"","postmaster",,0 1534s 2025-03-22 13:25:05.270 UTC,,,6535,,67deba2c.1987,1,,2025-03-22 13:25:00 UTC,,0,DEBUG,00000,"logger shutting down",,,,,,,,,"","logger",,0 1534s features/output/nostream_node_failed/postgres-2.log: 1534s 2025-03-22 13:25:00.127 UTC [6534] LOG: ending log output to stderr 1534s 2025-03-22 13:25:00.127 UTC [6534] HINT: Future log output will go to log destination "csvlog". 1534s Traceback (most recent call last): 1534s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 1534s shutil.copy(full_filename, args.pathname) 1534s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1534s File "/usr/lib/python3.13/shutil.py", line 428, in copy 1534s copyfile(src, dst, follow_symlinks=follow_symlinks) 1534s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1534s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 1534s with open(src, 'rb') as fsrc: 1534s ~~~~^^^^^^^^^^^ 1534s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/00000002.history' 1534s Traceback (most recent call last): 1534s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 1534s shutil.copy(full_filename, args.pathname) 1534s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1534s File "/usr/lib/python3.13/shutil.py", line 428, in copy 1534s copyfile(src, dst, follow_symlinks=follow_symlinks) 1534s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1534s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 1534s with open(src, 'rb') as fsrc: 1534s ~~~~^^^^^^^^^^^ 1534s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/000000010000000000000007' 1534s Traceback (most recent call last): 1534s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 1534s shutil.copy(full_filename, args.pathname) 1534s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1534s File "/usr/lib/python3.13/shutil.py", line 428, in copy 1534s copyfile(src, dst, follow_symlinks=follow_symlinks) 1534s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1534s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 1534s with open(src, 'rb') as fsrc: 1534s ~~~~^^^^^^^^^^^ 1534s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/000000010000000000000007' 1534s Traceback (most recent call last): 1534s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 1534s shutil.copy(full_filename, args.pathname) 1534s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1534s File "/usr/lib/python3.13/shutil.py", line 428, in copy 1534s copyfile(src, dst, follow_symlinks=follow_symlinks) 1534s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1534s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 1534s with open(src, 'rb') as fsrc: 1534s ~~~~^^^^^^^^^^^ 1534s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/00000002.history' 1534s Traceback (most recent call last): 1534s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 1534s shutil.copy(full_filename, args.pathname) 1534s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1534s File "/usr/lib/python3.13/shutil.py", line 428, in copy 1534s copyfile(src, dst, follow_symlinks=follow_symlinks) 1534s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1534s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 1534s with open(src, 'rb') as fsrc: 1534s ~~~~^^^^^^^^^^^ 1534s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/000000010000000000000007' 1534s Traceback (most recent call last): 1534s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 1534s shutil.copy(full_filename, args.pathname) 1534s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1534s File "/usr/lib/python3.13/shutil.py", line 428, in copy 1534s copyfile(src, dst, follow_symlinks=follow_symlinks) 1534s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1534s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 1534s with open(src, 'rb') as fsrc: 1534s ~~~~^^^^^^^^^^^ 1534s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/00000002.history' 1534s Traceback (most recent call last): 1534s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 1534s shutil.copy(full_filename, args.pathname) 1534s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1534s File "/usr/lib/python3.13/shutil.py", line 428, in copy 1534s copyfile(src, dst, follow_symlinks=follow_symlinks) 1534s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1534s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 1534s with open(src, 'rb') as fsrc: 1534s ~~~~^^^^^^^^^^^ 1534s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/00000001.history' 1534s 2025-03-22 13:25:05.270 UTC [6535] DEBUG: logger shutting down 1534s features/output/nostream_node_failed/postgres-2.yml: 1534s + exit 1 1534s + rm -f /tmp/pgpass_postgres-0 /tmp/pgpass_postgres-1 /tmp/pgpass_postgres-2 /tmp/pgpass_postgres-3 1534s ++ id -u 1534s + '[' 1000 -eq 0 ']' 1534s bootstrap: 1534s dcs: 1534s loop_wait: 2 1534s maximum_lag_on_failover: 1048576 1534s postgresql: 1534s parameters: 1534s archive_command: /usr/bin/python3 /tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py 1534s --mode archive --dirname /tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive 1534s --filename %f --pathname %p 1534s archive_mode: 'on' 1534s restore_command: /usr/bin/python3 /tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py 1534s --mode restore --dirname /tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive 1534s --filename %f --pathname %p 1534s wal_keep_segments: 100 1534s pg_hba: 1534s - host replication replicator 127.0.0.1/32 md5 1534s - host all all 0.0.0.0/0 md5 1534s use_pg_rewind: true 1534s retry_timeout: 10 1534s ttl: 30 1534s initdb: 1534s - encoding: UTF8 1534s - data-checksums 1534s - auth: md5 1534s - auth-host: md5 1534s post_bootstrap: psql -w -c "SELECT 1" 1534s log: 1534s format: '%(asctime)s %(levelname)s [%(pathname)s:%(lineno)d - %(funcName)s]: %(message)s' 1534s loggers: 1534s patroni.postgresql.callback_executor: DEBUG 1534s name: postgres-2 1534s postgresql: 1534s authentication: 1534s replication: 1534s password: rep-pass 1534s sslcert: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 1534s sslkey: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.key 1534s sslmode: verify-ca 1534s sslrootcert: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 1534s username: replicator 1534s rewind: 1534s password: rewind_password 1534s sslcert: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 1534s sslkey: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.key 1534s sslmode: verify-ca 1534s sslrootcert: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 1534s username: rewind_user 1534s superuser: 1534s password: patroni 1534s sslcert: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 1534s sslkey: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.key 1534s sslmode: verify-ca 1534s sslrootcert: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 1534s username: postgres 1534s basebackup: 1534s - checkpoint: fast 1534s callbacks: 1534s on_role_change: /usr/bin/python3 features/callback2.py postgres-2 5377 1534s connect_address: 127.0.0.1:5377 1534s data_dir: /tmp/autopkgtest.8qHkda/build.IZy/src/data/postgres-2 1534s listen: 127.0.0.1:5377 1534s parameters: 1534s log_destination: csvlog 1534s log_directory: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/nostream_node 1534s log_filename: postgres-2.log 1534s log_min_messages: debug1 1534s log_statement: all 1534s logging_collector: 'on' 1534s shared_buffers: 1MB 1534s ssl: 'on' 1534s ssl_ca_file: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 1534s ssl_cert_file: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 1534s ssl_key_file: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.key 1534s unix_socket_directories: /tmp 1534s pg_hba: 1534s - local all all trust 1534s - local replication all trust 1534s - hostssl replication replicator all md5 clientcert=verify-ca 1534s - hostssl all all all md5 clientcert=verify-ca 1534s pgpass: /tmp/pgpass_postgres-2 1534s use_unix_socket: true 1534s use_unix_socket_repl: true 1534s restapi: 1534s connect_address: 127.0.0.1:8010 1534s listen: 127.0.0.1:8010 1534s scope: batman 1534s tags: 1534s clonefrom: false 1534s noloadbalance: false 1534s nostream: false 1534s nosync: false 1534s replicatefrom: postgres-1 1534s autopkgtest [13:31:15]: test acceptance-etcd3: -----------------------] 1535s acceptance-etcd3 FAIL non-zero exit status 1 1535s autopkgtest [13:31:16]: test acceptance-etcd3: - - - - - - - - - - results - - - - - - - - - - 1535s autopkgtest [13:31:16]: test acceptance-etcd: preparing testbed 1535s Reading package lists... 1535s Building dependency tree... 1535s Reading state information... 1536s Starting pkgProblemResolver with broken count: 0 1536s Starting 2 pkgProblemResolver with broken count: 0 1536s Done 1537s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1538s autopkgtest [13:31:19]: test acceptance-etcd: debian/tests/acceptance etcd 1538s autopkgtest [13:31:19]: test acceptance-etcd: [----------------------- 1538s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 1538s ++ ls -1r /usr/lib/postgresql/ 1538s ### PostgreSQL 17 acceptance-etcd ### 1538s + for PG_VERSION in $(ls -1r /usr/lib/postgresql/) 1538s + '[' 17 == 10 -o 17 == 11 ']' 1538s + echo '### PostgreSQL 17 acceptance-etcd ###' 1538s + bash -c 'set -o pipefail; ETCD_UNSUPPORTED_ARCH=arm64 DCS=etcd PATH=/usr/lib/postgresql/17/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin behave | ts' 1540s Mar 22 13:31:21 No data to combine 1544s Mar 22 13:31:25 Name Stmts Miss Cover 1544s Mar 22 13:31:25 ------------------------------------------------------------------------------------------------------------- 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/OpenSSL/SSL.py 1159 642 45% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/OpenSSL/__init__.py 3 0 100% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/OpenSSL/_util.py 44 15 66% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/OpenSSL/crypto.py 869 663 24% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/OpenSSL/version.py 9 0 100% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/_distutils_hack/__init__.py 101 96 5% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/bcrypt/__init__.py 3 0 100% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/__about__.py 5 0 100% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/__init__.py 3 0 100% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/exceptions.py 26 5 81% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/hazmat/__init__.py 2 0 100% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/hazmat/_oid.py 135 0 100% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/hazmat/bindings/__init__.py 0 0 100% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/hazmat/bindings/openssl/__init__.py 0 0 100% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/hazmat/bindings/openssl/_conditional.py 38 17 55% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/hazmat/bindings/openssl/binding.py 51 4 92% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/hazmat/decrepit/__init__.py 1 0 100% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/hazmat/decrepit/ciphers/__init__.py 1 0 100% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/hazmat/decrepit/ciphers/algorithms.py 68 18 74% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/__init__.py 0 0 100% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/_asymmetric.py 6 0 100% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/_cipheralgorithm.py 23 4 83% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/_serialization.py 79 35 56% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/__init__.py 0 0 100% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/dh.py 47 0 100% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/dsa.py 55 5 91% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/ec.py 172 22 87% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/ed448.py 45 12 73% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/ed25519.py 43 12 72% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/padding.py 55 23 58% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/rsa.py 93 40 57% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/types.py 19 0 100% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/utils.py 14 5 64% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/x448.py 43 12 72% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/x25519.py 41 12 71% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/ciphers/__init__.py 4 0 100% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/ciphers/algorithms.py 72 15 79% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/ciphers/base.py 54 12 78% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/ciphers/modes.py 140 59 58% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/constant_time.py 6 3 50% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/hashes.py 127 20 84% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/serialization/__init__.py 5 0 100% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/serialization/base.py 7 0 100% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/serialization/ssh.py 775 614 21% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/utils.py 76 28 63% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/x509/__init__.py 70 0 100% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/x509/base.py 488 227 53% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/x509/certificate_transparency.py 42 0 100% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/x509/extensions.py 1024 552 46% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/x509/general_name.py 166 94 43% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/x509/name.py 236 144 39% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/x509/oid.py 3 0 100% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/cryptography/x509/verification.py 12 0 100% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dateutil/__init__.py 13 4 69% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dateutil/_common.py 25 15 40% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dateutil/_version.py 13 3 77% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dateutil/parser/__init__.py 33 4 88% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dateutil/parser/_parser.py 810 436 46% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dateutil/parser/isoparser.py 183 150 18% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dateutil/relativedelta.py 240 206 14% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dateutil/tz/__init__.py 4 0 100% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dateutil/tz/_common.py 151 114 25% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dateutil/tz/_factories.py 49 21 57% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dateutil/tz/tz.py 794 626 21% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dateutil/tz/win.py 152 149 2% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/__init__.py 2 0 100% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/_asyncbackend.py 14 6 57% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/_ddr.py 105 86 18% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/_features.py 46 8 83% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/_immutable_ctx.py 40 5 88% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/asyncbackend.py 44 32 27% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/asyncquery.py 322 283 12% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/edns.py 307 185 40% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/entropy.py 80 49 39% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/enum.py 72 46 36% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/exception.py 59 33 44% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/flags.py 40 14 65% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/grange.py 33 30 9% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/immutable.py 41 30 27% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/inet.py 79 65 18% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/ipv4.py 26 20 23% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/ipv6.py 114 100 12% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/message.py 829 676 18% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/name.py 617 425 31% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/nameserver.py 102 55 46% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/node.py 117 71 39% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/opcode.py 30 7 77% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/query.py 562 477 15% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/quic/__init__.py 28 23 18% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/rcode.py 68 13 81% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/rdata.py 386 277 28% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/rdataclass.py 43 9 79% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/rdataset.py 192 133 31% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/rdatatype.py 215 23 89% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/rdtypes/ANY/OPT.py 34 19 44% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/rdtypes/ANY/SOA.py 41 26 37% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/rdtypes/ANY/TSIG.py 58 42 28% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/rdtypes/ANY/ZONEMD.py 43 27 37% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/rdtypes/ANY/__init__.py 1 0 100% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/rdtypes/__init__.py 1 0 100% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/rdtypes/svcbbase.py 415 268 35% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/rdtypes/util.py 191 154 19% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/renderer.py 151 118 22% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/resolver.py 873 696 20% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/reversename.py 32 24 25% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/rrset.py 77 56 27% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/serial.py 92 79 14% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/set.py 148 107 28% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/tokenizer.py 334 279 16% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/transaction.py 269 201 25% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/tsig.py 176 122 31% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/ttl.py 44 38 14% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/version.py 6 0 100% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/wire.py 64 42 34% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/xfr.py 148 126 15% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/zone.py 507 383 24% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/zonefile.py 427 379 11% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/dns/zonetypes.py 14 2 86% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/etcd/__init__.py 125 63 50% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/etcd/client.py 380 256 33% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/etcd/lock.py 125 103 18% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/idna/__init__.py 4 0 100% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/idna/core.py 292 257 12% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/idna/idnadata.py 4 0 100% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/idna/intranges.py 30 24 20% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/idna/package_data.py 1 0 100% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/patroni/__init__.py 13 2 85% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/patroni/__main__.py 201 64 68% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/patroni/api.py 788 292 63% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/patroni/async_executor.py 96 15 84% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/patroni/collections.py 56 5 91% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/patroni/config.py 357 84 76% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/patroni/config_generator.py 212 159 25% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/patroni/daemon.py 76 3 96% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/patroni/dcs/__init__.py 710 95 87% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/patroni/dcs/etcd3.py 679 124 82% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/patroni/dcs/etcd.py 603 253 58% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/patroni/dynamic_loader.py 35 7 80% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/patroni/exceptions.py 16 0 100% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/patroni/file_perm.py 47 10 79% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/patroni/global_config.py 87 0 100% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/patroni/ha.py 1359 376 72% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/patroni/log.py 235 79 66% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/patroni/postgresql/__init__.py 825 170 79% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/patroni/postgresql/available_parameters/__init__.py 24 3 88% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/patroni/postgresql/bootstrap.py 254 60 76% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/patroni/postgresql/callback_executor.py 55 8 85% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/patroni/postgresql/cancellable.py 104 41 61% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/patroni/postgresql/config.py 840 216 74% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/patroni/postgresql/connection.py 75 1 99% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/patroni/postgresql/misc.py 43 8 81% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/patroni/postgresql/mpp/__init__.py 89 11 88% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/patroni/postgresql/postmaster.py 170 83 51% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/patroni/postgresql/rewind.py 416 128 69% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/patroni/postgresql/slots.py 349 41 88% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/patroni/postgresql/sync.py 154 10 94% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/patroni/postgresql/validator.py 157 24 85% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/patroni/psycopg.py 46 19 59% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/patroni/quorum.py 182 48 74% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/patroni/request.py 58 7 88% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/patroni/tags.py 38 0 100% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/patroni/utils.py 371 105 72% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/patroni/validator.py 309 215 30% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/patroni/version.py 1 0 100% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/patroni/watchdog/__init__.py 2 0 100% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/patroni/watchdog/base.py 203 42 79% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/patroni/watchdog/linux.py 135 35 74% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/psutil/__init__.py 950 629 34% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/psutil/_common.py 422 212 50% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/psutil/_compat.py 301 263 13% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/psutil/_pslinux.py 1250 924 26% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/psutil/_psposix.py 95 38 60% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/psycopg2/__init__.py 19 3 84% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/psycopg2/_json.py 64 27 58% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/psycopg2/_range.py 269 172 36% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/psycopg2/errors.py 3 2 33% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/psycopg2/extensions.py 91 25 73% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/urllib3/__init__.py 49 15 69% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/urllib3/_base_connection.py 63 45 29% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/urllib3/_collections.py 231 120 48% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/urllib3/_request_methods.py 54 24 56% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/urllib3/_version.py 13 3 77% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/urllib3/connection.py 389 137 65% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/urllib3/connectionpool.py 344 122 65% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/urllib3/contrib/__init__.py 0 0 100% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py 263 101 62% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/urllib3/exceptions.py 121 39 68% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/urllib3/fields.py 92 73 21% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/urllib3/filepost.py 37 24 35% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/urllib3/http2/__init__.py 28 21 25% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/urllib3/http2/probe.py 49 31 37% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/urllib3/poolmanager.py 233 85 64% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/urllib3/response.py 634 330 48% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/urllib3/util/__init__.py 10 0 100% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/urllib3/util/connection.py 66 42 36% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/urllib3/util/proxy.py 13 6 54% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/urllib3/util/request.py 104 49 53% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/urllib3/util/response.py 32 15 53% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/urllib3/util/retry.py 174 50 71% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/urllib3/util/ssl_.py 172 74 57% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/urllib3/util/ssl_match_hostname.py 66 54 18% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/urllib3/util/ssltransport.py 152 106 30% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/urllib3/util/timeout.py 71 14 80% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/urllib3/util/url.py 203 70 66% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/urllib3/util/util.py 26 10 62% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/urllib3/util/wait.py 49 18 63% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/yaml/__init__.py 165 109 34% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/yaml/composer.py 92 17 82% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/yaml/constructor.py 479 276 42% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/yaml/cyaml.py 46 24 48% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/yaml/dumper.py 23 12 48% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/yaml/emitter.py 838 769 8% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/yaml/error.py 58 42 28% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/yaml/events.py 61 6 90% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/yaml/loader.py 47 24 49% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/yaml/nodes.py 29 7 76% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/yaml/parser.py 352 198 44% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/yaml/reader.py 122 34 72% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/yaml/representer.py 248 176 29% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/yaml/resolver.py 135 76 44% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/yaml/scanner.py 758 437 42% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/yaml/serializer.py 85 70 18% 1544s Mar 22 13:31:25 /usr/lib/python3/dist-packages/yaml/tokens.py 76 17 78% 1544s Mar 22 13:31:25 patroni/__init__.py 13 2 85% 1544s Mar 22 13:31:25 patroni/__main__.py 201 201 0% 1544s Mar 22 13:31:25 patroni/api.py 788 788 0% 1544s Mar 22 13:31:25 patroni/async_executor.py 96 69 28% 1544s Mar 22 13:31:25 patroni/collections.py 56 15 73% 1544s Mar 22 13:31:25 patroni/config.py 357 186 48% 1544s Mar 22 13:31:25 patroni/config_generator.py 212 212 0% 1544s Mar 22 13:31:25 patroni/ctl.py 936 395 58% 1544s Mar 22 13:31:25 patroni/daemon.py 76 76 0% 1544s Mar 22 13:31:25 patroni/dcs/__init__.py 710 317 55% 1544s Mar 22 13:31:25 patroni/dcs/consul.py 482 482 0% 1544s Mar 22 13:31:25 patroni/dcs/etcd3.py 679 346 49% 1544s Mar 22 13:31:25 patroni/dcs/etcd.py 603 277 54% 1544s Mar 22 13:31:25 patroni/dcs/exhibitor.py 62 62 0% 1544s Mar 22 13:31:25 patroni/dcs/kubernetes.py 943 943 0% 1544s Mar 22 13:31:25 patroni/dcs/raft.py 319 319 0% 1544s Mar 22 13:31:25 patroni/dcs/zookeeper.py 289 289 0% 1544s Mar 22 13:31:25 patroni/dynamic_loader.py 35 7 80% 1544s Mar 22 13:31:25 patroni/exceptions.py 16 1 94% 1544s Mar 22 13:31:25 patroni/file_perm.py 47 17 64% 1544s Mar 22 13:31:25 patroni/global_config.py 87 19 78% 1544s Mar 22 13:31:25 patroni/ha.py 1359 1359 0% 1544s Mar 22 13:31:25 patroni/log.py 235 183 22% 1544s Mar 22 13:31:25 patroni/postgresql/__init__.py 825 653 21% 1544s Mar 22 13:31:25 patroni/postgresql/available_parameters/__init__.py 24 3 88% 1544s Mar 22 13:31:25 patroni/postgresql/bootstrap.py 254 224 12% 1544s Mar 22 13:31:25 patroni/postgresql/callback_executor.py 55 34 38% 1544s Mar 22 13:31:25 patroni/postgresql/cancellable.py 104 84 19% 1544s Mar 22 13:31:25 patroni/postgresql/config.py 840 720 14% 1544s Mar 22 13:31:25 patroni/postgresql/connection.py 75 50 33% 1544s Mar 22 13:31:25 patroni/postgresql/misc.py 43 30 30% 1544s Mar 22 13:31:25 patroni/postgresql/mpp/__init__.py 89 21 76% 1544s Mar 22 13:31:25 patroni/postgresql/mpp/citus.py 366 366 0% 1544s Mar 22 13:31:25 patroni/postgresql/postmaster.py 170 139 18% 1544s Mar 22 13:31:25 patroni/postgresql/rewind.py 416 416 0% 1544s Mar 22 13:31:25 patroni/postgresql/slots.py 349 300 14% 1544s Mar 22 13:31:25 patroni/postgresql/sync.py 154 114 26% 1544s Mar 22 13:31:25 patroni/postgresql/validator.py 157 52 67% 1544s Mar 22 13:31:25 patroni/psycopg.py 46 32 30% 1544s Mar 22 13:31:25 patroni/quorum.py 182 182 0% 1544s Mar 22 13:31:25 patroni/raft_controller.py 22 22 0% 1544s Mar 22 13:31:25 patroni/request.py 58 6 90% 1544s Mar 22 13:31:25 patroni/scripts/__init__.py 0 0 100% 1544s Mar 22 13:31:25 patroni/scripts/aws.py 59 59 0% 1544s Mar 22 13:31:25 patroni/scripts/barman/__init__.py 0 0 100% 1544s Mar 22 13:31:25 patroni/scripts/barman/cli.py 50 50 0% 1544s Mar 22 13:31:25 patroni/scripts/barman/config_switch.py 50 50 0% 1544s Mar 22 13:31:25 patroni/scripts/barman/recover.py 36 36 0% 1544s Mar 22 13:31:25 patroni/scripts/barman/utils.py 93 93 0% 1544s Mar 22 13:31:25 patroni/scripts/wale_restore.py 207 207 0% 1544s Mar 22 13:31:25 patroni/tags.py 38 11 71% 1544s Mar 22 13:31:25 patroni/utils.py 371 185 50% 1544s Mar 22 13:31:25 patroni/validator.py 309 222 28% 1544s Mar 22 13:31:25 patroni/version.py 1 0 100% 1544s Mar 22 13:31:25 patroni/watchdog/__init__.py 2 2 0% 1544s Mar 22 13:31:25 patroni/watchdog/base.py 203 203 0% 1544s Mar 22 13:31:25 patroni/watchdog/linux.py 135 135 0% 1544s Mar 22 13:31:25 ------------------------------------------------------------------------------------------------------------- 1544s Mar 22 13:31:25 TOTAL 54417 32586 40% 1544s Mar 22 13:31:25 HOOK-ERROR in before_all: AssertionError: Process etcd is not running after being started 1544s Mar 22 13:31:25 1544s Mar 22 13:31:25 ABORTED: By user. 1544s Mar 22 13:31:25 0 features passed, 0 failed, 0 skipped, 14 untested 1544s Mar 22 13:31:25 0 scenarios passed, 0 failed, 0 skipped, 69 untested 1544s Mar 22 13:31:25 0 steps passed, 0 failed, 0 skipped, 0 undefined, 667 untested 1544s Mar 22 13:31:25 Took 0m0.000s 1544s + for file in features/output/*_failed/* 1544s + case $file in 1544s + echo 'features/output/*_failed/*:' 1544s + cat 'features/output/*_failed/*' 1544s features/output/*_failed/*: 1544s cat: 'features/output/*_failed/*': No such file or directory 1544s + rm -f '/tmp/pgpass_postgres-?' 1544s ++ id -u 1544s + '[' 1000 -eq 0 ']' 1544s autopkgtest [13:31:25]: test acceptance-etcd: -----------------------] 1545s acceptance-etcd FAIL non-zero exit status 1 1545s autopkgtest [13:31:26]: test acceptance-etcd: - - - - - - - - - - results - - - - - - - - - - 1545s autopkgtest [13:31:26]: test acceptance-zookeeper: preparing testbed 1654s autopkgtest [13:33:15]: testbed dpkg architecture: arm64 1654s autopkgtest [13:33:15]: testbed apt version: 2.9.34 1654s autopkgtest [13:33:15]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1655s autopkgtest [13:33:16]: testbed release detected to be: plucky 1655s autopkgtest [13:33:16]: updating testbed package index (apt update) 1656s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [126 kB] 1656s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 1656s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 1656s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 1656s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [1232 B] 1656s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [29.9 kB] 1656s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [11.5 kB] 1656s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [288 kB] 1656s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [38.0 kB] 1656s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 c-n-f Metadata [1292 B] 1656s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 c-n-f Metadata [116 B] 1656s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [192 kB] 1656s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 c-n-f Metadata [11.1 kB] 1656s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [3244 B] 1656s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 c-n-f Metadata [316 B] 1658s Fetched 703 kB in 1s (921 kB/s) 1659s Reading package lists... 1660s autopkgtest [13:33:21]: upgrading testbed (apt dist-upgrade and autopurge) 1660s Reading package lists... 1660s Building dependency tree... 1660s Reading state information... 1661s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 1661s Starting 2 pkgProblemResolver with broken count: 0 1661s Done 1662s Entering ResolveByKeep 1662s 1662s Calculating upgrade... 1663s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1663s Reading package lists... 1663s Building dependency tree... 1663s Reading state information... 1663s Starting pkgProblemResolver with broken count: 0 1664s Starting 2 pkgProblemResolver with broken count: 0 1664s Done 1664s Solving dependencies... 1665s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1667s Reading package lists... 1668s Building dependency tree... 1668s Reading state information... 1669s Starting pkgProblemResolver with broken count: 0 1669s Starting 2 pkgProblemResolver with broken count: 0 1669s Done 1669s The following NEW packages will be installed: 1669s adwaita-icon-theme at-spi2-common ca-certificates-java 1669s dconf-gsettings-backend dconf-service default-jre default-jre-headless 1669s fontconfig fontconfig-config fonts-dejavu-core fonts-dejavu-mono 1669s fonts-font-awesome fonts-lato gtk-update-icon-cache hicolor-icon-theme 1669s java-common junit4 libactivation-java libapache-pom-java libapr1t64 1669s libasm-java libasound2-data libasound2t64 libatinject-jsr330-api-java 1669s libatk-bridge2.0-0t64 libatk1.0-0t64 libatspi2.0-0t64 libavahi-client3 1669s libavahi-common-data libavahi-common3 libcairo-gobject2 libcairo2 libcares2 1669s libcolord2 libcommons-cli-java libcommons-io-java libcommons-logging-java 1669s libcommons-parent-java libcups2t64 libdatrie1 libdconf1 libdeflate0 1669s libdropwizard-metrics-java libeclipse-jdt-core-compiler-batch-java 1669s libeclipse-jdt-core-java libel-api-java libepoxy0 liberror-prone-java 1669s libev4t64 libfindbugs-annotations-java libfontconfig1 libgbm1 1669s libgdk-pixbuf-2.0-0 libgdk-pixbuf2.0-common libgif7 libgl1 libgl1-mesa-dri 1669s libglvnd0 libglx-mesa0 libglx0 libgraphite2-3 libgtk-3-0t64 libgtk-3-common 1669s libguava-java libhamcrest-java libharfbuzz0b libio-pty-perl libipc-run-perl 1669s libjackson2-annotations-java libjackson2-core-java libjackson2-databind-java 1669s libjavaparser-java libjaxb-api-java libjbig0 libjctools-java 1669s libjetty9-extra-java libjetty9-java libjffi-java libjffi-jni 1669s libjnr-constants-java libjnr-enxio-java libjnr-ffi-java libjnr-posix-java 1669s libjnr-unixsocket-java libjnr-x86asm-java libjpeg-turbo8 libjpeg8 1669s libjs-jquery libjs-sphinxdoc libjs-underscore libjson-perl libjsp-api-java 1669s libjsr305-java liblcms2-2 liblerc4 libllvm20 liblog4j1.2-java libmail-java 1669s libnetty-java libnetty-tcnative-java libnetty-tcnative-jni libpango-1.0-0 1669s libpangocairo-1.0-0 libpangoft2-1.0-0 libpcsclite1 libpixman-1-0 libpq5 1669s libservlet-api-java libsharpyuv0 libslf4j-java libsnappy-java libsnappy-jni 1669s libsnappy1v5 libspring-beans-java libspring-core-java 1669s libtaglibs-standard-impl-java libtaglibs-standard-spec-java libthai-data 1669s libthai0 libtiff6 libtime-duration-perl libtimedate-perl libtomcat9-java 1669s libvulkan1 libwayland-client0 libwayland-cursor0 libwayland-egl1 1669s libwayland-server0 libwebp7 libwebsocket-api-java libx11-xcb1 libxcb-dri3-0 1669s libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-render0 libxcb-shm0 1669s libxcb-sync1 libxcb-xfixes0 libxcomposite1 libxcursor1 libxdamage1 1669s libxfixes3 libxi6 libxinerama1 libxrandr2 libxrender1 libxshmfence1 1669s libxslt1.1 libxtst6 libxxf86vm1 libzookeeper-java mesa-libgallium moreutils 1669s openjdk-21-jre openjdk-21-jre-headless patroni patroni-doc postgresql 1669s postgresql-17 postgresql-client-17 postgresql-client-common 1669s postgresql-common postgresql-common-dev python3-behave python3-click 1669s python3-coverage python3-dateutil python3-dnspython python3-eventlet 1669s python3-gevent python3-greenlet python3-kazoo python3-kerberos python3-parse 1669s python3-parse-type python3-prettytable python3-psutil python3-psycopg2 1669s python3-pure-sasl python3-six python3-wcwidth python3-ydiff 1669s python3-zope.event python3-zope.interface sphinx-rtd-theme-common ssl-cert 1669s x11-common zookeeper zookeeperd 1669s 0 upgraded, 190 newly installed, 0 to remove and 0 not upgraded. 1669s Need to get 160 MB of archives. 1669s After this operation, 587 MB of additional disk space will be used. 1669s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 fonts-lato all 2.015-1 [2781 kB] 1670s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 libjson-perl all 4.10000-1 [81.9 kB] 1670s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 postgresql-client-common all 274 [47.6 kB] 1670s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 libio-pty-perl arm64 1:1.20-1build3 [31.3 kB] 1670s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 libipc-run-perl all 20231003.0-2 [91.5 kB] 1670s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 postgresql-common-dev all 274 [73.0 kB] 1670s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 ssl-cert all 1.1.3ubuntu1 [18.7 kB] 1670s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 postgresql-common all 274 [101 kB] 1670s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 ca-certificates-java all 20240118 [11.6 kB] 1670s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 java-common all 0.76 [6852 B] 1670s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 liblcms2-2 arm64 2.16-2 [170 kB] 1670s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 libjpeg-turbo8 arm64 2.1.5-3ubuntu2 [165 kB] 1670s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 libjpeg8 arm64 8c-2ubuntu11 [2148 B] 1670s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 libpcsclite1 arm64 2.3.1-1 [25.0 kB] 1670s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 openjdk-21-jre-headless arm64 21.0.7~7ea-1 [45.7 MB] 1671s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 default-jre-headless arm64 2:1.21-76 [3176 B] 1671s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 libgdk-pixbuf2.0-common all 2.42.12+dfsg-2 [8004 B] 1671s Get:18 http://ftpmaster.internal/ubuntu plucky/main arm64 libdeflate0 arm64 1.23-1 [46.2 kB] 1671s Get:19 http://ftpmaster.internal/ubuntu plucky/main arm64 libjbig0 arm64 2.1-6.1ubuntu2 [29.3 kB] 1671s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 liblerc4 arm64 4.0.0+ds-5ubuntu1 [167 kB] 1671s Get:21 http://ftpmaster.internal/ubuntu plucky/main arm64 libsharpyuv0 arm64 1.5.0-0.1 [16.9 kB] 1671s Get:22 http://ftpmaster.internal/ubuntu plucky/main arm64 libwebp7 arm64 1.5.0-0.1 [194 kB] 1671s Get:23 http://ftpmaster.internal/ubuntu plucky/main arm64 libtiff6 arm64 4.5.1+git230720-4ubuntu4 [193 kB] 1671s Get:24 http://ftpmaster.internal/ubuntu plucky/main arm64 libgdk-pixbuf-2.0-0 arm64 2.42.12+dfsg-2 [147 kB] 1671s Get:25 http://ftpmaster.internal/ubuntu plucky/main arm64 gtk-update-icon-cache arm64 4.18.2+ds-1 [52.8 kB] 1671s Get:26 http://ftpmaster.internal/ubuntu plucky/main arm64 hicolor-icon-theme all 0.18-2 [13.3 kB] 1671s Get:27 http://ftpmaster.internal/ubuntu plucky/main arm64 adwaita-icon-theme all 48.0-1 [578 kB] 1671s Get:28 http://ftpmaster.internal/ubuntu plucky/main arm64 at-spi2-common all 2.56.0-2 [9108 B] 1671s Get:29 http://ftpmaster.internal/ubuntu plucky/main arm64 libatk1.0-0t64 arm64 2.56.0-2 [55.4 kB] 1671s Get:30 http://ftpmaster.internal/ubuntu plucky/main arm64 libxi6 arm64 2:1.8.2-1 [32.4 kB] 1671s Get:31 http://ftpmaster.internal/ubuntu plucky/main arm64 libatspi2.0-0t64 arm64 2.56.0-2 [84.5 kB] 1671s Get:32 http://ftpmaster.internal/ubuntu plucky/main arm64 libatk-bridge2.0-0t64 arm64 2.56.0-2 [66.7 kB] 1671s Get:33 http://ftpmaster.internal/ubuntu plucky/main arm64 fonts-dejavu-mono all 2.37-8 [502 kB] 1671s Get:34 http://ftpmaster.internal/ubuntu plucky/main arm64 fonts-dejavu-core all 2.37-8 [835 kB] 1672s Get:35 http://ftpmaster.internal/ubuntu plucky/main arm64 fontconfig-config arm64 2.15.0-2.1ubuntu1 [37.7 kB] 1672s Get:36 http://ftpmaster.internal/ubuntu plucky/main arm64 libfontconfig1 arm64 2.15.0-2.1ubuntu1 [144 kB] 1672s Get:37 http://ftpmaster.internal/ubuntu plucky/main arm64 libpixman-1-0 arm64 0.44.0-3 [197 kB] 1672s Get:38 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-render0 arm64 1.17.0-2 [16.6 kB] 1672s Get:39 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-shm0 arm64 1.17.0-2 [5884 B] 1672s Get:40 http://ftpmaster.internal/ubuntu plucky/main arm64 libxrender1 arm64 1:0.9.10-1.1build1 [18.8 kB] 1672s Get:41 http://ftpmaster.internal/ubuntu plucky/main arm64 libcairo2 arm64 1.18.4-1 [560 kB] 1672s Get:42 http://ftpmaster.internal/ubuntu plucky/main arm64 libcairo-gobject2 arm64 1.18.4-1 [127 kB] 1672s Get:43 http://ftpmaster.internal/ubuntu plucky/main arm64 libcolord2 arm64 1.4.7-3 [151 kB] 1672s Get:44 http://ftpmaster.internal/ubuntu plucky/main arm64 libavahi-common-data arm64 0.8-16ubuntu2 [31.0 kB] 1672s Get:45 http://ftpmaster.internal/ubuntu plucky/main arm64 libavahi-common3 arm64 0.8-16ubuntu2 [22.9 kB] 1672s Get:46 http://ftpmaster.internal/ubuntu plucky/main arm64 libavahi-client3 arm64 0.8-16ubuntu2 [26.9 kB] 1672s Get:47 http://ftpmaster.internal/ubuntu plucky/main arm64 libcups2t64 arm64 2.4.11-0ubuntu2 [274 kB] 1672s Get:48 http://ftpmaster.internal/ubuntu plucky/main arm64 libepoxy0 arm64 1.5.10-2 [236 kB] 1672s Get:49 http://ftpmaster.internal/ubuntu plucky/main arm64 libgraphite2-3 arm64 1.3.14-2ubuntu1 [70.6 kB] 1672s Get:50 http://ftpmaster.internal/ubuntu plucky/main arm64 libharfbuzz0b arm64 10.2.0-1 [490 kB] 1672s Get:51 http://ftpmaster.internal/ubuntu plucky/main arm64 fontconfig arm64 2.15.0-2.1ubuntu1 [191 kB] 1672s Get:52 http://ftpmaster.internal/ubuntu plucky/main arm64 libthai-data all 0.1.29-2build1 [158 kB] 1672s Get:53 http://ftpmaster.internal/ubuntu plucky/main arm64 libdatrie1 arm64 0.2.13-3build1 [19.2 kB] 1672s Get:54 http://ftpmaster.internal/ubuntu plucky/main arm64 libthai0 arm64 0.1.29-2build1 [18.2 kB] 1672s Get:55 http://ftpmaster.internal/ubuntu plucky/main arm64 libpango-1.0-0 arm64 1.56.3-1 [238 kB] 1672s Get:56 http://ftpmaster.internal/ubuntu plucky/main arm64 libpangoft2-1.0-0 arm64 1.56.3-1 [49.8 kB] 1672s Get:57 http://ftpmaster.internal/ubuntu plucky/main arm64 libpangocairo-1.0-0 arm64 1.56.3-1 [27.6 kB] 1672s Get:58 http://ftpmaster.internal/ubuntu plucky/main arm64 libwayland-client0 arm64 1.23.1-3 [27.0 kB] 1672s Get:59 http://ftpmaster.internal/ubuntu plucky/main arm64 libwayland-cursor0 arm64 1.23.1-3 [10.8 kB] 1672s Get:60 http://ftpmaster.internal/ubuntu plucky/main arm64 libwayland-egl1 arm64 1.23.1-3 [6180 B] 1672s Get:61 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcomposite1 arm64 1:0.4.6-1 [6626 B] 1672s Get:62 http://ftpmaster.internal/ubuntu plucky/main arm64 libxfixes3 arm64 1:6.0.0-2build1 [11.2 kB] 1672s Get:63 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcursor1 arm64 1:1.2.3-1 [22.2 kB] 1672s Get:64 http://ftpmaster.internal/ubuntu plucky/main arm64 libxdamage1 arm64 1:1.1.6-1build1 [6236 B] 1672s Get:65 http://ftpmaster.internal/ubuntu plucky/main arm64 libxinerama1 arm64 2:1.1.4-3build1 [6394 B] 1672s Get:66 http://ftpmaster.internal/ubuntu plucky/main arm64 libxrandr2 arm64 2:1.5.4-1 [19.6 kB] 1672s Get:67 http://ftpmaster.internal/ubuntu plucky/main arm64 libdconf1 arm64 0.40.0-5 [40.0 kB] 1672s Get:68 http://ftpmaster.internal/ubuntu plucky/main arm64 dconf-service arm64 0.40.0-5 [27.1 kB] 1672s Get:69 http://ftpmaster.internal/ubuntu plucky/main arm64 dconf-gsettings-backend arm64 0.40.0-5 [22.3 kB] 1672s Get:70 http://ftpmaster.internal/ubuntu plucky/main arm64 libgtk-3-common all 3.24.49-2ubuntu1 [1424 kB] 1672s Get:71 http://ftpmaster.internal/ubuntu plucky/main arm64 libgtk-3-0t64 arm64 3.24.49-2ubuntu1 [2918 kB] 1672s Get:72 http://ftpmaster.internal/ubuntu plucky/main arm64 libglvnd0 arm64 1.7.0-1build1 [60.6 kB] 1672s Get:73 http://ftpmaster.internal/ubuntu plucky/main arm64 libx11-xcb1 arm64 2:1.8.10-2 [8020 B] 1672s Get:74 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-dri3-0 arm64 1.17.0-2 [7606 B] 1672s Get:75 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-glx0 arm64 1.17.0-2 [25.5 kB] 1672s Get:76 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-present0 arm64 1.17.0-2 [6224 B] 1672s Get:77 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-xfixes0 arm64 1.17.0-2 [10.6 kB] 1672s Get:78 http://ftpmaster.internal/ubuntu plucky/main arm64 libxxf86vm1 arm64 1:1.1.4-1build4 [9130 B] 1672s Get:79 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-randr0 arm64 1.17.0-2 [18.5 kB] 1672s Get:80 http://ftpmaster.internal/ubuntu plucky/main arm64 libxcb-sync1 arm64 1.17.0-2 [9688 B] 1672s Get:81 http://ftpmaster.internal/ubuntu plucky/main arm64 libxshmfence1 arm64 1.3-1build5 [4938 B] 1672s Get:82 http://ftpmaster.internal/ubuntu plucky/main arm64 mesa-libgallium arm64 25.0.1-2ubuntu2 [9452 kB] 1672s Get:83 http://ftpmaster.internal/ubuntu plucky/main arm64 libwayland-server0 arm64 1.23.1-3 [36.1 kB] 1672s Get:84 http://ftpmaster.internal/ubuntu plucky/main arm64 libgbm1 arm64 25.0.1-2ubuntu2 [33.7 kB] 1672s Get:85 http://ftpmaster.internal/ubuntu plucky/main arm64 libvulkan1 arm64 1.4.304.0-1 [158 kB] 1672s Get:86 http://ftpmaster.internal/ubuntu plucky/main arm64 libgl1-mesa-dri arm64 25.0.1-2ubuntu2 [35.4 kB] 1672s Get:87 http://ftpmaster.internal/ubuntu plucky/main arm64 libglx-mesa0 arm64 25.0.1-2ubuntu2 [151 kB] 1672s Get:88 http://ftpmaster.internal/ubuntu plucky/main arm64 libglx0 arm64 1.7.0-1build1 [33.2 kB] 1672s Get:89 http://ftpmaster.internal/ubuntu plucky/main arm64 libgl1 arm64 1.7.0-1build1 [106 kB] 1672s Get:90 http://ftpmaster.internal/ubuntu plucky/main arm64 libasound2-data all 1.2.13-1build1 [21.1 kB] 1672s Get:91 http://ftpmaster.internal/ubuntu plucky/main arm64 libasound2t64 arm64 1.2.13-1build1 [390 kB] 1672s Get:92 http://ftpmaster.internal/ubuntu plucky/main arm64 libgif7 arm64 5.2.2-1ubuntu2 [36.1 kB] 1672s Get:93 http://ftpmaster.internal/ubuntu plucky/main arm64 x11-common all 1:7.7+23ubuntu3 [21.7 kB] 1672s Get:94 http://ftpmaster.internal/ubuntu plucky/main arm64 libxtst6 arm64 2:1.2.5-1 [13.2 kB] 1672s Get:95 http://ftpmaster.internal/ubuntu plucky/main arm64 openjdk-21-jre arm64 21.0.7~7ea-1 [221 kB] 1672s Get:96 http://ftpmaster.internal/ubuntu plucky/main arm64 default-jre arm64 2:1.21-76 [918 B] 1672s Get:97 http://ftpmaster.internal/ubuntu plucky/universe arm64 libhamcrest-java all 2.2-2 [117 kB] 1673s Get:98 http://ftpmaster.internal/ubuntu plucky/universe arm64 junit4 all 4.13.2-5 [348 kB] 1673s Get:99 http://ftpmaster.internal/ubuntu plucky/universe arm64 libcommons-cli-java all 1.6.0-1 [59.9 kB] 1673s Get:100 http://ftpmaster.internal/ubuntu plucky/universe arm64 libapache-pom-java all 33-2 [5874 B] 1673s Get:101 http://ftpmaster.internal/ubuntu plucky/universe arm64 libcommons-parent-java all 56-1 [10.7 kB] 1673s Get:102 http://ftpmaster.internal/ubuntu plucky/universe arm64 libcommons-io-java all 2.18.0-1 [477 kB] 1673s Get:103 http://ftpmaster.internal/ubuntu plucky/universe arm64 libdropwizard-metrics-java all 3.2.6-1 [240 kB] 1673s Get:104 http://ftpmaster.internal/ubuntu plucky/universe arm64 libfindbugs-annotations-java all 3.1.0~preview2-4 [48.9 kB] 1673s Get:105 http://ftpmaster.internal/ubuntu plucky/universe arm64 libatinject-jsr330-api-java all 1.0+ds1-6 [5076 B] 1673s Get:106 http://ftpmaster.internal/ubuntu plucky/universe arm64 liberror-prone-java all 2.18.0-1 [22.5 kB] 1673s Get:107 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjsr305-java all 0.1~+svn49-12 [27.0 kB] 1673s Get:108 http://ftpmaster.internal/ubuntu plucky/universe arm64 libguava-java all 32.0.1-1 [2692 kB] 1673s Get:109 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjackson2-annotations-java all 2.14.0-1 [64.7 kB] 1673s Get:110 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjackson2-core-java all 2.14.1-1 [432 kB] 1673s Get:111 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjackson2-databind-java all 2.14.0+ds-1 [1481 kB] 1673s Get:112 http://ftpmaster.internal/ubuntu plucky/universe arm64 libasm-java all 9.7.1-1 [388 kB] 1673s Get:113 http://ftpmaster.internal/ubuntu plucky/universe arm64 libel-api-java all 3.0.0-3 [64.9 kB] 1673s Get:114 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjsp-api-java all 2.3.4-3 [53.7 kB] 1673s Get:115 http://ftpmaster.internal/ubuntu plucky/universe arm64 libservlet-api-java all 4.0.1-2 [81.0 kB] 1673s Get:116 http://ftpmaster.internal/ubuntu plucky/universe arm64 libwebsocket-api-java all 1.1-2 [40.1 kB] 1673s Get:117 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjetty9-java all 9.4.56-1 [2790 kB] 1673s Get:118 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjnr-constants-java all 0.10.4-2 [1397 kB] 1674s Get:119 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjffi-jni arm64 1.3.13+ds-1 [29.8 kB] 1674s Get:120 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjffi-java all 1.3.13+ds-1 [112 kB] 1674s Get:121 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjnr-x86asm-java all 1.0.2-6 [216 kB] 1674s Get:122 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjnr-ffi-java all 2.2.15-2 [627 kB] 1674s Get:123 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjnr-enxio-java all 0.32.16-1 [33.7 kB] 1674s Get:124 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjnr-posix-java all 3.1.18-1 [267 kB] 1674s Get:125 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjnr-unixsocket-java all 0.38.21-2 [46.9 kB] 1674s Get:126 http://ftpmaster.internal/ubuntu plucky/universe arm64 libactivation-java all 1.2.0-2 [84.7 kB] 1674s Get:127 http://ftpmaster.internal/ubuntu plucky/universe arm64 libmail-java all 1.6.5-3 [681 kB] 1674s Get:128 http://ftpmaster.internal/ubuntu plucky/universe arm64 libcommons-logging-java all 1.3.0-1ubuntu1 [63.8 kB] 1674s Get:129 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjaxb-api-java all 2.3.1-1 [119 kB] 1674s Get:130 http://ftpmaster.internal/ubuntu plucky/universe arm64 libspring-core-java all 4.3.30-2ubuntu1 [1015 kB] 1674s Get:131 http://ftpmaster.internal/ubuntu plucky/universe arm64 libspring-beans-java all 4.3.30-2ubuntu1 [677 kB] 1674s Get:132 http://ftpmaster.internal/ubuntu plucky/universe arm64 libtaglibs-standard-spec-java all 1.2.5-3 [35.2 kB] 1674s Get:133 http://ftpmaster.internal/ubuntu plucky/universe arm64 libtaglibs-standard-impl-java all 1.2.5-3 [182 kB] 1674s Get:134 http://ftpmaster.internal/ubuntu plucky/universe arm64 libeclipse-jdt-core-compiler-batch-java all 3.35.0+eclipse4.29-2 [2933 kB] 1674s Get:135 http://ftpmaster.internal/ubuntu plucky/universe arm64 libeclipse-jdt-core-java all 3.35.0+eclipse4.29-2 [3831 kB] 1674s Get:136 http://ftpmaster.internal/ubuntu plucky/universe arm64 libtomcat9-java all 9.0.70-2ubuntu1.1 [6161 kB] 1674s Get:137 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjetty9-extra-java all 9.4.56-1 [1199 kB] 1674s Get:138 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjavaparser-java all 3.26.1-1 [1326 kB] 1674s Get:139 http://ftpmaster.internal/ubuntu plucky/universe arm64 libjctools-java all 4.0.5+dfsg-1 [506 kB] 1674s Get:140 http://ftpmaster.internal/ubuntu plucky/universe arm64 libnetty-java all 1:4.1.48-10 [3628 kB] 1674s Get:141 http://ftpmaster.internal/ubuntu plucky/universe arm64 libslf4j-java all 1.7.32-1 [141 kB] 1674s Get:142 http://ftpmaster.internal/ubuntu plucky/main arm64 libsnappy1v5 arm64 1.2.1-1 [30.4 kB] 1674s Get:143 http://ftpmaster.internal/ubuntu plucky/universe arm64 libsnappy-jni arm64 1.1.10.7-1 [6672 B] 1674s Get:144 http://ftpmaster.internal/ubuntu plucky/universe arm64 libsnappy-java all 1.1.10.7-1 [83.6 kB] 1674s Get:145 http://ftpmaster.internal/ubuntu plucky/main arm64 libapr1t64 arm64 1.7.5-1 [106 kB] 1674s Get:146 http://ftpmaster.internal/ubuntu plucky/universe arm64 libnetty-tcnative-jni arm64 2.0.28-1build4 [36.8 kB] 1674s Get:147 http://ftpmaster.internal/ubuntu plucky/universe arm64 libnetty-tcnative-java all 2.0.28-1build4 [24.8 kB] 1674s Get:148 http://ftpmaster.internal/ubuntu plucky/universe arm64 liblog4j1.2-java all 1.2.17-11 [439 kB] 1674s Get:149 http://ftpmaster.internal/ubuntu plucky/universe arm64 libzookeeper-java all 3.9.3-1build1 [1890 kB] 1674s Get:150 http://ftpmaster.internal/ubuntu plucky/universe arm64 zookeeper all 3.9.3-1build1 [57.8 kB] 1674s Get:151 http://ftpmaster.internal/ubuntu plucky/universe arm64 zookeeperd all 3.9.3-1build1 [6016 B] 1674s Get:152 http://ftpmaster.internal/ubuntu plucky/main arm64 fonts-font-awesome all 5.0.10+really4.7.0~dfsg-4.1 [516 kB] 1674s Get:153 http://ftpmaster.internal/ubuntu plucky/main arm64 libcares2 arm64 1.34.4-2.1 [100 kB] 1674s Get:154 http://ftpmaster.internal/ubuntu plucky/universe arm64 libev4t64 arm64 1:4.33-2.1build1 [30.5 kB] 1674s Get:155 http://ftpmaster.internal/ubuntu plucky/main arm64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 1674s Get:156 http://ftpmaster.internal/ubuntu plucky/main arm64 libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 1674s Get:157 http://ftpmaster.internal/ubuntu plucky/main arm64 libjs-sphinxdoc all 8.1.3-5 [31.0 kB] 1674s Get:158 http://ftpmaster.internal/ubuntu plucky/main arm64 libllvm20 arm64 1:20.1.0~+rc3-1~exp1ubuntu1 [29.1 MB] 1676s Get:159 http://ftpmaster.internal/ubuntu plucky/main arm64 libpq5 arm64 17.4-1 [142 kB] 1676s Get:160 http://ftpmaster.internal/ubuntu plucky/main arm64 libtime-duration-perl all 1.21-2 [12.3 kB] 1676s Get:161 http://ftpmaster.internal/ubuntu plucky/main arm64 libtimedate-perl all 2.3300-2 [34.0 kB] 1676s Get:162 http://ftpmaster.internal/ubuntu plucky/main arm64 libxslt1.1 arm64 1.1.39-0exp1ubuntu4 [168 kB] 1676s Get:163 http://ftpmaster.internal/ubuntu plucky/universe arm64 moreutils arm64 0.69-1 [56.7 kB] 1676s Get:164 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-click all 8.2.0+0.really.8.1.8-1 [80.0 kB] 1676s Get:165 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-dateutil all 2.9.0-4 [80.3 kB] 1676s Get:166 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-wcwidth all 0.2.13+dfsg1-1 [26.3 kB] 1676s Get:167 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-prettytable all 3.12.0-1 [36.5 kB] 1676s Get:168 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-psutil arm64 5.9.8-2build3 [196 kB] 1676s Get:169 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-ydiff all 1.4.2-1 [19.0 kB] 1676s Get:170 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-psycopg2 arm64 2.9.10-1build1 [133 kB] 1676s Get:171 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-greenlet arm64 3.1.0-1build1 [160 kB] 1676s Get:172 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-dnspython all 2.7.0-1ubuntu1 [167 kB] 1676s Get:173 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-eventlet all 0.39.0-0ubuntu1 [277 kB] 1676s Get:174 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-zope.event all 5.0-0.1 [7512 B] 1676s Get:175 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-zope.interface arm64 7.2-1build1 [141 kB] 1676s Get:176 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-gevent arm64 24.11.1-1build1 [847 kB] 1676s Get:177 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-kerberos arm64 1.1.14-3.1build11 [21.2 kB] 1676s Get:178 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pure-sasl all 0.5.1+dfsg1-5 [11.4 kB] 1676s Get:179 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-six all 1.17.0-1 [13.2 kB] 1676s Get:180 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-kazoo all 2.9.0-2 [103 kB] 1676s Get:181 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 patroni all 4.0.4-8 [282 kB] 1676s Get:182 http://ftpmaster.internal/ubuntu plucky/main arm64 sphinx-rtd-theme-common all 3.0.2+dfsg-2 [1014 kB] 1676s Get:183 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 patroni-doc all 4.0.4-8 [526 kB] 1676s Get:184 http://ftpmaster.internal/ubuntu plucky/main arm64 postgresql-client-17 arm64 17.4-1 [1342 kB] 1676s Get:185 http://ftpmaster.internal/ubuntu plucky/main arm64 postgresql-17 arm64 17.4-1 [15.6 MB] 1677s Get:186 http://ftpmaster.internal/ubuntu plucky/main arm64 postgresql all 17+274 [14.4 kB] 1677s Get:187 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-parse all 1.20.2-1 [27.0 kB] 1677s Get:188 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-parse-type all 0.6.4-2 [23.5 kB] 1677s Get:189 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-behave all 1.2.6-6 [98.6 kB] 1677s Get:190 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-coverage arm64 7.6.0+dfsg1-2build1 [153 kB] 1678s Preconfiguring packages ... 1678s /var/cache/debconf/tmp.ci/postgresql.config.DG9NVm: 12: pg_lsclusters: not found 1678s Fetched 160 MB in 8s (20.2 MB/s) 1678s Selecting previously unselected package fonts-lato. 1678s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 117732 files and directories currently installed.) 1678s Preparing to unpack .../000-fonts-lato_2.015-1_all.deb ... 1678s Unpacking fonts-lato (2.015-1) ... 1678s Selecting previously unselected package libjson-perl. 1678s Preparing to unpack .../001-libjson-perl_4.10000-1_all.deb ... 1678s Unpacking libjson-perl (4.10000-1) ... 1679s Selecting previously unselected package postgresql-client-common. 1679s Preparing to unpack .../002-postgresql-client-common_274_all.deb ... 1679s Unpacking postgresql-client-common (274) ... 1679s Selecting previously unselected package libio-pty-perl. 1679s Preparing to unpack .../003-libio-pty-perl_1%3a1.20-1build3_arm64.deb ... 1679s Unpacking libio-pty-perl (1:1.20-1build3) ... 1679s Selecting previously unselected package libipc-run-perl. 1679s Preparing to unpack .../004-libipc-run-perl_20231003.0-2_all.deb ... 1679s Unpacking libipc-run-perl (20231003.0-2) ... 1679s Selecting previously unselected package postgresql-common-dev. 1679s Preparing to unpack .../005-postgresql-common-dev_274_all.deb ... 1679s Unpacking postgresql-common-dev (274) ... 1679s Selecting previously unselected package ssl-cert. 1679s Preparing to unpack .../006-ssl-cert_1.1.3ubuntu1_all.deb ... 1679s Unpacking ssl-cert (1.1.3ubuntu1) ... 1679s Selecting previously unselected package postgresql-common. 1679s Preparing to unpack .../007-postgresql-common_274_all.deb ... 1679s Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by postgresql-common' 1679s Unpacking postgresql-common (274) ... 1679s Selecting previously unselected package ca-certificates-java. 1679s Preparing to unpack .../008-ca-certificates-java_20240118_all.deb ... 1679s Unpacking ca-certificates-java (20240118) ... 1679s Selecting previously unselected package java-common. 1679s Preparing to unpack .../009-java-common_0.76_all.deb ... 1679s Unpacking java-common (0.76) ... 1679s Selecting previously unselected package liblcms2-2:arm64. 1679s Preparing to unpack .../010-liblcms2-2_2.16-2_arm64.deb ... 1679s Unpacking liblcms2-2:arm64 (2.16-2) ... 1679s Selecting previously unselected package libjpeg-turbo8:arm64. 1679s Preparing to unpack .../011-libjpeg-turbo8_2.1.5-3ubuntu2_arm64.deb ... 1679s Unpacking libjpeg-turbo8:arm64 (2.1.5-3ubuntu2) ... 1679s Selecting previously unselected package libjpeg8:arm64. 1679s Preparing to unpack .../012-libjpeg8_8c-2ubuntu11_arm64.deb ... 1679s Unpacking libjpeg8:arm64 (8c-2ubuntu11) ... 1679s Selecting previously unselected package libpcsclite1:arm64. 1679s Preparing to unpack .../013-libpcsclite1_2.3.1-1_arm64.deb ... 1679s Unpacking libpcsclite1:arm64 (2.3.1-1) ... 1679s Selecting previously unselected package openjdk-21-jre-headless:arm64. 1679s Preparing to unpack .../014-openjdk-21-jre-headless_21.0.7~7ea-1_arm64.deb ... 1679s Unpacking openjdk-21-jre-headless:arm64 (21.0.7~7ea-1) ... 1680s Selecting previously unselected package default-jre-headless. 1680s Preparing to unpack .../015-default-jre-headless_2%3a1.21-76_arm64.deb ... 1680s Unpacking default-jre-headless (2:1.21-76) ... 1680s Selecting previously unselected package libgdk-pixbuf2.0-common. 1680s Preparing to unpack .../016-libgdk-pixbuf2.0-common_2.42.12+dfsg-2_all.deb ... 1680s Unpacking libgdk-pixbuf2.0-common (2.42.12+dfsg-2) ... 1680s Selecting previously unselected package libdeflate0:arm64. 1680s Preparing to unpack .../017-libdeflate0_1.23-1_arm64.deb ... 1680s Unpacking libdeflate0:arm64 (1.23-1) ... 1680s Selecting previously unselected package libjbig0:arm64. 1680s Preparing to unpack .../018-libjbig0_2.1-6.1ubuntu2_arm64.deb ... 1680s Unpacking libjbig0:arm64 (2.1-6.1ubuntu2) ... 1681s Selecting previously unselected package liblerc4:arm64. 1681s Preparing to unpack .../019-liblerc4_4.0.0+ds-5ubuntu1_arm64.deb ... 1681s Unpacking liblerc4:arm64 (4.0.0+ds-5ubuntu1) ... 1681s Selecting previously unselected package libsharpyuv0:arm64. 1681s Preparing to unpack .../020-libsharpyuv0_1.5.0-0.1_arm64.deb ... 1681s Unpacking libsharpyuv0:arm64 (1.5.0-0.1) ... 1681s Selecting previously unselected package libwebp7:arm64. 1681s Preparing to unpack .../021-libwebp7_1.5.0-0.1_arm64.deb ... 1681s Unpacking libwebp7:arm64 (1.5.0-0.1) ... 1681s Selecting previously unselected package libtiff6:arm64. 1681s Preparing to unpack .../022-libtiff6_4.5.1+git230720-4ubuntu4_arm64.deb ... 1681s Unpacking libtiff6:arm64 (4.5.1+git230720-4ubuntu4) ... 1681s Selecting previously unselected package libgdk-pixbuf-2.0-0:arm64. 1681s Preparing to unpack .../023-libgdk-pixbuf-2.0-0_2.42.12+dfsg-2_arm64.deb ... 1681s Unpacking libgdk-pixbuf-2.0-0:arm64 (2.42.12+dfsg-2) ... 1681s Selecting previously unselected package gtk-update-icon-cache. 1681s Preparing to unpack .../024-gtk-update-icon-cache_4.18.2+ds-1_arm64.deb ... 1681s No diversion 'diversion of /usr/sbin/update-icon-caches to /usr/sbin/update-icon-caches.gtk2 by libgtk-3-bin', none removed. 1681s No diversion 'diversion of /usr/share/man/man8/update-icon-caches.8.gz to /usr/share/man/man8/update-icon-caches.gtk2.8.gz by libgtk-3-bin', none removed. 1681s Unpacking gtk-update-icon-cache (4.18.2+ds-1) ... 1681s Selecting previously unselected package hicolor-icon-theme. 1681s Preparing to unpack .../025-hicolor-icon-theme_0.18-2_all.deb ... 1681s Unpacking hicolor-icon-theme (0.18-2) ... 1681s Selecting previously unselected package adwaita-icon-theme. 1681s Preparing to unpack .../026-adwaita-icon-theme_48.0-1_all.deb ... 1681s Unpacking adwaita-icon-theme (48.0-1) ... 1681s Selecting previously unselected package at-spi2-common. 1681s Preparing to unpack .../027-at-spi2-common_2.56.0-2_all.deb ... 1681s Unpacking at-spi2-common (2.56.0-2) ... 1681s Selecting previously unselected package libatk1.0-0t64:arm64. 1681s Preparing to unpack .../028-libatk1.0-0t64_2.56.0-2_arm64.deb ... 1681s Unpacking libatk1.0-0t64:arm64 (2.56.0-2) ... 1681s Selecting previously unselected package libxi6:arm64. 1681s Preparing to unpack .../029-libxi6_2%3a1.8.2-1_arm64.deb ... 1681s Unpacking libxi6:arm64 (2:1.8.2-1) ... 1681s Selecting previously unselected package libatspi2.0-0t64:arm64. 1681s Preparing to unpack .../030-libatspi2.0-0t64_2.56.0-2_arm64.deb ... 1681s Unpacking libatspi2.0-0t64:arm64 (2.56.0-2) ... 1681s Selecting previously unselected package libatk-bridge2.0-0t64:arm64. 1681s Preparing to unpack .../031-libatk-bridge2.0-0t64_2.56.0-2_arm64.deb ... 1681s Unpacking libatk-bridge2.0-0t64:arm64 (2.56.0-2) ... 1681s Selecting previously unselected package fonts-dejavu-mono. 1681s Preparing to unpack .../032-fonts-dejavu-mono_2.37-8_all.deb ... 1681s Unpacking fonts-dejavu-mono (2.37-8) ... 1681s Selecting previously unselected package fonts-dejavu-core. 1681s Preparing to unpack .../033-fonts-dejavu-core_2.37-8_all.deb ... 1681s Unpacking fonts-dejavu-core (2.37-8) ... 1682s Selecting previously unselected package fontconfig-config. 1682s Preparing to unpack .../034-fontconfig-config_2.15.0-2.1ubuntu1_arm64.deb ... 1682s Unpacking fontconfig-config (2.15.0-2.1ubuntu1) ... 1682s Selecting previously unselected package libfontconfig1:arm64. 1682s Preparing to unpack .../035-libfontconfig1_2.15.0-2.1ubuntu1_arm64.deb ... 1682s Unpacking libfontconfig1:arm64 (2.15.0-2.1ubuntu1) ... 1682s Selecting previously unselected package libpixman-1-0:arm64. 1682s Preparing to unpack .../036-libpixman-1-0_0.44.0-3_arm64.deb ... 1682s Unpacking libpixman-1-0:arm64 (0.44.0-3) ... 1682s Selecting previously unselected package libxcb-render0:arm64. 1682s Preparing to unpack .../037-libxcb-render0_1.17.0-2_arm64.deb ... 1682s Unpacking libxcb-render0:arm64 (1.17.0-2) ... 1682s Selecting previously unselected package libxcb-shm0:arm64. 1682s Preparing to unpack .../038-libxcb-shm0_1.17.0-2_arm64.deb ... 1682s Unpacking libxcb-shm0:arm64 (1.17.0-2) ... 1682s Selecting previously unselected package libxrender1:arm64. 1682s Preparing to unpack .../039-libxrender1_1%3a0.9.10-1.1build1_arm64.deb ... 1682s Unpacking libxrender1:arm64 (1:0.9.10-1.1build1) ... 1682s Selecting previously unselected package libcairo2:arm64. 1682s Preparing to unpack .../040-libcairo2_1.18.4-1_arm64.deb ... 1682s Unpacking libcairo2:arm64 (1.18.4-1) ... 1682s Selecting previously unselected package libcairo-gobject2:arm64. 1682s Preparing to unpack .../041-libcairo-gobject2_1.18.4-1_arm64.deb ... 1682s Unpacking libcairo-gobject2:arm64 (1.18.4-1) ... 1682s Selecting previously unselected package libcolord2:arm64. 1682s Preparing to unpack .../042-libcolord2_1.4.7-3_arm64.deb ... 1682s Unpacking libcolord2:arm64 (1.4.7-3) ... 1682s Selecting previously unselected package libavahi-common-data:arm64. 1682s Preparing to unpack .../043-libavahi-common-data_0.8-16ubuntu2_arm64.deb ... 1682s Unpacking libavahi-common-data:arm64 (0.8-16ubuntu2) ... 1682s Selecting previously unselected package libavahi-common3:arm64. 1683s Preparing to unpack .../044-libavahi-common3_0.8-16ubuntu2_arm64.deb ... 1683s Unpacking libavahi-common3:arm64 (0.8-16ubuntu2) ... 1683s Selecting previously unselected package libavahi-client3:arm64. 1683s Preparing to unpack .../045-libavahi-client3_0.8-16ubuntu2_arm64.deb ... 1683s Unpacking libavahi-client3:arm64 (0.8-16ubuntu2) ... 1683s Selecting previously unselected package libcups2t64:arm64. 1683s Preparing to unpack .../046-libcups2t64_2.4.11-0ubuntu2_arm64.deb ... 1683s Unpacking libcups2t64:arm64 (2.4.11-0ubuntu2) ... 1683s Selecting previously unselected package libepoxy0:arm64. 1683s Preparing to unpack .../047-libepoxy0_1.5.10-2_arm64.deb ... 1683s Unpacking libepoxy0:arm64 (1.5.10-2) ... 1683s Selecting previously unselected package libgraphite2-3:arm64. 1683s Preparing to unpack .../048-libgraphite2-3_1.3.14-2ubuntu1_arm64.deb ... 1683s Unpacking libgraphite2-3:arm64 (1.3.14-2ubuntu1) ... 1683s Selecting previously unselected package libharfbuzz0b:arm64. 1683s Preparing to unpack .../049-libharfbuzz0b_10.2.0-1_arm64.deb ... 1683s Unpacking libharfbuzz0b:arm64 (10.2.0-1) ... 1683s Selecting previously unselected package fontconfig. 1683s Preparing to unpack .../050-fontconfig_2.15.0-2.1ubuntu1_arm64.deb ... 1683s Unpacking fontconfig (2.15.0-2.1ubuntu1) ... 1683s Selecting previously unselected package libthai-data. 1683s Preparing to unpack .../051-libthai-data_0.1.29-2build1_all.deb ... 1683s Unpacking libthai-data (0.1.29-2build1) ... 1683s Selecting previously unselected package libdatrie1:arm64. 1683s Preparing to unpack .../052-libdatrie1_0.2.13-3build1_arm64.deb ... 1683s Unpacking libdatrie1:arm64 (0.2.13-3build1) ... 1683s Selecting previously unselected package libthai0:arm64. 1683s Preparing to unpack .../053-libthai0_0.1.29-2build1_arm64.deb ... 1683s Unpacking libthai0:arm64 (0.1.29-2build1) ... 1683s Selecting previously unselected package libpango-1.0-0:arm64. 1683s Preparing to unpack .../054-libpango-1.0-0_1.56.3-1_arm64.deb ... 1683s Unpacking libpango-1.0-0:arm64 (1.56.3-1) ... 1683s Selecting previously unselected package libpangoft2-1.0-0:arm64. 1683s Preparing to unpack .../055-libpangoft2-1.0-0_1.56.3-1_arm64.deb ... 1683s Unpacking libpangoft2-1.0-0:arm64 (1.56.3-1) ... 1683s Selecting previously unselected package libpangocairo-1.0-0:arm64. 1683s Preparing to unpack .../056-libpangocairo-1.0-0_1.56.3-1_arm64.deb ... 1683s Unpacking libpangocairo-1.0-0:arm64 (1.56.3-1) ... 1683s Selecting previously unselected package libwayland-client0:arm64. 1683s Preparing to unpack .../057-libwayland-client0_1.23.1-3_arm64.deb ... 1683s Unpacking libwayland-client0:arm64 (1.23.1-3) ... 1683s Selecting previously unselected package libwayland-cursor0:arm64. 1683s Preparing to unpack .../058-libwayland-cursor0_1.23.1-3_arm64.deb ... 1683s Unpacking libwayland-cursor0:arm64 (1.23.1-3) ... 1683s Selecting previously unselected package libwayland-egl1:arm64. 1683s Preparing to unpack .../059-libwayland-egl1_1.23.1-3_arm64.deb ... 1683s Unpacking libwayland-egl1:arm64 (1.23.1-3) ... 1683s Selecting previously unselected package libxcomposite1:arm64. 1683s Preparing to unpack .../060-libxcomposite1_1%3a0.4.6-1_arm64.deb ... 1683s Unpacking libxcomposite1:arm64 (1:0.4.6-1) ... 1683s Selecting previously unselected package libxfixes3:arm64. 1683s Preparing to unpack .../061-libxfixes3_1%3a6.0.0-2build1_arm64.deb ... 1683s Unpacking libxfixes3:arm64 (1:6.0.0-2build1) ... 1683s Selecting previously unselected package libxcursor1:arm64. 1683s Preparing to unpack .../062-libxcursor1_1%3a1.2.3-1_arm64.deb ... 1683s Unpacking libxcursor1:arm64 (1:1.2.3-1) ... 1683s Selecting previously unselected package libxdamage1:arm64. 1683s Preparing to unpack .../063-libxdamage1_1%3a1.1.6-1build1_arm64.deb ... 1683s Unpacking libxdamage1:arm64 (1:1.1.6-1build1) ... 1683s Selecting previously unselected package libxinerama1:arm64. 1683s Preparing to unpack .../064-libxinerama1_2%3a1.1.4-3build1_arm64.deb ... 1683s Unpacking libxinerama1:arm64 (2:1.1.4-3build1) ... 1683s Selecting previously unselected package libxrandr2:arm64. 1683s Preparing to unpack .../065-libxrandr2_2%3a1.5.4-1_arm64.deb ... 1683s Unpacking libxrandr2:arm64 (2:1.5.4-1) ... 1683s Selecting previously unselected package libdconf1:arm64. 1684s Preparing to unpack .../066-libdconf1_0.40.0-5_arm64.deb ... 1684s Unpacking libdconf1:arm64 (0.40.0-5) ... 1684s Selecting previously unselected package dconf-service. 1684s Preparing to unpack .../067-dconf-service_0.40.0-5_arm64.deb ... 1684s Unpacking dconf-service (0.40.0-5) ... 1684s Selecting previously unselected package dconf-gsettings-backend:arm64. 1684s Preparing to unpack .../068-dconf-gsettings-backend_0.40.0-5_arm64.deb ... 1684s Unpacking dconf-gsettings-backend:arm64 (0.40.0-5) ... 1684s Selecting previously unselected package libgtk-3-common. 1684s Preparing to unpack .../069-libgtk-3-common_3.24.49-2ubuntu1_all.deb ... 1684s Unpacking libgtk-3-common (3.24.49-2ubuntu1) ... 1684s Selecting previously unselected package libgtk-3-0t64:arm64. 1684s Preparing to unpack .../070-libgtk-3-0t64_3.24.49-2ubuntu1_arm64.deb ... 1684s Unpacking libgtk-3-0t64:arm64 (3.24.49-2ubuntu1) ... 1684s Selecting previously unselected package libglvnd0:arm64. 1684s Preparing to unpack .../071-libglvnd0_1.7.0-1build1_arm64.deb ... 1684s Unpacking libglvnd0:arm64 (1.7.0-1build1) ... 1684s Selecting previously unselected package libx11-xcb1:arm64. 1684s Preparing to unpack .../072-libx11-xcb1_2%3a1.8.10-2_arm64.deb ... 1684s Unpacking libx11-xcb1:arm64 (2:1.8.10-2) ... 1684s Selecting previously unselected package libxcb-dri3-0:arm64. 1684s Preparing to unpack .../073-libxcb-dri3-0_1.17.0-2_arm64.deb ... 1684s Unpacking libxcb-dri3-0:arm64 (1.17.0-2) ... 1684s Selecting previously unselected package libxcb-glx0:arm64. 1684s Preparing to unpack .../074-libxcb-glx0_1.17.0-2_arm64.deb ... 1684s Unpacking libxcb-glx0:arm64 (1.17.0-2) ... 1684s Selecting previously unselected package libxcb-present0:arm64. 1684s Preparing to unpack .../075-libxcb-present0_1.17.0-2_arm64.deb ... 1684s Unpacking libxcb-present0:arm64 (1.17.0-2) ... 1684s Selecting previously unselected package libxcb-xfixes0:arm64. 1684s Preparing to unpack .../076-libxcb-xfixes0_1.17.0-2_arm64.deb ... 1684s Unpacking libxcb-xfixes0:arm64 (1.17.0-2) ... 1684s Selecting previously unselected package libxxf86vm1:arm64. 1684s Preparing to unpack .../077-libxxf86vm1_1%3a1.1.4-1build4_arm64.deb ... 1684s Unpacking libxxf86vm1:arm64 (1:1.1.4-1build4) ... 1684s Selecting previously unselected package libxcb-randr0:arm64. 1684s Preparing to unpack .../078-libxcb-randr0_1.17.0-2_arm64.deb ... 1684s Unpacking libxcb-randr0:arm64 (1.17.0-2) ... 1684s Selecting previously unselected package libxcb-sync1:arm64. 1684s Preparing to unpack .../079-libxcb-sync1_1.17.0-2_arm64.deb ... 1684s Unpacking libxcb-sync1:arm64 (1.17.0-2) ... 1684s Selecting previously unselected package libxshmfence1:arm64. 1684s Preparing to unpack .../080-libxshmfence1_1.3-1build5_arm64.deb ... 1684s Unpacking libxshmfence1:arm64 (1.3-1build5) ... 1684s Selecting previously unselected package mesa-libgallium:arm64. 1684s Preparing to unpack .../081-mesa-libgallium_25.0.1-2ubuntu2_arm64.deb ... 1684s Unpacking mesa-libgallium:arm64 (25.0.1-2ubuntu2) ... 1685s Selecting previously unselected package libwayland-server0:arm64. 1685s Preparing to unpack .../082-libwayland-server0_1.23.1-3_arm64.deb ... 1685s Unpacking libwayland-server0:arm64 (1.23.1-3) ... 1685s Selecting previously unselected package libgbm1:arm64. 1685s Preparing to unpack .../083-libgbm1_25.0.1-2ubuntu2_arm64.deb ... 1685s Unpacking libgbm1:arm64 (25.0.1-2ubuntu2) ... 1685s Selecting previously unselected package libvulkan1:arm64. 1685s Preparing to unpack .../084-libvulkan1_1.4.304.0-1_arm64.deb ... 1685s Unpacking libvulkan1:arm64 (1.4.304.0-1) ... 1685s Selecting previously unselected package libgl1-mesa-dri:arm64. 1685s Preparing to unpack .../085-libgl1-mesa-dri_25.0.1-2ubuntu2_arm64.deb ... 1685s Unpacking libgl1-mesa-dri:arm64 (25.0.1-2ubuntu2) ... 1685s Selecting previously unselected package libglx-mesa0:arm64. 1685s Preparing to unpack .../086-libglx-mesa0_25.0.1-2ubuntu2_arm64.deb ... 1685s Unpacking libglx-mesa0:arm64 (25.0.1-2ubuntu2) ... 1685s Selecting previously unselected package libglx0:arm64. 1685s Preparing to unpack .../087-libglx0_1.7.0-1build1_arm64.deb ... 1685s Unpacking libglx0:arm64 (1.7.0-1build1) ... 1685s Selecting previously unselected package libgl1:arm64. 1685s Preparing to unpack .../088-libgl1_1.7.0-1build1_arm64.deb ... 1685s Unpacking libgl1:arm64 (1.7.0-1build1) ... 1685s Selecting previously unselected package libasound2-data. 1685s Preparing to unpack .../089-libasound2-data_1.2.13-1build1_all.deb ... 1685s Unpacking libasound2-data (1.2.13-1build1) ... 1685s Selecting previously unselected package libasound2t64:arm64. 1685s Preparing to unpack .../090-libasound2t64_1.2.13-1build1_arm64.deb ... 1685s Unpacking libasound2t64:arm64 (1.2.13-1build1) ... 1685s Selecting previously unselected package libgif7:arm64. 1685s Preparing to unpack .../091-libgif7_5.2.2-1ubuntu2_arm64.deb ... 1685s Unpacking libgif7:arm64 (5.2.2-1ubuntu2) ... 1685s Selecting previously unselected package x11-common. 1685s Preparing to unpack .../092-x11-common_1%3a7.7+23ubuntu3_all.deb ... 1685s Unpacking x11-common (1:7.7+23ubuntu3) ... 1685s Selecting previously unselected package libxtst6:arm64. 1685s Preparing to unpack .../093-libxtst6_2%3a1.2.5-1_arm64.deb ... 1685s Unpacking libxtst6:arm64 (2:1.2.5-1) ... 1685s Selecting previously unselected package openjdk-21-jre:arm64. 1685s Preparing to unpack .../094-openjdk-21-jre_21.0.7~7ea-1_arm64.deb ... 1685s Unpacking openjdk-21-jre:arm64 (21.0.7~7ea-1) ... 1685s Selecting previously unselected package default-jre. 1685s Preparing to unpack .../095-default-jre_2%3a1.21-76_arm64.deb ... 1685s Unpacking default-jre (2:1.21-76) ... 1685s Selecting previously unselected package libhamcrest-java. 1685s Preparing to unpack .../096-libhamcrest-java_2.2-2_all.deb ... 1685s Unpacking libhamcrest-java (2.2-2) ... 1685s Selecting previously unselected package junit4. 1685s Preparing to unpack .../097-junit4_4.13.2-5_all.deb ... 1685s Unpacking junit4 (4.13.2-5) ... 1685s Selecting previously unselected package libcommons-cli-java. 1685s Preparing to unpack .../098-libcommons-cli-java_1.6.0-1_all.deb ... 1685s Unpacking libcommons-cli-java (1.6.0-1) ... 1685s Selecting previously unselected package libapache-pom-java. 1685s Preparing to unpack .../099-libapache-pom-java_33-2_all.deb ... 1685s Unpacking libapache-pom-java (33-2) ... 1685s Selecting previously unselected package libcommons-parent-java. 1685s Preparing to unpack .../100-libcommons-parent-java_56-1_all.deb ... 1685s Unpacking libcommons-parent-java (56-1) ... 1685s Selecting previously unselected package libcommons-io-java. 1685s Preparing to unpack .../101-libcommons-io-java_2.18.0-1_all.deb ... 1685s Unpacking libcommons-io-java (2.18.0-1) ... 1686s Selecting previously unselected package libdropwizard-metrics-java. 1686s Preparing to unpack .../102-libdropwizard-metrics-java_3.2.6-1_all.deb ... 1686s Unpacking libdropwizard-metrics-java (3.2.6-1) ... 1686s Selecting previously unselected package libfindbugs-annotations-java. 1686s Preparing to unpack .../103-libfindbugs-annotations-java_3.1.0~preview2-4_all.deb ... 1686s Unpacking libfindbugs-annotations-java (3.1.0~preview2-4) ... 1686s Selecting previously unselected package libatinject-jsr330-api-java. 1686s Preparing to unpack .../104-libatinject-jsr330-api-java_1.0+ds1-6_all.deb ... 1686s Unpacking libatinject-jsr330-api-java (1.0+ds1-6) ... 1686s Selecting previously unselected package liberror-prone-java. 1686s Preparing to unpack .../105-liberror-prone-java_2.18.0-1_all.deb ... 1686s Unpacking liberror-prone-java (2.18.0-1) ... 1686s Selecting previously unselected package libjsr305-java. 1686s Preparing to unpack .../106-libjsr305-java_0.1~+svn49-12_all.deb ... 1686s Unpacking libjsr305-java (0.1~+svn49-12) ... 1686s Selecting previously unselected package libguava-java. 1686s Preparing to unpack .../107-libguava-java_32.0.1-1_all.deb ... 1686s Unpacking libguava-java (32.0.1-1) ... 1686s Selecting previously unselected package libjackson2-annotations-java. 1686s Preparing to unpack .../108-libjackson2-annotations-java_2.14.0-1_all.deb ... 1686s Unpacking libjackson2-annotations-java (2.14.0-1) ... 1686s Selecting previously unselected package libjackson2-core-java. 1686s Preparing to unpack .../109-libjackson2-core-java_2.14.1-1_all.deb ... 1686s Unpacking libjackson2-core-java (2.14.1-1) ... 1686s Selecting previously unselected package libjackson2-databind-java. 1686s Preparing to unpack .../110-libjackson2-databind-java_2.14.0+ds-1_all.deb ... 1686s Unpacking libjackson2-databind-java (2.14.0+ds-1) ... 1686s Selecting previously unselected package libasm-java. 1686s Preparing to unpack .../111-libasm-java_9.7.1-1_all.deb ... 1686s Unpacking libasm-java (9.7.1-1) ... 1686s Selecting previously unselected package libel-api-java. 1686s Preparing to unpack .../112-libel-api-java_3.0.0-3_all.deb ... 1686s Unpacking libel-api-java (3.0.0-3) ... 1686s Selecting previously unselected package libjsp-api-java. 1686s Preparing to unpack .../113-libjsp-api-java_2.3.4-3_all.deb ... 1686s Unpacking libjsp-api-java (2.3.4-3) ... 1686s Selecting previously unselected package libservlet-api-java. 1686s Preparing to unpack .../114-libservlet-api-java_4.0.1-2_all.deb ... 1686s Unpacking libservlet-api-java (4.0.1-2) ... 1686s Selecting previously unselected package libwebsocket-api-java. 1686s Preparing to unpack .../115-libwebsocket-api-java_1.1-2_all.deb ... 1686s Unpacking libwebsocket-api-java (1.1-2) ... 1686s Selecting previously unselected package libjetty9-java. 1686s Preparing to unpack .../116-libjetty9-java_9.4.56-1_all.deb ... 1686s Unpacking libjetty9-java (9.4.56-1) ... 1686s Selecting previously unselected package libjnr-constants-java. 1686s Preparing to unpack .../117-libjnr-constants-java_0.10.4-2_all.deb ... 1686s Unpacking libjnr-constants-java (0.10.4-2) ... 1686s Selecting previously unselected package libjffi-jni:arm64. 1686s Preparing to unpack .../118-libjffi-jni_1.3.13+ds-1_arm64.deb ... 1686s Unpacking libjffi-jni:arm64 (1.3.13+ds-1) ... 1686s Selecting previously unselected package libjffi-java. 1686s Preparing to unpack .../119-libjffi-java_1.3.13+ds-1_all.deb ... 1686s Unpacking libjffi-java (1.3.13+ds-1) ... 1686s Selecting previously unselected package libjnr-x86asm-java. 1686s Preparing to unpack .../120-libjnr-x86asm-java_1.0.2-6_all.deb ... 1686s Unpacking libjnr-x86asm-java (1.0.2-6) ... 1686s Selecting previously unselected package libjnr-ffi-java. 1687s Preparing to unpack .../121-libjnr-ffi-java_2.2.15-2_all.deb ... 1687s Unpacking libjnr-ffi-java (2.2.15-2) ... 1687s Selecting previously unselected package libjnr-enxio-java. 1687s Preparing to unpack .../122-libjnr-enxio-java_0.32.16-1_all.deb ... 1687s Unpacking libjnr-enxio-java (0.32.16-1) ... 1687s Selecting previously unselected package libjnr-posix-java. 1687s Preparing to unpack .../123-libjnr-posix-java_3.1.18-1_all.deb ... 1687s Unpacking libjnr-posix-java (3.1.18-1) ... 1687s Selecting previously unselected package libjnr-unixsocket-java. 1687s Preparing to unpack .../124-libjnr-unixsocket-java_0.38.21-2_all.deb ... 1687s Unpacking libjnr-unixsocket-java (0.38.21-2) ... 1687s Selecting previously unselected package libactivation-java. 1687s Preparing to unpack .../125-libactivation-java_1.2.0-2_all.deb ... 1687s Unpacking libactivation-java (1.2.0-2) ... 1687s Selecting previously unselected package libmail-java. 1687s Preparing to unpack .../126-libmail-java_1.6.5-3_all.deb ... 1687s Unpacking libmail-java (1.6.5-3) ... 1687s Selecting previously unselected package libcommons-logging-java. 1687s Preparing to unpack .../127-libcommons-logging-java_1.3.0-1ubuntu1_all.deb ... 1687s Unpacking libcommons-logging-java (1.3.0-1ubuntu1) ... 1687s Selecting previously unselected package libjaxb-api-java. 1687s Preparing to unpack .../128-libjaxb-api-java_2.3.1-1_all.deb ... 1687s Unpacking libjaxb-api-java (2.3.1-1) ... 1687s Selecting previously unselected package libspring-core-java. 1687s Preparing to unpack .../129-libspring-core-java_4.3.30-2ubuntu1_all.deb ... 1687s Unpacking libspring-core-java (4.3.30-2ubuntu1) ... 1687s Selecting previously unselected package libspring-beans-java. 1687s Preparing to unpack .../130-libspring-beans-java_4.3.30-2ubuntu1_all.deb ... 1687s Unpacking libspring-beans-java (4.3.30-2ubuntu1) ... 1687s Selecting previously unselected package libtaglibs-standard-spec-java. 1687s Preparing to unpack .../131-libtaglibs-standard-spec-java_1.2.5-3_all.deb ... 1687s Unpacking libtaglibs-standard-spec-java (1.2.5-3) ... 1687s Selecting previously unselected package libtaglibs-standard-impl-java. 1687s Preparing to unpack .../132-libtaglibs-standard-impl-java_1.2.5-3_all.deb ... 1687s Unpacking libtaglibs-standard-impl-java (1.2.5-3) ... 1687s Selecting previously unselected package libeclipse-jdt-core-compiler-batch-java. 1687s Preparing to unpack .../133-libeclipse-jdt-core-compiler-batch-java_3.35.0+eclipse4.29-2_all.deb ... 1687s Unpacking libeclipse-jdt-core-compiler-batch-java (3.35.0+eclipse4.29-2) ... 1687s Selecting previously unselected package libeclipse-jdt-core-java. 1687s Preparing to unpack .../134-libeclipse-jdt-core-java_3.35.0+eclipse4.29-2_all.deb ... 1687s Unpacking libeclipse-jdt-core-java (3.35.0+eclipse4.29-2) ... 1687s Selecting previously unselected package libtomcat9-java. 1687s Preparing to unpack .../135-libtomcat9-java_9.0.70-2ubuntu1.1_all.deb ... 1687s Unpacking libtomcat9-java (9.0.70-2ubuntu1.1) ... 1687s Selecting previously unselected package libjetty9-extra-java. 1687s Preparing to unpack .../136-libjetty9-extra-java_9.4.56-1_all.deb ... 1687s Unpacking libjetty9-extra-java (9.4.56-1) ... 1687s Selecting previously unselected package libjavaparser-java. 1687s Preparing to unpack .../137-libjavaparser-java_3.26.1-1_all.deb ... 1687s Unpacking libjavaparser-java (3.26.1-1) ... 1687s Selecting previously unselected package libjctools-java. 1687s Preparing to unpack .../138-libjctools-java_4.0.5+dfsg-1_all.deb ... 1687s Unpacking libjctools-java (4.0.5+dfsg-1) ... 1687s Selecting previously unselected package libnetty-java. 1687s Preparing to unpack .../139-libnetty-java_1%3a4.1.48-10_all.deb ... 1687s Unpacking libnetty-java (1:4.1.48-10) ... 1688s Selecting previously unselected package libslf4j-java. 1688s Preparing to unpack .../140-libslf4j-java_1.7.32-1_all.deb ... 1688s Unpacking libslf4j-java (1.7.32-1) ... 1688s Selecting previously unselected package libsnappy1v5:arm64. 1688s Preparing to unpack .../141-libsnappy1v5_1.2.1-1_arm64.deb ... 1688s Unpacking libsnappy1v5:arm64 (1.2.1-1) ... 1688s Selecting previously unselected package libsnappy-jni. 1688s Preparing to unpack .../142-libsnappy-jni_1.1.10.7-1_arm64.deb ... 1688s Unpacking libsnappy-jni (1.1.10.7-1) ... 1688s Selecting previously unselected package libsnappy-java. 1688s Preparing to unpack .../143-libsnappy-java_1.1.10.7-1_all.deb ... 1688s Unpacking libsnappy-java (1.1.10.7-1) ... 1688s Selecting previously unselected package libapr1t64:arm64. 1688s Preparing to unpack .../144-libapr1t64_1.7.5-1_arm64.deb ... 1688s Unpacking libapr1t64:arm64 (1.7.5-1) ... 1688s Selecting previously unselected package libnetty-tcnative-jni. 1688s Preparing to unpack .../145-libnetty-tcnative-jni_2.0.28-1build4_arm64.deb ... 1688s Unpacking libnetty-tcnative-jni (2.0.28-1build4) ... 1688s Selecting previously unselected package libnetty-tcnative-java. 1688s Preparing to unpack .../146-libnetty-tcnative-java_2.0.28-1build4_all.deb ... 1688s Unpacking libnetty-tcnative-java (2.0.28-1build4) ... 1688s Selecting previously unselected package liblog4j1.2-java. 1688s Preparing to unpack .../147-liblog4j1.2-java_1.2.17-11_all.deb ... 1688s Unpacking liblog4j1.2-java (1.2.17-11) ... 1688s Selecting previously unselected package libzookeeper-java. 1688s Preparing to unpack .../148-libzookeeper-java_3.9.3-1build1_all.deb ... 1688s Unpacking libzookeeper-java (3.9.3-1build1) ... 1688s Selecting previously unselected package zookeeper. 1688s Preparing to unpack .../149-zookeeper_3.9.3-1build1_all.deb ... 1688s Unpacking zookeeper (3.9.3-1build1) ... 1688s Selecting previously unselected package zookeeperd. 1688s Preparing to unpack .../150-zookeeperd_3.9.3-1build1_all.deb ... 1688s Unpacking zookeeperd (3.9.3-1build1) ... 1688s Selecting previously unselected package fonts-font-awesome. 1688s Preparing to unpack .../151-fonts-font-awesome_5.0.10+really4.7.0~dfsg-4.1_all.deb ... 1688s Unpacking fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 1688s Selecting previously unselected package libcares2:arm64. 1688s Preparing to unpack .../152-libcares2_1.34.4-2.1_arm64.deb ... 1688s Unpacking libcares2:arm64 (1.34.4-2.1) ... 1688s Selecting previously unselected package libev4t64:arm64. 1688s Preparing to unpack .../153-libev4t64_1%3a4.33-2.1build1_arm64.deb ... 1688s Unpacking libev4t64:arm64 (1:4.33-2.1build1) ... 1688s Selecting previously unselected package libjs-jquery. 1688s Preparing to unpack .../154-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 1688s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 1688s Selecting previously unselected package libjs-underscore. 1688s Preparing to unpack .../155-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 1688s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 1688s Selecting previously unselected package libjs-sphinxdoc. 1688s Preparing to unpack .../156-libjs-sphinxdoc_8.1.3-5_all.deb ... 1688s Unpacking libjs-sphinxdoc (8.1.3-5) ... 1688s Selecting previously unselected package libllvm20:arm64. 1688s Preparing to unpack .../157-libllvm20_1%3a20.1.0~+rc3-1~exp1ubuntu1_arm64.deb ... 1688s Unpacking libllvm20:arm64 (1:20.1.0~+rc3-1~exp1ubuntu1) ... 1689s Selecting previously unselected package libpq5:arm64. 1689s Preparing to unpack .../158-libpq5_17.4-1_arm64.deb ... 1689s Unpacking libpq5:arm64 (17.4-1) ... 1689s Selecting previously unselected package libtime-duration-perl. 1689s Preparing to unpack .../159-libtime-duration-perl_1.21-2_all.deb ... 1689s Unpacking libtime-duration-perl (1.21-2) ... 1689s Selecting previously unselected package libtimedate-perl. 1689s Preparing to unpack .../160-libtimedate-perl_2.3300-2_all.deb ... 1689s Unpacking libtimedate-perl (2.3300-2) ... 1689s Selecting previously unselected package libxslt1.1:arm64. 1689s Preparing to unpack .../161-libxslt1.1_1.1.39-0exp1ubuntu4_arm64.deb ... 1689s Unpacking libxslt1.1:arm64 (1.1.39-0exp1ubuntu4) ... 1689s Selecting previously unselected package moreutils. 1690s Preparing to unpack .../162-moreutils_0.69-1_arm64.deb ... 1690s Unpacking moreutils (0.69-1) ... 1690s Selecting previously unselected package python3-click. 1690s Preparing to unpack .../163-python3-click_8.2.0+0.really.8.1.8-1_all.deb ... 1690s Unpacking python3-click (8.2.0+0.really.8.1.8-1) ... 1690s Selecting previously unselected package python3-dateutil. 1690s Preparing to unpack .../164-python3-dateutil_2.9.0-4_all.deb ... 1690s Unpacking python3-dateutil (2.9.0-4) ... 1690s Selecting previously unselected package python3-wcwidth. 1690s Preparing to unpack .../165-python3-wcwidth_0.2.13+dfsg1-1_all.deb ... 1690s Unpacking python3-wcwidth (0.2.13+dfsg1-1) ... 1690s Selecting previously unselected package python3-prettytable. 1690s Preparing to unpack .../166-python3-prettytable_3.12.0-1_all.deb ... 1690s Unpacking python3-prettytable (3.12.0-1) ... 1690s Selecting previously unselected package python3-psutil. 1690s Preparing to unpack .../167-python3-psutil_5.9.8-2build3_arm64.deb ... 1690s Unpacking python3-psutil (5.9.8-2build3) ... 1690s Selecting previously unselected package python3-ydiff. 1690s Preparing to unpack .../168-python3-ydiff_1.4.2-1_all.deb ... 1690s Unpacking python3-ydiff (1.4.2-1) ... 1690s Selecting previously unselected package python3-psycopg2. 1690s Preparing to unpack .../169-python3-psycopg2_2.9.10-1build1_arm64.deb ... 1690s Unpacking python3-psycopg2 (2.9.10-1build1) ... 1690s Selecting previously unselected package python3-greenlet. 1690s Preparing to unpack .../170-python3-greenlet_3.1.0-1build1_arm64.deb ... 1690s Unpacking python3-greenlet (3.1.0-1build1) ... 1690s Selecting previously unselected package python3-dnspython. 1690s Preparing to unpack .../171-python3-dnspython_2.7.0-1ubuntu1_all.deb ... 1690s Unpacking python3-dnspython (2.7.0-1ubuntu1) ... 1690s Selecting previously unselected package python3-eventlet. 1690s Preparing to unpack .../172-python3-eventlet_0.39.0-0ubuntu1_all.deb ... 1690s Unpacking python3-eventlet (0.39.0-0ubuntu1) ... 1690s Selecting previously unselected package python3-zope.event. 1690s Preparing to unpack .../173-python3-zope.event_5.0-0.1_all.deb ... 1690s Unpacking python3-zope.event (5.0-0.1) ... 1690s Selecting previously unselected package python3-zope.interface. 1690s Preparing to unpack .../174-python3-zope.interface_7.2-1build1_arm64.deb ... 1690s Unpacking python3-zope.interface (7.2-1build1) ... 1690s Selecting previously unselected package python3-gevent. 1690s Preparing to unpack .../175-python3-gevent_24.11.1-1build1_arm64.deb ... 1690s Unpacking python3-gevent (24.11.1-1build1) ... 1690s Selecting previously unselected package python3-kerberos. 1690s Preparing to unpack .../176-python3-kerberos_1.1.14-3.1build11_arm64.deb ... 1690s Unpacking python3-kerberos (1.1.14-3.1build11) ... 1690s Selecting previously unselected package python3-pure-sasl. 1690s Preparing to unpack .../177-python3-pure-sasl_0.5.1+dfsg1-5_all.deb ... 1690s Unpacking python3-pure-sasl (0.5.1+dfsg1-5) ... 1690s Selecting previously unselected package python3-six. 1690s Preparing to unpack .../178-python3-six_1.17.0-1_all.deb ... 1690s Unpacking python3-six (1.17.0-1) ... 1690s Selecting previously unselected package python3-kazoo. 1690s Preparing to unpack .../179-python3-kazoo_2.9.0-2_all.deb ... 1690s Unpacking python3-kazoo (2.9.0-2) ... 1690s Selecting previously unselected package patroni. 1690s Preparing to unpack .../180-patroni_4.0.4-8_all.deb ... 1690s Unpacking patroni (4.0.4-8) ... 1690s Selecting previously unselected package sphinx-rtd-theme-common. 1690s Preparing to unpack .../181-sphinx-rtd-theme-common_3.0.2+dfsg-2_all.deb ... 1690s Unpacking sphinx-rtd-theme-common (3.0.2+dfsg-2) ... 1691s Selecting previously unselected package patroni-doc. 1691s Preparing to unpack .../182-patroni-doc_4.0.4-8_all.deb ... 1691s Unpacking patroni-doc (4.0.4-8) ... 1691s Selecting previously unselected package postgresql-client-17. 1691s Preparing to unpack .../183-postgresql-client-17_17.4-1_arm64.deb ... 1691s Unpacking postgresql-client-17 (17.4-1) ... 1691s Selecting previously unselected package postgresql-17. 1691s Preparing to unpack .../184-postgresql-17_17.4-1_arm64.deb ... 1691s Unpacking postgresql-17 (17.4-1) ... 1691s Selecting previously unselected package postgresql. 1691s Preparing to unpack .../185-postgresql_17+274_all.deb ... 1691s Unpacking postgresql (17+274) ... 1691s Selecting previously unselected package python3-parse. 1691s Preparing to unpack .../186-python3-parse_1.20.2-1_all.deb ... 1691s Unpacking python3-parse (1.20.2-1) ... 1691s Selecting previously unselected package python3-parse-type. 1691s Preparing to unpack .../187-python3-parse-type_0.6.4-2_all.deb ... 1691s Unpacking python3-parse-type (0.6.4-2) ... 1691s Selecting previously unselected package python3-behave. 1691s Preparing to unpack .../188-python3-behave_1.2.6-6_all.deb ... 1691s Unpacking python3-behave (1.2.6-6) ... 1691s Selecting previously unselected package python3-coverage. 1691s Preparing to unpack .../189-python3-coverage_7.6.0+dfsg1-2build1_arm64.deb ... 1691s Unpacking python3-coverage (7.6.0+dfsg1-2build1) ... 1691s Setting up postgresql-client-common (274) ... 1691s Setting up libgraphite2-3:arm64 (1.3.14-2ubuntu1) ... 1691s Setting up libxcb-dri3-0:arm64 (1.17.0-2) ... 1691s Setting up liblcms2-2:arm64 (2.16-2) ... 1691s Setting up libtaglibs-standard-spec-java (1.2.5-3) ... 1691s Setting up libpixman-1-0:arm64 (0.44.0-3) ... 1691s Setting up libev4t64:arm64 (1:4.33-2.1build1) ... 1691s Setting up libjackson2-annotations-java (2.14.0-1) ... 1691s Setting up libsharpyuv0:arm64 (1.5.0-0.1) ... 1691s Setting up libwayland-server0:arm64 (1.23.1-3) ... 1691s Setting up libx11-xcb1:arm64 (2:1.8.10-2) ... 1691s Setting up libslf4j-java (1.7.32-1) ... 1691s Setting up fonts-lato (2.015-1) ... 1691s Setting up libeclipse-jdt-core-compiler-batch-java (3.35.0+eclipse4.29-2) ... 1691s Setting up libxdamage1:arm64 (1:1.1.6-1build1) ... 1691s Setting up libxcb-xfixes0:arm64 (1.17.0-2) ... 1691s Setting up libjavaparser-java (3.26.1-1) ... 1691s Setting up liblerc4:arm64 (4.0.0+ds-5ubuntu1) ... 1691s Setting up libjsr305-java (0.1~+svn49-12) ... 1691s Setting up hicolor-icon-theme (0.18-2) ... 1691s Setting up libxi6:arm64 (2:1.8.2-1) ... 1691s Setting up java-common (0.76) ... 1691s Setting up libxrender1:arm64 (1:0.9.10-1.1build1) ... 1691s Setting up libdatrie1:arm64 (0.2.13-3build1) ... 1691s Setting up libcommons-cli-java (1.6.0-1) ... 1691s Setting up libio-pty-perl (1:1.20-1build3) ... 1691s Setting up libxcb-render0:arm64 (1.17.0-2) ... 1691s Setting up python3-zope.event (5.0-0.1) ... 1692s Setting up python3-zope.interface (7.2-1build1) ... 1692s Setting up libglvnd0:arm64 (1.7.0-1build1) ... 1692s Setting up libxcb-glx0:arm64 (1.17.0-2) ... 1692s Setting up libgdk-pixbuf2.0-common (2.42.12+dfsg-2) ... 1692s Setting up python3-ydiff (1.4.2-1) ... 1692s Setting up libasm-java (9.7.1-1) ... 1692s Setting up x11-common (1:7.7+23ubuntu3) ... 1693s Setting up libpq5:arm64 (17.4-1) ... 1693s Setting up libdeflate0:arm64 (1.23-1) ... 1693s Setting up python3-kerberos (1.1.14-3.1build11) ... 1693s Setting up liblog4j1.2-java (1.2.17-11) ... 1693s Setting up libel-api-java (3.0.0-3) ... 1693s Setting up python3-coverage (7.6.0+dfsg1-2build1) ... 1693s Setting up libxcb-shm0:arm64 (1.17.0-2) ... 1693s Setting up python3-click (8.2.0+0.really.8.1.8-1) ... 1693s Setting up libjnr-x86asm-java (1.0.2-6) ... 1693s Setting up libjbig0:arm64 (2.1-6.1ubuntu2) ... 1693s Setting up libcolord2:arm64 (1.4.7-3) ... 1693s Setting up python3-psutil (5.9.8-2build3) ... 1693s Setting up libeclipse-jdt-core-java (3.35.0+eclipse4.29-2) ... 1693s Setting up libxxf86vm1:arm64 (1:1.1.4-1build4) ... 1693s Setting up libsnappy1v5:arm64 (1.2.1-1) ... 1693s Setting up libxcb-present0:arm64 (1.17.0-2) ... 1693s Setting up libtaglibs-standard-impl-java (1.2.5-3) ... 1693s Setting up libdconf1:arm64 (0.40.0-5) ... 1693s Setting up libjctools-java (4.0.5+dfsg-1) ... 1693s Setting up libdropwizard-metrics-java (3.2.6-1) ... 1693s Setting up python3-six (1.17.0-1) ... 1694s Setting up libasound2-data (1.2.13-1build1) ... 1694s Setting up libasound2t64:arm64 (1.2.13-1build1) ... 1694s Setting up python3-wcwidth (0.2.13+dfsg1-1) ... 1694s Setting up libfindbugs-annotations-java (3.1.0~preview2-4) ... 1694s Setting up libepoxy0:arm64 (1.5.10-2) ... 1694s Setting up ssl-cert (1.1.3ubuntu1) ... 1695s Created symlink '/etc/systemd/system/multi-user.target.wants/ssl-cert.service' → '/usr/lib/systemd/system/ssl-cert.service'. 1695s Setting up libxfixes3:arm64 (1:6.0.0-2build1) ... 1695s Setting up libxcb-sync1:arm64 (1.17.0-2) ... 1695s Setting up libapache-pom-java (33-2) ... 1695s Setting up libavahi-common-data:arm64 (0.8-16ubuntu2) ... 1695s Setting up libatinject-jsr330-api-java (1.0+ds1-6) ... 1695s Setting up libatspi2.0-0t64:arm64 (2.56.0-2) ... 1695s Setting up libwebsocket-api-java (1.1-2) ... 1695s Setting up python3-greenlet (3.1.0-1build1) ... 1695s Setting up libxinerama1:arm64 (2:1.1.4-3build1) ... 1695s Setting up fonts-dejavu-mono (2.37-8) ... 1695s Setting up libcares2:arm64 (1.34.4-2.1) ... 1695s Setting up libxrandr2:arm64 (2:1.5.4-1) ... 1695s Setting up libllvm20:arm64 (1:20.1.0~+rc3-1~exp1ubuntu1) ... 1695s Setting up python3-psycopg2 (2.9.10-1build1) ... 1696s Setting up fonts-dejavu-core (2.37-8) ... 1696s Setting up libipc-run-perl (20231003.0-2) ... 1696s Setting up libpcsclite1:arm64 (2.3.1-1) ... 1696s Setting up libjpeg-turbo8:arm64 (2.1.5-3ubuntu2) ... 1696s Setting up libactivation-java (1.2.0-2) ... 1696s Setting up libtomcat9-java (9.0.70-2ubuntu1.1) ... 1696s Setting up libhamcrest-java (2.2-2) ... 1696s Setting up libjsp-api-java (2.3.4-3) ... 1696s Setting up libvulkan1:arm64 (1.4.304.0-1) ... 1696s Setting up libtime-duration-perl (1.21-2) ... 1696s Setting up libwebp7:arm64 (1.5.0-0.1) ... 1696s Setting up libtimedate-perl (2.3300-2) ... 1696s Setting up libgif7:arm64 (5.2.2-1ubuntu2) ... 1696s Setting up libxshmfence1:arm64 (1.3-1build5) ... 1696s Setting up libmail-java (1.6.5-3) ... 1696s Setting up at-spi2-common (2.56.0-2) ... 1696s Setting up python3-dnspython (2.7.0-1ubuntu1) ... 1696s Setting up libnetty-java (1:4.1.48-10) ... 1696s Setting up libxcb-randr0:arm64 (1.17.0-2) ... 1696s Setting up python3-parse (1.20.2-1) ... 1696s Setting up libapr1t64:arm64 (1.7.5-1) ... 1696s Setting up libjson-perl (4.10000-1) ... 1696s Setting up libxslt1.1:arm64 (1.1.39-0exp1ubuntu4) ... 1696s Setting up libservlet-api-java (4.0.1-2) ... 1696s Setting up libjackson2-core-java (2.14.1-1) ... 1696s Setting up libharfbuzz0b:arm64 (10.2.0-1) ... 1696s Setting up libthai-data (0.1.29-2build1) ... 1696s Setting up python3-dateutil (2.9.0-4) ... 1696s Setting up libjffi-jni:arm64 (1.3.13+ds-1) ... 1696s Setting up libwayland-egl1:arm64 (1.23.1-3) ... 1696s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 1696s Setting up ca-certificates-java (20240118) ... 1696s No JRE found. Skipping Java certificates setup. 1696s Setting up python3-prettytable (3.12.0-1) ... 1697s Setting up libsnappy-jni (1.1.10.7-1) ... 1697s Setting up libxcomposite1:arm64 (1:0.4.6-1) ... 1697s Setting up fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 1697s Setting up sphinx-rtd-theme-common (3.0.2+dfsg-2) ... 1697s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 1697s Setting up postgresql-common-dev (274) ... 1697s Setting up libjnr-constants-java (0.10.4-2) ... 1697s Setting up libwayland-client0:arm64 (1.23.1-3) ... 1697s Setting up libjpeg8:arm64 (8c-2ubuntu11) ... 1697s Setting up libjaxb-api-java (2.3.1-1) ... 1697s Setting up libjffi-java (1.3.13+ds-1) ... 1697s Setting up mesa-libgallium:arm64 (25.0.1-2ubuntu2) ... 1697s Setting up libjetty9-java (9.4.56-1) ... 1697s Setting up moreutils (0.69-1) ... 1697s Setting up libatk1.0-0t64:arm64 (2.56.0-2) ... 1697s Setting up openjdk-21-jre-headless:arm64 (21.0.7~7ea-1) ... 1697s update-alternatives: using /usr/lib/jvm/java-21-openjdk-arm64/bin/java to provide /usr/bin/java (java) in auto mode 1697s update-alternatives: using /usr/lib/jvm/java-21-openjdk-arm64/bin/jpackage to provide /usr/bin/jpackage (jpackage) in auto mode 1697s update-alternatives: using /usr/lib/jvm/java-21-openjdk-arm64/bin/keytool to provide /usr/bin/keytool (keytool) in auto mode 1697s update-alternatives: using /usr/lib/jvm/java-21-openjdk-arm64/bin/rmiregistry to provide /usr/bin/rmiregistry (rmiregistry) in auto mode 1697s update-alternatives: using /usr/lib/jvm/java-21-openjdk-arm64/lib/jexec to provide /usr/bin/jexec (jexec) in auto mode 1697s Setting up python3-pure-sasl (0.5.1+dfsg1-5) ... 1697s Setting up libgbm1:arm64 (25.0.1-2ubuntu2) ... 1697s Setting up postgresql-client-17 (17.4-1) ... 1698s update-alternatives: using /usr/share/postgresql/17/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode 1698s Setting up fontconfig-config (2.15.0-2.1ubuntu1) ... 1698s Setting up libxtst6:arm64 (2:1.2.5-1) ... 1698s Setting up libxcursor1:arm64 (1:1.2.3-1) ... 1698s Setting up libgl1-mesa-dri:arm64 (25.0.1-2ubuntu2) ... 1698s Setting up libcommons-parent-java (56-1) ... 1698s Setting up libavahi-common3:arm64 (0.8-16ubuntu2) ... 1698s Setting up libcommons-logging-java (1.3.0-1ubuntu1) ... 1698s Setting up dconf-service (0.40.0-5) ... 1698s Setting up python3-gevent (24.11.1-1build1) ... 1698s Setting up libjackson2-databind-java (2.14.0+ds-1) ... 1698s Setting up libthai0:arm64 (0.1.29-2build1) ... 1698s Setting up python3-parse-type (0.6.4-2) ... 1698s Setting up python3-eventlet (0.39.0-0ubuntu1) ... 1699s Setting up libnetty-tcnative-jni (2.0.28-1build4) ... 1699s Setting up python3-kazoo (2.9.0-2) ... 1699s Setting up postgresql-common (274) ... 1699s Creating config file /etc/postgresql-common/createcluster.conf with new version 1699s Building PostgreSQL dictionaries from installed myspell/hunspell packages... 1699s Removing obsolete dictionary files: 1700s Created symlink '/etc/systemd/system/multi-user.target.wants/postgresql.service' → '/usr/lib/systemd/system/postgresql.service'. 1701s Setting up libjs-sphinxdoc (8.1.3-5) ... 1701s Setting up libtiff6:arm64 (4.5.1+git230720-4ubuntu4) ... 1701s Setting up libwayland-cursor0:arm64 (1.23.1-3) ... 1701s Setting up libgdk-pixbuf-2.0-0:arm64 (2.42.12+dfsg-2) ... 1701s Setting up python3-behave (1.2.6-6) ... 1701s /usr/lib/python3/dist-packages/behave/formatter/ansi_escapes.py:57: SyntaxWarning: invalid escape sequence '\[' 1701s _ANSI_ESCAPE_PATTERN = re.compile(u"\x1b\[\d+[mA]", re.UNICODE) 1701s /usr/lib/python3/dist-packages/behave/matchers.py:284: SyntaxWarning: invalid escape sequence '\d' 1701s @parse.with_pattern(r"\d+") 1701s Setting up libsnappy-java (1.1.10.7-1) ... 1701s Setting up libfontconfig1:arm64 (2.15.0-2.1ubuntu1) ... 1701s Setting up patroni (4.0.4-8) ... 1701s Created symlink '/etc/systemd/system/multi-user.target.wants/patroni.service' → '/usr/lib/systemd/system/patroni.service'. 1702s Setting up libavahi-client3:arm64 (0.8-16ubuntu2) ... 1702s Setting up libjnr-ffi-java (2.2.15-2) ... 1702s Setting up libatk-bridge2.0-0t64:arm64 (2.56.0-2) ... 1702s Setting up gtk-update-icon-cache (4.18.2+ds-1) ... 1702s Setting up fontconfig (2.15.0-2.1ubuntu1) ... 1704s Regenerating fonts cache... done. 1704s Setting up postgresql-17 (17.4-1) ... 1705s Creating new PostgreSQL cluster 17/main ... 1705s /usr/lib/postgresql/17/bin/initdb -D /var/lib/postgresql/17/main --auth-local peer --auth-host scram-sha-256 --no-instructions 1705s The files belonging to this database system will be owned by user "postgres". 1705s This user must also own the server process. 1705s 1705s The database cluster will be initialized with locale "C.UTF-8". 1705s The default database encoding has accordingly been set to "UTF8". 1705s The default text search configuration will be set to "english". 1705s 1705s Data page checksums are disabled. 1705s 1705s fixing permissions on existing directory /var/lib/postgresql/17/main ... ok 1705s creating subdirectories ... ok 1705s selecting dynamic shared memory implementation ... posix 1705s selecting default "max_connections" ... 100 1705s selecting default "shared_buffers" ... 128MB 1705s selecting default time zone ... Etc/UTC 1705s creating configuration files ... ok 1705s running bootstrap script ... ok 1705s performing post-bootstrap initialization ... ok 1705s syncing data to disk ... ok 1708s Setting up libglx-mesa0:arm64 (25.0.1-2ubuntu2) ... 1708s Setting up libglx0:arm64 (1.7.0-1build1) ... 1708s Setting up libspring-core-java (4.3.30-2ubuntu1) ... 1708s Setting up dconf-gsettings-backend:arm64 (0.40.0-5) ... 1708s Setting up libcommons-io-java (2.18.0-1) ... 1708s Setting up patroni-doc (4.0.4-8) ... 1708s Setting up libpango-1.0-0:arm64 (1.56.3-1) ... 1708s Setting up libcairo2:arm64 (1.18.4-1) ... 1708s Setting up libjnr-enxio-java (0.32.16-1) ... 1708s Setting up libgl1:arm64 (1.7.0-1build1) ... 1708s Setting up adwaita-icon-theme (48.0-1) ... 1708s update-alternatives: using /usr/share/icons/Adwaita/cursor.theme to provide /usr/share/icons/default/index.theme (x-cursor-theme) in auto mode 1708s Setting up libcairo-gobject2:arm64 (1.18.4-1) ... 1708s Setting up postgresql (17+274) ... 1708s Setting up libpangoft2-1.0-0:arm64 (1.56.3-1) ... 1708s Setting up libcups2t64:arm64 (2.4.11-0ubuntu2) ... 1708s Setting up libgtk-3-common (3.24.49-2ubuntu1) ... 1708s Setting up libjnr-posix-java (3.1.18-1) ... 1708s Setting up libpangocairo-1.0-0:arm64 (1.56.3-1) ... 1708s Setting up libspring-beans-java (4.3.30-2ubuntu1) ... 1708s Setting up libjnr-unixsocket-java (0.38.21-2) ... 1708s Setting up libjetty9-extra-java (9.4.56-1) ... 1708s Setting up libguava-java (32.0.1-1) ... 1708s Setting up liberror-prone-java (2.18.0-1) ... 1708s Processing triggers for libc-bin (2.41-1ubuntu2) ... 1708s Processing triggers for man-db (2.13.0-1) ... 1710s Processing triggers for libglib2.0-0t64:arm64 (2.84.0-1) ... 1710s Setting up libgtk-3-0t64:arm64 (3.24.49-2ubuntu1) ... 1710s Processing triggers for ca-certificates-java (20240118) ... 1711s Adding debian:ACCVRAIZ1.pem 1711s Adding debian:AC_RAIZ_FNMT-RCM.pem 1711s Adding debian:AC_RAIZ_FNMT-RCM_SERVIDORES_SEGUROS.pem 1711s Adding debian:ANF_Secure_Server_Root_CA.pem 1711s Adding debian:Actalis_Authentication_Root_CA.pem 1711s Adding debian:AffirmTrust_Commercial.pem 1711s Adding debian:AffirmTrust_Networking.pem 1711s Adding debian:AffirmTrust_Premium.pem 1711s Adding debian:AffirmTrust_Premium_ECC.pem 1711s Adding debian:Amazon_Root_CA_1.pem 1711s Adding debian:Amazon_Root_CA_2.pem 1711s Adding debian:Amazon_Root_CA_3.pem 1711s Adding debian:Amazon_Root_CA_4.pem 1711s Adding debian:Atos_TrustedRoot_2011.pem 1711s Adding debian:Atos_TrustedRoot_Root_CA_ECC_TLS_2021.pem 1711s Adding debian:Atos_TrustedRoot_Root_CA_RSA_TLS_2021.pem 1711s Adding debian:Autoridad_de_Certificacion_Firmaprofesional_CIF_A62634068.pem 1711s Adding debian:BJCA_Global_Root_CA1.pem 1711s Adding debian:BJCA_Global_Root_CA2.pem 1711s Adding debian:Baltimore_CyberTrust_Root.pem 1711s Adding debian:Buypass_Class_2_Root_CA.pem 1711s Adding debian:Buypass_Class_3_Root_CA.pem 1711s Adding debian:CA_Disig_Root_R2.pem 1711s Adding debian:CFCA_EV_ROOT.pem 1711s Adding debian:COMODO_Certification_Authority.pem 1711s Adding debian:COMODO_ECC_Certification_Authority.pem 1711s Adding debian:COMODO_RSA_Certification_Authority.pem 1711s Adding debian:Certainly_Root_E1.pem 1711s Adding debian:Certainly_Root_R1.pem 1711s Adding debian:Certigna.pem 1711s Adding debian:Certigna_Root_CA.pem 1711s Adding debian:Certum_EC-384_CA.pem 1711s Adding debian:Certum_Trusted_Network_CA.pem 1711s Adding debian:Certum_Trusted_Network_CA_2.pem 1711s Adding debian:Certum_Trusted_Root_CA.pem 1711s Adding debian:CommScope_Public_Trust_ECC_Root-01.pem 1711s Adding debian:CommScope_Public_Trust_ECC_Root-02.pem 1711s Adding debian:CommScope_Public_Trust_RSA_Root-01.pem 1711s Adding debian:CommScope_Public_Trust_RSA_Root-02.pem 1711s Adding debian:Comodo_AAA_Services_root.pem 1711s Adding debian:D-TRUST_BR_Root_CA_1_2020.pem 1711s Adding debian:D-TRUST_EV_Root_CA_1_2020.pem 1711s Adding debian:D-TRUST_Root_Class_3_CA_2_2009.pem 1711s Adding debian:D-TRUST_Root_Class_3_CA_2_EV_2009.pem 1711s Adding debian:DigiCert_Assured_ID_Root_CA.pem 1711s Adding debian:DigiCert_Assured_ID_Root_G2.pem 1711s Adding debian:DigiCert_Assured_ID_Root_G3.pem 1711s Adding debian:DigiCert_Global_Root_CA.pem 1711s Adding debian:DigiCert_Global_Root_G2.pem 1711s Adding debian:DigiCert_Global_Root_G3.pem 1711s Adding debian:DigiCert_High_Assurance_EV_Root_CA.pem 1711s Adding debian:DigiCert_TLS_ECC_P384_Root_G5.pem 1711s Adding debian:DigiCert_TLS_RSA4096_Root_G5.pem 1711s Adding debian:DigiCert_Trusted_Root_G4.pem 1711s Adding debian:Entrust.net_Premium_2048_Secure_Server_CA.pem 1711s Adding debian:Entrust_Root_Certification_Authority.pem 1711s Adding debian:Entrust_Root_Certification_Authority_-_EC1.pem 1711s Adding debian:Entrust_Root_Certification_Authority_-_G2.pem 1711s Adding debian:Entrust_Root_Certification_Authority_-_G4.pem 1711s Adding debian:FIRMAPROFESIONAL_CA_ROOT-A_WEB.pem 1711s Adding debian:GDCA_TrustAUTH_R5_ROOT.pem 1711s Adding debian:GLOBALTRUST_2020.pem 1711s Adding debian:GTS_Root_R1.pem 1711s Adding debian:GTS_Root_R2.pem 1711s Adding debian:GTS_Root_R3.pem 1711s Adding debian:GTS_Root_R4.pem 1711s Adding debian:GlobalSign_ECC_Root_CA_-_R4.pem 1711s Adding debian:GlobalSign_ECC_Root_CA_-_R5.pem 1711s Adding debian:GlobalSign_Root_CA.pem 1711s Adding debian:GlobalSign_Root_CA_-_R3.pem 1711s Adding debian:GlobalSign_Root_CA_-_R6.pem 1711s Adding debian:GlobalSign_Root_E46.pem 1711s Adding debian:GlobalSign_Root_R46.pem 1711s Adding debian:Go_Daddy_Class_2_CA.pem 1711s Adding debian:Go_Daddy_Root_Certificate_Authority_-_G2.pem 1711s Adding debian:HARICA_TLS_ECC_Root_CA_2021.pem 1711s Adding debian:HARICA_TLS_RSA_Root_CA_2021.pem 1711s Adding debian:Hellenic_Academic_and_Research_Institutions_ECC_RootCA_2015.pem 1711s Adding debian:Hellenic_Academic_and_Research_Institutions_RootCA_2015.pem 1711s Adding debian:HiPKI_Root_CA_-_G1.pem 1711s Adding debian:Hongkong_Post_Root_CA_3.pem 1711s Adding debian:ISRG_Root_X1.pem 1711s Adding debian:ISRG_Root_X2.pem 1711s Adding debian:IdenTrust_Commercial_Root_CA_1.pem 1711s Adding debian:IdenTrust_Public_Sector_Root_CA_1.pem 1711s Adding debian:Izenpe.com.pem 1711s Adding debian:Microsec_e-Szigno_Root_CA_2009.pem 1711s Adding debian:Microsoft_ECC_Root_Certificate_Authority_2017.pem 1711s Adding debian:Microsoft_RSA_Root_Certificate_Authority_2017.pem 1711s Adding debian:NAVER_Global_Root_Certification_Authority.pem 1711s Adding debian:NetLock_Arany_=Class_Gold=_Főtanúsítvány.pem 1711s Adding debian:OISTE_WISeKey_Global_Root_GB_CA.pem 1711s Adding debian:OISTE_WISeKey_Global_Root_GC_CA.pem 1711s Adding debian:QuoVadis_Root_CA_1_G3.pem 1711s Adding debian:QuoVadis_Root_CA_2.pem 1711s Adding debian:QuoVadis_Root_CA_2_G3.pem 1711s Adding debian:QuoVadis_Root_CA_3.pem 1711s Adding debian:QuoVadis_Root_CA_3_G3.pem 1711s Adding debian:SSL.com_EV_Root_Certification_Authority_ECC.pem 1711s Adding debian:SSL.com_EV_Root_Certification_Authority_RSA_R2.pem 1711s Adding debian:SSL.com_Root_Certification_Authority_ECC.pem 1711s Adding debian:SSL.com_Root_Certification_Authority_RSA.pem 1711s Adding debian:SSL.com_TLS_ECC_Root_CA_2022.pem 1711s Adding debian:SSL.com_TLS_RSA_Root_CA_2022.pem 1711s Adding debian:SZAFIR_ROOT_CA2.pem 1711s Adding debian:Sectigo_Public_Server_Authentication_Root_E46.pem 1711s Adding debian:Sectigo_Public_Server_Authentication_Root_R46.pem 1711s Adding debian:SecureSign_RootCA11.pem 1711s Adding debian:SecureSign_Root_CA12.pem 1711s Adding debian:SecureSign_Root_CA14.pem 1711s Adding debian:SecureSign_Root_CA15.pem 1711s Adding debian:SecureTrust_CA.pem 1711s Adding debian:Secure_Global_CA.pem 1711s Adding debian:Security_Communication_ECC_RootCA1.pem 1711s Adding debian:Security_Communication_RootCA2.pem 1711s Adding debian:Security_Communication_RootCA3.pem 1711s Adding debian:Starfield_Class_2_CA.pem 1711s Adding debian:Starfield_Root_Certificate_Authority_-_G2.pem 1711s Adding debian:Starfield_Services_Root_Certificate_Authority_-_G2.pem 1711s Adding debian:SwissSign_Gold_CA_-_G2.pem 1711s Adding debian:SwissSign_Silver_CA_-_G2.pem 1711s Adding debian:T-TeleSec_GlobalRoot_Class_2.pem 1711s Adding debian:T-TeleSec_GlobalRoot_Class_3.pem 1711s Adding debian:TUBITAK_Kamu_SM_SSL_Kok_Sertifikasi_-_Surum_1.pem 1711s Adding debian:TWCA_CYBER_Root_CA.pem 1711s Adding debian:TWCA_Global_Root_CA.pem 1711s Adding debian:TWCA_Root_Certification_Authority.pem 1711s Adding debian:Telekom_Security_TLS_ECC_Root_2020.pem 1711s Adding debian:Telekom_Security_TLS_RSA_Root_2023.pem 1711s Adding debian:TeliaSonera_Root_CA_v1.pem 1711s Adding debian:Telia_Root_CA_v2.pem 1711s Adding debian:TrustAsia_Global_Root_CA_G3.pem 1711s Adding debian:TrustAsia_Global_Root_CA_G4.pem 1711s Adding debian:Trustwave_Global_Certification_Authority.pem 1711s Adding debian:Trustwave_Global_ECC_P256_Certification_Authority.pem 1711s Adding debian:Trustwave_Global_ECC_P384_Certification_Authority.pem 1711s Adding debian:TunTrust_Root_CA.pem 1711s Adding debian:UCA_Extended_Validation_Root.pem 1711s Adding debian:UCA_Global_G2_Root.pem 1711s Adding debian:USERTrust_ECC_Certification_Authority.pem 1711s Adding debian:USERTrust_RSA_Certification_Authority.pem 1711s Adding debian:XRamp_Global_CA_Root.pem 1711s Adding debian:certSIGN_ROOT_CA.pem 1711s Adding debian:certSIGN_Root_CA_G2.pem 1711s Adding debian:e-Szigno_Root_CA_2017.pem 1711s Adding debian:ePKI_Root_Certification_Authority.pem 1711s Adding debian:emSign_ECC_Root_CA_-_C3.pem 1711s Adding debian:emSign_ECC_Root_CA_-_G3.pem 1711s Adding debian:emSign_Root_CA_-_C1.pem 1711s Adding debian:emSign_Root_CA_-_G1.pem 1711s Adding debian:vTrus_ECC_Root_CA.pem 1711s Adding debian:vTrus_Root_CA.pem 1711s done. 1711s Setting up default-jre-headless (2:1.21-76) ... 1711s Setting up openjdk-21-jre:arm64 (21.0.7~7ea-1) ... 1711s Setting up junit4 (4.13.2-5) ... 1711s Setting up default-jre (2:1.21-76) ... 1711s Setting up libnetty-tcnative-java (2.0.28-1build4) ... 1711s Setting up libzookeeper-java (3.9.3-1build1) ... 1711s Setting up zookeeper (3.9.3-1build1) ... 1711s warn: The home directory `/var/lib/zookeeper' already exists. Not touching this directory. 1711s warn: Warning: The home directory `/var/lib/zookeeper' does not belong to the user you are currently creating. 1711s update-alternatives: using /etc/zookeeper/conf_example to provide /etc/zookeeper/conf (zookeeper-conf) in auto mode 1711s Setting up zookeeperd (3.9.3-1build1) ... 1712s Processing triggers for libc-bin (2.41-1ubuntu2) ... 1715s autopkgtest [13:34:16]: test acceptance-zookeeper: debian/tests/acceptance zookeeper "-e dcs_failsafe_mode" 1715s autopkgtest [13:34:16]: test acceptance-zookeeper: [----------------------- 1720s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 1720s ++ ls -1r /usr/lib/postgresql/ 1720s + for PG_VERSION in $(ls -1r /usr/lib/postgresql/) 1720s + '[' 17 == 10 -o 17 == 11 ']' 1720s + echo '### PostgreSQL 17 acceptance-zookeeper -e dcs_failsafe_mode ###' 1720s + su postgres -p -c 'set -o pipefail; ETCD_UNSUPPORTED_ARCH=arm64 DCS=zookeeper PATH=/usr/lib/postgresql/17/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin behave -e dcs_failsafe_mode | ts' 1720s ### PostgreSQL 17 acceptance-zookeeper -e dcs_failsafe_mode ### 1721s Mar 22 13:34:22 Feature: basic replication # features/basic_replication.feature:1 1721s Mar 22 13:34:22 We should check that the basic bootstrapping, replication and failover works. 1721s Mar 22 13:34:22 Scenario: check replication of a single table # features/basic_replication.feature:4 1721s Mar 22 13:34:22 Given I start postgres-0 # features/steps/basic_replication.py:20 1725s Mar 22 13:34:26 Then postgres-0 is a leader after 10 seconds # features/steps/patroni_api.py:31 1725s Mar 22 13:34:26 And there is a non empty initialize key in DCS after 15 seconds # features/steps/cascading_replication.py:41 1725s Mar 22 13:34:26 When I issue a PATCH request to http://127.0.0.1:8008/config with {"ttl": 20, "synchronous_mode": true} # features/steps/patroni_api.py:73 1726s Mar 22 13:34:26 Then I receive a response code 200 # features/steps/patroni_api.py:100 1726s Mar 22 13:34:26 When I start postgres-1 # features/steps/basic_replication.py:20 1730s Mar 22 13:34:31 And I configure and start postgres-2 with a tag replicatefrom postgres-0 # features/steps/cascading_replication.py:7 1733s Mar 22 13:34:34 And "sync" key in DCS has leader=postgres-0 after 20 seconds # features/steps/cascading_replication.py:23 1733s Mar 22 13:34:34 And I add the table foo to postgres-0 # features/steps/basic_replication.py:66 1733s Mar 22 13:34:34 Then table foo is present on postgres-1 after 20 seconds # features/steps/basic_replication.py:105 1734s Mar 22 13:34:35 Then table foo is present on postgres-2 after 20 seconds # features/steps/basic_replication.py:105 1734s Mar 22 13:34:35 1734s Mar 22 13:34:35 Scenario: check restart of sync replica # features/basic_replication.feature:17 1734s Mar 22 13:34:35 Given I shut down postgres-2 # features/steps/basic_replication.py:41 1735s Mar 22 13:34:36 Then "sync" key in DCS has sync_standby=postgres-1 after 5 seconds # features/steps/cascading_replication.py:23 1735s Mar 22 13:34:36 When I start postgres-2 # features/steps/basic_replication.py:20 1738s Mar 22 13:34:39 And I shut down postgres-1 # features/steps/basic_replication.py:41 1741s Mar 22 13:34:42 Then "sync" key in DCS has sync_standby=postgres-2 after 10 seconds # features/steps/cascading_replication.py:23 1742s Mar 22 13:34:43 When I start postgres-1 # features/steps/basic_replication.py:20 1744s Mar 22 13:34:45 Then "members/postgres-1" key in DCS has state=running after 10 seconds # features/steps/cascading_replication.py:23 1745s Mar 22 13:34:46 And Status code on GET http://127.0.0.1:8010/sync is 200 after 3 seconds # features/steps/patroni_api.py:144 1745s Mar 22 13:34:46 And Status code on GET http://127.0.0.1:8009/async is 200 after 3 seconds # features/steps/patroni_api.py:144 1745s Mar 22 13:34:46 1745s Mar 22 13:34:46 Scenario: check stuck sync replica # features/basic_replication.feature:28 1745s Mar 22 13:34:46 Given I issue a PATCH request to http://127.0.0.1:8008/config with {"pause": true, "maximum_lag_on_syncnode": 15000000, "postgresql": {"parameters": {"synchronous_commit": "remote_apply"}}} # features/steps/patroni_api.py:73 1745s Mar 22 13:34:46 Then I receive a response code 200 # features/steps/patroni_api.py:100 1745s Mar 22 13:34:46 And I create table on postgres-0 # features/steps/basic_replication.py:85 1745s Mar 22 13:34:46 And table mytest is present on postgres-1 after 2 seconds # features/steps/basic_replication.py:105 1746s Mar 22 13:34:47 And table mytest is present on postgres-2 after 2 seconds # features/steps/basic_replication.py:105 1746s Mar 22 13:34:47 When I pause wal replay on postgres-2 # features/steps/basic_replication.py:76 1746s Mar 22 13:34:47 And I load data on postgres-0 # features/steps/basic_replication.py:96 1746s Mar 22 13:34:47 Then "sync" key in DCS has sync_standby=postgres-1 after 15 seconds # features/steps/cascading_replication.py:23 1750s Mar 22 13:34:50 And I resume wal replay on postgres-2 # features/steps/basic_replication.py:76 1750s Mar 22 13:34:50 And Status code on GET http://127.0.0.1:8009/sync is 200 after 3 seconds # features/steps/patroni_api.py:144 1751s Mar 22 13:34:52 And Status code on GET http://127.0.0.1:8010/async is 200 after 3 seconds # features/steps/patroni_api.py:144 1751s Mar 22 13:34:52 When I issue a PATCH request to http://127.0.0.1:8008/config with {"pause": null, "maximum_lag_on_syncnode": -1, "postgresql": {"parameters": {"synchronous_commit": "on"}}} # features/steps/patroni_api.py:73 1751s Mar 22 13:34:52 Then I receive a response code 200 # features/steps/patroni_api.py:100 1751s Mar 22 13:34:52 And I drop table on postgres-0 # features/steps/basic_replication.py:85 1751s Mar 22 13:34:52 1751s Mar 22 13:34:52 Scenario: check multi sync replication # features/basic_replication.feature:44 1751s Mar 22 13:34:52 Given I issue a PATCH request to http://127.0.0.1:8008/config with {"synchronous_node_count": 2} # features/steps/patroni_api.py:73 1751s Mar 22 13:34:52 Then I receive a response code 200 # features/steps/patroni_api.py:100 1751s Mar 22 13:34:52 Then "sync" key in DCS has sync_standby=postgres-1,postgres-2 after 10 seconds # features/steps/cascading_replication.py:23 1756s Mar 22 13:34:56 And Status code on GET http://127.0.0.1:8010/sync is 200 after 3 seconds # features/steps/patroni_api.py:144 1756s Mar 22 13:34:56 And Status code on GET http://127.0.0.1:8009/sync is 200 after 3 seconds # features/steps/patroni_api.py:144 1756s Mar 22 13:34:56 When I issue a PATCH request to http://127.0.0.1:8008/config with {"synchronous_node_count": 1} # features/steps/patroni_api.py:73 1756s Mar 22 13:34:56 Then I receive a response code 200 # features/steps/patroni_api.py:100 1756s Mar 22 13:34:56 And I shut down postgres-1 # features/steps/basic_replication.py:41 1758s Mar 22 13:34:59 Then "sync" key in DCS has sync_standby=postgres-2 after 10 seconds # features/steps/cascading_replication.py:23 1759s Mar 22 13:35:00 When I start postgres-1 # features/steps/basic_replication.py:20 1762s Mar 22 13:35:03 Then "members/postgres-1" key in DCS has state=running after 10 seconds # features/steps/cascading_replication.py:23 1762s Mar 22 13:35:03 And Status code on GET http://127.0.0.1:8010/sync is 200 after 3 seconds # features/steps/patroni_api.py:144 1762s Mar 22 13:35:03 And Status code on GET http://127.0.0.1:8009/async is 200 after 3 seconds # features/steps/patroni_api.py:144 1762s Mar 22 13:35:03 1762s Mar 22 13:35:03 Scenario: check the basic failover in synchronous mode # features/basic_replication.feature:59 1762s Mar 22 13:35:03 Given I run patronictl.py pause batman # features/steps/patroni_api.py:88 1763s Mar 22 13:35:04 Then I receive a response returncode 0 # features/steps/patroni_api.py:100 1763s Mar 22 13:35:04 When I sleep for 2 seconds # features/steps/patroni_api.py:41 1765s Mar 22 13:35:06 And I shut down postgres-0 # features/steps/basic_replication.py:41 1766s Mar 22 13:35:07 And I run patronictl.py resume batman # features/steps/patroni_api.py:88 1768s Mar 22 13:35:09 Then I receive a response returncode 0 # features/steps/patroni_api.py:100 1768s Mar 22 13:35:09 And postgres-2 role is the primary after 24 seconds # features/steps/basic_replication.py:117 1789s Mar 22 13:35:30 And Response on GET http://127.0.0.1:8010/history contains recovery after 10 seconds # features/steps/patroni_api.py:158 1789s Mar 22 13:35:30 And there is a postgres-2_cb.log with "on_role_change primary batman" in postgres-2 data directory # features/steps/cascading_replication.py:12 1789s Mar 22 13:35:30 When I issue a PATCH request to http://127.0.0.1:8010/config with {"synchronous_mode": null, "master_start_timeout": 0} # features/steps/patroni_api.py:73 1789s Mar 22 13:35:30 Then I receive a response code 200 # features/steps/patroni_api.py:100 1789s Mar 22 13:35:30 When I add the table bar to postgres-2 # features/steps/basic_replication.py:66 1789s Mar 22 13:35:30 Then table bar is present on postgres-1 after 20 seconds # features/steps/basic_replication.py:105 1789s Mar 22 13:35:30 And Response on GET http://127.0.0.1:8010/config contains master_start_timeout after 10 seconds # features/steps/patroni_api.py:158 1789s Mar 22 13:35:30 1789s Mar 22 13:35:30 Scenario: check rejoin of the former primary with pg_rewind # features/basic_replication.feature:75 1789s Mar 22 13:35:30 Given I add the table splitbrain to postgres-0 # features/steps/basic_replication.py:66 1789s Mar 22 13:35:30 And I start postgres-0 # features/steps/basic_replication.py:20 1789s Mar 22 13:35:30 Then postgres-0 role is the secondary after 20 seconds # features/steps/basic_replication.py:117 1796s Mar 22 13:35:37 When I add the table buz to postgres-2 # features/steps/basic_replication.py:66 1796s Mar 22 13:35:37 Then table buz is present on postgres-0 after 20 seconds # features/steps/basic_replication.py:105 1796s Mar 22 13:35:37 1796s Mar 22 13:35:37 @reject-duplicate-name 1796s Mar 22 13:35:37 Scenario: check graceful rejection when two nodes have the same name # features/basic_replication.feature:83 1796s Mar 22 13:35:37 Given I start duplicate postgres-0 on port 8011 # features/steps/basic_replication.py:25 1798s Mar 22 13:35:39 Then there is one of ["Can't start; there is already a node named 'postgres-0' running"] CRITICAL in the dup-postgres-0 patroni log after 5 seconds # features/steps/basic_replication.py:133 1802s Mar 22 13:35:43 1802s Mar 22 13:35:43 Feature: cascading replication # features/cascading_replication.feature:1 1802s Mar 22 13:35:43 We should check that patroni can do base backup and streaming from the replica 1802s Mar 22 13:35:43 Scenario: check a base backup and streaming replication from a replica # features/cascading_replication.feature:4 1802s Mar 22 13:35:43 Given I start postgres-0 # features/steps/basic_replication.py:20 1805s Mar 22 13:35:46 And postgres-0 is a leader after 10 seconds # features/steps/patroni_api.py:31 1805s Mar 22 13:35:46 And I configure and start postgres-1 with a tag clonefrom true # features/steps/cascading_replication.py:7 1808s Mar 22 13:35:49 And replication works from postgres-0 to postgres-1 after 20 seconds # features/steps/basic_replication.py:124 1809s Mar 22 13:35:50 And I create label with "postgres-0" in postgres-0 data directory # features/steps/cascading_replication.py:18 1809s Mar 22 13:35:50 And I create label with "postgres-1" in postgres-1 data directory # features/steps/cascading_replication.py:18 1809s Mar 22 13:35:50 And "members/postgres-1" key in DCS has state=running after 12 seconds # features/steps/cascading_replication.py:23 1809s Mar 22 13:35:50 And I configure and start postgres-2 with a tag replicatefrom postgres-1 # features/steps/cascading_replication.py:7 1813s Mar 22 13:35:53 Then replication works from postgres-0 to postgres-2 after 30 seconds # features/steps/basic_replication.py:124 1819s Mar 22 13:36:00 And there is a label with "postgres-1" in postgres-2 data directory # features/steps/cascading_replication.py:12 1824s Mar 22 13:36:05 1824s SKIP FEATURE citus: Citus extension isn't available 1824s SKIP Scenario check that worker cluster is registered in the coordinator: Citus extension isn't available 1824s SKIP Scenario coordinator failover updates pg_dist_node: Citus extension isn't available 1824s SKIP Scenario worker switchover doesn't break client queries on the coordinator: Citus extension isn't available 1824s SKIP Scenario worker primary restart doesn't break client queries on the coordinator: Citus extension isn't available 1824s SKIP Scenario check that in-flight transaction is rolled back after timeout when other workers need to change pg_dist_node: Citus extension isn't available 1824s Mar 22 13:36:05 Feature: citus # features/citus.feature:1 1824s Mar 22 13:36:05 We should check that coordinator discovers and registers workers and clients don't have errors when worker cluster switches over 1824s Mar 22 13:36:05 Scenario: check that worker cluster is registered in the coordinator # features/citus.feature:4 1824s Mar 22 13:36:05 Given I start postgres-0 in citus group 0 # None 1824s Mar 22 13:36:05 And I start postgres-2 in citus group 1 # None 1824s Mar 22 13:36:05 Then postgres-0 is a leader in a group 0 after 10 seconds # None 1824s Mar 22 13:36:05 And postgres-2 is a leader in a group 1 after 10 seconds # None 1824s Mar 22 13:36:05 When I start postgres-1 in citus group 0 # None 1824s Mar 22 13:36:05 And I start postgres-3 in citus group 1 # None 1824s Mar 22 13:36:05 Then replication works from postgres-0 to postgres-1 after 15 seconds # None 1824s Mar 22 13:36:05 Then replication works from postgres-2 to postgres-3 after 15 seconds # None 1824s Mar 22 13:36:05 And postgres-0 is registered in the postgres-0 as the primary in group 0 after 5 seconds # None 1824s Mar 22 13:36:05 And postgres-1 is registered in the postgres-0 as the secondary in group 0 after 5 seconds # None 1824s Mar 22 13:36:05 And postgres-2 is registered in the postgres-0 as the primary in group 1 after 5 seconds # None 1824s Mar 22 13:36:05 And postgres-3 is registered in the postgres-0 as the secondary in group 1 after 5 seconds # None 1824s Mar 22 13:36:05 1824s Mar 22 13:36:05 Scenario: coordinator failover updates pg_dist_node # features/citus.feature:18 1824s Mar 22 13:36:05 Given I run patronictl.py failover batman --group 0 --candidate postgres-1 --force # None 1824s Mar 22 13:36:05 Then postgres-1 role is the primary after 10 seconds # None 1824s Mar 22 13:36:05 And "members/postgres-0" key in a group 0 in DCS has state=running after 15 seconds # None 1824s Mar 22 13:36:05 And replication works from postgres-1 to postgres-0 after 15 seconds # None 1824s Mar 22 13:36:05 And postgres-1 is registered in the postgres-2 as the primary in group 0 after 5 seconds # None 1824s Mar 22 13:36:05 And postgres-0 is registered in the postgres-2 as the secondary in group 0 after 15 seconds # None 1824s Mar 22 13:36:05 And "sync" key in a group 0 in DCS has sync_standby=postgres-0 after 15 seconds # None 1824s Mar 22 13:36:05 When I run patronictl.py switchover batman --group 0 --candidate postgres-0 --force # None 1824s Mar 22 13:36:05 Then postgres-0 role is the primary after 10 seconds # None 1824s Mar 22 13:36:05 And replication works from postgres-0 to postgres-1 after 15 seconds # None 1824s Mar 22 13:36:05 And postgres-0 is registered in the postgres-2 as the primary in group 0 after 5 seconds # None 1824s Mar 22 13:36:05 And postgres-1 is registered in the postgres-2 as the secondary in group 0 after 15 seconds # None 1824s Mar 22 13:36:05 And "sync" key in a group 0 in DCS has sync_standby=postgres-1 after 15 seconds # None 1824s Mar 22 13:36:05 1824s Mar 22 13:36:05 Scenario: worker switchover doesn't break client queries on the coordinator # features/citus.feature:33 1824s Mar 22 13:36:05 Given I create a distributed table on postgres-0 # None 1824s Mar 22 13:36:05 And I start a thread inserting data on postgres-0 # None 1824s Mar 22 13:36:05 When I run patronictl.py switchover batman --group 1 --force # None 1824s Mar 22 13:36:05 Then I receive a response returncode 0 # None 1824s Mar 22 13:36:05 And postgres-3 role is the primary after 10 seconds # None 1824s Mar 22 13:36:05 And "members/postgres-2" key in a group 1 in DCS has state=running after 15 seconds # None 1824s Mar 22 13:36:05 And replication works from postgres-3 to postgres-2 after 15 seconds # None 1824s Mar 22 13:36:05 And postgres-3 is registered in the postgres-0 as the primary in group 1 after 5 seconds # None 1824s Mar 22 13:36:05 And postgres-2 is registered in the postgres-0 as the secondary in group 1 after 15 seconds # None 1824s Mar 22 13:36:05 And "sync" key in a group 1 in DCS has sync_standby=postgres-2 after 15 seconds # None 1824s Mar 22 13:36:05 And a thread is still alive # None 1824s Mar 22 13:36:05 When I run patronictl.py switchover batman --group 1 --force # None 1824s Mar 22 13:36:05 Then I receive a response returncode 0 # None 1824s Mar 22 13:36:05 And postgres-2 role is the primary after 10 seconds # None 1824s Mar 22 13:36:05 And replication works from postgres-2 to postgres-3 after 15 seconds # None 1824s Mar 22 13:36:05 And postgres-2 is registered in the postgres-0 as the primary in group 1 after 5 seconds # None 1824s Mar 22 13:36:05 And postgres-3 is registered in the postgres-0 as the secondary in group 1 after 15 seconds # None 1824s Mar 22 13:36:05 And "sync" key in a group 1 in DCS has sync_standby=postgres-3 after 15 seconds # None 1824s Mar 22 13:36:05 And a thread is still alive # None 1824s Mar 22 13:36:05 When I stop a thread # None 1824s Mar 22 13:36:05 Then a distributed table on postgres-0 has expected rows # None 1824s Mar 22 13:36:05 1824s Mar 22 13:36:05 Scenario: worker primary restart doesn't break client queries on the coordinator # features/citus.feature:56 1824s Mar 22 13:36:05 Given I cleanup a distributed table on postgres-0 # None 1824s Mar 22 13:36:05 And I start a thread inserting data on postgres-0 # None 1824s Mar 22 13:36:05 When I run patronictl.py restart batman postgres-2 --group 1 --force # None 1824s Mar 22 13:36:05 Then I receive a response returncode 0 # None 1824s Mar 22 13:36:05 And postgres-2 role is the primary after 10 seconds # None 1824s Mar 22 13:36:05 And replication works from postgres-2 to postgres-3 after 15 seconds # None 1824s Mar 22 13:36:05 And postgres-2 is registered in the postgres-0 as the primary in group 1 after 5 seconds # None 1824s Mar 22 13:36:05 And postgres-3 is registered in the postgres-0 as the secondary in group 1 after 15 seconds # None 1824s Mar 22 13:36:05 And a thread is still alive # None 1824s Mar 22 13:36:05 When I stop a thread # None 1824s Mar 22 13:36:05 Then a distributed table on postgres-0 has expected rows # None 1824s Mar 22 13:36:05 1824s Mar 22 13:36:05 Scenario: check that in-flight transaction is rolled back after timeout when other workers need to change pg_dist_node # features/citus.feature:69 1824s Mar 22 13:36:05 Given I start postgres-4 in citus group 2 # None 1824s Mar 22 13:36:05 Then postgres-4 is a leader in a group 2 after 10 seconds # None 1824s Mar 22 13:36:05 And "members/postgres-4" key in a group 2 in DCS has role=primary after 3 seconds # None 1824s Mar 22 13:36:05 When I run patronictl.py edit-config batman --group 2 -s ttl=20 --force # None 1824s Mar 22 13:36:05 Then I receive a response returncode 0 # None 1824s Mar 22 13:36:05 And I receive a response output "+ttl: 20" # None 1824s Mar 22 13:36:05 Then postgres-4 is registered in the postgres-2 as the primary in group 2 after 5 seconds # None 1824s Mar 22 13:36:05 When I shut down postgres-4 # None 1824s Mar 22 13:36:05 Then there is a transaction in progress on postgres-0 changing pg_dist_node after 5 seconds # None 1824s Mar 22 13:36:05 When I run patronictl.py restart batman postgres-2 --group 1 --force # None 1824s Mar 22 13:36:05 Then a transaction finishes in 20 seconds # None 1824s Mar 22 13:36:05 1824s Mar 22 13:36:05 Feature: custom bootstrap # features/custom_bootstrap.feature:1 1824s Mar 22 13:36:05 We should check that patroni can bootstrap a new cluster from a backup 1824s Mar 22 13:36:05 Scenario: clone existing cluster using pg_basebackup # features/custom_bootstrap.feature:4 1824s Mar 22 13:36:05 Given I start postgres-0 # features/steps/basic_replication.py:20 1827s Mar 22 13:36:08 Then postgres-0 is a leader after 10 seconds # features/steps/patroni_api.py:31 1827s Mar 22 13:36:08 When I add the table foo to postgres-0 # features/steps/basic_replication.py:66 1827s Mar 22 13:36:08 And I start postgres-1 in a cluster batman1 as a clone of postgres-0 # features/steps/custom_bootstrap.py:6 1831s Mar 22 13:36:12 Then postgres-1 is a leader of batman1 after 10 seconds # features/steps/custom_bootstrap.py:16 1832s Mar 22 13:36:13 Then table foo is present on postgres-1 after 10 seconds # features/steps/basic_replication.py:105 1832s Mar 22 13:36:13 1832s Mar 22 13:36:13 Scenario: make a backup and do a restore into a new cluster # features/custom_bootstrap.feature:12 1832s Mar 22 13:36:13 Given I add the table bar to postgres-1 # features/steps/basic_replication.py:66 1832s Mar 22 13:36:13 And I do a backup of postgres-1 # features/steps/custom_bootstrap.py:25 1832s Mar 22 13:36:13 When I start postgres-2 in a cluster batman2 from backup # features/steps/custom_bootstrap.py:11 1837s Mar 22 13:36:18 Then postgres-2 is a leader of batman2 after 30 seconds # features/steps/custom_bootstrap.py:16 1837s Mar 22 13:36:18 And table bar is present on postgres-2 after 10 seconds # features/steps/basic_replication.py:105 1844s Mar 22 13:36:25 1844s Mar 22 13:36:25 Feature: ignored slots # features/ignored_slots.feature:1 1844s Mar 22 13:36:25 1844s Mar 22 13:36:25 Scenario: check ignored slots aren't removed on failover/switchover # features/ignored_slots.feature:2 1844s Mar 22 13:36:25 Given I start postgres-1 # features/steps/basic_replication.py:20 1847s Mar 22 13:36:28 Then postgres-1 is a leader after 10 seconds # features/steps/patroni_api.py:31 1847s Mar 22 13:36:28 And there is a non empty initialize key in DCS after 15 seconds # features/steps/cascading_replication.py:41 1847s Mar 22 13:36:28 When I issue a PATCH request to http://127.0.0.1:8009/config with {"ignore_slots": [{"name": "unmanaged_slot_0", "database": "postgres", "plugin": "test_decoding", "type": "logical"}, {"name": "unmanaged_slot_1", "database": "postgres", "plugin": "test_decoding"}, {"name": "unmanaged_slot_2", "database": "postgres"}, {"name": "unmanaged_slot_3"}], "postgresql": {"parameters": {"wal_level": "logical"}}} # features/steps/patroni_api.py:73 1847s Mar 22 13:36:28 Then I receive a response code 200 # features/steps/patroni_api.py:100 1847s Mar 22 13:36:28 And Response on GET http://127.0.0.1:8009/config contains ignore_slots after 10 seconds # features/steps/patroni_api.py:158 1847s Mar 22 13:36:28 When I shut down postgres-1 # features/steps/basic_replication.py:41 1849s Mar 22 13:36:30 And I start postgres-1 # features/steps/basic_replication.py:20 1851s Mar 22 13:36:32 Then postgres-1 is a leader after 10 seconds # features/steps/patroni_api.py:31 1852s Mar 22 13:36:33 And "members/postgres-1" key in DCS has role=primary after 10 seconds # features/steps/cascading_replication.py:23 1853s Mar 22 13:36:34 And postgres-1 role is the primary after 20 seconds # features/steps/basic_replication.py:117 1853s Mar 22 13:36:34 When I create a logical replication slot unmanaged_slot_0 on postgres-1 with the test_decoding plugin # features/steps/slots.py:9 1853s Mar 22 13:36:34 And I create a logical replication slot unmanaged_slot_1 on postgres-1 with the test_decoding plugin # features/steps/slots.py:9 1853s Mar 22 13:36:34 And I create a logical replication slot unmanaged_slot_2 on postgres-1 with the test_decoding plugin # features/steps/slots.py:9 1853s Mar 22 13:36:34 And I create a logical replication slot unmanaged_slot_3 on postgres-1 with the test_decoding plugin # features/steps/slots.py:9 1853s Mar 22 13:36:34 And I create a logical replication slot dummy_slot on postgres-1 with the test_decoding plugin # features/steps/slots.py:9 1853s Mar 22 13:36:34 Then postgres-1 has a logical replication slot named unmanaged_slot_0 with the test_decoding plugin after 2 seconds # features/steps/slots.py:20 1853s Mar 22 13:36:34 And postgres-1 has a logical replication slot named unmanaged_slot_1 with the test_decoding plugin after 2 seconds # features/steps/slots.py:20 1853s Mar 22 13:36:34 And postgres-1 has a logical replication slot named unmanaged_slot_2 with the test_decoding plugin after 2 seconds # features/steps/slots.py:20 1853s Mar 22 13:36:34 And postgres-1 has a logical replication slot named unmanaged_slot_3 with the test_decoding plugin after 2 seconds # features/steps/slots.py:20 1853s Mar 22 13:36:34 When I start postgres-0 # features/steps/basic_replication.py:20 1856s Mar 22 13:36:37 Then "members/postgres-0" key in DCS has role=replica after 10 seconds # features/steps/cascading_replication.py:23 1857s Mar 22 13:36:38 And postgres-0 role is the secondary after 20 seconds # features/steps/basic_replication.py:117 1857s Mar 22 13:36:38 And replication works from postgres-1 to postgres-0 after 20 seconds # features/steps/basic_replication.py:124 1858s Mar 22 13:36:39 When I shut down postgres-1 # features/steps/basic_replication.py:41 1860s Mar 22 13:36:41 Then "members/postgres-0" key in DCS has role=primary after 10 seconds # features/steps/cascading_replication.py:23 1861s Mar 22 13:36:42 When I start postgres-1 # features/steps/basic_replication.py:20 1864s Mar 22 13:36:45 Then postgres-1 role is the secondary after 20 seconds # features/steps/basic_replication.py:117 1864s Mar 22 13:36:45 And "members/postgres-1" key in DCS has role=replica after 10 seconds # features/steps/cascading_replication.py:23 1864s Mar 22 13:36:45 And I sleep for 2 seconds # features/steps/patroni_api.py:41 1866s Mar 22 13:36:47 And postgres-1 has a logical replication slot named unmanaged_slot_0 with the test_decoding plugin after 2 seconds # features/steps/slots.py:20 1866s Mar 22 13:36:47 And postgres-1 has a logical replication slot named unmanaged_slot_1 with the test_decoding plugin after 2 seconds # features/steps/slots.py:20 1866s Mar 22 13:36:47 And postgres-1 has a logical replication slot named unmanaged_slot_2 with the test_decoding plugin after 2 seconds # features/steps/slots.py:20 1866s Mar 22 13:36:47 And postgres-1 has a logical replication slot named unmanaged_slot_3 with the test_decoding plugin after 2 seconds # features/steps/slots.py:20 1866s Mar 22 13:36:47 And postgres-1 does not have a replication slot named dummy_slot # features/steps/slots.py:41 1866s Mar 22 13:36:47 When I shut down postgres-0 # features/steps/basic_replication.py:41 1868s Mar 22 13:36:49 Then "members/postgres-1" key in DCS has role=primary after 10 seconds # features/steps/cascading_replication.py:23 1869s Mar 22 13:36:50 And postgres-1 has a logical replication slot named unmanaged_slot_0 with the test_decoding plugin after 2 seconds # features/steps/slots.py:20 1869s Mar 22 13:36:50 And postgres-1 has a logical replication slot named unmanaged_slot_1 with the test_decoding plugin after 2 seconds # features/steps/slots.py:20 1869s Mar 22 13:36:50 And postgres-1 has a logical replication slot named unmanaged_slot_2 with the test_decoding plugin after 2 seconds # features/steps/slots.py:20 1869s Mar 22 13:36:50 And postgres-1 has a logical replication slot named unmanaged_slot_3 with the test_decoding plugin after 2 seconds # features/steps/slots.py:20 1871s Mar 22 13:36:52 1871s Mar 22 13:36:52 Feature: nostream node # features/nostream_node.feature:1 1871s Mar 22 13:36:52 1871s Mar 22 13:36:52 Scenario: check nostream node is recovering from archive # features/nostream_node.feature:3 1871s Mar 22 13:36:52 When I start postgres-0 # features/steps/basic_replication.py:20 1874s Mar 22 13:36:55 And I configure and start postgres-1 with a tag nostream true # features/steps/cascading_replication.py:7 1877s Mar 22 13:36:58 Then "members/postgres-1" key in DCS has replication_state=in archive recovery after 10 seconds # features/steps/cascading_replication.py:23 1878s Mar 22 13:36:59 And replication works from postgres-0 to postgres-1 after 30 seconds # features/steps/basic_replication.py:124 1882s Mar 22 13:37:03 1882s Mar 22 13:37:03 @slot-advance 1882s Mar 22 13:37:03 Scenario: check permanent logical replication slots are not copied # features/nostream_node.feature:10 1882s Mar 22 13:37:03 When I issue a PATCH request to http://127.0.0.1:8008/config with {"postgresql": {"parameters": {"wal_level": "logical"}}, "slots":{"test_logical":{"type":"logical","database":"postgres","plugin":"test_decoding"}}} # features/steps/patroni_api.py:73 1882s Mar 22 13:37:03 Then I receive a response code 200 # features/steps/patroni_api.py:100 1882s Mar 22 13:37:03 When I run patronictl.py restart batman postgres-0 --force # features/steps/patroni_api.py:88 1884s Mar 22 13:37:05 Then postgres-0 has a logical replication slot named test_logical with the test_decoding plugin after 10 seconds # features/steps/slots.py:20 1885s Mar 22 13:37:06 When I configure and start postgres-2 with a tag replicatefrom postgres-1 # features/steps/cascading_replication.py:7 1888s Mar 22 13:37:09 Then "members/postgres-2" key in DCS has replication_state=streaming after 10 seconds # features/steps/cascading_replication.py:23 1894s Mar 22 13:37:15 And postgres-1 does not have a replication slot named test_logical # features/steps/slots.py:41 1894s Mar 22 13:37:15 And postgres-2 does not have a replication slot named test_logical # features/steps/slots.py:41 1894s Mar 22 13:37:15 1894s Mar 22 13:37:15 @slot-advance 1894s Mar 22 13:37:15 Scenario: check that slots are written to the /status key # features/nostream_node.feature:21 1894s Mar 22 13:37:15 Given "status" key in DCS has postgres_0 in slots # features/steps/slots.py:118 1894s Mar 22 13:37:15 And "status" key in DCS has postgres_2 in slots # features/steps/slots.py:118 1894s Mar 22 13:37:15 And "status" key in DCS has test_logical in slots # features/steps/slots.py:118 1894s Mar 22 13:37:15 And "status" key in DCS has test_logical in slots # features/steps/slots.py:118 1894s Mar 22 13:37:15 And "status" key in DCS does not have postgres_1 in slots # features/steps/slots.py:124 1899s Mar 22 13:37:20 1899s Mar 22 13:37:20 Feature: patroni api # features/patroni_api.feature:1 1899s Mar 22 13:37:20 We should check that patroni correctly responds to valid and not-valid API requests. 1899s Mar 22 13:37:20 Scenario: check API requests on a stand-alone server # features/patroni_api.feature:4 1899s Mar 22 13:37:20 Given I start postgres-0 # features/steps/basic_replication.py:20 1902s Mar 22 13:37:23 And postgres-0 is a leader after 10 seconds # features/steps/patroni_api.py:31 1902s Mar 22 13:37:23 When I issue a GET request to http://127.0.0.1:8008/ # features/steps/patroni_api.py:63 1903s Mar 22 13:37:23 Then I receive a response code 200 # features/steps/patroni_api.py:100 1903s Mar 22 13:37:23 And I receive a response state running # features/steps/patroni_api.py:100 1903s Mar 22 13:37:23 And I receive a response role primary # features/steps/patroni_api.py:100 1903s Mar 22 13:37:23 When I issue a GET request to http://127.0.0.1:8008/standby_leader # features/steps/patroni_api.py:63 1903s Mar 22 13:37:24 Then I receive a response code 503 # features/steps/patroni_api.py:100 1903s Mar 22 13:37:24 When I issue a GET request to http://127.0.0.1:8008/health # features/steps/patroni_api.py:63 1903s Mar 22 13:37:24 Then I receive a response code 200 # features/steps/patroni_api.py:100 1903s Mar 22 13:37:24 When I issue a GET request to http://127.0.0.1:8008/replica # features/steps/patroni_api.py:63 1903s Mar 22 13:37:24 Then I receive a response code 503 # features/steps/patroni_api.py:100 1903s Mar 22 13:37:24 When I issue a POST request to http://127.0.0.1:8008/reinitialize with {"force": true} # features/steps/patroni_api.py:73 1903s Mar 22 13:37:24 Then I receive a response code 503 # features/steps/patroni_api.py:100 1903s Mar 22 13:37:24 And I receive a response text I am the leader, can not reinitialize # features/steps/patroni_api.py:100 1903s Mar 22 13:37:24 When I run patronictl.py switchover batman --primary postgres-0 --force # features/steps/patroni_api.py:88 1904s Mar 22 13:37:25 Then I receive a response returncode 1 # features/steps/patroni_api.py:100 1904s Mar 22 13:37:25 And I receive a response output "Error: No candidates found to switchover to" # features/steps/patroni_api.py:100 1904s Mar 22 13:37:25 When I issue a POST request to http://127.0.0.1:8008/switchover with {"leader": "postgres-0"} # features/steps/patroni_api.py:73 1904s Mar 22 13:37:25 Then I receive a response code 412 # features/steps/patroni_api.py:100 1904s Mar 22 13:37:25 And I receive a response text switchover is not possible: cluster does not have members except leader # features/steps/patroni_api.py:100 1904s Mar 22 13:37:25 When I issue an empty POST request to http://127.0.0.1:8008/failover # features/steps/patroni_api.py:68 1904s Mar 22 13:37:25 Then I receive a response code 400 # features/steps/patroni_api.py:100 1904s Mar 22 13:37:25 When I issue a POST request to http://127.0.0.1:8008/failover with {"foo": "bar"} # features/steps/patroni_api.py:73 1904s Mar 22 13:37:25 Then I receive a response code 400 # features/steps/patroni_api.py:100 1904s Mar 22 13:37:25 And I receive a response text "Failover could be performed only to a specific candidate" # features/steps/patroni_api.py:100 1904s Mar 22 13:37:25 1904s Mar 22 13:37:25 Scenario: check local configuration reload # features/patroni_api.feature:32 1904s Mar 22 13:37:25 Given I add tag new_tag new_value to postgres-0 config # features/steps/patroni_api.py:139 1904s Mar 22 13:37:25 And I issue an empty POST request to http://127.0.0.1:8008/reload # features/steps/patroni_api.py:68 1904s Mar 22 13:37:25 Then I receive a response code 202 # features/steps/patroni_api.py:100 1904s Mar 22 13:37:25 1904s Mar 22 13:37:25 Scenario: check dynamic configuration change via DCS # features/patroni_api.feature:37 1904s Mar 22 13:37:25 Given I issue a PATCH request to http://127.0.0.1:8008/config with {"ttl": 20, "postgresql": {"parameters": {"max_connections": "101"}}} # features/steps/patroni_api.py:73 1904s Mar 22 13:37:25 Then I receive a response code 200 # features/steps/patroni_api.py:100 1904s Mar 22 13:37:25 And Response on GET http://127.0.0.1:8008/patroni contains pending_restart after 11 seconds # features/steps/patroni_api.py:158 1906s Mar 22 13:37:27 When I issue a GET request to http://127.0.0.1:8008/config # features/steps/patroni_api.py:63 1906s Mar 22 13:37:27 Then I receive a response code 200 # features/steps/patroni_api.py:100 1906s Mar 22 13:37:27 And I receive a response ttl 20 # features/steps/patroni_api.py:100 1906s Mar 22 13:37:27 When I issue a GET request to http://127.0.0.1:8008/patroni # features/steps/patroni_api.py:63 1906s Mar 22 13:37:27 Then I receive a response code 200 # features/steps/patroni_api.py:100 1906s Mar 22 13:37:27 And I receive a response tags {'new_tag': 'new_value'} # features/steps/patroni_api.py:100 1906s Mar 22 13:37:27 And I sleep for 4 seconds # features/steps/patroni_api.py:41 1910s Mar 22 13:37:31 1910s Mar 22 13:37:31 Scenario: check the scheduled restart # features/patroni_api.feature:49 1910s Mar 22 13:37:31 Given I run patronictl.py edit-config -p 'superuser_reserved_connections=6' --force batman # features/steps/patroni_api.py:88 1912s Mar 22 13:37:33 Then I receive a response returncode 0 # features/steps/patroni_api.py:100 1912s Mar 22 13:37:33 And I receive a response output "+ superuser_reserved_connections: 6" # features/steps/patroni_api.py:100 1912s Mar 22 13:37:33 And Response on GET http://127.0.0.1:8008/patroni contains pending_restart after 5 seconds # features/steps/patroni_api.py:158 1912s Mar 22 13:37:33 Given I issue a scheduled restart at http://127.0.0.1:8008 in 5 seconds with {"role": "replica"} # features/steps/patroni_api.py:126 1912s Mar 22 13:37:33 Then I receive a response code 202 # features/steps/patroni_api.py:100 1912s Mar 22 13:37:33 And I sleep for 8 seconds # features/steps/patroni_api.py:41 1920s Mar 22 13:37:41 And Response on GET http://127.0.0.1:8008/patroni contains pending_restart after 10 seconds # features/steps/patroni_api.py:158 1920s Mar 22 13:37:41 Given I issue a scheduled restart at http://127.0.0.1:8008 in 5 seconds with {"restart_pending": "True"} # features/steps/patroni_api.py:126 1920s Mar 22 13:37:41 Then I receive a response code 202 # features/steps/patroni_api.py:100 1920s Mar 22 13:37:41 And Response on GET http://127.0.0.1:8008/patroni does not contain pending_restart after 10 seconds # features/steps/patroni_api.py:173 1927s Mar 22 13:37:48 And postgres-0 role is the primary after 10 seconds # features/steps/basic_replication.py:117 1928s Mar 22 13:37:49 1928s Mar 22 13:37:49 Scenario: check API requests for the primary-replica pair in the pause mode # features/patroni_api.feature:63 1928s Mar 22 13:37:49 Given I start postgres-1 # features/steps/basic_replication.py:20 1931s Mar 22 13:37:52 Then replication works from postgres-0 to postgres-1 after 20 seconds # features/steps/basic_replication.py:124 1932s Mar 22 13:37:53 When I run patronictl.py pause batman # features/steps/patroni_api.py:88 1933s Mar 22 13:37:54 Then I receive a response returncode 0 # features/steps/patroni_api.py:100 1933s Mar 22 13:37:54 When I kill postmaster on postgres-1 # features/steps/basic_replication.py:56 1933s Mar 22 13:37:54 waiting for server to shut down.... done 1933s Mar 22 13:37:54 server stopped 1933s Mar 22 13:37:54 And I issue a GET request to http://127.0.0.1:8009/replica # features/steps/patroni_api.py:63 1933s Mar 22 13:37:54 Then I receive a response code 503 # features/steps/patroni_api.py:100 1933s Mar 22 13:37:54 And "members/postgres-1" key in DCS has state=stopped after 10 seconds # features/steps/cascading_replication.py:23 1934s Mar 22 13:37:55 When I run patronictl.py restart batman postgres-1 --force # features/steps/patroni_api.py:88 1937s Mar 22 13:37:58 Then I receive a response returncode 0 # features/steps/patroni_api.py:100 1937s Mar 22 13:37:58 Then replication works from postgres-0 to postgres-1 after 20 seconds # features/steps/basic_replication.py:124 1938s Mar 22 13:37:59 And I sleep for 2 seconds # features/steps/patroni_api.py:41 1940s Mar 22 13:38:01 When I issue a GET request to http://127.0.0.1:8009/replica # features/steps/patroni_api.py:63 1940s Mar 22 13:38:01 Then I receive a response code 200 # features/steps/patroni_api.py:100 1940s Mar 22 13:38:01 And I receive a response state running # features/steps/patroni_api.py:100 1940s Mar 22 13:38:01 And I receive a response role replica # features/steps/patroni_api.py:100 1940s Mar 22 13:38:01 When I run patronictl.py reinit batman postgres-1 --force --wait # features/steps/patroni_api.py:88 1943s Mar 22 13:38:04 Then I receive a response returncode 0 # features/steps/patroni_api.py:100 1943s Mar 22 13:38:04 And I receive a response output "Success: reinitialize for member postgres-1" # features/steps/patroni_api.py:100 1943s Mar 22 13:38:04 And postgres-1 role is the secondary after 30 seconds # features/steps/basic_replication.py:117 1944s Mar 22 13:38:05 And replication works from postgres-0 to postgres-1 after 20 seconds # features/steps/basic_replication.py:124 1945s Mar 22 13:38:06 When I run patronictl.py restart batman postgres-0 --force # features/steps/patroni_api.py:88 1947s Mar 22 13:38:08 Then I receive a response returncode 0 # features/steps/patroni_api.py:100 1947s Mar 22 13:38:08 And I receive a response output "Success: restart on member postgres-0" # features/steps/patroni_api.py:100 1947s Mar 22 13:38:08 And postgres-0 role is the primary after 5 seconds # features/steps/basic_replication.py:117 1948s Mar 22 13:38:09 1948s Mar 22 13:38:09 Scenario: check the switchover via the API in the pause mode # features/patroni_api.feature:90 1948s Mar 22 13:38:09 Given I issue a POST request to http://127.0.0.1:8008/switchover with {"leader": "postgres-0", "candidate": "postgres-1"} # features/steps/patroni_api.py:73 1950s Mar 22 13:38:11 Then I receive a response code 200 # features/steps/patroni_api.py:100 1950s Mar 22 13:38:11 And postgres-1 is a leader after 5 seconds # features/steps/patroni_api.py:31 1950s Mar 22 13:38:11 And postgres-1 role is the primary after 10 seconds # features/steps/basic_replication.py:117 1950s Mar 22 13:38:11 And postgres-0 role is the secondary after 10 seconds # features/steps/basic_replication.py:117 1955s Mar 22 13:38:16 And replication works from postgres-1 to postgres-0 after 20 seconds # features/steps/basic_replication.py:124 1955s Mar 22 13:38:16 And "members/postgres-0" key in DCS has state=running after 10 seconds # features/steps/cascading_replication.py:23 1956s Mar 22 13:38:17 When I issue a GET request to http://127.0.0.1:8008/primary # features/steps/patroni_api.py:63 1956s Mar 22 13:38:17 Then I receive a response code 503 # features/steps/patroni_api.py:100 1956s Mar 22 13:38:17 When I issue a GET request to http://127.0.0.1:8008/replica # features/steps/patroni_api.py:63 1956s Mar 22 13:38:17 Then I receive a response code 200 # features/steps/patroni_api.py:100 1956s Mar 22 13:38:17 When I issue a GET request to http://127.0.0.1:8009/primary # features/steps/patroni_api.py:63 1956s Mar 22 13:38:17 Then I receive a response code 200 # features/steps/patroni_api.py:100 1956s Mar 22 13:38:17 When I issue a GET request to http://127.0.0.1:8009/replica # features/steps/patroni_api.py:63 1956s Mar 22 13:38:17 Then I receive a response code 503 # features/steps/patroni_api.py:100 1956s Mar 22 13:38:17 1956s Mar 22 13:38:17 Scenario: check the scheduled switchover # features/patroni_api.feature:107 1956s Mar 22 13:38:17 Given I issue a scheduled switchover from postgres-1 to postgres-0 in 10 seconds # features/steps/patroni_api.py:119 1958s Mar 22 13:38:19 Then I receive a response returncode 1 # features/steps/patroni_api.py:100 1958s Mar 22 13:38:19 And I receive a response output "Can't schedule switchover in the paused state" # features/steps/patroni_api.py:100 1958s Mar 22 13:38:19 When I run patronictl.py resume batman # features/steps/patroni_api.py:88 1959s Mar 22 13:38:20 Then I receive a response returncode 0 # features/steps/patroni_api.py:100 1959s Mar 22 13:38:20 Given I issue a scheduled switchover from postgres-1 to postgres-0 in 10 seconds # features/steps/patroni_api.py:119 1960s Mar 22 13:38:21 Then I receive a response returncode 0 # features/steps/patroni_api.py:100 1960s Mar 22 13:38:21 And postgres-0 is a leader after 20 seconds # features/steps/patroni_api.py:31 1970s Mar 22 13:38:31 And postgres-0 role is the primary after 10 seconds # features/steps/basic_replication.py:117 1971s Mar 22 13:38:32 And postgres-1 role is the secondary after 10 seconds # features/steps/basic_replication.py:117 1974s Mar 22 13:38:35 And replication works from postgres-0 to postgres-1 after 25 seconds # features/steps/basic_replication.py:124 1974s Mar 22 13:38:35 And "members/postgres-1" key in DCS has state=running after 10 seconds # features/steps/cascading_replication.py:23 1974s Mar 22 13:38:35 When I issue a GET request to http://127.0.0.1:8008/primary # features/steps/patroni_api.py:63 1974s Mar 22 13:38:35 Then I receive a response code 200 # features/steps/patroni_api.py:100 1974s Mar 22 13:38:35 When I issue a GET request to http://127.0.0.1:8008/replica # features/steps/patroni_api.py:63 1974s Mar 22 13:38:35 Then I receive a response code 503 # features/steps/patroni_api.py:100 1974s Mar 22 13:38:35 When I issue a GET request to http://127.0.0.1:8009/primary # features/steps/patroni_api.py:63 1974s Mar 22 13:38:35 Then I receive a response code 503 # features/steps/patroni_api.py:100 1974s Mar 22 13:38:35 When I issue a GET request to http://127.0.0.1:8009/replica # features/steps/patroni_api.py:63 1974s Mar 22 13:38:35 Then I receive a response code 200 # features/steps/patroni_api.py:100 1978s Mar 22 13:38:39 1978s Mar 22 13:38:39 Feature: permanent slots # features/permanent_slots.feature:1 1978s Mar 22 13:38:39 1978s Mar 22 13:38:39 Scenario: check that physical permanent slots are created # features/permanent_slots.feature:2 1978s Mar 22 13:38:39 Given I start postgres-0 # features/steps/basic_replication.py:20 1982s Mar 22 13:38:43 Then postgres-0 is a leader after 10 seconds # features/steps/patroni_api.py:31 1982s Mar 22 13:38:43 And there is a non empty initialize key in DCS after 15 seconds # features/steps/cascading_replication.py:41 1982s Mar 22 13:38:43 When I issue a PATCH request to http://127.0.0.1:8008/config with {"slots":{"test_physical":0,"postgres_3":0},"postgresql":{"parameters":{"wal_level":"logical"}}} # features/steps/patroni_api.py:73 1983s Mar 22 13:38:44 Then I receive a response code 200 # features/steps/patroni_api.py:100 1983s Mar 22 13:38:44 And Response on GET http://127.0.0.1:8008/config contains slots after 10 seconds # features/steps/patroni_api.py:158 1983s Mar 22 13:38:44 When I start postgres-1 # features/steps/basic_replication.py:20 1987s Mar 22 13:38:48 And I configure and start postgres-2 with a tag nofailover true # features/steps/cascading_replication.py:7 1992s Mar 22 13:38:53 And I configure and start postgres-3 with a tag replicatefrom postgres-2 # features/steps/cascading_replication.py:7 1997s Mar 22 13:38:58 Then postgres-0 has a physical replication slot named test_physical after 10 seconds # features/steps/slots.py:82 1997s Mar 22 13:38:58 And postgres-0 has a physical replication slot named postgres_1 after 10 seconds # features/steps/slots.py:82 1997s Mar 22 13:38:58 And postgres-0 has a physical replication slot named postgres_2 after 10 seconds # features/steps/slots.py:82 1997s Mar 22 13:38:58 And postgres-2 has a physical replication slot named postgres_3 after 10 seconds # features/steps/slots.py:82 1997s Mar 22 13:38:58 And postgres-2 does not have a replication slot named test_physical # features/steps/slots.py:41 1997s Mar 22 13:38:58 1997s Mar 22 13:38:58 @slot-advance 1997s Mar 22 13:38:58 Scenario: check that logical permanent slots are created # features/permanent_slots.feature:19 1997s Mar 22 13:38:58 Given I run patronictl.py restart batman postgres-0 --force # features/steps/patroni_api.py:88 2001s Mar 22 13:39:02 And I issue a PATCH request to http://127.0.0.1:8008/config with {"slots":{"test_logical":{"type":"logical","database":"postgres","plugin":"test_decoding"}}} # features/steps/patroni_api.py:73 2001s Mar 22 13:39:02 Then postgres-0 has a logical replication slot named test_logical with the test_decoding plugin after 10 seconds # features/steps/slots.py:20 2002s Mar 22 13:39:03 2002s Mar 22 13:39:03 @slot-advance 2002s Mar 22 13:39:03 Scenario: check that permanent slots are created on replicas # features/permanent_slots.feature:25 2002s Mar 22 13:39:03 Given postgres-1 has a logical replication slot named test_logical with the test_decoding plugin after 10 seconds # features/steps/slots.py:20 2008s Mar 22 13:39:09 Then Logical slot test_logical is in sync between postgres-0 and postgres-1 after 10 seconds # features/steps/slots.py:52 2008s Mar 22 13:39:09 And Logical slot test_logical is in sync between postgres-0 and postgres-3 after 10 seconds # features/steps/slots.py:52 2009s Mar 22 13:39:10 And postgres-1 has a physical replication slot named test_physical after 2 seconds # features/steps/slots.py:82 2009s Mar 22 13:39:10 And postgres-2 does not have a replication slot named test_logical # features/steps/slots.py:41 2009s Mar 22 13:39:10 And postgres-3 has a physical replication slot named test_physical after 2 seconds # features/steps/slots.py:82 2009s Mar 22 13:39:10 2009s Mar 22 13:39:10 @slot-advance 2009s Mar 22 13:39:10 Scenario: check permanent physical slots that match with member names # features/permanent_slots.feature:34 2009s Mar 22 13:39:10 Given postgres-0 has a physical replication slot named postgres_3 after 2 seconds # features/steps/slots.py:82 2009s Mar 22 13:39:10 And postgres-1 has a physical replication slot named postgres_0 after 2 seconds # features/steps/slots.py:82 2009s Mar 22 13:39:10 And postgres-1 has a physical replication slot named postgres_2 after 2 seconds # features/steps/slots.py:82 2009s Mar 22 13:39:10 And postgres-1 has a physical replication slot named postgres_3 after 2 seconds # features/steps/slots.py:82 2009s Mar 22 13:39:10 And postgres-2 does not have a replication slot named postgres_0 # features/steps/slots.py:41 2009s Mar 22 13:39:10 And postgres-2 does not have a replication slot named postgres_1 # features/steps/slots.py:41 2009s Mar 22 13:39:10 And postgres-2 has a physical replication slot named postgres_3 after 2 seconds # features/steps/slots.py:82 2009s Mar 22 13:39:10 And postgres-3 has a physical replication slot named postgres_0 after 2 seconds # features/steps/slots.py:82 2009s Mar 22 13:39:10 And postgres-3 has a physical replication slot named postgres_1 after 2 seconds # features/steps/slots.py:82 2009s Mar 22 13:39:10 And postgres-3 has a physical replication slot named postgres_2 after 2 seconds # features/steps/slots.py:82 2009s Mar 22 13:39:10 2009s Mar 22 13:39:10 @slot-advance 2009s Mar 22 13:39:10 Scenario: check that permanent slots are advanced on replicas # features/permanent_slots.feature:47 2009s Mar 22 13:39:10 Given I add the table replicate_me to postgres-0 # features/steps/basic_replication.py:66 2009s Mar 22 13:39:10 When I get all changes from logical slot test_logical on postgres-0 # features/steps/slots.py:72 2009s Mar 22 13:39:10 And I get all changes from physical slot test_physical on postgres-0 # features/steps/slots.py:77 2009s Mar 22 13:39:10 Then Logical slot test_logical is in sync between postgres-0 and postgres-1 after 10 seconds # features/steps/slots.py:52 2013s Mar 22 13:39:14 And Physical slot test_physical is in sync between postgres-0 and postgres-1 after 10 seconds # features/steps/slots.py:52 2013s Mar 22 13:39:14 And Logical slot test_logical is in sync between postgres-0 and postgres-3 after 10 seconds # features/steps/slots.py:52 2013s Mar 22 13:39:14 And Physical slot test_physical is in sync between postgres-0 and postgres-3 after 10 seconds # features/steps/slots.py:52 2013s Mar 22 13:39:14 And Physical slot postgres_1 is in sync between postgres-0 and postgres-3 after 10 seconds # features/steps/slots.py:52 2013s Mar 22 13:39:14 And Physical slot postgres_3 is in sync between postgres-2 and postgres-0 after 20 seconds # features/steps/slots.py:52 2013s Mar 22 13:39:14 And Physical slot postgres_3 is in sync between postgres-2 and postgres-1 after 10 seconds # features/steps/slots.py:52 2013s Mar 22 13:39:14 2013s Mar 22 13:39:14 @slot-advance 2013s Mar 22 13:39:14 Scenario: check that permanent slots and member slots are written to the /status key # features/permanent_slots.feature:60 2013s Mar 22 13:39:14 Given "status" key in DCS has test_physical in slots # features/steps/slots.py:118 2013s Mar 22 13:39:14 And "status" key in DCS has postgres_0 in slots # features/steps/slots.py:118 2013s Mar 22 13:39:14 And "status" key in DCS has postgres_1 in slots # features/steps/slots.py:118 2013s Mar 22 13:39:14 And "status" key in DCS has postgres_2 in slots # features/steps/slots.py:118 2013s Mar 22 13:39:14 And "status" key in DCS has postgres_3 in slots # features/steps/slots.py:118 2013s Mar 22 13:39:14 2013s Mar 22 13:39:14 @slot-advance 2013s Mar 22 13:39:14 Scenario: check that only non-permanent member slots are written to the retain_slots in /status key # features/permanent_slots.feature:68 2013s Mar 22 13:39:14 Given "status" key in DCS has postgres_0 in retain_slots # features/steps/slots.py:118 2013s Mar 22 13:39:14 And "status" key in DCS has postgres_1 in retain_slots # features/steps/slots.py:118 2013s Mar 22 13:39:14 And "status" key in DCS has postgres_2 in retain_slots # features/steps/slots.py:118 2013s Mar 22 13:39:14 And "status" key in DCS does not have postgres_3 in retain_slots # features/steps/slots.py:124 2013s Mar 22 13:39:14 2013s Mar 22 13:39:14 Scenario: check permanent physical replication slot after failover # features/permanent_slots.feature:74 2013s Mar 22 13:39:14 Given I shut down postgres-3 # features/steps/basic_replication.py:41 2014s Mar 22 13:39:15 And I shut down postgres-2 # features/steps/basic_replication.py:41 2015s Mar 22 13:39:16 And I shut down postgres-0 # features/steps/basic_replication.py:41 2017s Mar 22 13:39:18 Then postgres-1 has a physical replication slot named test_physical after 10 seconds # features/steps/slots.py:82 2017s Mar 22 13:39:18 And postgres-1 has a physical replication slot named postgres_0 after 10 seconds # features/steps/slots.py:82 2017s Mar 22 13:39:18 And postgres-1 has a physical replication slot named postgres_3 after 10 seconds # features/steps/slots.py:82 2017s Mar 22 13:39:18 When I start postgres-0 # features/steps/basic_replication.py:20 2023s Mar 22 13:39:24 Then postgres-0 role is the replica after 20 seconds # features/steps/basic_replication.py:117 2023s Mar 22 13:39:24 And physical replication slot named postgres_1 on postgres-0 has no xmin value after 10 seconds # features/steps/slots.py:98 2024s Mar 22 13:39:25 And postgres-0 has a physical replication slot named postgres_2 after 10 seconds # features/steps/slots.py:82 2024s Mar 22 13:39:25 And postgres-0 has a physical replication slot named postgres_3 after 10 seconds # features/steps/slots.py:82 2027s Mar 22 13:39:28 2027s Mar 22 13:39:28 Feature: priority replication # features/priority_failover.feature:1 2027s Mar 22 13:39:28 We should check that we can give nodes priority during failover 2027s Mar 22 13:39:28 Scenario: check failover priority 0 prevents leaderships # features/priority_failover.feature:4 2027s Mar 22 13:39:28 Given I configure and start postgres-0 with a tag failover_priority 1 # features/steps/cascading_replication.py:7 2032s Mar 22 13:39:33 And I configure and start postgres-1 with a tag failover_priority 0 # features/steps/cascading_replication.py:7 2037s Mar 22 13:39:38 Then replication works from postgres-0 to postgres-1 after 20 seconds # features/steps/basic_replication.py:124 2038s Mar 22 13:39:39 When I shut down postgres-0 # features/steps/basic_replication.py:41 2040s Mar 22 13:39:41 And there is one of ["following a different leader because I am not allowed to promote"] INFO in the postgres-1 patroni log after 5 seconds # features/steps/basic_replication.py:133 2042s Mar 22 13:39:43 Then postgres-1 role is the secondary after 10 seconds # features/steps/basic_replication.py:117 2042s Mar 22 13:39:43 When I start postgres-0 # features/steps/basic_replication.py:20 2046s Mar 22 13:39:47 Then postgres-0 role is the primary after 10 seconds # features/steps/basic_replication.py:117 2049s Mar 22 13:39:50 2049s Mar 22 13:39:50 Scenario: check higher failover priority is respected # features/priority_failover.feature:14 2049s Mar 22 13:39:50 Given I configure and start postgres-2 with a tag failover_priority 1 # features/steps/cascading_replication.py:7 2055s Mar 22 13:39:56 And I configure and start postgres-3 with a tag failover_priority 2 # features/steps/cascading_replication.py:7 2061s Mar 22 13:40:02 Then replication works from postgres-0 to postgres-2 after 20 seconds # features/steps/basic_replication.py:124 2061s Mar 22 13:40:02 And replication works from postgres-0 to postgres-3 after 20 seconds # features/steps/basic_replication.py:124 2063s Mar 22 13:40:04 When I shut down postgres-0 # features/steps/basic_replication.py:41 2066s Mar 22 13:40:07 Then postgres-3 role is the primary after 10 seconds # features/steps/basic_replication.py:117 2066s Mar 22 13:40:07 And there is one of ["postgres-3 has equally tolerable WAL position and priority 2, while this node has priority 1","Wal position of postgres-3 is ahead of my wal position"] INFO in the postgres-2 patroni log after 5 seconds # features/steps/basic_replication.py:133 2066s Mar 22 13:40:07 2066s Mar 22 13:40:07 Scenario: check conflicting configuration handling # features/priority_failover.feature:23 2066s Mar 22 13:40:07 When I set nofailover tag in postgres-2 config # features/steps/patroni_api.py:133 2066s Mar 22 13:40:07 And I issue an empty POST request to http://127.0.0.1:8010/reload # features/steps/patroni_api.py:68 2066s Mar 22 13:40:07 Then I receive a response code 202 # features/steps/patroni_api.py:100 2066s Mar 22 13:40:07 And there is one of ["Conflicting configuration between nofailover: True and failover_priority: 1. Defaulting to nofailover: True"] WARNING in the postgres-2 patroni log after 5 seconds # features/steps/basic_replication.py:133 2067s Mar 22 13:40:08 And "members/postgres-2" key in DCS has tags={'failover_priority': '1', 'nofailover': True} after 10 seconds # features/steps/cascading_replication.py:23 2068s Mar 22 13:40:09 When I issue a POST request to http://127.0.0.1:8010/failover with {"candidate": "postgres-2"} # features/steps/patroni_api.py:73 2068s Mar 22 13:40:09 Then I receive a response code 412 # features/steps/patroni_api.py:100 2068s Mar 22 13:40:09 And I receive a response text "failover is not possible: no good candidates have been found" # features/steps/patroni_api.py:100 2068s Mar 22 13:40:09 When I reset nofailover tag in postgres-1 config # features/steps/patroni_api.py:133 2068s Mar 22 13:40:09 And I issue an empty POST request to http://127.0.0.1:8009/reload # features/steps/patroni_api.py:68 2068s Mar 22 13:40:09 Then I receive a response code 202 # features/steps/patroni_api.py:100 2068s Mar 22 13:40:09 And there is one of ["Conflicting configuration between nofailover: False and failover_priority: 0. Defaulting to nofailover: False"] WARNING in the postgres-1 patroni log after 5 seconds # features/steps/basic_replication.py:133 2069s Mar 22 13:40:10 And "members/postgres-1" key in DCS has tags={'failover_priority': '0', 'nofailover': False} after 10 seconds # features/steps/cascading_replication.py:23 2070s Mar 22 13:40:11 And I issue a POST request to http://127.0.0.1:8009/failover with {"candidate": "postgres-1"} # features/steps/patroni_api.py:73 2074s Mar 22 13:40:15 Then I receive a response code 200 # features/steps/patroni_api.py:100 2074s Mar 22 13:40:15 And postgres-1 role is the primary after 10 seconds # features/steps/basic_replication.py:117 2080s Mar 22 13:40:21 2080s Mar 22 13:40:21 Feature: quorum commit # features/quorum_commit.feature:1 2080s Mar 22 13:40:21 Check basic workfrlows when quorum commit is enabled 2080s Mar 22 13:40:21 Scenario: check enable quorum commit and that the only leader promotes after restart # features/quorum_commit.feature:4 2080s Mar 22 13:40:21 Given I start postgres-0 # features/steps/basic_replication.py:20 2085s Mar 22 13:40:26 Then postgres-0 is a leader after 10 seconds # features/steps/patroni_api.py:31 2085s Mar 22 13:40:26 And there is a non empty initialize key in DCS after 15 seconds # features/steps/cascading_replication.py:41 2085s Mar 22 13:40:26 When I issue a PATCH request to http://127.0.0.1:8008/config with {"ttl": 20, "synchronous_mode": "quorum"} # features/steps/patroni_api.py:73 2085s Mar 22 13:40:26 Then I receive a response code 200 # features/steps/patroni_api.py:100 2085s Mar 22 13:40:26 And sync key in DCS has leader=postgres-0 after 20 seconds # features/steps/quorum_commit.py:8 2086s Mar 22 13:40:27 And sync key in DCS has quorum=0 after 2 seconds # features/steps/quorum_commit.py:8 2086s Mar 22 13:40:27 And synchronous_standby_names on postgres-0 is set to '_empty_str_' after 2 seconds # features/steps/quorum_commit.py:39 2086s Mar 22 13:40:27 When I shut down postgres-0 # features/steps/basic_replication.py:41 2088s Mar 22 13:40:29 And sync key in DCS has leader=postgres-0 after 2 seconds # features/steps/quorum_commit.py:8 2088s Mar 22 13:40:29 When I start postgres-0 # features/steps/basic_replication.py:20 2093s Mar 22 13:40:34 Then postgres-0 role is the primary after 10 seconds # features/steps/basic_replication.py:117 2094s Mar 22 13:40:35 When I issue a PATCH request to http://127.0.0.1:8008/config with {"synchronous_mode_strict": true} # features/steps/patroni_api.py:73 2094s Mar 22 13:40:35 Then synchronous_standby_names on postgres-0 is set to 'ANY 1 (*)' after 10 seconds # features/steps/quorum_commit.py:39 2095s Mar 22 13:40:36 2095s Mar 22 13:40:36 Scenario: check failover with one quorum standby # features/quorum_commit.feature:20 2095s Mar 22 13:40:36 Given I start postgres-1 # features/steps/basic_replication.py:20 2101s Mar 22 13:40:42 Then sync key in DCS has sync_standby=postgres-1 after 10 seconds # features/steps/quorum_commit.py:8 2103s Mar 22 13:40:44 And synchronous_standby_names on postgres-0 is set to 'ANY 1 ("postgres-1")' after 2 seconds # features/steps/quorum_commit.py:39 2103s Mar 22 13:40:44 When I shut down postgres-0 # features/steps/basic_replication.py:41 2105s Mar 22 13:40:46 Then postgres-1 role is the primary after 10 seconds # features/steps/basic_replication.py:117 2106s Mar 22 13:40:47 And sync key in DCS has quorum=0 after 10 seconds # features/steps/quorum_commit.py:8 2106s Mar 22 13:40:47 Then synchronous_standby_names on postgres-1 is set to 'ANY 1 (*)' after 10 seconds # features/steps/quorum_commit.py:39 2109s Mar 22 13:40:50 When I start postgres-0 # features/steps/basic_replication.py:20 2113s Mar 22 13:40:54 Then sync key in DCS has leader=postgres-1 after 10 seconds # features/steps/quorum_commit.py:8 2113s Mar 22 13:40:54 Then sync key in DCS has sync_standby=postgres-0 after 10 seconds # features/steps/quorum_commit.py:8 2116s Mar 22 13:40:57 And synchronous_standby_names on postgres-1 is set to 'ANY 1 ("postgres-0")' after 2 seconds # features/steps/quorum_commit.py:39 2116s Mar 22 13:40:57 2116s Mar 22 13:40:57 Scenario: check behavior with three nodes and different replication factor # features/quorum_commit.feature:33 2116s Mar 22 13:40:57 Given I start postgres-2 # features/steps/basic_replication.py:20 2121s Mar 22 13:41:02 Then sync key in DCS has sync_standby=postgres-0,postgres-2 after 10 seconds # features/steps/quorum_commit.py:8 2122s Mar 22 13:41:03 And sync key in DCS has quorum=1 after 2 seconds # features/steps/quorum_commit.py:8 2122s Mar 22 13:41:03 And synchronous_standby_names on postgres-1 is set to 'ANY 1 ("postgres-0","postgres-2")' after 2 seconds # features/steps/quorum_commit.py:39 2122s Mar 22 13:41:03 When I issue a PATCH request to http://127.0.0.1:8009/config with {"synchronous_node_count": 2} # features/steps/patroni_api.py:73 2122s Mar 22 13:41:03 Then sync key in DCS has quorum=0 after 10 seconds # features/steps/quorum_commit.py:8 2123s Mar 22 13:41:04 And synchronous_standby_names on postgres-1 is set to 'ANY 2 ("postgres-0","postgres-2")' after 2 seconds # features/steps/quorum_commit.py:39 2123s Mar 22 13:41:04 2123s Mar 22 13:41:04 Scenario: switch from quorum replication to good old multisync and back # features/quorum_commit.feature:42 2123s Mar 22 13:41:04 Given I issue a PATCH request to http://127.0.0.1:8009/config with {"synchronous_mode": true, "synchronous_node_count": 1} # features/steps/patroni_api.py:73 2123s Mar 22 13:41:04 And I shut down postgres-0 # features/steps/basic_replication.py:41 2124s Mar 22 13:41:05 Then synchronous_standby_names on postgres-1 is set to '"postgres-2"' after 10 seconds # features/steps/quorum_commit.py:39 2126s Mar 22 13:41:07 And sync key in DCS has sync_standby=postgres-2 after 10 seconds # features/steps/quorum_commit.py:8 2128s Mar 22 13:41:09 Then sync key in DCS has quorum=0 after 2 seconds # features/steps/quorum_commit.py:8 2128s Mar 22 13:41:09 When I issue a PATCH request to http://127.0.0.1:8009/config with {"synchronous_mode": "quorum"} # features/steps/patroni_api.py:73 2128s Mar 22 13:41:09 And I start postgres-0 # features/steps/basic_replication.py:20 2133s Mar 22 13:41:14 Then synchronous_standby_names on postgres-1 is set to 'ANY 1 ("postgres-0","postgres-2")' after 10 seconds # features/steps/quorum_commit.py:39 2133s Mar 22 13:41:14 And sync key in DCS has sync_standby=postgres-0,postgres-2 after 10 seconds # features/steps/quorum_commit.py:8 2133s Mar 22 13:41:14 Then sync key in DCS has quorum=1 after 2 seconds # features/steps/quorum_commit.py:8 2133s Mar 22 13:41:14 2133s Mar 22 13:41:14 Scenario: REST API and patronictl # features/quorum_commit.feature:54 2133s Mar 22 13:41:14 Given I run patronictl.py list batman # features/steps/patroni_api.py:88 2136s Mar 22 13:41:17 Then I receive a response returncode 0 # features/steps/patroni_api.py:100 2136s Mar 22 13:41:17 And I receive a response output "Quorum Standby" # features/steps/patroni_api.py:100 2136s Mar 22 13:41:17 And Status code on GET http://127.0.0.1:8008/quorum is 200 after 3 seconds # features/steps/patroni_api.py:144 2136s Mar 22 13:41:17 And Status code on GET http://127.0.0.1:8010/quorum is 200 after 3 seconds # features/steps/patroni_api.py:144 2136s Mar 22 13:41:17 2136s Mar 22 13:41:17 Scenario: nosync node is removed from voters and synchronous_standby_names # features/quorum_commit.feature:61 2136s Mar 22 13:41:17 Given I add tag nosync true to postgres-2 config # features/steps/patroni_api.py:139 2136s Mar 22 13:41:17 When I issue an empty POST request to http://127.0.0.1:8010/reload # features/steps/patroni_api.py:68 2136s Mar 22 13:41:17 Then I receive a response code 202 # features/steps/patroni_api.py:100 2136s Mar 22 13:41:17 And sync key in DCS has quorum=0 after 10 seconds # features/steps/quorum_commit.py:8 2139s Mar 22 13:41:20 And sync key in DCS has sync_standby=postgres-0 after 10 seconds # features/steps/quorum_commit.py:8 2139s Mar 22 13:41:20 And synchronous_standby_names on postgres-1 is set to 'ANY 1 ("postgres-0")' after 2 seconds # features/steps/quorum_commit.py:39 2139s Mar 22 13:41:20 And Status code on GET http://127.0.0.1:8010/quorum is 503 after 10 seconds # features/steps/patroni_api.py:144 2146s Mar 22 13:41:27 2146s Mar 22 13:41:27 Feature: recovery # features/recovery.feature:1 2146s Mar 22 13:41:27 We want to check that crashed postgres is started back 2146s Mar 22 13:41:27 Scenario: check that timeline is not incremented when primary is started after crash # features/recovery.feature:4 2146s Mar 22 13:41:27 Given I start postgres-0 # features/steps/basic_replication.py:20 2151s Mar 22 13:41:32 Then postgres-0 is a leader after 10 seconds # features/steps/patroni_api.py:31 2151s Mar 22 13:41:32 And there is a non empty initialize key in DCS after 15 seconds # features/steps/cascading_replication.py:41 2151s Mar 22 13:41:32 When I start postgres-1 # features/steps/basic_replication.py:20 2156s Mar 22 13:41:37 And I add the table foo to postgres-0 # features/steps/basic_replication.py:66 2156s Mar 22 13:41:37 Then table foo is present on postgres-1 after 20 seconds # features/steps/basic_replication.py:105 2157s Mar 22 13:41:38 When I kill postmaster on postgres-0 # features/steps/basic_replication.py:56 2157s Mar 22 13:41:38 waiting for server to shut down.... done 2157s Mar 22 13:41:38 server stopped 2157s Mar 22 13:41:38 Then postgres-0 role is the primary after 10 seconds # features/steps/basic_replication.py:117 2160s Mar 22 13:41:41 When I issue a GET request to http://127.0.0.1:8008/ # features/steps/patroni_api.py:63 2161s Mar 22 13:41:42 Then I receive a response code 200 # features/steps/patroni_api.py:100 2161s Mar 22 13:41:42 And I receive a response role primary # features/steps/patroni_api.py:100 2161s Mar 22 13:41:42 And I receive a response timeline 1 # features/steps/patroni_api.py:100 2161s Mar 22 13:41:42 And "members/postgres-0" key in DCS has state=running after 12 seconds # features/steps/cascading_replication.py:23 2162s Mar 22 13:41:43 And replication works from postgres-0 to postgres-1 after 15 seconds # features/steps/basic_replication.py:124 2164s Mar 22 13:41:45 2164s Mar 22 13:41:45 Scenario: check immediate failover when master_start_timeout=0 # features/recovery.feature:20 2164s Mar 22 13:41:45 Given I issue a PATCH request to http://127.0.0.1:8008/config with {"master_start_timeout": 0} # features/steps/patroni_api.py:73 2164s Mar 22 13:41:45 Then I receive a response code 200 # features/steps/patroni_api.py:100 2164s Mar 22 13:41:45 And Response on GET http://127.0.0.1:8008/config contains master_start_timeout after 10 seconds # features/steps/patroni_api.py:158 2164s Mar 22 13:41:45 When I kill postmaster on postgres-0 # features/steps/basic_replication.py:56 2164s Mar 22 13:41:45 waiting for server to shut down.... done 2164s Mar 22 13:41:45 server stopped 2164s Mar 22 13:41:45 Then postgres-1 is a leader after 10 seconds # features/steps/patroni_api.py:31 2167s Mar 22 13:41:48 And postgres-1 role is the primary after 10 seconds # features/steps/basic_replication.py:117 2167s Mar 22 13:41:48 2167s Mar 22 13:41:48 Scenario: check crashed primary demotes after failed attempt to start # features/recovery.feature:28 2167s Mar 22 13:41:48 Given I issue a PATCH request to http://127.0.0.1:8009/config with {"master_start_timeout": null} # features/steps/patroni_api.py:73 2167s Mar 22 13:41:48 Then I receive a response code 200 # features/steps/patroni_api.py:100 2167s Mar 22 13:41:48 And postgres-0 role is the replica after 10 seconds # features/steps/basic_replication.py:117 2170s Mar 22 13:41:51 When I ensure postgres-1 fails to start after a failure # features/steps/recovery.py:6 2170s Mar 22 13:41:51 When I kill postmaster on postgres-1 # features/steps/basic_replication.py:56 2170s Mar 22 13:41:51 waiting for server to shut down.... done 2170s Mar 22 13:41:51 server stopped 2170s Mar 22 13:41:51 Then postgres-0 is a leader after 10 seconds # features/steps/patroni_api.py:31 2172s Mar 22 13:41:53 And there is a postgres-1_cb.log with "on_role_change demoted batman" in postgres-1 data directory # features/steps/cascading_replication.py:12 2176s Mar 22 13:41:57 2176s Mar 22 13:41:57 Feature: standby cluster # features/standby_cluster.feature:1 2176s Mar 22 13:41:57 2176s Mar 22 13:41:57 Scenario: prepare the cluster with logical slots # features/standby_cluster.feature:2 2176s Mar 22 13:41:57 Given I start postgres-1 # features/steps/basic_replication.py:20 2181s Mar 22 13:42:02 Then postgres-1 is a leader after 10 seconds # features/steps/patroni_api.py:31 2181s Mar 22 13:42:02 And there is a non empty initialize key in DCS after 15 seconds # features/steps/cascading_replication.py:41 2181s Mar 22 13:42:02 When I issue a PATCH request to http://127.0.0.1:8009/config with {"slots": {"pm_1": {"type": "physical"}}, "postgresql": {"parameters": {"wal_level": "logical"}}} # features/steps/patroni_api.py:73 2181s Mar 22 13:42:02 Then I receive a response code 200 # features/steps/patroni_api.py:100 2181s Mar 22 13:42:02 And Response on GET http://127.0.0.1:8009/config contains slots after 10 seconds # features/steps/patroni_api.py:158 2181s Mar 22 13:42:02 And I sleep for 3 seconds # features/steps/patroni_api.py:41 2184s Mar 22 13:42:05 When I issue a PATCH request to http://127.0.0.1:8009/config with {"slots": {"test_logical": {"type": "logical", "database": "postgres", "plugin": "test_decoding"}}} # features/steps/patroni_api.py:73 2184s Mar 22 13:42:05 Then I receive a response code 200 # features/steps/patroni_api.py:100 2184s Mar 22 13:42:05 And I do a backup of postgres-1 # features/steps/custom_bootstrap.py:25 2185s Mar 22 13:42:06 When I start postgres-0 # features/steps/basic_replication.py:20 2190s Mar 22 13:42:11 Then "members/postgres-0" key in DCS has state=running after 10 seconds # features/steps/cascading_replication.py:23 2190s Mar 22 13:42:11 And replication works from postgres-1 to postgres-0 after 15 seconds # features/steps/basic_replication.py:124 2191s Mar 22 13:42:12 When I issue a GET request to http://127.0.0.1:8008/patroni # features/steps/patroni_api.py:63 2191s Mar 22 13:42:12 Then I receive a response code 200 # features/steps/patroni_api.py:100 2191s Mar 22 13:42:12 And I receive a response replication_state streaming # features/steps/patroni_api.py:100 2191s Mar 22 13:42:12 And "members/postgres-0" key in DCS has replication_state=streaming after 10 seconds # features/steps/cascading_replication.py:23 2192s Mar 22 13:42:13 2192s Mar 22 13:42:13 @slot-advance 2192s Mar 22 13:42:13 Scenario: check permanent logical slots are synced to the replica # features/standby_cluster.feature:22 2192s Mar 22 13:42:13 Given I run patronictl.py restart batman postgres-1 --force # features/steps/patroni_api.py:88 2195s Mar 22 13:42:16 Then Logical slot test_logical is in sync between postgres-0 and postgres-1 after 10 seconds # features/steps/slots.py:52 2202s Mar 22 13:42:22 2202s Mar 22 13:42:22 Scenario: Detach exiting node from the cluster # features/standby_cluster.feature:26 2202s Mar 22 13:42:22 When I shut down postgres-1 # features/steps/basic_replication.py:41 2204s Mar 22 13:42:24 Then postgres-0 is a leader after 10 seconds # features/steps/patroni_api.py:31 2204s Mar 22 13:42:24 And "members/postgres-0" key in DCS has role=primary after 5 seconds # features/steps/cascading_replication.py:23 2208s Mar 22 13:42:28 When I issue a GET request to http://127.0.0.1:8008/ # features/steps/patroni_api.py:63 2208s Mar 22 13:42:29 Then I receive a response code 200 # features/steps/patroni_api.py:100 2208s Mar 22 13:42:29 2208s Mar 22 13:42:29 Scenario: check replication of a single table in a standby cluster # features/standby_cluster.feature:33 2208s Mar 22 13:42:29 Given I start postgres-1 in a standby cluster batman1 as a clone of postgres-0 # features/steps/standby_cluster.py:23 2213s Mar 22 13:42:34 Then postgres-1 is a leader of batman1 after 10 seconds # features/steps/custom_bootstrap.py:16 2213s Mar 22 13:42:34 When I add the table foo to postgres-0 # features/steps/basic_replication.py:66 2213s Mar 22 13:42:34 Then table foo is present on postgres-1 after 20 seconds # features/steps/basic_replication.py:105 2213s Mar 22 13:42:34 When I issue a GET request to http://127.0.0.1:8009/patroni # features/steps/patroni_api.py:63 2213s Mar 22 13:42:34 Then I receive a response code 200 # features/steps/patroni_api.py:100 2213s Mar 22 13:42:34 And I receive a response replication_state streaming # features/steps/patroni_api.py:100 2213s Mar 22 13:42:34 And I sleep for 3 seconds # features/steps/patroni_api.py:41 2216s Mar 22 13:42:37 When I issue a GET request to http://127.0.0.1:8009/primary # features/steps/patroni_api.py:63 2216s Mar 22 13:42:37 Then I receive a response code 503 # features/steps/patroni_api.py:100 2216s Mar 22 13:42:37 When I issue a GET request to http://127.0.0.1:8009/standby_leader # features/steps/patroni_api.py:63 2216s Mar 22 13:42:37 Then I receive a response code 200 # features/steps/patroni_api.py:100 2216s Mar 22 13:42:37 And I receive a response role standby_leader # features/steps/patroni_api.py:100 2216s Mar 22 13:42:37 And there is a postgres-1_cb.log with "on_role_change standby_leader batman1" in postgres-1 data directory # features/steps/cascading_replication.py:12 2216s Mar 22 13:42:37 When I start postgres-2 in a cluster batman1 # features/steps/standby_cluster.py:12 2221s Mar 22 13:42:42 Then postgres-2 role is the replica after 24 seconds # features/steps/basic_replication.py:117 2221s Mar 22 13:42:42 And postgres-2 is replicating from postgres-1 after 10 seconds # features/steps/standby_cluster.py:52 2222s Mar 22 13:42:43 And table foo is present on postgres-2 after 20 seconds # features/steps/basic_replication.py:105 2222s Mar 22 13:42:43 When I issue a GET request to http://127.0.0.1:8010/patroni # features/steps/patroni_api.py:63 2222s Mar 22 13:42:43 Then I receive a response code 200 # features/steps/patroni_api.py:100 2222s Mar 22 13:42:43 And I receive a response replication_state streaming # features/steps/patroni_api.py:100 2222s Mar 22 13:42:43 And postgres-1 does not have a replication slot named test_logical # features/steps/slots.py:41 2222s Mar 22 13:42:43 2222s Mar 22 13:42:43 Scenario: check switchover # features/standby_cluster.feature:57 2222s Mar 22 13:42:43 Given I run patronictl.py switchover batman1 --force # features/steps/patroni_api.py:88 2227s Mar 22 13:42:47 Then Status code on GET http://127.0.0.1:8010/standby_leader is 200 after 10 seconds # features/steps/patroni_api.py:144 2227s Mar 22 13:42:47 And postgres-1 is replicating from postgres-2 after 32 seconds # features/steps/standby_cluster.py:52 2229s Mar 22 13:42:50 And there is a postgres-2_cb.log with "on_start replica batman1\non_role_change standby_leader batman1" in postgres-2 data directory # features/steps/cascading_replication.py:12 2229s Mar 22 13:42:50 2229s Mar 22 13:42:50 Scenario: check failover # features/standby_cluster.feature:63 2229s Mar 22 13:42:50 When I kill postgres-2 # features/steps/basic_replication.py:46 2230s Mar 22 13:42:51 And I kill postmaster on postgres-2 # features/steps/basic_replication.py:56 2231s Mar 22 13:42:52 waiting for server to shut down.... done 2231s Mar 22 13:42:52 server stopped 2231s Mar 22 13:42:52 Then postgres-1 is replicating from postgres-0 after 32 seconds # features/steps/standby_cluster.py:52 2251s Mar 22 13:43:12 And Status code on GET http://127.0.0.1:8009/standby_leader is 200 after 10 seconds # features/steps/patroni_api.py:144 2251s Mar 22 13:43:12 When I issue a GET request to http://127.0.0.1:8009/primary # features/steps/patroni_api.py:63 2251s Mar 22 13:43:12 Then I receive a response code 503 # features/steps/patroni_api.py:100 2251s Mar 22 13:43:12 And I receive a response role standby_leader # features/steps/patroni_api.py:100 2251s Mar 22 13:43:12 And replication works from postgres-0 to postgres-1 after 15 seconds # features/steps/basic_replication.py:124 2252s Mar 22 13:43:13 And there is a postgres-1_cb.log with "on_role_change replica batman1\non_role_change standby_leader batman1" in postgres-1 data directory # features/steps/cascading_replication.py:12 2256s Mar 22 13:43:17 2256s Mar 22 13:43:17 Feature: watchdog # features/watchdog.feature:1 2256s Mar 22 13:43:17 Verify that watchdog gets pinged and triggered under appropriate circumstances. 2256s Mar 22 13:43:17 Scenario: watchdog is opened and pinged # features/watchdog.feature:4 2256s Mar 22 13:43:17 Given I start postgres-0 with watchdog # features/steps/watchdog.py:17 2261s Mar 22 13:43:22 Then postgres-0 is a leader after 10 seconds # features/steps/patroni_api.py:31 2261s Mar 22 13:43:22 And postgres-0 role is the primary after 10 seconds # features/steps/basic_replication.py:117 2261s Mar 22 13:43:22 And postgres-0 watchdog has been pinged after 10 seconds # features/steps/watchdog.py:22 2262s Mar 22 13:43:23 And postgres-0 watchdog has a 15 second timeout # features/steps/watchdog.py:35 2262s Mar 22 13:43:23 2262s Mar 22 13:43:23 Scenario: watchdog is reconfigured after global ttl changed # features/watchdog.feature:11 2262s Mar 22 13:43:23 Given I run patronictl.py edit-config batman -s ttl=30 --force # features/steps/patroni_api.py:88 2265s Mar 22 13:43:26 Then I receive a response returncode 0 # features/steps/patroni_api.py:100 2265s Mar 22 13:43:26 And I receive a response output "+ttl: 30" # features/steps/patroni_api.py:100 2265s Mar 22 13:43:26 When I sleep for 4 seconds # features/steps/patroni_api.py:41 2269s Mar 22 13:43:30 Then postgres-0 watchdog has a 25 second timeout # features/steps/watchdog.py:35 2269s Mar 22 13:43:30 2269s Mar 22 13:43:30 Scenario: watchdog is disabled during pause # features/watchdog.feature:18 2269s Mar 22 13:43:30 Given I run patronictl.py pause batman # features/steps/patroni_api.py:88 2271s Mar 22 13:43:32 Then I receive a response returncode 0 # features/steps/patroni_api.py:100 2271s Mar 22 13:43:32 When I sleep for 2 seconds # features/steps/patroni_api.py:41 2273s Mar 22 13:43:34 Then postgres-0 watchdog has been closed # features/steps/watchdog.py:30 2273s Mar 22 13:43:34 2273s Mar 22 13:43:34 Scenario: watchdog is opened and pinged after resume # features/watchdog.feature:24 2273s Mar 22 13:43:34 Given I reset postgres-0 watchdog state # features/steps/watchdog.py:40 2273s Mar 22 13:43:34 And I run patronictl.py resume batman # features/steps/patroni_api.py:88 2275s Mar 22 13:43:36 Then I receive a response returncode 0 # features/steps/patroni_api.py:100 2275s Mar 22 13:43:36 And postgres-0 watchdog has been pinged after 10 seconds # features/steps/watchdog.py:22 2276s Mar 22 13:43:37 2276s Mar 22 13:43:37 Scenario: watchdog is disabled when shutting down # features/watchdog.feature:30 2276s Mar 22 13:43:37 Given I shut down postgres-0 # features/steps/basic_replication.py:41 2278s Mar 22 13:43:39 Then postgres-0 watchdog has been closed # features/steps/watchdog.py:30 2278s Mar 22 13:43:39 2278s Mar 22 13:43:39 Scenario: watchdog is triggered if patroni stops responding # features/watchdog.feature:34 2278s Mar 22 13:43:39 Given I reset postgres-0 watchdog state # features/steps/watchdog.py:40 2278s Mar 22 13:43:39 And I start postgres-0 with watchdog # features/steps/watchdog.py:17 2283s Mar 22 13:43:44 Then postgres-0 role is the primary after 10 seconds # features/steps/basic_replication.py:117 2284s Mar 22 13:43:45 When postgres-0 hangs for 30 seconds # features/steps/watchdog.py:53 2284s Mar 22 13:43:45 Then postgres-0 watchdog is triggered after 30 seconds # features/steps/watchdog.py:45 2311s Mar 22 13:44:12 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.10195.XRzSbgLx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.10259.XokXZHcx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.10318.XgDQEVJx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.10427.XhVqYEAx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.10555.XuXSTYMx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.10694.XeXwWsRx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.10742.XXwLFapx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.10749.XlUexKRx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.10754.XIAvgRox 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.10770.XHPJVPMx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.6345.XsxyVOEx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.6391.XFchMCjx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.6446.XEYnUxCx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.6499.XtYUQXAx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.6548.XgPpfsHx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.6622.XzRoDYYx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.6676.XgUFgtxx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.6682.XtwCFtex 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.6765.XzXjxksx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.6866.XoetQRmx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.6878.XmkKzCmx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.6923.XMNnUkdx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.6972.XmrkGCKx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.7108.XKwelkwx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.7156.XhYNyPCx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.7214.XhrmnSxx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.7314.XeAfTdLx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.7371.XrfusTGx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.7435.XFRFqydx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.7530.XTtoWKIx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.7635.XYXTTPMx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.7680.XhrINOOx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.7744.XoTFOaKx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.7782.XNMYeOSx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.7914.XcepWeHx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.7965.XsjyZgqx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.7985.XPgiDyix 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.8026.XZiZeGdx 2312s Mar 22 13:44:13 Skipping duplicate data .coverage.autopkgtest.8082.XNHsTfAx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.8089.XMTxBHJx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.8128.XtRqsfvx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.8174.XbvUEERx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.8346.XzVNTmAx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.8350.XSBBWVXx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.8358.XWhVppHx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.8503.XatWrfgx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.8551.XbMqZwAx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.8601.XpoYQZox 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.8648.XaKpbVqx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.8695.XbKGZGfx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.8842.XnrhQbDx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.8916.XUurQbox 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.8962.XFZAIgIx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.9039.XZhjFEdx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.9127.XKrnsGrx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.9181.XqcuRLRx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.9500.XYiReEZx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.9558.XJcdlaKx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.9620.XVSDLjGx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.9718.XvhSLyIx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.9771.XnPoyiux 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.9833.XDzbHAUx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.9879.XqpqEgyx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.9922.XqeazlHx 2312s Mar 22 13:44:13 Combined data file .coverage.autopkgtest.9967.XILpmIcx 2318s Mar 22 13:44:19 Name Stmts Miss Cover 2318s Mar 22 13:44:19 -------------------------------------------------------------------------------------------------------- 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/_distutils_hack/__init__.py 101 96 5% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/dateutil/__init__.py 13 4 69% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/dateutil/_common.py 25 15 40% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/dateutil/_version.py 13 3 77% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/dateutil/parser/__init__.py 33 4 88% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/dateutil/parser/_parser.py 810 436 46% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/dateutil/parser/isoparser.py 183 150 18% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/dateutil/relativedelta.py 240 206 14% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/dateutil/tz/__init__.py 4 0 100% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/dateutil/tz/_common.py 151 114 25% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/dateutil/tz/_factories.py 49 21 57% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/dateutil/tz/tz.py 794 626 21% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/dateutil/tz/win.py 152 149 2% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/kazoo/__init__.py 1 0 100% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/kazoo/client.py 629 266 58% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/kazoo/exceptions.py 110 1 99% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/kazoo/handlers/__init__.py 0 0 100% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/kazoo/handlers/threading.py 94 15 84% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/kazoo/handlers/utils.py 222 75 66% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/kazoo/hosts.py 18 4 78% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/kazoo/loggingsupport.py 1 0 100% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/kazoo/protocol/__init__.py 0 0 100% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/kazoo/protocol/connection.py 485 176 64% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/kazoo/protocol/paths.py 33 8 76% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/kazoo/protocol/serialization.py 316 111 65% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/kazoo/protocol/states.py 49 9 82% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/kazoo/python2atexit.py 32 19 41% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/kazoo/recipe/__init__.py 0 0 100% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/kazoo/recipe/barrier.py 97 80 18% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/kazoo/recipe/counter.py 49 36 27% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/kazoo/recipe/election.py 16 10 38% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/kazoo/recipe/lease.py 54 36 33% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/kazoo/recipe/lock.py 295 242 18% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/kazoo/recipe/partitioner.py 155 120 23% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/kazoo/recipe/party.py 62 43 31% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/kazoo/recipe/queue.py 157 126 20% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/kazoo/recipe/watchers.py 172 138 20% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/kazoo/retry.py 60 9 85% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/kazoo/security.py 58 35 40% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/kazoo/version.py 1 0 100% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/patroni/__init__.py 13 2 85% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/patroni/__main__.py 201 64 68% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/patroni/api.py 788 296 62% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/patroni/async_executor.py 96 15 84% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/patroni/collections.py 56 5 91% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/patroni/config.py 357 82 77% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/patroni/config_generator.py 212 159 25% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/patroni/daemon.py 76 3 96% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/patroni/dcs/__init__.py 710 108 85% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/patroni/dcs/zookeeper.py 289 69 76% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/patroni/dynamic_loader.py 35 7 80% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/patroni/exceptions.py 16 0 100% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/patroni/file_perm.py 47 10 79% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/patroni/global_config.py 87 0 100% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/patroni/ha.py 1359 386 72% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/patroni/log.py 235 79 66% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/patroni/postgresql/__init__.py 825 170 79% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/patroni/postgresql/available_parameters/__init__.py 24 3 88% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/patroni/postgresql/bootstrap.py 254 60 76% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/patroni/postgresql/callback_executor.py 55 8 85% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/patroni/postgresql/cancellable.py 104 41 61% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/patroni/postgresql/config.py 840 217 74% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/patroni/postgresql/connection.py 75 1 99% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/patroni/postgresql/misc.py 43 8 81% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/patroni/postgresql/mpp/__init__.py 89 11 88% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/patroni/postgresql/postmaster.py 170 83 51% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/patroni/postgresql/rewind.py 416 131 69% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/patroni/postgresql/slots.py 349 41 88% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/patroni/postgresql/sync.py 154 11 93% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/patroni/postgresql/validator.py 157 24 85% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/patroni/psycopg.py 46 19 59% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/patroni/quorum.py 182 48 74% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/patroni/request.py 58 7 88% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/patroni/tags.py 38 0 100% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/patroni/utils.py 371 122 67% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/patroni/validator.py 309 215 30% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/patroni/version.py 1 0 100% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/patroni/watchdog/__init__.py 2 0 100% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/patroni/watchdog/base.py 203 46 77% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/patroni/watchdog/linux.py 135 35 74% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/psutil/__init__.py 950 629 34% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/psutil/_common.py 422 212 50% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/psutil/_compat.py 301 263 13% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/psutil/_pslinux.py 1250 924 26% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/psutil/_psposix.py 95 38 60% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/psycopg2/__init__.py 19 3 84% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/psycopg2/_json.py 64 27 58% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/psycopg2/_range.py 269 172 36% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/psycopg2/errors.py 3 2 33% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/psycopg2/extensions.py 91 25 73% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/puresasl/__init__.py 21 2 90% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/puresasl/client.py 71 47 34% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/puresasl/mechanisms.py 363 263 28% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/six.py 505 259 49% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/urllib3/__init__.py 49 15 69% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/urllib3/_base_connection.py 63 45 29% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/urllib3/_collections.py 231 125 46% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/urllib3/_request_methods.py 54 24 56% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/urllib3/_version.py 13 3 77% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/urllib3/connection.py 389 149 62% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/urllib3/connectionpool.py 344 130 62% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/urllib3/exceptions.py 121 39 68% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/urllib3/fields.py 92 73 21% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/urllib3/filepost.py 37 24 35% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/urllib3/http2/__init__.py 28 21 25% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/urllib3/http2/probe.py 49 31 37% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/urllib3/poolmanager.py 233 88 62% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/urllib3/response.py 634 393 38% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/urllib3/util/__init__.py 10 0 100% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/urllib3/util/connection.py 66 9 86% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/urllib3/util/proxy.py 13 6 54% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/urllib3/util/request.py 104 52 50% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/urllib3/util/response.py 32 17 47% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/urllib3/util/retry.py 174 53 70% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/urllib3/util/ssl_.py 172 73 58% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/urllib3/util/ssl_match_hostname.py 66 54 18% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/urllib3/util/ssltransport.py 152 106 30% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/urllib3/util/timeout.py 71 19 73% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/urllib3/util/url.py 203 76 63% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/urllib3/util/util.py 26 18 31% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/urllib3/util/wait.py 49 38 22% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/yaml/__init__.py 165 109 34% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/yaml/composer.py 92 17 82% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/yaml/constructor.py 479 276 42% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/yaml/cyaml.py 46 24 48% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/yaml/dumper.py 23 12 48% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/yaml/emitter.py 838 769 8% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/yaml/error.py 58 42 28% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/yaml/events.py 61 6 90% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/yaml/loader.py 47 24 49% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/yaml/nodes.py 29 7 76% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/yaml/parser.py 352 180 49% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/yaml/reader.py 122 30 75% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/yaml/representer.py 248 176 29% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/yaml/resolver.py 135 76 44% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/yaml/scanner.py 758 415 45% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/yaml/serializer.py 85 70 18% 2318s Mar 22 13:44:19 /usr/lib/python3/dist-packages/yaml/tokens.py 76 17 78% 2318s Mar 22 13:44:19 patroni/__init__.py 13 2 85% 2318s Mar 22 13:44:19 patroni/__main__.py 201 201 0% 2318s Mar 22 13:44:19 patroni/api.py 788 788 0% 2318s Mar 22 13:44:19 patroni/async_executor.py 96 69 28% 2318s Mar 22 13:44:19 patroni/collections.py 56 15 73% 2318s Mar 22 13:44:19 patroni/config.py 357 184 48% 2318s Mar 22 13:44:19 patroni/config_generator.py 212 212 0% 2318s Mar 22 13:44:19 patroni/ctl.py 936 395 58% 2318s Mar 22 13:44:19 patroni/daemon.py 76 76 0% 2318s Mar 22 13:44:19 patroni/dcs/__init__.py 710 317 55% 2318s Mar 22 13:44:19 patroni/dcs/consul.py 482 482 0% 2318s Mar 22 13:44:19 patroni/dcs/etcd3.py 679 679 0% 2318s Mar 22 13:44:19 patroni/dcs/etcd.py 603 603 0% 2318s Mar 22 13:44:19 patroni/dcs/exhibitor.py 62 62 0% 2318s Mar 22 13:44:19 patroni/dcs/kubernetes.py 943 943 0% 2318s Mar 22 13:44:19 patroni/dcs/raft.py 319 319 0% 2318s Mar 22 13:44:19 patroni/dcs/zookeeper.py 289 150 48% 2318s Mar 22 13:44:19 patroni/dynamic_loader.py 35 7 80% 2318s Mar 22 13:44:19 patroni/exceptions.py 16 1 94% 2318s Mar 22 13:44:19 patroni/file_perm.py 47 17 64% 2318s Mar 22 13:44:19 patroni/global_config.py 87 19 78% 2318s Mar 22 13:44:19 patroni/ha.py 1359 1359 0% 2318s Mar 22 13:44:19 patroni/log.py 235 183 22% 2318s Mar 22 13:44:19 patroni/postgresql/__init__.py 825 653 21% 2318s Mar 22 13:44:19 patroni/postgresql/available_parameters/__init__.py 24 6 75% 2318s Mar 22 13:44:19 patroni/postgresql/bootstrap.py 254 224 12% 2318s Mar 22 13:44:19 patroni/postgresql/callback_executor.py 55 34 38% 2318s Mar 22 13:44:19 patroni/postgresql/cancellable.py 104 84 19% 2318s Mar 22 13:44:19 patroni/postgresql/config.py 840 720 14% 2318s Mar 22 13:44:19 patroni/postgresql/connection.py 75 50 33% 2318s Mar 22 13:44:19 patroni/postgresql/misc.py 43 30 30% 2318s Mar 22 13:44:19 patroni/postgresql/mpp/__init__.py 89 21 76% 2318s Mar 22 13:44:19 patroni/postgresql/mpp/citus.py 366 366 0% 2318s Mar 22 13:44:19 patroni/postgresql/postmaster.py 170 139 18% 2318s Mar 22 13:44:19 patroni/postgresql/rewind.py 416 416 0% 2318s Mar 22 13:44:19 patroni/postgresql/slots.py 349 300 14% 2318s Mar 22 13:44:19 patroni/postgresql/sync.py 154 114 26% 2318s Mar 22 13:44:19 patroni/postgresql/validator.py 157 52 67% 2318s Mar 22 13:44:19 patroni/psycopg.py 46 32 30% 2318s Mar 22 13:44:19 patroni/quorum.py 182 182 0% 2318s Mar 22 13:44:19 patroni/raft_controller.py 22 22 0% 2318s Mar 22 13:44:19 patroni/request.py 58 6 90% 2318s Mar 22 13:44:19 patroni/scripts/__init__.py 0 0 100% 2318s Mar 22 13:44:19 patroni/scripts/aws.py 59 59 0% 2318s Mar 22 13:44:19 patroni/scripts/barman/__init__.py 0 0 100% 2318s Mar 22 13:44:19 patroni/scripts/barman/cli.py 50 50 0% 2318s Mar 22 13:44:19 patroni/scripts/barman/config_switch.py 50 50 0% 2318s Mar 22 13:44:19 patroni/scripts/barman/recover.py 36 36 0% 2318s Mar 22 13:44:19 patroni/scripts/barman/utils.py 93 93 0% 2318s Mar 22 13:44:19 patroni/scripts/wale_restore.py 207 207 0% 2318s Mar 22 13:44:19 patroni/tags.py 38 11 71% 2318s Mar 22 13:44:19 patroni/utils.py 371 245 34% 2318s Mar 22 13:44:19 patroni/validator.py 309 222 28% 2318s Mar 22 13:44:19 patroni/version.py 1 0 100% 2318s Mar 22 13:44:19 patroni/watchdog/__init__.py 2 2 0% 2318s Mar 22 13:44:19 patroni/watchdog/base.py 203 203 0% 2318s Mar 22 13:44:19 patroni/watchdog/linux.py 135 135 0% 2318s Mar 22 13:44:19 -------------------------------------------------------------------------------------------------------- 2318s Mar 22 13:44:19 TOTAL 41108 24613 40% 2318s Mar 22 13:44:19 12 features passed, 0 failed, 1 skipped 2318s Mar 22 13:44:19 53 scenarios passed, 0 failed, 5 skipped 2318s Mar 22 13:44:19 517 steps passed, 0 failed, 68 skipped, 0 undefined 2318s Mar 22 13:44:19 Took 8m57.750s 2318s + su postgres -p -c 'rm -rf features/output' 2318s ### End 17 acceptance-zookeeper -e dcs_failsafe_mode ### 2318s + echo '### End 17 acceptance-zookeeper -e dcs_failsafe_mode ###' 2318s + rm -f /tmp/pgpass_postgres-0 /tmp/pgpass_postgres-1 /tmp/pgpass_postgres-2 /tmp/pgpass_postgres-3 2318s ++ id -u 2318s + '[' 0 -eq 0 ']' 2318s + '[' -x /etc/init.d/zookeeper ']' 2318s + /etc/init.d/zookeeper stop 2319s Stopping zookeeper (via systemctl): zookeeper.service. 2319s autopkgtest [13:44:20]: test acceptance-zookeeper: -----------------------] 2320s acceptance-zookeeper PASS 2320s autopkgtest [13:44:21]: test acceptance-zookeeper: - - - - - - - - - - results - - - - - - - - - - 2320s autopkgtest [13:44:21]: test acceptance-raft: preparing testbed 2435s autopkgtest [13:46:16]: testbed dpkg architecture: arm64 2435s autopkgtest [13:46:16]: testbed apt version: 2.9.34 2436s autopkgtest [13:46:17]: @@@@@@@@@@@@@@@@@@@@ test bed setup 2436s autopkgtest [13:46:17]: testbed release detected to be: plucky 2437s autopkgtest [13:46:18]: updating testbed package index (apt update) 2437s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [126 kB] 2437s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 2437s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 2437s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 2437s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [1232 B] 2437s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [292 kB] 2438s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [30.7 kB] 2439s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [12.2 kB] 2439s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [39.1 kB] 2439s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 c-n-f Metadata [1292 B] 2439s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 c-n-f Metadata [116 B] 2439s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [198 kB] 2439s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 c-n-f Metadata [11.1 kB] 2439s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [3684 B] 2439s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 c-n-f Metadata [216 B] 2441s Fetched 716 kB in 2s (312 kB/s) 2442s Reading package lists... 2443s autopkgtest [13:46:24]: upgrading testbed (apt dist-upgrade and autopurge) 2443s Reading package lists... 2443s Building dependency tree... 2443s Reading state information... 2444s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 2444s Starting 2 pkgProblemResolver with broken count: 0 2444s Done 2445s Entering ResolveByKeep 2445s 2445s Calculating upgrade... 2446s The following packages will be upgraded: 2446s gcc-15-base libatomic1 libgcc-s1 libstdc++6 2446s 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2446s Need to get 879 kB of archives. 2446s After this operation, 0 B of additional disk space will be used. 2446s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libatomic1 arm64 15-20250319-1ubuntu1 [11.2 kB] 2446s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 gcc-15-base arm64 15-20250319-1ubuntu1 [53.6 kB] 2446s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 libgcc-s1 arm64 15-20250319-1ubuntu1 [61.1 kB] 2446s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 libstdc++6 arm64 15-20250319-1ubuntu1 [753 kB] 2447s Fetched 879 kB in 1s (1466 kB/s) 2447s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 117732 files and directories currently installed.) 2447s Preparing to unpack .../libatomic1_15-20250319-1ubuntu1_arm64.deb ... 2447s Unpacking libatomic1:arm64 (15-20250319-1ubuntu1) over (15-20250315-1ubuntu1) ... 2447s Preparing to unpack .../gcc-15-base_15-20250319-1ubuntu1_arm64.deb ... 2447s Unpacking gcc-15-base:arm64 (15-20250319-1ubuntu1) over (15-20250315-1ubuntu1) ... 2448s Setting up gcc-15-base:arm64 (15-20250319-1ubuntu1) ... 2448s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 117732 files and directories currently installed.) 2448s Preparing to unpack .../libgcc-s1_15-20250319-1ubuntu1_arm64.deb ... 2448s Unpacking libgcc-s1:arm64 (15-20250319-1ubuntu1) over (15-20250315-1ubuntu1) ... 2448s Setting up libgcc-s1:arm64 (15-20250319-1ubuntu1) ... 2448s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 117732 files and directories currently installed.) 2448s Preparing to unpack .../libstdc++6_15-20250319-1ubuntu1_arm64.deb ... 2448s Unpacking libstdc++6:arm64 (15-20250319-1ubuntu1) over (15-20250315-1ubuntu1) ... 2448s Setting up libstdc++6:arm64 (15-20250319-1ubuntu1) ... 2448s Setting up libatomic1:arm64 (15-20250319-1ubuntu1) ... 2448s Processing triggers for libc-bin (2.41-1ubuntu2) ... 2448s Reading package lists... 2449s Building dependency tree... 2449s Reading state information... 2449s Starting pkgProblemResolver with broken count: 0 2449s Starting 2 pkgProblemResolver with broken count: 0 2449s Done 2450s Solving dependencies... 2450s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2453s Reading package lists... 2454s Building dependency tree... 2454s Reading state information... 2455s Starting pkgProblemResolver with broken count: 0 2455s Starting 2 pkgProblemResolver with broken count: 0 2455s Done 2457s The following NEW packages will be installed: 2457s fonts-font-awesome fonts-lato libio-pty-perl libipc-run-perl libjs-jquery 2457s libjs-sphinxdoc libjs-underscore libjson-perl libllvm20 libpq5 2457s libtime-duration-perl libtimedate-perl libxslt1.1 moreutils patroni 2457s patroni-doc postgresql postgresql-17 postgresql-client-17 2457s postgresql-client-common postgresql-common postgresql-common-dev 2457s python3-behave python3-click python3-coverage python3-dateutil python3-parse 2457s python3-parse-type python3-prettytable python3-psutil python3-psycopg2 2457s python3-pysyncobj python3-six python3-wcwidth python3-ydiff 2457s sphinx-rtd-theme-common ssl-cert 2457s 0 upgraded, 37 newly installed, 0 to remove and 0 not upgraded. 2457s Need to get 53.5 MB of archives. 2457s After this operation, 228 MB of additional disk space will be used. 2457s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 fonts-lato all 2.015-1 [2781 kB] 2458s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 libjson-perl all 4.10000-1 [81.9 kB] 2458s Get:3 http://ftpmaster.internal/ubuntu plucky/main arm64 postgresql-client-common all 274 [47.6 kB] 2458s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 libio-pty-perl arm64 1:1.20-1build3 [31.3 kB] 2458s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 libipc-run-perl all 20231003.0-2 [91.5 kB] 2458s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 postgresql-common-dev all 274 [73.0 kB] 2458s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 ssl-cert all 1.1.3ubuntu1 [18.7 kB] 2458s Get:8 http://ftpmaster.internal/ubuntu plucky/main arm64 postgresql-common all 274 [101 kB] 2458s Get:9 http://ftpmaster.internal/ubuntu plucky/main arm64 fonts-font-awesome all 5.0.10+really4.7.0~dfsg-4.1 [516 kB] 2458s Get:10 http://ftpmaster.internal/ubuntu plucky/main arm64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 2458s Get:11 http://ftpmaster.internal/ubuntu plucky/main arm64 libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 2458s Get:12 http://ftpmaster.internal/ubuntu plucky/main arm64 libjs-sphinxdoc all 8.1.3-5 [31.0 kB] 2458s Get:13 http://ftpmaster.internal/ubuntu plucky/main arm64 libllvm20 arm64 1:20.1.0~+rc3-1~exp1ubuntu1 [29.1 MB] 2460s Get:14 http://ftpmaster.internal/ubuntu plucky/main arm64 libpq5 arm64 17.4-1 [142 kB] 2460s Get:15 http://ftpmaster.internal/ubuntu plucky/main arm64 libtime-duration-perl all 1.21-2 [12.3 kB] 2460s Get:16 http://ftpmaster.internal/ubuntu plucky/main arm64 libtimedate-perl all 2.3300-2 [34.0 kB] 2460s Get:17 http://ftpmaster.internal/ubuntu plucky/main arm64 libxslt1.1 arm64 1.1.39-0exp1ubuntu4 [168 kB] 2460s Get:18 http://ftpmaster.internal/ubuntu plucky/universe arm64 moreutils arm64 0.69-1 [56.7 kB] 2460s Get:19 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-click all 8.2.0+0.really.8.1.8-1 [80.0 kB] 2460s Get:20 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-dateutil all 2.9.0-4 [80.3 kB] 2460s Get:21 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-wcwidth all 0.2.13+dfsg1-1 [26.3 kB] 2460s Get:22 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-prettytable all 3.12.0-1 [36.5 kB] 2460s Get:23 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-psutil arm64 5.9.8-2build3 [196 kB] 2460s Get:24 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-ydiff all 1.4.2-1 [19.0 kB] 2460s Get:25 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-psycopg2 arm64 2.9.10-1build1 [133 kB] 2460s Get:26 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pysyncobj all 0.3.14-2 [61.9 kB] 2460s Get:27 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 patroni all 4.0.4-8 [282 kB] 2460s Get:28 http://ftpmaster.internal/ubuntu plucky/main arm64 sphinx-rtd-theme-common all 3.0.2+dfsg-2 [1014 kB] 2460s Get:29 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 patroni-doc all 4.0.4-8 [526 kB] 2460s Get:30 http://ftpmaster.internal/ubuntu plucky/main arm64 postgresql-client-17 arm64 17.4-1 [1342 kB] 2461s Get:31 http://ftpmaster.internal/ubuntu plucky/main arm64 postgresql-17 arm64 17.4-1 [15.6 MB] 2462s Get:32 http://ftpmaster.internal/ubuntu plucky/main arm64 postgresql all 17+274 [14.4 kB] 2462s Get:33 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-parse all 1.20.2-1 [27.0 kB] 2462s Get:34 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-parse-type all 0.6.4-2 [23.5 kB] 2462s Get:35 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-six all 1.17.0-1 [13.2 kB] 2462s Get:36 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-behave all 1.2.6-6 [98.6 kB] 2462s Get:37 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-coverage arm64 7.6.0+dfsg1-2build1 [153 kB] 2462s Preconfiguring packages ... 2462s /var/cache/debconf/tmp.ci/postgresql.config.JUFKX5: 12: pg_lsclusters: not found 2463s Fetched 53.5 MB in 4s (12.0 MB/s) 2463s Selecting previously unselected package fonts-lato. 2463s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 117732 files and directories currently installed.) 2463s Preparing to unpack .../00-fonts-lato_2.015-1_all.deb ... 2463s Unpacking fonts-lato (2.015-1) ... 2463s Selecting previously unselected package libjson-perl. 2463s Preparing to unpack .../01-libjson-perl_4.10000-1_all.deb ... 2463s Unpacking libjson-perl (4.10000-1) ... 2463s Selecting previously unselected package postgresql-client-common. 2463s Preparing to unpack .../02-postgresql-client-common_274_all.deb ... 2463s Unpacking postgresql-client-common (274) ... 2463s Selecting previously unselected package libio-pty-perl. 2463s Preparing to unpack .../03-libio-pty-perl_1%3a1.20-1build3_arm64.deb ... 2463s Unpacking libio-pty-perl (1:1.20-1build3) ... 2463s Selecting previously unselected package libipc-run-perl. 2463s Preparing to unpack .../04-libipc-run-perl_20231003.0-2_all.deb ... 2463s Unpacking libipc-run-perl (20231003.0-2) ... 2463s Selecting previously unselected package postgresql-common-dev. 2463s Preparing to unpack .../05-postgresql-common-dev_274_all.deb ... 2463s Unpacking postgresql-common-dev (274) ... 2463s Selecting previously unselected package ssl-cert. 2463s Preparing to unpack .../06-ssl-cert_1.1.3ubuntu1_all.deb ... 2463s Unpacking ssl-cert (1.1.3ubuntu1) ... 2463s Selecting previously unselected package postgresql-common. 2463s Preparing to unpack .../07-postgresql-common_274_all.deb ... 2463s Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by postgresql-common' 2463s Unpacking postgresql-common (274) ... 2464s Selecting previously unselected package fonts-font-awesome. 2464s Preparing to unpack .../08-fonts-font-awesome_5.0.10+really4.7.0~dfsg-4.1_all.deb ... 2464s Unpacking fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 2464s Selecting previously unselected package libjs-jquery. 2464s Preparing to unpack .../09-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 2464s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 2464s Selecting previously unselected package libjs-underscore. 2464s Preparing to unpack .../10-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 2464s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 2464s Selecting previously unselected package libjs-sphinxdoc. 2464s Preparing to unpack .../11-libjs-sphinxdoc_8.1.3-5_all.deb ... 2464s Unpacking libjs-sphinxdoc (8.1.3-5) ... 2464s Selecting previously unselected package libllvm20:arm64. 2464s Preparing to unpack .../12-libllvm20_1%3a20.1.0~+rc3-1~exp1ubuntu1_arm64.deb ... 2464s Unpacking libllvm20:arm64 (1:20.1.0~+rc3-1~exp1ubuntu1) ... 2465s Selecting previously unselected package libpq5:arm64. 2465s Preparing to unpack .../13-libpq5_17.4-1_arm64.deb ... 2465s Unpacking libpq5:arm64 (17.4-1) ... 2465s Selecting previously unselected package libtime-duration-perl. 2465s Preparing to unpack .../14-libtime-duration-perl_1.21-2_all.deb ... 2465s Unpacking libtime-duration-perl (1.21-2) ... 2465s Selecting previously unselected package libtimedate-perl. 2465s Preparing to unpack .../15-libtimedate-perl_2.3300-2_all.deb ... 2465s Unpacking libtimedate-perl (2.3300-2) ... 2465s Selecting previously unselected package libxslt1.1:arm64. 2465s Preparing to unpack .../16-libxslt1.1_1.1.39-0exp1ubuntu4_arm64.deb ... 2465s Unpacking libxslt1.1:arm64 (1.1.39-0exp1ubuntu4) ... 2465s Selecting previously unselected package moreutils. 2465s Preparing to unpack .../17-moreutils_0.69-1_arm64.deb ... 2465s Unpacking moreutils (0.69-1) ... 2465s Selecting previously unselected package python3-click. 2465s Preparing to unpack .../18-python3-click_8.2.0+0.really.8.1.8-1_all.deb ... 2465s Unpacking python3-click (8.2.0+0.really.8.1.8-1) ... 2465s Selecting previously unselected package python3-dateutil. 2465s Preparing to unpack .../19-python3-dateutil_2.9.0-4_all.deb ... 2465s Unpacking python3-dateutil (2.9.0-4) ... 2465s Selecting previously unselected package python3-wcwidth. 2466s Preparing to unpack .../20-python3-wcwidth_0.2.13+dfsg1-1_all.deb ... 2466s Unpacking python3-wcwidth (0.2.13+dfsg1-1) ... 2466s Selecting previously unselected package python3-prettytable. 2466s Preparing to unpack .../21-python3-prettytable_3.12.0-1_all.deb ... 2466s Unpacking python3-prettytable (3.12.0-1) ... 2466s Selecting previously unselected package python3-psutil. 2466s Preparing to unpack .../22-python3-psutil_5.9.8-2build3_arm64.deb ... 2466s Unpacking python3-psutil (5.9.8-2build3) ... 2466s Selecting previously unselected package python3-ydiff. 2466s Preparing to unpack .../23-python3-ydiff_1.4.2-1_all.deb ... 2466s Unpacking python3-ydiff (1.4.2-1) ... 2466s Selecting previously unselected package python3-psycopg2. 2466s Preparing to unpack .../24-python3-psycopg2_2.9.10-1build1_arm64.deb ... 2466s Unpacking python3-psycopg2 (2.9.10-1build1) ... 2466s Selecting previously unselected package python3-pysyncobj. 2466s Preparing to unpack .../25-python3-pysyncobj_0.3.14-2_all.deb ... 2466s Unpacking python3-pysyncobj (0.3.14-2) ... 2466s Selecting previously unselected package patroni. 2466s Preparing to unpack .../26-patroni_4.0.4-8_all.deb ... 2466s Unpacking patroni (4.0.4-8) ... 2466s Selecting previously unselected package sphinx-rtd-theme-common. 2466s Preparing to unpack .../27-sphinx-rtd-theme-common_3.0.2+dfsg-2_all.deb ... 2466s Unpacking sphinx-rtd-theme-common (3.0.2+dfsg-2) ... 2466s Selecting previously unselected package patroni-doc. 2466s Preparing to unpack .../28-patroni-doc_4.0.4-8_all.deb ... 2466s Unpacking patroni-doc (4.0.4-8) ... 2466s Selecting previously unselected package postgresql-client-17. 2466s Preparing to unpack .../29-postgresql-client-17_17.4-1_arm64.deb ... 2466s Unpacking postgresql-client-17 (17.4-1) ... 2466s Selecting previously unselected package postgresql-17. 2466s Preparing to unpack .../30-postgresql-17_17.4-1_arm64.deb ... 2466s Unpacking postgresql-17 (17.4-1) ... 2467s Selecting previously unselected package postgresql. 2467s Preparing to unpack .../31-postgresql_17+274_all.deb ... 2467s Unpacking postgresql (17+274) ... 2467s Selecting previously unselected package python3-parse. 2467s Preparing to unpack .../32-python3-parse_1.20.2-1_all.deb ... 2467s Unpacking python3-parse (1.20.2-1) ... 2467s Selecting previously unselected package python3-parse-type. 2467s Preparing to unpack .../33-python3-parse-type_0.6.4-2_all.deb ... 2467s Unpacking python3-parse-type (0.6.4-2) ... 2467s Selecting previously unselected package python3-six. 2467s Preparing to unpack .../34-python3-six_1.17.0-1_all.deb ... 2467s Unpacking python3-six (1.17.0-1) ... 2467s Selecting previously unselected package python3-behave. 2467s Preparing to unpack .../35-python3-behave_1.2.6-6_all.deb ... 2467s Unpacking python3-behave (1.2.6-6) ... 2467s Selecting previously unselected package python3-coverage. 2467s Preparing to unpack .../36-python3-coverage_7.6.0+dfsg1-2build1_arm64.deb ... 2467s Unpacking python3-coverage (7.6.0+dfsg1-2build1) ... 2467s Setting up postgresql-client-common (274) ... 2467s Setting up fonts-lato (2.015-1) ... 2467s Setting up libio-pty-perl (1:1.20-1build3) ... 2467s Setting up python3-pysyncobj (0.3.14-2) ... 2467s Setting up python3-ydiff (1.4.2-1) ... 2468s Setting up libpq5:arm64 (17.4-1) ... 2468s Setting up python3-coverage (7.6.0+dfsg1-2build1) ... 2468s Setting up python3-click (8.2.0+0.really.8.1.8-1) ... 2468s Setting up python3-psutil (5.9.8-2build3) ... 2468s Setting up python3-six (1.17.0-1) ... 2469s Setting up python3-wcwidth (0.2.13+dfsg1-1) ... 2469s Setting up ssl-cert (1.1.3ubuntu1) ... 2469s Created symlink '/etc/systemd/system/multi-user.target.wants/ssl-cert.service' → '/usr/lib/systemd/system/ssl-cert.service'. 2470s Setting up libllvm20:arm64 (1:20.1.0~+rc3-1~exp1ubuntu1) ... 2470s Setting up python3-psycopg2 (2.9.10-1build1) ... 2470s Setting up libipc-run-perl (20231003.0-2) ... 2470s Setting up libtime-duration-perl (1.21-2) ... 2470s Setting up libtimedate-perl (2.3300-2) ... 2470s Setting up python3-parse (1.20.2-1) ... 2470s Setting up libjson-perl (4.10000-1) ... 2470s Setting up libxslt1.1:arm64 (1.1.39-0exp1ubuntu4) ... 2470s Setting up python3-dateutil (2.9.0-4) ... 2471s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 2471s Setting up python3-prettytable (3.12.0-1) ... 2471s Setting up fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... 2471s Setting up sphinx-rtd-theme-common (3.0.2+dfsg-2) ... 2471s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 2471s Setting up postgresql-common-dev (274) ... 2471s Setting up moreutils (0.69-1) ... 2471s Setting up postgresql-client-17 (17.4-1) ... 2472s update-alternatives: using /usr/share/postgresql/17/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode 2472s Setting up python3-parse-type (0.6.4-2) ... 2472s Setting up postgresql-common (274) ... 2473s Creating config file /etc/postgresql-common/createcluster.conf with new version 2473s Building PostgreSQL dictionaries from installed myspell/hunspell packages... 2473s Removing obsolete dictionary files: 2474s Created symlink '/etc/systemd/system/multi-user.target.wants/postgresql.service' → '/usr/lib/systemd/system/postgresql.service'. 2474s Setting up libjs-sphinxdoc (8.1.3-5) ... 2474s Setting up python3-behave (1.2.6-6) ... 2475s /usr/lib/python3/dist-packages/behave/formatter/ansi_escapes.py:57: SyntaxWarning: invalid escape sequence '\[' 2475s _ANSI_ESCAPE_PATTERN = re.compile(u"\x1b\[\d+[mA]", re.UNICODE) 2475s /usr/lib/python3/dist-packages/behave/matchers.py:284: SyntaxWarning: invalid escape sequence '\d' 2475s @parse.with_pattern(r"\d+") 2475s Setting up patroni (4.0.4-8) ... 2475s Created symlink '/etc/systemd/system/multi-user.target.wants/patroni.service' → '/usr/lib/systemd/system/patroni.service'. 2476s Setting up postgresql-17 (17.4-1) ... 2477s Creating new PostgreSQL cluster 17/main ... 2478s /usr/lib/postgresql/17/bin/initdb -D /var/lib/postgresql/17/main --auth-local peer --auth-host scram-sha-256 --no-instructions 2478s The files belonging to this database system will be owned by user "postgres". 2478s This user must also own the server process. 2478s 2478s The database cluster will be initialized with locale "C.UTF-8". 2478s The default database encoding has accordingly been set to "UTF8". 2478s The default text search configuration will be set to "english". 2478s 2478s Data page checksums are disabled. 2478s 2478s fixing permissions on existing directory /var/lib/postgresql/17/main ... ok 2478s creating subdirectories ... ok 2478s selecting dynamic shared memory implementation ... posix 2478s selecting default "max_connections" ... 100 2478s selecting default "shared_buffers" ... 128MB 2478s selecting default time zone ... Etc/UTC 2478s creating configuration files ... ok 2478s running bootstrap script ... ok 2479s performing post-bootstrap initialization ... ok 2479s syncing data to disk ... ok 2482s Setting up patroni-doc (4.0.4-8) ... 2482s Setting up postgresql (17+274) ... 2482s Processing triggers for man-db (2.13.0-1) ... 2484s Processing triggers for libc-bin (2.41-1ubuntu2) ... 2486s autopkgtest [13:47:07]: test acceptance-raft: debian/tests/acceptance raft 2486s autopkgtest [13:47:07]: test acceptance-raft: [----------------------- 2487s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 2487s ++ ls -1r /usr/lib/postgresql/ 2487s ### PostgreSQL 17 acceptance-raft ### 2487s + for PG_VERSION in $(ls -1r /usr/lib/postgresql/) 2487s + '[' 17 == 10 -o 17 == 11 ']' 2487s + echo '### PostgreSQL 17 acceptance-raft ###' 2487s + bash -c 'set -o pipefail; ETCD_UNSUPPORTED_ARCH=arm64 DCS=raft PATH=/usr/lib/postgresql/17/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin behave | ts' 2493s Mar 22 13:47:14 Feature: basic replication # features/basic_replication.feature:1 2493s Mar 22 13:47:14 We should check that the basic bootstrapping, replication and failover works. 2493s Mar 22 13:47:14 Scenario: check replication of a single table # features/basic_replication.feature:4 2493s Mar 22 13:47:14 Given I start postgres-0 # features/steps/basic_replication.py:20 2497s Mar 22 13:47:18 Then postgres-0 is a leader after 10 seconds # features/steps/patroni_api.py:31 2497s Mar 22 13:47:18 And there is a non empty initialize key in DCS after 15 seconds # features/steps/cascading_replication.py:41 2497s Mar 22 13:47:18 When I issue a PATCH request to http://127.0.0.1:8008/config with {"ttl": 20, "synchronous_mode": true} # features/steps/patroni_api.py:73 2497s Mar 22 13:47:18 Then I receive a response code 200 # features/steps/patroni_api.py:100 2497s Mar 22 13:47:18 When I start postgres-1 # features/steps/basic_replication.py:20 2508s Mar 22 13:47:29 And I configure and start postgres-2 with a tag replicatefrom postgres-0 # features/steps/cascading_replication.py:7 2512s Mar 22 13:47:33 And "sync" key in DCS has leader=postgres-0 after 20 seconds # features/steps/cascading_replication.py:23 2512s Mar 22 13:47:33 And I add the table foo to postgres-0 # features/steps/basic_replication.py:66 2512s Mar 22 13:47:33 Then table foo is present on postgres-1 after 20 seconds # features/steps/basic_replication.py:105 2513s Mar 22 13:47:34 Then table foo is present on postgres-2 after 20 seconds # features/steps/basic_replication.py:105 2513s Mar 22 13:47:34 2513s Mar 22 13:47:34 Scenario: check restart of sync replica # features/basic_replication.feature:17 2513s Mar 22 13:47:34 Given I shut down postgres-2 # features/steps/basic_replication.py:41 2514s Mar 22 13:47:35 Then "sync" key in DCS has sync_standby=postgres-1 after 5 seconds # features/steps/cascading_replication.py:23 2514s Mar 22 13:47:35 When I start postgres-2 # features/steps/basic_replication.py:20 2517s Mar 22 13:47:38 And I shut down postgres-1 # features/steps/basic_replication.py:41 2520s Mar 22 13:47:41 Then "sync" key in DCS has sync_standby=postgres-2 after 10 seconds # features/steps/cascading_replication.py:23 2521s Mar 22 13:47:42 When I start postgres-1 # features/steps/basic_replication.py:20 2524s Mar 22 13:47:45 Then "members/postgres-1" key in DCS has state=running after 10 seconds # features/steps/cascading_replication.py:23 2525s Mar 22 13:47:46 And Status code on GET http://127.0.0.1:8010/sync is 200 after 3 seconds # features/steps/patroni_api.py:144 2525s Mar 22 13:47:46 And Status code on GET http://127.0.0.1:8009/async is 200 after 3 seconds # features/steps/patroni_api.py:144 2525s Mar 22 13:47:46 2525s Mar 22 13:47:46 Scenario: check stuck sync replica # features/basic_replication.feature:28 2525s Mar 22 13:47:46 Given I issue a PATCH request to http://127.0.0.1:8008/config with {"pause": true, "maximum_lag_on_syncnode": 15000000, "postgresql": {"parameters": {"synchronous_commit": "remote_apply"}}} # features/steps/patroni_api.py:73 2525s Mar 22 13:47:46 Then I receive a response code 200 # features/steps/patroni_api.py:100 2525s Mar 22 13:47:46 And I create table on postgres-0 # features/steps/basic_replication.py:85 2525s Mar 22 13:47:46 And table mytest is present on postgres-1 after 2 seconds # features/steps/basic_replication.py:105 2526s Mar 22 13:47:47 And table mytest is present on postgres-2 after 2 seconds # features/steps/basic_replication.py:105 2526s Mar 22 13:47:47 When I pause wal replay on postgres-2 # features/steps/basic_replication.py:76 2526s Mar 22 13:47:47 And I load data on postgres-0 # features/steps/basic_replication.py:96 2527s Mar 22 13:47:48 Then "sync" key in DCS has sync_standby=postgres-1 after 15 seconds # features/steps/cascading_replication.py:23 2530s Mar 22 13:47:51 And I resume wal replay on postgres-2 # features/steps/basic_replication.py:76 2530s Mar 22 13:47:51 And Status code on GET http://127.0.0.1:8009/sync is 200 after 3 seconds # features/steps/patroni_api.py:144 2530s Mar 22 13:47:51 And Status code on GET http://127.0.0.1:8010/async is 200 after 3 seconds # features/steps/patroni_api.py:144 2530s Mar 22 13:47:51 When I issue a PATCH request to http://127.0.0.1:8008/config with {"pause": null, "maximum_lag_on_syncnode": -1, "postgresql": {"parameters": {"synchronous_commit": "on"}}} # features/steps/patroni_api.py:73 2530s Mar 22 13:47:51 Then I receive a response code 200 # features/steps/patroni_api.py:100 2530s Mar 22 13:47:51 And I drop table on postgres-0 # features/steps/basic_replication.py:85 2530s Mar 22 13:47:51 2530s Mar 22 13:47:51 Scenario: check multi sync replication # features/basic_replication.feature:44 2530s Mar 22 13:47:51 Given I issue a PATCH request to http://127.0.0.1:8008/config with {"synchronous_node_count": 2} # features/steps/patroni_api.py:73 2530s Mar 22 13:47:51 Then I receive a response code 200 # features/steps/patroni_api.py:100 2530s Mar 22 13:47:51 Then "sync" key in DCS has sync_standby=postgres-1,postgres-2 after 10 seconds # features/steps/cascading_replication.py:23 2534s Mar 22 13:47:55 And Status code on GET http://127.0.0.1:8010/sync is 200 after 3 seconds # features/steps/patroni_api.py:144 2534s Mar 22 13:47:55 And Status code on GET http://127.0.0.1:8009/sync is 200 after 3 seconds # features/steps/patroni_api.py:144 2534s Mar 22 13:47:55 When I issue a PATCH request to http://127.0.0.1:8008/config with {"synchronous_node_count": 1} # features/steps/patroni_api.py:73 2534s Mar 22 13:47:55 Then I receive a response code 200 # features/steps/patroni_api.py:100 2534s Mar 22 13:47:55 And I shut down postgres-1 # features/steps/basic_replication.py:41 2537s Mar 22 13:47:58 Then "sync" key in DCS has sync_standby=postgres-2 after 10 seconds # features/steps/cascading_replication.py:23 2538s Mar 22 13:47:59 When I start postgres-1 # features/steps/basic_replication.py:20 2541s Mar 22 13:48:02 Then "members/postgres-1" key in DCS has state=running after 10 seconds # features/steps/cascading_replication.py:23 2542s Mar 22 13:48:03 And Status code on GET http://127.0.0.1:8010/sync is 200 after 3 seconds # features/steps/patroni_api.py:144 2542s Mar 22 13:48:03 And Status code on GET http://127.0.0.1:8009/async is 200 after 3 seconds # features/steps/patroni_api.py:144 2542s Mar 22 13:48:03 2542s Mar 22 13:48:03 Scenario: check the basic failover in synchronous mode # features/basic_replication.feature:59 2542s Mar 22 13:48:03 Given I run patronictl.py pause batman # features/steps/patroni_api.py:88 2544s Mar 22 13:48:05 Then I receive a response returncode 0 # features/steps/patroni_api.py:100 2544s Mar 22 13:48:05 When I sleep for 2 seconds # features/steps/patroni_api.py:41 2546s Mar 22 13:48:07 And I shut down postgres-0 # features/steps/basic_replication.py:41 2547s Mar 22 13:48:08 And I run patronictl.py resume batman # features/steps/patroni_api.py:88 2548s Mar 22 13:48:09 Then I receive a response returncode 0 # features/steps/patroni_api.py:100 2548s Mar 22 13:48:09 And postgres-2 role is the primary after 24 seconds # features/steps/basic_replication.py:117 2568s Mar 22 13:48:29 And Response on GET http://127.0.0.1:8010/history contains recovery after 10 seconds # features/steps/patroni_api.py:158 2568s Mar 22 13:48:29 And there is a postgres-2_cb.log with "on_role_change primary batman" in postgres-2 data directory # features/steps/cascading_replication.py:12 2568s Mar 22 13:48:29 When I issue a PATCH request to http://127.0.0.1:8010/config with {"synchronous_mode": null, "master_start_timeout": 0} # features/steps/patroni_api.py:73 2568s Mar 22 13:48:29 Then I receive a response code 200 # features/steps/patroni_api.py:100 2568s Mar 22 13:48:29 When I add the table bar to postgres-2 # features/steps/basic_replication.py:66 2568s Mar 22 13:48:29 Then table bar is present on postgres-1 after 20 seconds # features/steps/basic_replication.py:105 2568s Mar 22 13:48:29 And Response on GET http://127.0.0.1:8010/config contains master_start_timeout after 10 seconds # features/steps/patroni_api.py:158 2568s Mar 22 13:48:29 2568s Mar 22 13:48:29 Scenario: check rejoin of the former primary with pg_rewind # features/basic_replication.feature:75 2568s Mar 22 13:48:29 Given I add the table splitbrain to postgres-0 # features/steps/basic_replication.py:66 2568s Mar 22 13:48:29 And I start postgres-0 # features/steps/basic_replication.py:20 2568s Mar 22 13:48:29 Then postgres-0 role is the secondary after 20 seconds # features/steps/basic_replication.py:117 2573s Mar 22 13:48:34 When I add the table buz to postgres-2 # features/steps/basic_replication.py:66 2573s Mar 22 13:48:34 Then table buz is present on postgres-0 after 20 seconds # features/steps/basic_replication.py:105 2578s SKIP Scenario check graceful rejection when two nodes have the same name: Flaky test with Raft 2593s Mar 22 13:48:54 2593s Mar 22 13:48:54 @reject-duplicate-name 2593s Mar 22 13:48:54 Scenario: check graceful rejection when two nodes have the same name # features/basic_replication.feature:83 2593s Mar 22 13:48:54 Given I start duplicate postgres-0 on port 8011 # None 2593s Mar 22 13:48:54 Then there is one of ["Can't start; there is already a node named 'postgres-0' running"] CRITICAL in the dup-postgres-0 patroni log after 5 seconds # None 2593s Mar 22 13:48:54 2593s Mar 22 13:48:54 Feature: cascading replication # features/cascading_replication.feature:1 2593s Mar 22 13:48:54 We should check that patroni can do base backup and streaming from the replica 2593s Mar 22 13:48:54 Scenario: check a base backup and streaming replication from a replica # features/cascading_replication.feature:4 2593s Mar 22 13:48:54 Given I start postgres-0 # features/steps/basic_replication.py:20 2602s Mar 22 13:49:03 And postgres-0 is a leader after 10 seconds # features/steps/patroni_api.py:31 2602s Mar 22 13:49:03 And I configure and start postgres-1 with a tag clonefrom true # features/steps/cascading_replication.py:7 2606s Mar 22 13:49:07 And replication works from postgres-0 to postgres-1 after 20 seconds # features/steps/basic_replication.py:124 2607s Mar 22 13:49:08 And I create label with "postgres-0" in postgres-0 data directory # features/steps/cascading_replication.py:18 2607s Mar 22 13:49:08 And I create label with "postgres-1" in postgres-1 data directory # features/steps/cascading_replication.py:18 2607s Mar 22 13:49:08 And "members/postgres-1" key in DCS has state=running after 12 seconds # features/steps/cascading_replication.py:23 2607s Mar 22 13:49:08 And I configure and start postgres-2 with a tag replicatefrom postgres-1 # features/steps/cascading_replication.py:7 2611s Mar 22 13:49:12 Then replication works from postgres-0 to postgres-2 after 30 seconds # features/steps/basic_replication.py:124 2613s Mar 22 13:49:13 And there is a label with "postgres-1" in postgres-2 data directory # features/steps/cascading_replication.py:12 2627s Mar 22 13:49:28 2627s SKIP FEATURE citus: Citus extension isn't available 2627s SKIP Scenario check that worker cluster is registered in the coordinator: Citus extension isn't available 2627s SKIP Scenario coordinator failover updates pg_dist_node: Citus extension isn't available 2627s SKIP Scenario worker switchover doesn't break client queries on the coordinator: Citus extension isn't available 2627s SKIP Scenario worker primary restart doesn't break client queries on the coordinator: Citus extension isn't available 2627s SKIP Scenario check that in-flight transaction is rolled back after timeout when other workers need to change pg_dist_node: Citus extension isn't available 2627s Mar 22 13:49:28 Feature: citus # features/citus.feature:1 2627s Mar 22 13:49:28 We should check that coordinator discovers and registers workers and clients don't have errors when worker cluster switches over 2627s Mar 22 13:49:28 Scenario: check that worker cluster is registered in the coordinator # features/citus.feature:4 2627s Mar 22 13:49:28 Given I start postgres-0 in citus group 0 # None 2627s Mar 22 13:49:28 And I start postgres-2 in citus group 1 # None 2627s Mar 22 13:49:28 Then postgres-0 is a leader in a group 0 after 10 seconds # None 2627s Mar 22 13:49:28 And postgres-2 is a leader in a group 1 after 10 seconds # None 2627s Mar 22 13:49:28 When I start postgres-1 in citus group 0 # None 2627s Mar 22 13:49:28 And I start postgres-3 in citus group 1 # None 2627s Mar 22 13:49:28 Then replication works from postgres-0 to postgres-1 after 15 seconds # None 2627s Mar 22 13:49:28 Then replication works from postgres-2 to postgres-3 after 15 seconds # None 2627s Mar 22 13:49:28 And postgres-0 is registered in the postgres-0 as the primary in group 0 after 5 seconds # None 2627s Mar 22 13:49:28 And postgres-1 is registered in the postgres-0 as the secondary in group 0 after 5 seconds # None 2627s Mar 22 13:49:28 And postgres-2 is registered in the postgres-0 as the primary in group 1 after 5 seconds # None 2627s Mar 22 13:49:28 And postgres-3 is registered in the postgres-0 as the secondary in group 1 after 5 seconds # None 2627s Mar 22 13:49:28 2627s Mar 22 13:49:28 Scenario: coordinator failover updates pg_dist_node # features/citus.feature:18 2627s Mar 22 13:49:28 Given I run patronictl.py failover batman --group 0 --candidate postgres-1 --force # None 2627s Mar 22 13:49:28 Then postgres-1 role is the primary after 10 seconds # None 2627s Mar 22 13:49:28 And "members/postgres-0" key in a group 0 in DCS has state=running after 15 seconds # None 2627s Mar 22 13:49:28 And replication works from postgres-1 to postgres-0 after 15 seconds # None 2627s Mar 22 13:49:28 And postgres-1 is registered in the postgres-2 as the primary in group 0 after 5 seconds # None 2627s Mar 22 13:49:28 And postgres-0 is registered in the postgres-2 as the secondary in group 0 after 15 seconds # None 2627s Mar 22 13:49:28 And "sync" key in a group 0 in DCS has sync_standby=postgres-0 after 15 seconds # None 2627s Mar 22 13:49:28 When I run patronictl.py switchover batman --group 0 --candidate postgres-0 --force # None 2627s Mar 22 13:49:28 Then postgres-0 role is the primary after 10 seconds # None 2627s Mar 22 13:49:28 And replication works from postgres-0 to postgres-1 after 15 seconds # None 2627s Mar 22 13:49:28 And postgres-0 is registered in the postgres-2 as the primary in group 0 after 5 seconds # None 2627s Mar 22 13:49:28 And postgres-1 is registered in the postgres-2 as the secondary in group 0 after 15 seconds # None 2627s Mar 22 13:49:28 And "sync" key in a group 0 in DCS has sync_standby=postgres-1 after 15 seconds # None 2627s Mar 22 13:49:28 2627s Mar 22 13:49:28 Scenario: worker switchover doesn't break client queries on the coordinator # features/citus.feature:33 2627s Mar 22 13:49:28 Given I create a distributed table on postgres-0 # None 2627s Mar 22 13:49:28 And I start a thread inserting data on postgres-0 # None 2627s Mar 22 13:49:28 When I run patronictl.py switchover batman --group 1 --force # None 2627s Mar 22 13:49:28 Then I receive a response returncode 0 # None 2627s Mar 22 13:49:28 And postgres-3 role is the primary after 10 seconds # None 2627s Mar 22 13:49:28 And "members/postgres-2" key in a group 1 in DCS has state=running after 15 seconds # None 2627s Mar 22 13:49:28 And replication works from postgres-3 to postgres-2 after 15 seconds # None 2627s Mar 22 13:49:28 And postgres-3 is registered in the postgres-0 as the primary in group 1 after 5 seconds # None 2627s Mar 22 13:49:28 And postgres-2 is registered in the postgres-0 as the secondary in group 1 after 15 seconds # None 2627s Mar 22 13:49:28 And "sync" key in a group 1 in DCS has sync_standby=postgres-2 after 15 seconds # None 2627s Mar 22 13:49:28 And a thread is still alive # None 2627s Mar 22 13:49:28 When I run patronictl.py switchover batman --group 1 --force # None 2627s Mar 22 13:49:28 Then I receive a response returncode 0 # None 2627s Mar 22 13:49:28 And postgres-2 role is the primary after 10 seconds # None 2627s Mar 22 13:49:28 And replication works from postgres-2 to postgres-3 after 15 seconds # None 2627s Mar 22 13:49:28 And postgres-2 is registered in the postgres-0 as the primary in group 1 after 5 seconds # None 2627s Mar 22 13:49:28 And postgres-3 is registered in the postgres-0 as the secondary in group 1 after 15 seconds # None 2627s Mar 22 13:49:28 And "sync" key in a group 1 in DCS has sync_standby=postgres-3 after 15 seconds # None 2627s Mar 22 13:49:28 And a thread is still alive # None 2627s Mar 22 13:49:28 When I stop a thread # None 2627s Mar 22 13:49:28 Then a distributed table on postgres-0 has expected rows # None 2627s Mar 22 13:49:28 2627s Mar 22 13:49:28 Scenario: worker primary restart doesn't break client queries on the coordinator # features/citus.feature:56 2627s Mar 22 13:49:28 Given I cleanup a distributed table on postgres-0 # None 2627s Mar 22 13:49:28 And I start a thread inserting data on postgres-0 # None 2627s Mar 22 13:49:28 When I run patronictl.py restart batman postgres-2 --group 1 --force # None 2627s Mar 22 13:49:28 Then I receive a response returncode 0 # None 2627s Mar 22 13:49:28 And postgres-2 role is the primary after 10 seconds # None 2627s Mar 22 13:49:28 And replication works from postgres-2 to postgres-3 after 15 seconds # None 2627s Mar 22 13:49:28 And postgres-2 is registered in the postgres-0 as the primary in group 1 after 5 seconds # None 2627s Mar 22 13:49:28 And postgres-3 is registered in the postgres-0 as the secondary in group 1 after 15 seconds # None 2627s Mar 22 13:49:28 And a thread is still alive # None 2627s Mar 22 13:49:28 When I stop a thread # None 2627s Mar 22 13:49:28 Then a distributed table on postgres-0 has expected rows # None 2633s Mar 22 13:49:34 2633s Mar 22 13:49:34 Scenario: check that in-flight transaction is rolled back after timeout when other workers need to change pg_dist_node # features/citus.feature:69 2633s Mar 22 13:49:34 Given I start postgres-4 in citus group 2 # None 2633s Mar 22 13:49:34 Then postgres-4 is a leader in a group 2 after 10 seconds # None 2633s Mar 22 13:49:34 And "members/postgres-4" key in a group 2 in DCS has role=primary after 3 seconds # None 2633s Mar 22 13:49:34 When I run patronictl.py edit-config batman --group 2 -s ttl=20 --force # None 2633s Mar 22 13:49:34 Then I receive a response returncode 0 # None 2633s Mar 22 13:49:34 And I receive a response output "+ttl: 20" # None 2633s Mar 22 13:49:34 Then postgres-4 is registered in the postgres-2 as the primary in group 2 after 5 seconds # None 2633s Mar 22 13:49:34 When I shut down postgres-4 # None 2633s Mar 22 13:49:34 Then there is a transaction in progress on postgres-0 changing pg_dist_node after 5 seconds # None 2633s Mar 22 13:49:34 When I run patronictl.py restart batman postgres-2 --group 1 --force # None 2633s Mar 22 13:49:34 Then a transaction finishes in 20 seconds # None 2633s Mar 22 13:49:34 2633s Mar 22 13:49:34 Feature: custom bootstrap # features/custom_bootstrap.feature:1 2633s Mar 22 13:49:34 We should check that patroni can bootstrap a new cluster from a backup 2633s Mar 22 13:49:34 Scenario: clone existing cluster using pg_basebackup # features/custom_bootstrap.feature:4 2633s Mar 22 13:49:34 Given I start postgres-0 # features/steps/basic_replication.py:20 2637s Mar 22 13:49:38 Then postgres-0 is a leader after 10 seconds # features/steps/patroni_api.py:31 2638s Mar 22 13:49:39 When I add the table foo to postgres-0 # features/steps/basic_replication.py:66 2638s Mar 22 13:49:39 And I start postgres-1 in a cluster batman1 as a clone of postgres-0 # features/steps/custom_bootstrap.py:6 2644s Mar 22 13:49:45 Then postgres-1 is a leader of batman1 after 10 seconds # features/steps/custom_bootstrap.py:16 2645s Mar 22 13:49:46 Then table foo is present on postgres-1 after 10 seconds # features/steps/basic_replication.py:105 2645s Mar 22 13:49:46 2645s Mar 22 13:49:46 Scenario: make a backup and do a restore into a new cluster # features/custom_bootstrap.feature:12 2645s Mar 22 13:49:46 Given I add the table bar to postgres-1 # features/steps/basic_replication.py:66 2645s Mar 22 13:49:46 And I do a backup of postgres-1 # features/steps/custom_bootstrap.py:25 2645s Mar 22 13:49:46 When I start postgres-2 in a cluster batman2 from backup # features/steps/custom_bootstrap.py:11 2652s Mar 22 13:49:53 Then postgres-2 is a leader of batman2 after 30 seconds # features/steps/custom_bootstrap.py:16 2653s Mar 22 13:49:54 And table bar is present on postgres-2 after 10 seconds # features/steps/basic_replication.py:105 2669s Mar 22 13:50:10 2669s Mar 22 13:50:10 Feature: dcs failsafe mode # features/dcs_failsafe_mode.feature:1 2669s Mar 22 13:50:10 We should check the basic dcs failsafe mode functioning 2669s Mar 22 13:50:10 Scenario: check failsafe mode can be successfully enabled # features/dcs_failsafe_mode.feature:4 2669s Mar 22 13:50:10 Given I start postgres-0 # features/steps/basic_replication.py:20 2672s Mar 22 13:50:13 And postgres-0 is a leader after 10 seconds # features/steps/patroni_api.py:31 2672s Mar 22 13:50:13 Then "config" key in DCS has ttl=30 after 10 seconds # features/steps/cascading_replication.py:23 2672s Mar 22 13:50:13 When I issue a PATCH request to http://127.0.0.1:8008/config with {"loop_wait": 2, "ttl": 20, "retry_timeout": 3, "failsafe_mode": true} # features/steps/patroni_api.py:73 2672s Mar 22 13:50:13 Then I receive a response code 200 # features/steps/patroni_api.py:100 2672s Mar 22 13:50:13 And Response on GET http://127.0.0.1:8008/failsafe contains postgres-0 after 10 seconds # features/steps/patroni_api.py:158 2672s Mar 22 13:50:13 When I issue a GET request to http://127.0.0.1:8008/failsafe # features/steps/patroni_api.py:63 2672s Mar 22 13:50:13 Then I receive a response code 200 # features/steps/patroni_api.py:100 2672s Mar 22 13:50:13 And I receive a response postgres-0 http://127.0.0.1:8008/patroni # features/steps/patroni_api.py:100 2672s Mar 22 13:50:13 When I issue a PATCH request to http://127.0.0.1:8008/config with {"postgresql": {"parameters": {"wal_level": "logical"}},"slots":{"dcs_slot_1": null,"postgres_0":null}} # features/steps/patroni_api.py:73 2672s Mar 22 13:50:13 Then I receive a response code 200 # features/steps/patroni_api.py:100 2672s Mar 22 13:50:13 When I issue a PATCH request to http://127.0.0.1:8008/config with {"slots": {"dcs_slot_0": {"type": "logical", "database": "postgres", "plugin": "test_decoding"}}} # features/steps/patroni_api.py:73 2672s Mar 22 13:50:13 Then I receive a response code 200 # features/steps/patroni_api.py:100 2672s Mar 22 13:50:13 2672s Mar 22 13:50:13 @dcs-failsafe 2672s Mar 22 13:50:13 Scenario: check one-node cluster is functioning while DCS is down # features/dcs_failsafe_mode.feature:20 2672s Mar 22 13:50:13 Given DCS is down # features/steps/dcs_failsafe_mode.py:4 2672s Mar 22 13:50:13 Then Response on GET http://127.0.0.1:8008/primary contains failsafe_mode_is_active after 12 seconds # features/steps/patroni_api.py:158 2676s Mar 22 13:50:17 And postgres-0 role is the primary after 10 seconds # features/steps/basic_replication.py:117 2676s Mar 22 13:50:17 2676s Mar 22 13:50:17 @dcs-failsafe 2676s Mar 22 13:50:17 Scenario: check new replica isn't promoted when leader is down and DCS is up # features/dcs_failsafe_mode.feature:26 2676s Mar 22 13:50:17 Given DCS is up # features/steps/dcs_failsafe_mode.py:9 2676s Mar 22 13:50:17 When I do a backup of postgres-0 # features/steps/custom_bootstrap.py:25 2677s Mar 22 13:50:18 And I shut down postgres-0 # features/steps/basic_replication.py:41 2679s Mar 22 13:50:20 When I start postgres-1 in a cluster batman from backup with no_leader # features/steps/dcs_failsafe_mode.py:14 2682s Mar 22 13:50:23 Then postgres-1 role is the replica after 12 seconds # features/steps/basic_replication.py:117 2682s Mar 22 13:50:23 2682s Mar 22 13:50:23 Scenario: check leader and replica are both in /failsafe key after leader is back # features/dcs_failsafe_mode.feature:33 2682s Mar 22 13:50:23 Given I start postgres-0 # features/steps/basic_replication.py:20 2685s Mar 22 13:50:26 And I start postgres-1 # features/steps/basic_replication.py:20 2685s Mar 22 13:50:26 Then "members/postgres-0" key in DCS has state=running after 10 seconds # features/steps/cascading_replication.py:23 2686s Mar 22 13:50:27 And "members/postgres-1" key in DCS has state=running after 2 seconds # features/steps/cascading_replication.py:23 2686s Mar 22 13:50:27 And Response on GET http://127.0.0.1:8009/failsafe contains postgres-1 after 10 seconds # features/steps/patroni_api.py:158 2690s Mar 22 13:50:31 When I issue a GET request to http://127.0.0.1:8009/failsafe # features/steps/patroni_api.py:63 2690s Mar 22 13:50:31 Then I receive a response code 200 # features/steps/patroni_api.py:100 2690s Mar 22 13:50:31 And I receive a response postgres-0 http://127.0.0.1:8008/patroni # features/steps/patroni_api.py:100 2690s Mar 22 13:50:31 And I receive a response postgres-1 http://127.0.0.1:8009/patroni # features/steps/patroni_api.py:100 2690s Mar 22 13:50:31 2690s Mar 22 13:50:31 @dcs-failsafe @slot-advance 2690s Mar 22 13:50:31 Scenario: check leader and replica are functioning while DCS is down # features/dcs_failsafe_mode.feature:46 2690s Mar 22 13:50:31 Given I get all changes from physical slot dcs_slot_1 on postgres-0 # features/steps/slots.py:77 2690s Mar 22 13:50:31 Then physical slot dcs_slot_1 is in sync between postgres-0 and postgres-1 after 10 seconds # features/steps/slots.py:52 2693s Mar 22 13:50:34 And logical slot dcs_slot_0 is in sync between postgres-0 and postgres-1 after 10 seconds # features/steps/slots.py:52 2693s Mar 22 13:50:34 And DCS is down # features/steps/dcs_failsafe_mode.py:4 2693s Mar 22 13:50:34 Then Response on GET http://127.0.0.1:8008/primary contains failsafe_mode_is_active after 12 seconds # features/steps/patroni_api.py:158 2698s Mar 22 13:50:39 Then postgres-0 role is the primary after 10 seconds # features/steps/basic_replication.py:117 2698s Mar 22 13:50:39 And postgres-1 role is the replica after 2 seconds # features/steps/basic_replication.py:117 2698s Mar 22 13:50:39 And replication works from postgres-0 to postgres-1 after 10 seconds # features/steps/basic_replication.py:124 2698s Mar 22 13:50:39 When I get all changes from logical slot dcs_slot_0 on postgres-0 # features/steps/slots.py:72 2698s Mar 22 13:50:39 And I get all changes from physical slot dcs_slot_1 on postgres-0 # features/steps/slots.py:77 2698s Mar 22 13:50:39 Then logical slot dcs_slot_0 is in sync between postgres-0 and postgres-1 after 20 seconds # features/steps/slots.py:52 2705s Mar 22 13:50:46 And physical slot dcs_slot_1 is in sync between postgres-0 and postgres-1 after 10 seconds # features/steps/slots.py:52 2705s Mar 22 13:50:46 2705s Mar 22 13:50:46 @dcs-failsafe 2705s Mar 22 13:50:46 Scenario: check primary is demoted when one replica is shut down and DCS is down # features/dcs_failsafe_mode.feature:61 2705s Mar 22 13:50:46 Given DCS is down # features/steps/dcs_failsafe_mode.py:4 2705s Mar 22 13:50:46 And I kill postgres-1 # features/steps/basic_replication.py:46 2706s Mar 22 13:50:47 And I kill postmaster on postgres-1 # features/steps/basic_replication.py:56 2706s Mar 22 13:50:47 waiting for server to shut down.... done 2706s Mar 22 13:50:47 server stopped 2706s Mar 22 13:50:47 Then postgres-0 role is the replica after 12 seconds # features/steps/basic_replication.py:117 2708s Mar 22 13:50:49 2708s Mar 22 13:50:49 @dcs-failsafe 2708s Mar 22 13:50:49 Scenario: check known replica is promoted when leader is down and DCS is up # features/dcs_failsafe_mode.feature:68 2708s Mar 22 13:50:49 Given I kill postgres-0 # features/steps/basic_replication.py:46 2709s Mar 22 13:50:50 And I shut down postmaster on postgres-0 # features/steps/basic_replication.py:51 2709s Mar 22 13:50:50 waiting for server to shut down.... done 2709s Mar 22 13:50:50 server stopped 2709s Mar 22 13:50:50 And DCS is up # features/steps/dcs_failsafe_mode.py:9 2709s Mar 22 13:50:50 When I start postgres-1 # features/steps/basic_replication.py:20 2713s Mar 22 13:50:54 Then "members/postgres-1" key in DCS has state=running after 10 seconds # features/steps/cascading_replication.py:23 2713s Mar 22 13:50:54 And postgres-1 role is the primary after 25 seconds # features/steps/basic_replication.py:117 2715s Mar 22 13:50:56 2715s Mar 22 13:50:56 @dcs-failsafe 2715s Mar 22 13:50:56 Scenario: scale to three-node cluster # features/dcs_failsafe_mode.feature:77 2715s Mar 22 13:50:56 Given I start postgres-0 # features/steps/basic_replication.py:20 2719s Mar 22 13:51:00 And I configure and start postgres-2 with a tag replicatefrom postgres-0 # features/steps/cascading_replication.py:7 2724s Mar 22 13:51:05 Then "members/postgres-2" key in DCS has state=running after 10 seconds # features/steps/cascading_replication.py:23 2726s Mar 22 13:51:07 And "members/postgres-0" key in DCS has state=running after 20 seconds # features/steps/cascading_replication.py:23 2726s Mar 22 13:51:07 And Response on GET http://127.0.0.1:8008/failsafe contains postgres-2 after 10 seconds # features/steps/patroni_api.py:158 2726s Mar 22 13:51:07 And replication works from postgres-1 to postgres-0 after 10 seconds # features/steps/basic_replication.py:124 2727s Mar 22 13:51:08 And replication works from postgres-1 to postgres-2 after 10 seconds # features/steps/basic_replication.py:124 2727s Mar 22 13:51:08 2727s Mar 22 13:51:08 @dcs-failsafe @slot-advance 2727s Mar 22 13:51:08 Scenario: make sure permanent slots exist on replicas # features/dcs_failsafe_mode.feature:88 2727s Mar 22 13:51:08 Given I issue a PATCH request to http://127.0.0.1:8009/config with {"slots":{"dcs_slot_0":null,"dcs_slot_2":{"type":"logical","database":"postgres","plugin":"test_decoding"}}} # features/steps/patroni_api.py:73 2727s Mar 22 13:51:08 Then logical slot dcs_slot_2 is in sync between postgres-1 and postgres-0 after 20 seconds # features/steps/slots.py:52 2733s Mar 22 13:51:14 And logical slot dcs_slot_2 is in sync between postgres-1 and postgres-2 after 20 seconds # features/steps/slots.py:52 2734s Mar 22 13:51:15 When I get all changes from physical slot dcs_slot_1 on postgres-1 # features/steps/slots.py:77 2734s Mar 22 13:51:15 Then physical slot dcs_slot_1 is in sync between postgres-1 and postgres-0 after 10 seconds # features/steps/slots.py:52 2735s Mar 22 13:51:16 And physical slot dcs_slot_1 is in sync between postgres-1 and postgres-2 after 10 seconds # features/steps/slots.py:52 2735s Mar 22 13:51:16 And physical slot postgres_0 is in sync between postgres-1 and postgres-2 after 10 seconds # features/steps/slots.py:52 2735s Mar 22 13:51:16 And physical slot postgres_2 is in sync between postgres-0 and postgres-1 after 10 seconds # features/steps/slots.py:52 2736s Mar 22 13:51:16 2736s Mar 22 13:51:16 @dcs-failsafe 2736s Mar 22 13:51:16 Scenario: check three-node cluster is functioning while DCS is down # features/dcs_failsafe_mode.feature:99 2736s Mar 22 13:51:16 Given DCS is down # features/steps/dcs_failsafe_mode.py:4 2736s Mar 22 13:51:16 Then Response on GET http://127.0.0.1:8009/primary contains failsafe_mode_is_active after 12 seconds # features/steps/patroni_api.py:158 2741s Mar 22 13:51:22 Then postgres-1 role is the primary after 10 seconds # features/steps/basic_replication.py:117 2741s Mar 22 13:51:22 And postgres-0 role is the replica after 2 seconds # features/steps/basic_replication.py:117 2741s Mar 22 13:51:22 And postgres-2 role is the replica after 2 seconds # features/steps/basic_replication.py:117 2741s Mar 22 13:51:22 2741s Mar 22 13:51:22 @dcs-failsafe @slot-advance 2741s Mar 22 13:51:22 Scenario: check that permanent slots are in sync between nodes while DCS is down # features/dcs_failsafe_mode.feature:108 2741s Mar 22 13:51:22 Given replication works from postgres-1 to postgres-0 after 10 seconds # features/steps/basic_replication.py:124 2741s Mar 22 13:51:22 And replication works from postgres-1 to postgres-2 after 10 seconds # features/steps/basic_replication.py:124 2742s Mar 22 13:51:23 When I get all changes from logical slot dcs_slot_2 on postgres-1 # features/steps/slots.py:72 2742s Mar 22 13:51:23 And I get all changes from physical slot dcs_slot_1 on postgres-1 # features/steps/slots.py:77 2742s Mar 22 13:51:23 Then logical slot dcs_slot_2 is in sync between postgres-1 and postgres-0 after 20 seconds # features/steps/slots.py:52 2748s Mar 22 13:51:29 And logical slot dcs_slot_2 is in sync between postgres-1 and postgres-2 after 20 seconds # features/steps/slots.py:52 2748s Mar 22 13:51:29 And physical slot dcs_slot_1 is in sync between postgres-1 and postgres-0 after 10 seconds # features/steps/slots.py:52 2748s Mar 22 13:51:29 And physical slot dcs_slot_1 is in sync between postgres-1 and postgres-2 after 10 seconds # features/steps/slots.py:52 2748s Mar 22 13:51:29 And physical slot postgres_0 is in sync between postgres-1 and postgres-2 after 10 seconds # features/steps/slots.py:52 2748s Mar 22 13:51:29 And physical slot postgres_2 is in sync between postgres-0 and postgres-1 after 10 seconds # features/steps/slots.py:52 2760s Mar 22 13:51:40 2760s Mar 22 13:51:40 Feature: ignored slots # features/ignored_slots.feature:1 2760s Mar 22 13:51:40 2760s Mar 22 13:51:40 Scenario: check ignored slots aren't removed on failover/switchover # features/ignored_slots.feature:2 2760s Mar 22 13:51:40 Given I start postgres-1 # features/steps/basic_replication.py:20 2763s Mar 22 13:51:44 Then postgres-1 is a leader after 10 seconds # features/steps/patroni_api.py:31 2763s Mar 22 13:51:44 And there is a non empty initialize key in DCS after 15 seconds # features/steps/cascading_replication.py:41 2763s Mar 22 13:51:44 When I issue a PATCH request to http://127.0.0.1:8009/config with {"ignore_slots": [{"name": "unmanaged_slot_0", "database": "postgres", "plugin": "test_decoding", "type": "logical"}, {"name": "unmanaged_slot_1", "database": "postgres", "plugin": "test_decoding"}, {"name": "unmanaged_slot_2", "database": "postgres"}, {"name": "unmanaged_slot_3"}], "postgresql": {"parameters": {"wal_level": "logical"}}} # features/steps/patroni_api.py:73 2763s Mar 22 13:51:44 Then I receive a response code 200 # features/steps/patroni_api.py:100 2763s Mar 22 13:51:44 And Response on GET http://127.0.0.1:8009/config contains ignore_slots after 10 seconds # features/steps/patroni_api.py:158 2763s Mar 22 13:51:44 When I shut down postgres-1 # features/steps/basic_replication.py:41 2765s Mar 22 13:51:46 And I start postgres-1 # features/steps/basic_replication.py:20 2768s Mar 22 13:51:49 Then postgres-1 is a leader after 10 seconds # features/steps/patroni_api.py:31 2770s Mar 22 13:51:51 And "members/postgres-1" key in DCS has role=primary after 10 seconds # features/steps/cascading_replication.py:23 2771s Mar 22 13:51:52 And postgres-1 role is the primary after 20 seconds # features/steps/basic_replication.py:117 2771s Mar 22 13:51:52 When I create a logical replication slot unmanaged_slot_0 on postgres-1 with the test_decoding plugin # features/steps/slots.py:9 2771s Mar 22 13:51:52 And I create a logical replication slot unmanaged_slot_1 on postgres-1 with the test_decoding plugin # features/steps/slots.py:9 2771s Mar 22 13:51:52 And I create a logical replication slot unmanaged_slot_2 on postgres-1 with the test_decoding plugin # features/steps/slots.py:9 2771s Mar 22 13:51:52 And I create a logical replication slot unmanaged_slot_3 on postgres-1 with the test_decoding plugin # features/steps/slots.py:9 2771s Mar 22 13:51:52 And I create a logical replication slot dummy_slot on postgres-1 with the test_decoding plugin # features/steps/slots.py:9 2771s Mar 22 13:51:52 Then postgres-1 has a logical replication slot named unmanaged_slot_0 with the test_decoding plugin after 2 seconds # features/steps/slots.py:20 2771s Mar 22 13:51:52 And postgres-1 has a logical replication slot named unmanaged_slot_1 with the test_decoding plugin after 2 seconds # features/steps/slots.py:20 2771s Mar 22 13:51:52 And postgres-1 has a logical replication slot named unmanaged_slot_2 with the test_decoding plugin after 2 seconds # features/steps/slots.py:20 2771s Mar 22 13:51:52 And postgres-1 has a logical replication slot named unmanaged_slot_3 with the test_decoding plugin after 2 seconds # features/steps/slots.py:20 2771s Mar 22 13:51:52 When I start postgres-0 # features/steps/basic_replication.py:20 2774s Mar 22 13:51:55 Then "members/postgres-0" key in DCS has role=replica after 10 seconds # features/steps/cascading_replication.py:23 2775s Mar 22 13:51:56 And postgres-0 role is the secondary after 20 seconds # features/steps/basic_replication.py:117 2775s Mar 22 13:51:56 And replication works from postgres-1 to postgres-0 after 20 seconds # features/steps/basic_replication.py:124 2776s Mar 22 13:51:57 When I shut down postgres-1 # features/steps/basic_replication.py:41 2778s Mar 22 13:51:59 Then "members/postgres-0" key in DCS has role=primary after 10 seconds # features/steps/cascading_replication.py:23 2779s Mar 22 13:52:00 When I start postgres-1 # features/steps/basic_replication.py:20 2782s Mar 22 13:52:03 Then postgres-1 role is the secondary after 20 seconds # features/steps/basic_replication.py:117 2782s Mar 22 13:52:03 And "members/postgres-1" key in DCS has role=replica after 10 seconds # features/steps/cascading_replication.py:23 2782s Mar 22 13:52:03 And I sleep for 2 seconds # features/steps/patroni_api.py:41 2784s Mar 22 13:52:05 And postgres-1 has a logical replication slot named unmanaged_slot_0 with the test_decoding plugin after 2 seconds # features/steps/slots.py:20 2784s Mar 22 13:52:05 And postgres-1 has a logical replication slot named unmanaged_slot_1 with the test_decoding plugin after 2 seconds # features/steps/slots.py:20 2784s Mar 22 13:52:05 And postgres-1 has a logical replication slot named unmanaged_slot_2 with the test_decoding plugin after 2 seconds # features/steps/slots.py:20 2784s Mar 22 13:52:05 And postgres-1 has a logical replication slot named unmanaged_slot_3 with the test_decoding plugin after 2 seconds # features/steps/slots.py:20 2784s Mar 22 13:52:05 And postgres-1 does not have a replication slot named dummy_slot # features/steps/slots.py:41 2784s Mar 22 13:52:05 When I shut down postgres-0 # features/steps/basic_replication.py:41 2786s Mar 22 13:52:07 Then "members/postgres-1" key in DCS has role=primary after 10 seconds # features/steps/cascading_replication.py:23 2787s Mar 22 13:52:08 And postgres-1 has a logical replication slot named unmanaged_slot_0 with the test_decoding plugin after 2 seconds # features/steps/slots.py:20 2787s Mar 22 13:52:08 And postgres-1 has a logical replication slot named unmanaged_slot_1 with the test_decoding plugin after 2 seconds # features/steps/slots.py:20 2787s Mar 22 13:52:08 And postgres-1 has a logical replication slot named unmanaged_slot_2 with the test_decoding plugin after 2 seconds # features/steps/slots.py:20 2787s Mar 22 13:52:08 And postgres-1 has a logical replication slot named unmanaged_slot_3 with the test_decoding plugin after 2 seconds # features/steps/slots.py:20 2795s Mar 22 13:52:16 2795s Mar 22 13:52:16 Feature: nostream node # features/nostream_node.feature:1 2795s Mar 22 13:52:16 2795s Mar 22 13:52:16 Scenario: check nostream node is recovering from archive # features/nostream_node.feature:3 2795s Mar 22 13:52:16 When I start postgres-0 # features/steps/basic_replication.py:20 2804s Mar 22 13:52:25 And I configure and start postgres-1 with a tag nostream true # features/steps/cascading_replication.py:7 2813s Mar 22 13:52:34 Then "members/postgres-1" key in DCS has replication_state=in archive recovery after 10 seconds # features/steps/cascading_replication.py:23 2813s Mar 22 13:52:34 And replication works from postgres-0 to postgres-1 after 30 seconds # features/steps/basic_replication.py:124 2819s Mar 22 13:52:39 2819s Mar 22 13:52:39 @slot-advance 2819s Mar 22 13:52:39 Scenario: check permanent logical replication slots are not copied # features/nostream_node.feature:10 2819s Mar 22 13:52:39 When I issue a PATCH request to http://127.0.0.1:8008/config with {"postgresql": {"parameters": {"wal_level": "logical"}}, "slots":{"test_logical":{"type":"logical","database":"postgres","plugin":"test_decoding"}}} # features/steps/patroni_api.py:73 2819s Mar 22 13:52:40 Then I receive a response code 200 # features/steps/patroni_api.py:100 2819s Mar 22 13:52:40 When I run patronictl.py restart batman postgres-0 --force # features/steps/patroni_api.py:88 2820s Mar 22 13:52:41 Then postgres-0 has a logical replication slot named test_logical with the test_decoding plugin after 10 seconds # features/steps/slots.py:20 2821s Mar 22 13:52:42 When I configure and start postgres-2 with a tag replicatefrom postgres-1 # features/steps/cascading_replication.py:7 2824s Mar 22 13:52:45 Then "members/postgres-2" key in DCS has replication_state=streaming after 10 seconds # features/steps/cascading_replication.py:23 2825s Mar 22 13:52:46 And postgres-1 does not have a replication slot named test_logical # features/steps/slots.py:41 2825s Mar 22 13:52:46 And postgres-2 does not have a replication slot named test_logical # features/steps/slots.py:41 2825s Mar 22 13:52:46 2825s Mar 22 13:52:46 @slot-advance 2825s Mar 22 13:52:46 Scenario: check that slots are written to the /status key # features/nostream_node.feature:21 2825s Mar 22 13:52:46 Given "status" key in DCS has postgres_0 in slots # features/steps/slots.py:118 2825s Mar 22 13:52:46 And "status" key in DCS has postgres_2 in slots # features/steps/slots.py:118 2825s Mar 22 13:52:46 Assertion Failed: status key in DCS doesn't have postgres_2 in slots 2825s Mar 22 13:52:46 2841s Mar 22 13:53:02 And "status" key in DCS has test_logical in slots # None 2841s Mar 22 13:53:02 And "status" key in DCS has test_logical in slots # None 2841s Mar 22 13:53:02 And "status" key in DCS does not have postgres_1 in slots # None 2841s Mar 22 13:53:02 2841s Mar 22 13:53:02 Feature: patroni api # features/patroni_api.feature:1 2841s Mar 22 13:53:02 We should check that patroni correctly responds to valid and not-valid API requests. 2841s Mar 22 13:53:02 Scenario: check API requests on a stand-alone server # features/patroni_api.feature:4 2841s Mar 22 13:53:02 Given I start postgres-0 # features/steps/basic_replication.py:20 2850s Mar 22 13:53:11 And postgres-0 is a leader after 10 seconds # features/steps/patroni_api.py:31 2850s Mar 22 13:53:11 When I issue a GET request to http://127.0.0.1:8008/ # features/steps/patroni_api.py:63 2850s Mar 22 13:53:11 Then I receive a response code 200 # features/steps/patroni_api.py:100 2850s Mar 22 13:53:11 And I receive a response state running # features/steps/patroni_api.py:100 2850s Mar 22 13:53:11 And I receive a response role primary # features/steps/patroni_api.py:100 2850s Mar 22 13:53:11 When I issue a GET request to http://127.0.0.1:8008/standby_leader # features/steps/patroni_api.py:63 2850s Mar 22 13:53:11 Then I receive a response code 503 # features/steps/patroni_api.py:100 2850s Mar 22 13:53:11 When I issue a GET request to http://127.0.0.1:8008/health # features/steps/patroni_api.py:63 2850s Mar 22 13:53:11 Then I receive a response code 200 # features/steps/patroni_api.py:100 2850s Mar 22 13:53:11 When I issue a GET request to http://127.0.0.1:8008/replica # features/steps/patroni_api.py:63 2850s Mar 22 13:53:11 Then I receive a response code 503 # features/steps/patroni_api.py:100 2850s Mar 22 13:53:11 When I issue a POST request to http://127.0.0.1:8008/reinitialize with {"force": true} # features/steps/patroni_api.py:73 2850s Mar 22 13:53:11 Then I receive a response code 503 # features/steps/patroni_api.py:100 2850s Mar 22 13:53:11 And I receive a response text I am the leader, can not reinitialize # features/steps/patroni_api.py:100 2850s Mar 22 13:53:11 When I run patronictl.py switchover batman --primary postgres-0 --force # features/steps/patroni_api.py:88 2851s Mar 22 13:53:12 Then I receive a response returncode 1 # features/steps/patroni_api.py:100 2851s Mar 22 13:53:12 And I receive a response output "Error: No candidates found to switchover to" # features/steps/patroni_api.py:100 2851s Mar 22 13:53:12 When I issue a POST request to http://127.0.0.1:8008/switchover with {"leader": "postgres-0"} # features/steps/patroni_api.py:73 2851s Mar 22 13:53:12 Then I receive a response code 412 # features/steps/patroni_api.py:100 2851s Mar 22 13:53:12 And I receive a response text switchover is not possible: cluster does not have members except leader # features/steps/patroni_api.py:100 2851s Mar 22 13:53:12 When I issue an empty POST request to http://127.0.0.1:8008/failover # features/steps/patroni_api.py:68 2851s Mar 22 13:53:12 Then I receive a response code 400 # features/steps/patroni_api.py:100 2851s Mar 22 13:53:12 When I issue a POST request to http://127.0.0.1:8008/failover with {"foo": "bar"} # features/steps/patroni_api.py:73 2851s Mar 22 13:53:12 Then I receive a response code 400 # features/steps/patroni_api.py:100 2851s Mar 22 13:53:12 And I receive a response text "Failover could be performed only to a specific candidate" # features/steps/patroni_api.py:100 2851s Mar 22 13:53:12 2851s Mar 22 13:53:12 Scenario: check local configuration reload # features/patroni_api.feature:32 2851s Mar 22 13:53:12 Given I add tag new_tag new_value to postgres-0 config # features/steps/patroni_api.py:139 2851s Mar 22 13:53:12 And I issue an empty POST request to http://127.0.0.1:8008/reload # features/steps/patroni_api.py:68 2851s Mar 22 13:53:12 Then I receive a response code 202 # features/steps/patroni_api.py:100 2851s Mar 22 13:53:12 2851s Mar 22 13:53:12 Scenario: check dynamic configuration change via DCS # features/patroni_api.feature:37 2851s Mar 22 13:53:12 Given I issue a PATCH request to http://127.0.0.1:8008/config with {"ttl": 20, "postgresql": {"parameters": {"max_connections": "101"}}} # features/steps/patroni_api.py:73 2852s Mar 22 13:53:12 Then I receive a response code 200 # features/steps/patroni_api.py:100 2852s Mar 22 13:53:12 And Response on GET http://127.0.0.1:8008/patroni contains pending_restart after 11 seconds # features/steps/patroni_api.py:158 2854s Mar 22 13:53:15 When I issue a GET request to http://127.0.0.1:8008/config # features/steps/patroni_api.py:63 2854s Mar 22 13:53:15 Then I receive a response code 200 # features/steps/patroni_api.py:100 2854s Mar 22 13:53:15 And I receive a response ttl 20 # features/steps/patroni_api.py:100 2854s Mar 22 13:53:15 When I issue a GET request to http://127.0.0.1:8008/patroni # features/steps/patroni_api.py:63 2854s Mar 22 13:53:15 Then I receive a response code 200 # features/steps/patroni_api.py:100 2854s Mar 22 13:53:15 And I receive a response tags {'new_tag': 'new_value'} # features/steps/patroni_api.py:100 2854s Mar 22 13:53:15 And I sleep for 4 seconds # features/steps/patroni_api.py:41 2858s Mar 22 13:53:19 2858s Mar 22 13:53:19 Scenario: check the scheduled restart # features/patroni_api.feature:49 2858s Mar 22 13:53:19 Given I run patronictl.py edit-config -p 'superuser_reserved_connections=6' --force batman # features/steps/patroni_api.py:88 2859s Mar 22 13:53:20 Then I receive a response returncode 0 # features/steps/patroni_api.py:100 2859s Mar 22 13:53:20 And I receive a response output "+ superuser_reserved_connections: 6" # features/steps/patroni_api.py:100 2859s Mar 22 13:53:20 And Response on GET http://127.0.0.1:8008/patroni contains pending_restart after 5 seconds # features/steps/patroni_api.py:158 2859s Mar 22 13:53:20 Given I issue a scheduled restart at http://127.0.0.1:8008 in 5 seconds with {"role": "replica"} # features/steps/patroni_api.py:126 2859s Mar 22 13:53:20 Then I receive a response code 202 # features/steps/patroni_api.py:100 2859s Mar 22 13:53:20 And I sleep for 8 seconds # features/steps/patroni_api.py:41 2867s Mar 22 13:53:28 And Response on GET http://127.0.0.1:8008/patroni contains pending_restart after 10 seconds # features/steps/patroni_api.py:158 2867s Mar 22 13:53:28 Given I issue a scheduled restart at http://127.0.0.1:8008 in 5 seconds with {"restart_pending": "True"} # features/steps/patroni_api.py:126 2867s Mar 22 13:53:28 Then I receive a response code 202 # features/steps/patroni_api.py:100 2867s Mar 22 13:53:28 And Response on GET http://127.0.0.1:8008/patroni does not contain pending_restart after 10 seconds # features/steps/patroni_api.py:173 2874s Mar 22 13:53:35 And postgres-0 role is the primary after 10 seconds # features/steps/basic_replication.py:117 2875s Mar 22 13:53:36 2875s Mar 22 13:53:36 Scenario: check API requests for the primary-replica pair in the pause mode # features/patroni_api.feature:63 2875s Mar 22 13:53:36 Given I start postgres-1 # features/steps/basic_replication.py:20 2878s Mar 22 13:53:39 Then replication works from postgres-0 to postgres-1 after 20 seconds # features/steps/basic_replication.py:124 2879s Mar 22 13:53:40 When I run patronictl.py pause batman # features/steps/patroni_api.py:88 2880s Mar 22 13:53:41 Then I receive a response returncode 0 # features/steps/patroni_api.py:100 2880s Mar 22 13:53:41 When I kill postmaster on postgres-1 # features/steps/basic_replication.py:56 2880s Mar 22 13:53:41 waiting for server to shut down.... done 2880s Mar 22 13:53:41 server stopped 2880s Mar 22 13:53:41 And I issue a GET request to http://127.0.0.1:8009/replica # features/steps/patroni_api.py:63 2880s Mar 22 13:53:41 Then I receive a response code 503 # features/steps/patroni_api.py:100 2880s Mar 22 13:53:41 And "members/postgres-1" key in DCS has state=stopped after 10 seconds # features/steps/cascading_replication.py:23 2881s Mar 22 13:53:42 When I run patronictl.py restart batman postgres-1 --force # features/steps/patroni_api.py:88 2884s Mar 22 13:53:45 Then I receive a response returncode 0 # features/steps/patroni_api.py:100 2884s Mar 22 13:53:45 Then replication works from postgres-0 to postgres-1 after 20 seconds # features/steps/basic_replication.py:124 2885s Mar 22 13:53:46 And I sleep for 2 seconds # features/steps/patroni_api.py:41 2887s Mar 22 13:53:48 When I issue a GET request to http://127.0.0.1:8009/replica # features/steps/patroni_api.py:63 2887s Mar 22 13:53:48 Then I receive a response code 200 # features/steps/patroni_api.py:100 2887s Mar 22 13:53:48 And I receive a response state running # features/steps/patroni_api.py:100 2887s Mar 22 13:53:48 And I receive a response role replica # features/steps/patroni_api.py:100 2887s Mar 22 13:53:48 When I run patronictl.py reinit batman postgres-1 --force --wait # features/steps/patroni_api.py:88 2890s Mar 22 13:53:51 Then I receive a response returncode 0 # features/steps/patroni_api.py:100 2890s Mar 22 13:53:51 And I receive a response output "Success: reinitialize for member postgres-1" # features/steps/patroni_api.py:100 2890s Mar 22 13:53:51 And postgres-1 role is the secondary after 30 seconds # features/steps/basic_replication.py:117 2891s Mar 22 13:53:52 And replication works from postgres-0 to postgres-1 after 20 seconds # features/steps/basic_replication.py:124 2892s Mar 22 13:53:53 When I run patronictl.py restart batman postgres-0 --force # features/steps/patroni_api.py:88 2894s Mar 22 13:53:55 Then I receive a response returncode 0 # features/steps/patroni_api.py:100 2894s Mar 22 13:53:55 And I receive a response output "Success: restart on member postgres-0" # features/steps/patroni_api.py:100 2894s Mar 22 13:53:55 And postgres-0 role is the primary after 5 seconds # features/steps/basic_replication.py:117 2895s Mar 22 13:53:56 2895s Mar 22 13:53:56 Scenario: check the switchover via the API in the pause mode # features/patroni_api.feature:90 2895s Mar 22 13:53:56 Given I issue a POST request to http://127.0.0.1:8008/switchover with {"leader": "postgres-0", "candidate": "postgres-1"} # features/steps/patroni_api.py:73 2898s Mar 22 13:53:58 Then I receive a response code 200 # features/steps/patroni_api.py:100 2898s Mar 22 13:53:58 And postgres-1 is a leader after 5 seconds # features/steps/patroni_api.py:31 2898s Mar 22 13:53:58 And postgres-1 role is the primary after 10 seconds # features/steps/basic_replication.py:117 2898s Mar 22 13:53:58 And postgres-0 role is the secondary after 10 seconds # features/steps/basic_replication.py:117 2903s Mar 22 13:54:04 And replication works from postgres-1 to postgres-0 after 20 seconds # features/steps/basic_replication.py:124 2903s Mar 22 13:54:04 And "members/postgres-0" key in DCS has state=running after 10 seconds # features/steps/cascading_replication.py:23 2904s Mar 22 13:54:05 When I issue a GET request to http://127.0.0.1:8008/primary # features/steps/patroni_api.py:63 2904s Mar 22 13:54:05 Then I receive a response code 503 # features/steps/patroni_api.py:100 2904s Mar 22 13:54:05 When I issue a GET request to http://127.0.0.1:8008/replica # features/steps/patroni_api.py:63 2904s Mar 22 13:54:05 Then I receive a response code 200 # features/steps/patroni_api.py:100 2904s Mar 22 13:54:05 When I issue a GET request to http://127.0.0.1:8009/primary # features/steps/patroni_api.py:63 2904s Mar 22 13:54:05 Then I receive a response code 200 # features/steps/patroni_api.py:100 2904s Mar 22 13:54:05 When I issue a GET request to http://127.0.0.1:8009/replica # features/steps/patroni_api.py:63 2904s Mar 22 13:54:05 Then I receive a response code 503 # features/steps/patroni_api.py:100 2904s Mar 22 13:54:05 2904s Mar 22 13:54:05 Scenario: check the scheduled switchover # features/patroni_api.feature:107 2904s Mar 22 13:54:05 Given I issue a scheduled switchover from postgres-1 to postgres-0 in 10 seconds # features/steps/patroni_api.py:119 2905s Mar 22 13:54:06 Then I receive a response returncode 1 # features/steps/patroni_api.py:100 2905s Mar 22 13:54:06 And I receive a response output "Can't schedule switchover in the paused state" # features/steps/patroni_api.py:100 2905s Mar 22 13:54:06 When I run patronictl.py resume batman # features/steps/patroni_api.py:88 2906s Mar 22 13:54:07 Then I receive a response returncode 0 # features/steps/patroni_api.py:100 2906s Mar 22 13:54:07 Given I issue a scheduled switchover from postgres-1 to postgres-0 in 10 seconds # features/steps/patroni_api.py:119 2908s Mar 22 13:54:09 Then I receive a response returncode 0 # features/steps/patroni_api.py:100 2908s Mar 22 13:54:09 And postgres-0 is a leader after 20 seconds # features/steps/patroni_api.py:31 2918s Mar 22 13:54:19 And postgres-0 role is the primary after 10 seconds # features/steps/basic_replication.py:117 2919s Mar 22 13:54:20 And postgres-1 role is the secondary after 10 seconds # features/steps/basic_replication.py:117 2921s Mar 22 13:54:22 And replication works from postgres-0 to postgres-1 after 25 seconds # features/steps/basic_replication.py:124 2921s Mar 22 13:54:22 And "members/postgres-1" key in DCS has state=running after 10 seconds # features/steps/cascading_replication.py:23 2922s Mar 22 13:54:23 When I issue a GET request to http://127.0.0.1:8008/primary # features/steps/patroni_api.py:63 2922s Mar 22 13:54:23 Then I receive a response code 200 # features/steps/patroni_api.py:100 2922s Mar 22 13:54:23 When I issue a GET request to http://127.0.0.1:8008/replica # features/steps/patroni_api.py:63 2922s Mar 22 13:54:23 Then I receive a response code 503 # features/steps/patroni_api.py:100 2922s Mar 22 13:54:23 When I issue a GET request to http://127.0.0.1:8009/primary # features/steps/patroni_api.py:63 2922s Mar 22 13:54:23 Then I receive a response code 503 # features/steps/patroni_api.py:100 2922s Mar 22 13:54:23 When I issue a GET request to http://127.0.0.1:8009/replica # features/steps/patroni_api.py:63 2922s Mar 22 13:54:23 Then I receive a response code 200 # features/steps/patroni_api.py:100 2933s Mar 22 13:54:33 2933s Mar 22 13:54:33 Feature: permanent slots # features/permanent_slots.feature:1 2933s Mar 22 13:54:33 2933s Mar 22 13:54:33 Scenario: check that physical permanent slots are created # features/permanent_slots.feature:2 2933s Mar 22 13:54:33 Given I start postgres-0 # features/steps/basic_replication.py:20 2942s Mar 22 13:54:42 Then postgres-0 is a leader after 10 seconds # features/steps/patroni_api.py:31 2942s Mar 22 13:54:42 And there is a non empty initialize key in DCS after 15 seconds # features/steps/cascading_replication.py:41 2942s Mar 22 13:54:42 When I issue a PATCH request to http://127.0.0.1:8008/config with {"slots":{"test_physical":0,"postgres_3":0},"postgresql":{"parameters":{"wal_level":"logical"}}} # features/steps/patroni_api.py:73 2942s Mar 22 13:54:43 Then I receive a response code 200 # features/steps/patroni_api.py:100 2942s Mar 22 13:54:43 And Response on GET http://127.0.0.1:8008/config contains slots after 10 seconds # features/steps/patroni_api.py:158 2942s Mar 22 13:54:43 When I start postgres-1 # features/steps/basic_replication.py:20 2945s Mar 22 13:54:46 And I configure and start postgres-2 with a tag nofailover true # features/steps/cascading_replication.py:7 2948s Mar 22 13:54:49 And I configure and start postgres-3 with a tag replicatefrom postgres-2 # features/steps/cascading_replication.py:7 2951s Mar 22 13:54:52 Then postgres-0 has a physical replication slot named test_physical after 10 seconds # features/steps/slots.py:82 2951s Mar 22 13:54:52 And postgres-0 has a physical replication slot named postgres_1 after 10 seconds # features/steps/slots.py:82 2951s Mar 22 13:54:52 And postgres-0 has a physical replication slot named postgres_2 after 10 seconds # features/steps/slots.py:82 2951s Mar 22 13:54:52 And postgres-2 has a physical replication slot named postgres_3 after 10 seconds # features/steps/slots.py:82 2951s Mar 22 13:54:52 And postgres-2 does not have a replication slot named test_physical # features/steps/slots.py:41 2951s Mar 22 13:54:52 2951s Mar 22 13:54:52 @slot-advance 2951s Mar 22 13:54:52 Scenario: check that logical permanent slots are created # features/permanent_slots.feature:19 2951s Mar 22 13:54:52 Given I run patronictl.py restart batman postgres-0 --force # features/steps/patroni_api.py:88 2953s Mar 22 13:54:54 And I issue a PATCH request to http://127.0.0.1:8008/config with {"slots":{"test_logical":{"type":"logical","database":"postgres","plugin":"test_decoding"}}} # features/steps/patroni_api.py:73 2953s Mar 22 13:54:54 Then postgres-0 has a logical replication slot named test_logical with the test_decoding plugin after 10 seconds # features/steps/slots.py:20 2954s Mar 22 13:54:55 2954s Mar 22 13:54:55 @slot-advance 2954s Mar 22 13:54:55 Scenario: check that permanent slots are created on replicas # features/permanent_slots.feature:25 2954s Mar 22 13:54:55 Given postgres-1 has a logical replication slot named test_logical with the test_decoding plugin after 10 seconds # features/steps/slots.py:20 2957s Mar 22 13:54:58 Then Logical slot test_logical is in sync between postgres-0 and postgres-1 after 10 seconds # features/steps/slots.py:52 2957s Mar 22 13:54:58 And Logical slot test_logical is in sync between postgres-0 and postgres-3 after 10 seconds # features/steps/slots.py:52 2958s Mar 22 13:54:59 And postgres-1 has a physical replication slot named test_physical after 2 seconds # features/steps/slots.py:82 2958s Mar 22 13:54:59 And postgres-2 does not have a replication slot named test_logical # features/steps/slots.py:41 2958s Mar 22 13:54:59 And postgres-3 has a physical replication slot named test_physical after 2 seconds # features/steps/slots.py:82 2958s Mar 22 13:54:59 2958s Mar 22 13:54:59 @slot-advance 2958s Mar 22 13:54:59 Scenario: check permanent physical slots that match with member names # features/permanent_slots.feature:34 2958s Mar 22 13:54:59 Given postgres-0 has a physical replication slot named postgres_3 after 2 seconds # features/steps/slots.py:82 2958s Mar 22 13:54:59 And postgres-1 has a physical replication slot named postgres_0 after 2 seconds # features/steps/slots.py:82 2958s Mar 22 13:54:59 And postgres-1 has a physical replication slot named postgres_2 after 2 seconds # features/steps/slots.py:82 2958s Mar 22 13:54:59 And postgres-1 has a physical replication slot named postgres_3 after 2 seconds # features/steps/slots.py:82 2958s Mar 22 13:54:59 And postgres-2 does not have a replication slot named postgres_0 # features/steps/slots.py:41 2958s Mar 22 13:54:59 And postgres-2 does not have a replication slot named postgres_1 # features/steps/slots.py:41 2958s Mar 22 13:54:59 And postgres-2 has a physical replication slot named postgres_3 after 2 seconds # features/steps/slots.py:82 2958s Mar 22 13:54:59 And postgres-3 has a physical replication slot named postgres_0 after 2 seconds # features/steps/slots.py:82 2958s Mar 22 13:54:59 And postgres-3 has a physical replication slot named postgres_1 after 2 seconds # features/steps/slots.py:82 2958s Mar 22 13:54:59 And postgres-3 has a physical replication slot named postgres_2 after 2 seconds # features/steps/slots.py:82 2958s Mar 22 13:54:59 2958s Mar 22 13:54:59 @slot-advance 2958s Mar 22 13:54:59 Scenario: check that permanent slots are advanced on replicas # features/permanent_slots.feature:47 2958s Mar 22 13:54:59 Given I add the table replicate_me to postgres-0 # features/steps/basic_replication.py:66 2958s Mar 22 13:54:59 When I get all changes from logical slot test_logical on postgres-0 # features/steps/slots.py:72 2958s Mar 22 13:54:59 And I get all changes from physical slot test_physical on postgres-0 # features/steps/slots.py:77 2958s Mar 22 13:54:59 Then Logical slot test_logical is in sync between postgres-0 and postgres-1 after 10 seconds # features/steps/slots.py:52 2960s Mar 22 13:55:01 And Physical slot test_physical is in sync between postgres-0 and postgres-1 after 10 seconds # features/steps/slots.py:52 2960s Mar 22 13:55:01 And Logical slot test_logical is in sync between postgres-0 and postgres-3 after 10 seconds # features/steps/slots.py:52 2960s Mar 22 13:55:01 And Physical slot test_physical is in sync between postgres-0 and postgres-3 after 10 seconds # features/steps/slots.py:52 2960s Mar 22 13:55:01 And Physical slot postgres_1 is in sync between postgres-0 and postgres-3 after 10 seconds # features/steps/slots.py:52 2960s Mar 22 13:55:01 And Physical slot postgres_3 is in sync between postgres-2 and postgres-0 after 20 seconds # features/steps/slots.py:52 2962s Mar 22 13:55:03 And Physical slot postgres_3 is in sync between postgres-2 and postgres-1 after 10 seconds # features/steps/slots.py:52 2962s Mar 22 13:55:03 2962s Mar 22 13:55:03 @slot-advance 2962s Mar 22 13:55:03 Scenario: check that permanent slots and member slots are written to the /status key # features/permanent_slots.feature:60 2962s Mar 22 13:55:03 Given "status" key in DCS has test_physical in slots # features/steps/slots.py:118 2962s Mar 22 13:55:03 And "status" key in DCS has postgres_0 in slots # features/steps/slots.py:118 2962s Mar 22 13:55:03 And "status" key in DCS has postgres_1 in slots # features/steps/slots.py:118 2962s Mar 22 13:55:03 And "status" key in DCS has postgres_2 in slots # features/steps/slots.py:118 2962s Mar 22 13:55:03 And "status" key in DCS has postgres_3 in slots # features/steps/slots.py:118 2962s Mar 22 13:55:03 2962s Mar 22 13:55:03 @slot-advance 2962s Mar 22 13:55:03 Scenario: check that only non-permanent member slots are written to the retain_slots in /status key # features/permanent_slots.feature:68 2962s Mar 22 13:55:03 Given "status" key in DCS has postgres_0 in retain_slots # features/steps/slots.py:118 2962s Mar 22 13:55:03 And "status" key in DCS has postgres_1 in retain_slots # features/steps/slots.py:118 2962s Mar 22 13:55:03 And "status" key in DCS has postgres_2 in retain_slots # features/steps/slots.py:118 2962s Mar 22 13:55:03 And "status" key in DCS does not have postgres_3 in retain_slots # features/steps/slots.py:124 2962s Mar 22 13:55:03 2962s Mar 22 13:55:03 Scenario: check permanent physical replication slot after failover # features/permanent_slots.feature:74 2962s Mar 22 13:55:03 Given I shut down postgres-3 # features/steps/basic_replication.py:41 2963s Mar 22 13:55:04 And I shut down postgres-2 # features/steps/basic_replication.py:41 2964s Mar 22 13:55:05 And I shut down postgres-0 # features/steps/basic_replication.py:41 2966s Mar 22 13:55:07 Then postgres-1 has a physical replication slot named test_physical after 10 seconds # features/steps/slots.py:82 2966s Mar 22 13:55:07 And postgres-1 has a physical replication slot named postgres_0 after 10 seconds # features/steps/slots.py:82 2966s Mar 22 13:55:07 And postgres-1 has a physical replication slot named postgres_3 after 10 seconds # features/steps/slots.py:82 2966s Mar 22 13:55:07 When I start postgres-0 # features/steps/basic_replication.py:20 2969s Mar 22 13:55:10 Then postgres-0 role is the replica after 20 seconds # features/steps/basic_replication.py:117 2969s Mar 22 13:55:10 And physical replication slot named postgres_1 on postgres-0 has no xmin value after 10 seconds # features/steps/slots.py:98 2969s Mar 22 13:55:10 And postgres-0 has a physical replication slot named postgres_2 after 10 seconds # features/steps/slots.py:82 2969s Mar 22 13:55:10 And postgres-0 has a physical replication slot named postgres_3 after 10 seconds # features/steps/slots.py:82 2982s Mar 22 13:55:23 2982s Mar 22 13:55:23 Feature: priority replication # features/priority_failover.feature:1 2982s Mar 22 13:55:23 We should check that we can give nodes priority during failover 2982s Mar 22 13:55:23 Scenario: check failover priority 0 prevents leaderships # features/priority_failover.feature:4 2982s Mar 22 13:55:23 Given I configure and start postgres-0 with a tag failover_priority 1 # features/steps/cascading_replication.py:7 2991s Mar 22 13:55:32 And I configure and start postgres-1 with a tag failover_priority 0 # features/steps/cascading_replication.py:7 3000s Mar 22 13:55:41 Then replication works from postgres-0 to postgres-1 after 20 seconds # features/steps/basic_replication.py:124 3001s Mar 22 13:55:42 When I shut down postgres-0 # features/steps/basic_replication.py:41 3003s Mar 22 13:55:44 And there is one of ["following a different leader because I am not allowed to promote"] INFO in the postgres-1 patroni log after 5 seconds # features/steps/basic_replication.py:133 3005s Mar 22 13:55:46 Then postgres-1 role is the secondary after 10 seconds # features/steps/basic_replication.py:117 3005s Mar 22 13:55:46 When I start postgres-0 # features/steps/basic_replication.py:20 3007s Mar 22 13:55:48 Then postgres-0 role is the primary after 10 seconds # features/steps/basic_replication.py:117 3011s Mar 22 13:55:52 3011s Mar 22 13:55:52 Scenario: check higher failover priority is respected # features/priority_failover.feature:14 3011s Mar 22 13:55:52 Given I configure and start postgres-2 with a tag failover_priority 1 # features/steps/cascading_replication.py:7 3020s Mar 22 13:56:01 And I configure and start postgres-3 with a tag failover_priority 2 # features/steps/cascading_replication.py:7 3029s Mar 22 13:56:10 Then replication works from postgres-0 to postgres-2 after 20 seconds # features/steps/basic_replication.py:124 3030s Mar 22 13:56:11 And replication works from postgres-0 to postgres-3 after 20 seconds # features/steps/basic_replication.py:124 3031s Mar 22 13:56:12 When I shut down postgres-0 # features/steps/basic_replication.py:41 3033s Mar 22 13:56:14 Then postgres-3 role is the primary after 10 seconds # features/steps/basic_replication.py:117 3033s Mar 22 13:56:14 And there is one of ["postgres-3 has equally tolerable WAL position and priority 2, while this node has priority 1","Wal position of postgres-3 is ahead of my wal position"] INFO in the postgres-2 patroni log after 5 seconds # features/steps/basic_replication.py:133 3033s Mar 22 13:56:14 3033s Mar 22 13:56:14 Scenario: check conflicting configuration handling # features/priority_failover.feature:23 3033s Mar 22 13:56:14 When I set nofailover tag in postgres-2 config # features/steps/patroni_api.py:133 3033s Mar 22 13:56:14 And I issue an empty POST request to http://127.0.0.1:8010/reload # features/steps/patroni_api.py:68 3033s Mar 22 13:56:14 Then I receive a response code 202 # features/steps/patroni_api.py:100 3033s Mar 22 13:56:14 And there is one of ["Conflicting configuration between nofailover: True and failover_priority: 1. Defaulting to nofailover: True"] WARNING in the postgres-2 patroni log after 5 seconds # features/steps/basic_replication.py:133 3034s Mar 22 13:56:15 And "members/postgres-2" key in DCS has tags={'failover_priority': '1', 'nofailover': True} after 10 seconds # features/steps/cascading_replication.py:23 3035s Mar 22 13:56:16 When I issue a POST request to http://127.0.0.1:8010/failover with {"candidate": "postgres-2"} # features/steps/patroni_api.py:73 3035s Mar 22 13:56:16 Then I receive a response code 412 # features/steps/patroni_api.py:100 3035s Mar 22 13:56:16 And I receive a response text "failover is not possible: no good candidates have been found" # features/steps/patroni_api.py:100 3035s Mar 22 13:56:16 When I reset nofailover tag in postgres-1 config # features/steps/patroni_api.py:133 3035s Mar 22 13:56:16 And I issue an empty POST request to http://127.0.0.1:8009/reload # features/steps/patroni_api.py:68 3036s Mar 22 13:56:16 Then I receive a response code 202 # features/steps/patroni_api.py:100 3036s Mar 22 13:56:16 And there is one of ["Conflicting configuration between nofailover: False and failover_priority: 0. Defaulting to nofailover: False"] WARNING in the postgres-1 patroni log after 5 seconds # features/steps/basic_replication.py:133 3037s Mar 22 13:56:17 And "members/postgres-1" key in DCS has tags={'failover_priority': '0', 'nofailover': False} after 10 seconds # features/steps/cascading_replication.py:23 3038s Mar 22 13:56:18 And I issue a POST request to http://127.0.0.1:8009/failover with {"candidate": "postgres-1"} # features/steps/patroni_api.py:73 3042s Mar 22 13:56:23 Then I receive a response code 200 # features/steps/patroni_api.py:100 3042s Mar 22 13:56:23 And postgres-1 role is the primary after 10 seconds # features/steps/basic_replication.py:117 3054s Mar 22 13:56:35 3054s Mar 22 13:56:35 Feature: quorum commit # features/quorum_commit.feature:1 3054s Mar 22 13:56:35 Check basic workfrlows when quorum commit is enabled 3054s Mar 22 13:56:35 Scenario: check enable quorum commit and that the only leader promotes after restart # features/quorum_commit.feature:4 3054s Mar 22 13:56:35 Given I start postgres-0 # features/steps/basic_replication.py:20 3063s Mar 22 13:56:44 Then postgres-0 is a leader after 10 seconds # features/steps/patroni_api.py:31 3063s Mar 22 13:56:44 And there is a non empty initialize key in DCS after 15 seconds # features/steps/cascading_replication.py:41 3063s Mar 22 13:56:44 When I issue a PATCH request to http://127.0.0.1:8008/config with {"ttl": 20, "synchronous_mode": "quorum"} # features/steps/patroni_api.py:73 3063s Mar 22 13:56:44 Then I receive a response code 200 # features/steps/patroni_api.py:100 3063s Mar 22 13:56:44 And sync key in DCS has leader=postgres-0 after 20 seconds # features/steps/quorum_commit.py:8 3063s Mar 22 13:56:44 And sync key in DCS has quorum=0 after 2 seconds # features/steps/quorum_commit.py:8 3063s Mar 22 13:56:44 And synchronous_standby_names on postgres-0 is set to '_empty_str_' after 2 seconds # features/steps/quorum_commit.py:39 3063s Mar 22 13:56:44 When I shut down postgres-0 # features/steps/basic_replication.py:41 3065s Mar 22 13:56:46 And sync key in DCS has leader=postgres-0 after 2 seconds # features/steps/quorum_commit.py:8 3065s Mar 22 13:56:46 When I start postgres-0 # features/steps/basic_replication.py:20 3067s Mar 22 13:56:48 Then postgres-0 role is the primary after 10 seconds # features/steps/basic_replication.py:117 3070s Mar 22 13:56:51 When I issue a PATCH request to http://127.0.0.1:8008/config with {"synchronous_mode_strict": true} # features/steps/patroni_api.py:73 3070s Mar 22 13:56:51 Then synchronous_standby_names on postgres-0 is set to 'ANY 1 (*)' after 10 seconds # features/steps/quorum_commit.py:39 3071s Mar 22 13:56:52 3071s Mar 22 13:56:52 Scenario: check failover with one quorum standby # features/quorum_commit.feature:20 3071s Mar 22 13:56:52 Given I start postgres-1 # features/steps/basic_replication.py:20 3074s Mar 22 13:56:55 Then sync key in DCS has sync_standby=postgres-1 after 10 seconds # features/steps/quorum_commit.py:8 3077s Mar 22 13:56:58 And synchronous_standby_names on postgres-0 is set to 'ANY 1 ("postgres-1")' after 2 seconds # features/steps/quorum_commit.py:39 3077s Mar 22 13:56:58 When I shut down postgres-0 # features/steps/basic_replication.py:41 3079s Mar 22 13:57:00 Then postgres-1 role is the primary after 10 seconds # features/steps/basic_replication.py:117 3080s Mar 22 13:57:01 And sync key in DCS has quorum=0 after 10 seconds # features/steps/quorum_commit.py:8 3080s Mar 22 13:57:01 Then synchronous_standby_names on postgres-1 is set to 'ANY 1 (*)' after 10 seconds # features/steps/quorum_commit.py:39 3082s Mar 22 13:57:03 When I start postgres-0 # features/steps/basic_replication.py:20 3085s Mar 22 13:57:06 Then sync key in DCS has leader=postgres-1 after 10 seconds # features/steps/quorum_commit.py:8 3085s Mar 22 13:57:06 Then sync key in DCS has sync_standby=postgres-0 after 10 seconds # features/steps/quorum_commit.py:8 3087s Mar 22 13:57:08 And synchronous_standby_names on postgres-1 is set to 'ANY 1 ("postgres-0")' after 2 seconds # features/steps/quorum_commit.py:39 3087s Mar 22 13:57:08 3087s Mar 22 13:57:08 Scenario: check behavior with three nodes and different replication factor # features/quorum_commit.feature:33 3087s Mar 22 13:57:08 Given I start postgres-2 # features/steps/basic_replication.py:20 3090s Mar 22 13:57:11 Then sync key in DCS has sync_standby=postgres-0,postgres-2 after 10 seconds # features/steps/quorum_commit.py:8 3091s Mar 22 13:57:12 And sync key in DCS has quorum=1 after 2 seconds # features/steps/quorum_commit.py:8 3091s Mar 22 13:57:12 And synchronous_standby_names on postgres-1 is set to 'ANY 1 ("postgres-0","postgres-2")' after 2 seconds # features/steps/quorum_commit.py:39 3091s Mar 22 13:57:12 When I issue a PATCH request to http://127.0.0.1:8009/config with {"synchronous_node_count": 2} # features/steps/patroni_api.py:73 3091s Mar 22 13:57:12 Then sync key in DCS has quorum=0 after 10 seconds # features/steps/quorum_commit.py:8 3092s Mar 22 13:57:13 And synchronous_standby_names on postgres-1 is set to 'ANY 2 ("postgres-0","postgres-2")' after 2 seconds # features/steps/quorum_commit.py:39 3092s Mar 22 13:57:13 3092s Mar 22 13:57:13 Scenario: switch from quorum replication to good old multisync and back # features/quorum_commit.feature:42 3092s Mar 22 13:57:13 Given I issue a PATCH request to http://127.0.0.1:8009/config with {"synchronous_mode": true, "synchronous_node_count": 1} # features/steps/patroni_api.py:73 3093s Mar 22 13:57:14 And I shut down postgres-0 # features/steps/basic_replication.py:41 3094s Mar 22 13:57:15 Then synchronous_standby_names on postgres-1 is set to '"postgres-2"' after 10 seconds # features/steps/quorum_commit.py:39 3096s Mar 22 13:57:17 And sync key in DCS has sync_standby=postgres-2 after 10 seconds # features/steps/quorum_commit.py:8 3098s Mar 22 13:57:19 Then sync key in DCS has quorum=0 after 2 seconds # features/steps/quorum_commit.py:8 3098s Mar 22 13:57:19 When I issue a PATCH request to http://127.0.0.1:8009/config with {"synchronous_mode": "quorum"} # features/steps/patroni_api.py:73 3098s Mar 22 13:57:19 And I start postgres-0 # features/steps/basic_replication.py:20 3101s Mar 22 13:57:22 Then synchronous_standby_names on postgres-1 is set to 'ANY 1 ("postgres-0","postgres-2")' after 10 seconds # features/steps/quorum_commit.py:39 3101s Mar 22 13:57:22 And sync key in DCS has sync_standby=postgres-0,postgres-2 after 10 seconds # features/steps/quorum_commit.py:8 3101s Mar 22 13:57:22 Then sync key in DCS has quorum=1 after 2 seconds # features/steps/quorum_commit.py:8 3101s Mar 22 13:57:22 3101s Mar 22 13:57:22 Scenario: REST API and patronictl # features/quorum_commit.feature:54 3101s Mar 22 13:57:22 Given I run patronictl.py list batman # features/steps/patroni_api.py:88 3102s Mar 22 13:57:23 Then I receive a response returncode 0 # features/steps/patroni_api.py:100 3102s Mar 22 13:57:23 And I receive a response output "Quorum Standby" # features/steps/patroni_api.py:100 3102s Mar 22 13:57:23 And Status code on GET http://127.0.0.1:8008/quorum is 200 after 3 seconds # features/steps/patroni_api.py:144 3102s Mar 22 13:57:23 And Status code on GET http://127.0.0.1:8010/quorum is 200 after 3 seconds # features/steps/patroni_api.py:144 3102s Mar 22 13:57:23 3102s Mar 22 13:57:23 Scenario: nosync node is removed from voters and synchronous_standby_names # features/quorum_commit.feature:61 3102s Mar 22 13:57:23 Given I add tag nosync true to postgres-2 config # features/steps/patroni_api.py:139 3102s Mar 22 13:57:23 When I issue an empty POST request to http://127.0.0.1:8010/reload # features/steps/patroni_api.py:68 3102s Mar 22 13:57:23 Then I receive a response code 202 # features/steps/patroni_api.py:100 3102s Mar 22 13:57:23 And sync key in DCS has quorum=0 after 10 seconds # features/steps/quorum_commit.py:8 3105s Mar 22 13:57:26 And sync key in DCS has sync_standby=postgres-0 after 10 seconds # features/steps/quorum_commit.py:8 3105s Mar 22 13:57:26 And synchronous_standby_names on postgres-1 is set to 'ANY 1 ("postgres-0")' after 2 seconds # features/steps/quorum_commit.py:39 3105s Mar 22 13:57:26 And Status code on GET http://127.0.0.1:8010/quorum is 503 after 10 seconds # features/steps/patroni_api.py:144 3119s Mar 22 13:57:40 3119s Mar 22 13:57:40 Feature: recovery # features/recovery.feature:1 3119s Mar 22 13:57:40 We want to check that crashed postgres is started back 3119s Mar 22 13:57:40 Scenario: check that timeline is not incremented when primary is started after crash # features/recovery.feature:4 3119s Mar 22 13:57:40 Given I start postgres-0 # features/steps/basic_replication.py:20 3128s Mar 22 13:57:49 Then postgres-0 is a leader after 10 seconds # features/steps/patroni_api.py:31 3128s Mar 22 13:57:49 And there is a non empty initialize key in DCS after 15 seconds # features/steps/cascading_replication.py:41 3128s Mar 22 13:57:49 When I start postgres-1 # features/steps/basic_replication.py:20 3138s Mar 22 13:57:58 And I add the table foo to postgres-0 # features/steps/basic_replication.py:66 3138s Mar 22 13:57:59 Then table foo is present on postgres-1 after 20 seconds # features/steps/basic_replication.py:105 3139s Mar 22 13:58:00 When I kill postmaster on postgres-0 # features/steps/basic_replication.py:56 3139s Mar 22 13:58:00 waiting for server to shut down.... done 3139s Mar 22 13:58:00 server stopped 3139s Mar 22 13:58:00 Then postgres-0 role is the primary after 10 seconds # features/steps/basic_replication.py:117 3141s Mar 22 13:58:02 When I issue a GET request to http://127.0.0.1:8008/ # features/steps/patroni_api.py:63 3141s Mar 22 13:58:02 Then I receive a response code 200 # features/steps/patroni_api.py:100 3141s Mar 22 13:58:02 And I receive a response role primary # features/steps/patroni_api.py:100 3141s Mar 22 13:58:02 And I receive a response timeline 1 # features/steps/patroni_api.py:100 3141s Mar 22 13:58:02 And "members/postgres-0" key in DCS has state=running after 12 seconds # features/steps/cascading_replication.py:23 3142s Mar 22 13:58:03 And replication works from postgres-0 to postgres-1 after 15 seconds # features/steps/basic_replication.py:124 3145s Mar 22 13:58:06 3145s Mar 22 13:58:06 Scenario: check immediate failover when master_start_timeout=0 # features/recovery.feature:20 3145s Mar 22 13:58:06 Given I issue a PATCH request to http://127.0.0.1:8008/config with {"master_start_timeout": 0} # features/steps/patroni_api.py:73 3145s Mar 22 13:58:06 Then I receive a response code 200 # features/steps/patroni_api.py:100 3145s Mar 22 13:58:06 And Response on GET http://127.0.0.1:8008/config contains master_start_timeout after 10 seconds # features/steps/patroni_api.py:158 3145s Mar 22 13:58:06 When I kill postmaster on postgres-0 # features/steps/basic_replication.py:56 3145s Mar 22 13:58:06 waiting for server to shut down.... done 3145s Mar 22 13:58:06 server stopped 3145s Mar 22 13:58:06 Then postgres-1 is a leader after 10 seconds # features/steps/patroni_api.py:31 3147s Mar 22 13:58:08 And postgres-1 role is the primary after 10 seconds # features/steps/basic_replication.py:117 3148s Mar 22 13:58:09 3148s Mar 22 13:58:09 Scenario: check crashed primary demotes after failed attempt to start # features/recovery.feature:28 3148s Mar 22 13:58:09 Given I issue a PATCH request to http://127.0.0.1:8009/config with {"master_start_timeout": null} # features/steps/patroni_api.py:73 3148s Mar 22 13:58:09 Then I receive a response code 200 # features/steps/patroni_api.py:100 3148s Mar 22 13:58:09 And postgres-0 role is the replica after 10 seconds # features/steps/basic_replication.py:117 3150s Mar 22 13:58:11 When I ensure postgres-1 fails to start after a failure # features/steps/recovery.py:6 3150s Mar 22 13:58:11 When I kill postmaster on postgres-1 # features/steps/basic_replication.py:56 3150s Mar 22 13:58:11 waiting for server to shut down.... done 3150s Mar 22 13:58:11 server stopped 3150s Mar 22 13:58:11 Then postgres-0 is a leader after 10 seconds # features/steps/patroni_api.py:31 3153s Mar 22 13:58:14 And there is a postgres-1_cb.log with "on_role_change demoted batman" in postgres-1 data directory # features/steps/cascading_replication.py:12 3163s Mar 22 13:58:24 3163s Mar 22 13:58:24 Feature: standby cluster # features/standby_cluster.feature:1 3163s Mar 22 13:58:24 3163s Mar 22 13:58:24 Scenario: prepare the cluster with logical slots # features/standby_cluster.feature:2 3163s Mar 22 13:58:24 Given I start postgres-1 # features/steps/basic_replication.py:20 3172s Mar 22 13:58:33 Then postgres-1 is a leader after 10 seconds # features/steps/patroni_api.py:31 3172s Mar 22 13:58:33 And there is a non empty initialize key in DCS after 15 seconds # features/steps/cascading_replication.py:41 3172s Mar 22 13:58:33 When I issue a PATCH request to http://127.0.0.1:8009/config with {"slots": {"pm_1": {"type": "physical"}}, "postgresql": {"parameters": {"wal_level": "logical"}}} # features/steps/patroni_api.py:73 3172s Mar 22 13:58:33 Then I receive a response code 200 # features/steps/patroni_api.py:100 3172s Mar 22 13:58:33 And Response on GET http://127.0.0.1:8009/config contains slots after 10 seconds # features/steps/patroni_api.py:158 3172s Mar 22 13:58:33 And I sleep for 3 seconds # features/steps/patroni_api.py:41 3175s Mar 22 13:58:36 When I issue a PATCH request to http://127.0.0.1:8009/config with {"slots": {"test_logical": {"type": "logical", "database": "postgres", "plugin": "test_decoding"}}} # features/steps/patroni_api.py:73 3175s Mar 22 13:58:36 Then I receive a response code 200 # features/steps/patroni_api.py:100 3175s Mar 22 13:58:36 And I do a backup of postgres-1 # features/steps/custom_bootstrap.py:25 3175s Mar 22 13:58:36 When I start postgres-0 # features/steps/basic_replication.py:20 3178s Mar 22 13:58:39 Then "members/postgres-0" key in DCS has state=running after 10 seconds # features/steps/cascading_replication.py:23 3179s Mar 22 13:58:40 And replication works from postgres-1 to postgres-0 after 15 seconds # features/steps/basic_replication.py:124 3180s Mar 22 13:58:41 When I issue a GET request to http://127.0.0.1:8008/patroni # features/steps/patroni_api.py:63 3180s Mar 22 13:58:41 Then I receive a response code 200 # features/steps/patroni_api.py:100 3180s Mar 22 13:58:41 And I receive a response replication_state streaming # features/steps/patroni_api.py:100 3180s Mar 22 13:58:41 And "members/postgres-0" key in DCS has replication_state=streaming after 10 seconds # features/steps/cascading_replication.py:23 3180s Mar 22 13:58:41 3180s Mar 22 13:58:41 @slot-advance 3180s Mar 22 13:58:41 Scenario: check permanent logical slots are synced to the replica # features/standby_cluster.feature:22 3180s Mar 22 13:58:41 Given I run patronictl.py restart batman postgres-1 --force # features/steps/patroni_api.py:88 3182s Mar 22 13:58:43 Then Logical slot test_logical is in sync between postgres-0 and postgres-1 after 10 seconds # features/steps/slots.py:52 3188s Mar 22 13:58:49 3188s Mar 22 13:58:49 Scenario: Detach exiting node from the cluster # features/standby_cluster.feature:26 3188s Mar 22 13:58:49 When I shut down postgres-1 # features/steps/basic_replication.py:41 3190s Mar 22 13:58:51 Then postgres-0 is a leader after 10 seconds # features/steps/patroni_api.py:31 3190s Mar 22 13:58:51 And "members/postgres-0" key in DCS has role=primary after 5 seconds # features/steps/cascading_replication.py:23 3191s Mar 22 13:58:52 When I issue a GET request to http://127.0.0.1:8008/ # features/steps/patroni_api.py:63 3191s Mar 22 13:58:52 Then I receive a response code 200 # features/steps/patroni_api.py:100 3191s Mar 22 13:58:52 3191s Mar 22 13:58:52 Scenario: check replication of a single table in a standby cluster # features/standby_cluster.feature:33 3191s Mar 22 13:58:52 Given I start postgres-1 in a standby cluster batman1 as a clone of postgres-0 # features/steps/standby_cluster.py:23 3194s Mar 22 13:58:55 Then postgres-1 is a leader of batman1 after 10 seconds # features/steps/custom_bootstrap.py:16 3196s Mar 22 13:58:57 When I add the table foo to postgres-0 # features/steps/basic_replication.py:66 3196s Mar 22 13:58:57 Then table foo is present on postgres-1 after 20 seconds # features/steps/basic_replication.py:105 3196s Mar 22 13:58:57 When I issue a GET request to http://127.0.0.1:8009/patroni # features/steps/patroni_api.py:63 3196s Mar 22 13:58:57 Then I receive a response code 200 # features/steps/patroni_api.py:100 3196s Mar 22 13:58:57 And I receive a response replication_state streaming # features/steps/patroni_api.py:100 3196s Mar 22 13:58:57 And I sleep for 3 seconds # features/steps/patroni_api.py:41 3199s Mar 22 13:59:00 When I issue a GET request to http://127.0.0.1:8009/primary # features/steps/patroni_api.py:63 3199s Mar 22 13:59:00 Then I receive a response code 503 # features/steps/patroni_api.py:100 3199s Mar 22 13:59:00 When I issue a GET request to http://127.0.0.1:8009/standby_leader # features/steps/patroni_api.py:63 3200s Mar 22 13:59:00 Then I receive a response code 200 # features/steps/patroni_api.py:100 3200s Mar 22 13:59:00 And I receive a response role standby_leader # features/steps/patroni_api.py:100 3200s Mar 22 13:59:00 And there is a postgres-1_cb.log with "on_role_change standby_leader batman1" in postgres-1 data directory # features/steps/cascading_replication.py:12 3200s Mar 22 13:59:00 When I start postgres-2 in a cluster batman1 # features/steps/standby_cluster.py:12 3203s Mar 22 13:59:04 Then postgres-2 role is the replica after 24 seconds # features/steps/basic_replication.py:117 3203s Mar 22 13:59:04 And postgres-2 is replicating from postgres-1 after 10 seconds # features/steps/standby_cluster.py:52 3203s Mar 22 13:59:04 And table foo is present on postgres-2 after 20 seconds # features/steps/basic_replication.py:105 3203s Mar 22 13:59:04 When I issue a GET request to http://127.0.0.1:8010/patroni # features/steps/patroni_api.py:63 3203s Mar 22 13:59:04 Then I receive a response code 200 # features/steps/patroni_api.py:100 3203s Mar 22 13:59:04 And I receive a response replication_state streaming # features/steps/patroni_api.py:100 3203s Mar 22 13:59:04 And postgres-1 does not have a replication slot named test_logical # features/steps/slots.py:41 3203s Mar 22 13:59:04 3203s Mar 22 13:59:04 Scenario: check switchover # features/standby_cluster.feature:57 3203s Mar 22 13:59:04 Given I run patronictl.py switchover batman1 --force # features/steps/patroni_api.py:88 3206s Mar 22 13:59:07 Then Status code on GET http://127.0.0.1:8010/standby_leader is 200 after 10 seconds # features/steps/patroni_api.py:144 3206s Mar 22 13:59:07 And postgres-1 is replicating from postgres-2 after 32 seconds # features/steps/standby_cluster.py:52 3208s Mar 22 13:59:09 And there is a postgres-2_cb.log with "on_start replica batman1\non_role_change standby_leader batman1" in postgres-2 data directory # features/steps/cascading_replication.py:12 3208s Mar 22 13:59:09 3208s Mar 22 13:59:09 Scenario: check failover # features/standby_cluster.feature:63 3208s Mar 22 13:59:09 When I kill postgres-2 # features/steps/basic_replication.py:46 3209s Mar 22 13:59:10 And I kill postmaster on postgres-2 # features/steps/basic_replication.py:56 3209s Mar 22 13:59:10 waiting for server to shut down.... done 3209s Mar 22 13:59:10 server stopped 3209s Mar 22 13:59:10 Then postgres-1 is replicating from postgres-0 after 32 seconds # features/steps/standby_cluster.py:52 3228s Mar 22 13:59:29 And Status code on GET http://127.0.0.1:8009/standby_leader is 200 after 10 seconds # features/steps/patroni_api.py:144 3228s Mar 22 13:59:29 When I issue a GET request to http://127.0.0.1:8009/primary # features/steps/patroni_api.py:63 3228s Mar 22 13:59:29 Then I receive a response code 503 # features/steps/patroni_api.py:100 3228s Mar 22 13:59:29 And I receive a response role standby_leader # features/steps/patroni_api.py:100 3228s Mar 22 13:59:29 And replication works from postgres-0 to postgres-1 after 15 seconds # features/steps/basic_replication.py:124 3229s Mar 22 13:59:30 And there is a postgres-1_cb.log with "on_role_change replica batman1\non_role_change standby_leader batman1" in postgres-1 data directory # features/steps/cascading_replication.py:12 3243s Mar 22 13:59:44 3243s Mar 22 13:59:44 Feature: watchdog # features/watchdog.feature:1 3243s Mar 22 13:59:44 Verify that watchdog gets pinged and triggered under appropriate circumstances. 3243s Mar 22 13:59:44 Scenario: watchdog is opened and pinged # features/watchdog.feature:4 3243s Mar 22 13:59:44 Given I start postgres-0 with watchdog # features/steps/watchdog.py:17 3252s Mar 22 13:59:53 Then postgres-0 is a leader after 10 seconds # features/steps/patroni_api.py:31 3252s Mar 22 13:59:53 And postgres-0 role is the primary after 10 seconds # features/steps/basic_replication.py:117 3252s Mar 22 13:59:53 And postgres-0 watchdog has been pinged after 10 seconds # features/steps/watchdog.py:22 3252s Mar 22 13:59:53 And postgres-0 watchdog has a 15 second timeout # features/steps/watchdog.py:35 3252s Mar 22 13:59:53 3252s Mar 22 13:59:53 Scenario: watchdog is reconfigured after global ttl changed # features/watchdog.feature:11 3252s Mar 22 13:59:53 Given I run patronictl.py edit-config batman -s ttl=30 --force # features/steps/patroni_api.py:88 3253s Mar 22 13:59:54 Then I receive a response returncode 0 # features/steps/patroni_api.py:100 3253s Mar 22 13:59:54 And I receive a response output "+ttl: 30" # features/steps/patroni_api.py:100 3253s Mar 22 13:59:54 When I sleep for 4 seconds # features/steps/patroni_api.py:41 3257s Mar 22 13:59:58 Then postgres-0 watchdog has a 25 second timeout # features/steps/watchdog.py:35 3257s Mar 22 13:59:58 3257s Mar 22 13:59:58 Scenario: watchdog is disabled during pause # features/watchdog.feature:18 3257s Mar 22 13:59:58 Given I run patronictl.py pause batman # features/steps/patroni_api.py:88 3258s Mar 22 13:59:59 Then I receive a response returncode 0 # features/steps/patroni_api.py:100 3258s Mar 22 13:59:59 When I sleep for 2 seconds # features/steps/patroni_api.py:41 3260s Mar 22 14:00:01 Then postgres-0 watchdog has been closed # features/steps/watchdog.py:30 3260s Mar 22 14:00:01 3260s Mar 22 14:00:01 Scenario: watchdog is opened and pinged after resume # features/watchdog.feature:24 3260s Mar 22 14:00:01 Given I reset postgres-0 watchdog state # features/steps/watchdog.py:40 3260s Mar 22 14:00:01 And I run patronictl.py resume batman # features/steps/patroni_api.py:88 3262s Mar 22 14:00:03 Then I receive a response returncode 0 # features/steps/patroni_api.py:100 3262s Mar 22 14:00:03 And postgres-0 watchdog has been pinged after 10 seconds # features/steps/watchdog.py:22 3262s Mar 22 14:00:03 3262s Mar 22 14:00:03 Scenario: watchdog is disabled when shutting down # features/watchdog.feature:30 3262s Mar 22 14:00:03 Given I shut down postgres-0 # features/steps/basic_replication.py:41 3264s Mar 22 14:00:05 Then postgres-0 watchdog has been closed # features/steps/watchdog.py:30 3264s Mar 22 14:00:05 3264s Mar 22 14:00:05 Scenario: watchdog is triggered if patroni stops responding # features/watchdog.feature:34 3264s Mar 22 14:00:05 Given I reset postgres-0 watchdog state # features/steps/watchdog.py:40 3264s Mar 22 14:00:05 And I start postgres-0 with watchdog # features/steps/watchdog.py:17 3266s Mar 22 14:00:07 Then postgres-0 role is the primary after 10 seconds # features/steps/basic_replication.py:117 3269s Mar 22 14:00:10 When postgres-0 hangs for 30 seconds # features/steps/watchdog.py:53 3269s Mar 22 14:00:10 Then postgres-0 watchdog is triggered after 30 seconds # features/steps/watchdog.py:45 3307s Mar 22 14:00:48 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.4222.XfLXhsLx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.4225.XKqKBbkx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.4270.XHsstVux 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.4319.XYsAkpax 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.4369.XNfOigZx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.4413.XbJAhzax 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.4486.XOXwycSx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.4535.XMcuYKAx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.4539.XNGQsQOx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.4616.XUosUgix 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.4729.XOmfxyVx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.4732.XJNuFXWx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.4777.XeeLLhax 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.4827.XKrJvQMx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.4918.XBCNsfVx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.4922.XcjKKhHx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.4925.XDbDdyIx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.4971.XPqpRcBx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.5028.XIUKyHLx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.5123.XYFXnSix 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.5126.XNlNYTgx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.5452.XVdOFVyx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.5521.XPvGrytx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.5592.XxyfuHsx 3309s Mar 22 14:00:50 Skipping duplicate data .coverage.autopkgtest.5860.XrmhzcKx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.5863.XPaBJIjx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.5916.XnVzBaux 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.5979.XVJcYpPx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.6069.XrEGOHGx 3309s Mar 22 14:00:50 Skipping duplicate data .coverage.autopkgtest.6168.XvYmEHXx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.6171.XuyOhrRx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.6215.Xzuhporx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.6281.XHOpsCSx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.6316.XBqEfWfx 3309s Mar 22 14:00:50 Skipping duplicate data .coverage.autopkgtest.6454.XkEfIECx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.6458.XIhabObx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.6508.XzvglaJx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.6524.XxCeycdx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.6566.XTajlnWx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.6614.XodLdKzx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.6620.XrrTsgSx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.6659.XGjhlJRx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.6704.XBwZHjVx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.6874.XDLNtLUx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.6877.XsSZKeHx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.6884.XTXQgYtx 3309s Mar 22 14:00:50 Skipping duplicate data .coverage.autopkgtest.7018.XkFmboVx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.7021.XTBBiGTx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.7068.XPeAXDEx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.7114.XWHyjIEx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.7161.XJPfMGcx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.7210.XcPMFSMx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.7352.XJUjvAEx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.7435.XYQlrCTx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.7438.XWKObgGx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.7482.XUzFUYGx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.7555.XoInMrQx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.7649.XnTUVLrx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.7700.XpwaZaFx 3309s Mar 22 14:00:50 Skipping duplicate data .coverage.autopkgtest.8030.XWzzRvUx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.8033.XfxTSVMx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.8086.XeviIBwx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.8149.XCBCGIPx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.8240.XRuRHNcx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.8289.XzDzxxIx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.8345.XQSZXXlx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.8389.XtjpKUyx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.8427.XqyEgjIx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.8430.XAClKHAx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.8474.XSPEiqlx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.8709.XdmDnhcx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.8712.XpAZfaBx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.8775.Ximnlhpx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.8837.XwAMIXAx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.8941.XbeqzKKx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.9059.XiTdMDRx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.9244.XxwqfExx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.9248.XggSoBVx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.9292.XYFLcLzx 3309s Mar 22 14:00:50 Skipping duplicate data .coverage.autopkgtest.9295.XVirBiHx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.9300.XUMbHycx 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.9317.XtVqnsax 3309s Mar 22 14:00:50 Combined data file .coverage.autopkgtest.9383.XZKFdYOx 3312s Mar 22 14:00:53 Name Stmts Miss Cover 3312s Mar 22 14:00:53 ---------------------------------------------------------------------------------------------------------- 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/_distutils_hack/__init__.py 101 96 5% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/cryptography/__about__.py 5 0 100% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/cryptography/__init__.py 3 0 100% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/cryptography/exceptions.py 26 5 81% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/cryptography/fernet.py 137 54 61% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/cryptography/hazmat/__init__.py 2 0 100% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/cryptography/hazmat/_oid.py 135 0 100% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/cryptography/hazmat/backends/__init__.py 5 0 100% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/cryptography/hazmat/backends/openssl/__init__.py 3 0 100% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/cryptography/hazmat/backends/openssl/backend.py 135 67 50% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/cryptography/hazmat/bindings/__init__.py 0 0 100% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/cryptography/hazmat/bindings/openssl/__init__.py 0 0 100% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/cryptography/hazmat/bindings/openssl/_conditional.py 38 17 55% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/cryptography/hazmat/bindings/openssl/binding.py 51 4 92% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/cryptography/hazmat/decrepit/__init__.py 1 0 100% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/cryptography/hazmat/decrepit/ciphers/__init__.py 1 0 100% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/cryptography/hazmat/decrepit/ciphers/algorithms.py 68 18 74% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/__init__.py 0 0 100% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/_asymmetric.py 6 0 100% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/_cipheralgorithm.py 23 1 96% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/_serialization.py 79 35 56% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/__init__.py 0 0 100% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/ec.py 172 22 87% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/padding.py 55 23 58% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/rsa.py 93 40 57% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/asymmetric/utils.py 14 5 64% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/ciphers/__init__.py 4 0 100% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/ciphers/algorithms.py 72 13 82% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/ciphers/base.py 54 3 94% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/ciphers/modes.py 140 50 64% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/constant_time.py 6 3 50% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/hashes.py 127 20 84% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/hmac.py 6 0 100% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/kdf/__init__.py 7 0 100% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/kdf/pbkdf2.py 27 5 81% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/cryptography/hazmat/primitives/padding.py 104 37 64% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/cryptography/utils.py 76 25 67% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/dateutil/__init__.py 13 4 69% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/dateutil/_common.py 25 15 40% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/dateutil/_version.py 13 3 77% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/dateutil/parser/__init__.py 33 4 88% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/dateutil/parser/_parser.py 810 436 46% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/dateutil/parser/isoparser.py 183 150 18% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/dateutil/relativedelta.py 240 206 14% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/dateutil/tz/__init__.py 4 0 100% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/dateutil/tz/_common.py 151 114 25% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/dateutil/tz/_factories.py 49 21 57% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/dateutil/tz/tz.py 794 626 21% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/dateutil/tz/win.py 152 149 2% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/patroni/__init__.py 13 2 85% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/patroni/__main__.py 201 66 67% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/patroni/api.py 788 292 63% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/patroni/async_executor.py 96 15 84% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/patroni/collections.py 56 5 91% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/patroni/config.py 357 88 75% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/patroni/config_generator.py 212 159 25% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/patroni/daemon.py 76 3 96% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/patroni/dcs/__init__.py 710 99 86% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/patroni/dcs/raft.py 319 42 87% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/patroni/dynamic_loader.py 35 7 80% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/patroni/exceptions.py 16 0 100% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/patroni/file_perm.py 47 10 79% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/patroni/global_config.py 87 0 100% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/patroni/ha.py 1359 302 78% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/patroni/log.py 235 79 66% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/patroni/postgresql/__init__.py 825 167 80% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/patroni/postgresql/available_parameters/__init__.py 24 3 88% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/patroni/postgresql/bootstrap.py 254 60 76% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/patroni/postgresql/callback_executor.py 55 8 85% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/patroni/postgresql/cancellable.py 104 41 61% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/patroni/postgresql/config.py 840 219 74% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/patroni/postgresql/connection.py 75 1 99% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/patroni/postgresql/misc.py 43 8 81% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/patroni/postgresql/mpp/__init__.py 89 11 88% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/patroni/postgresql/postmaster.py 170 83 51% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/patroni/postgresql/rewind.py 416 127 69% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/patroni/postgresql/slots.py 349 41 88% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/patroni/postgresql/sync.py 154 11 93% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/patroni/postgresql/validator.py 157 24 85% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/patroni/psycopg.py 46 19 59% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/patroni/quorum.py 182 48 74% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/patroni/request.py 58 6 90% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/patroni/tags.py 38 0 100% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/patroni/utils.py 371 122 67% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/patroni/validator.py 309 215 30% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/patroni/version.py 1 0 100% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/patroni/watchdog/__init__.py 2 0 100% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/patroni/watchdog/base.py 203 42 79% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/patroni/watchdog/linux.py 135 35 74% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/psutil/__init__.py 950 629 34% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/psutil/_common.py 422 212 50% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/psutil/_compat.py 301 263 13% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/psutil/_pslinux.py 1250 924 26% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/psutil/_psposix.py 95 38 60% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/psycopg2/__init__.py 19 3 84% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/psycopg2/_json.py 64 27 58% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/psycopg2/_range.py 269 172 36% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/psycopg2/errors.py 3 2 33% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/psycopg2/extensions.py 91 25 73% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/pysyncobj/__init__.py 2 0 100% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/pysyncobj/atomic_replace.py 4 0 100% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/pysyncobj/config.py 80 1 99% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/pysyncobj/dns_resolver.py 52 10 81% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/pysyncobj/encryptor.py 17 2 88% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/pysyncobj/fast_queue.py 21 1 95% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/pysyncobj/journal.py 193 37 81% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/pysyncobj/monotonic.py 76 70 8% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/pysyncobj/node.py 49 10 80% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/pysyncobj/pickle.py 52 32 38% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/pysyncobj/pipe_notifier.py 24 2 92% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/pysyncobj/poller.py 87 41 53% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/pysyncobj/serializer.py 167 133 20% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/pysyncobj/syncobj.py 1057 500 53% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/pysyncobj/tcp_connection.py 250 35 86% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/pysyncobj/tcp_server.py 56 12 79% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/pysyncobj/transport.py 266 57 79% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/pysyncobj/utility.py 59 7 88% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/pysyncobj/version.py 1 0 100% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/pysyncobj/win_inet_pton.py 44 31 30% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/urllib3/__init__.py 49 15 69% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/urllib3/_base_connection.py 63 45 29% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/urllib3/_collections.py 231 104 55% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/urllib3/_request_methods.py 54 16 70% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/urllib3/_version.py 13 3 77% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/urllib3/connection.py 389 143 63% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/urllib3/connectionpool.py 344 130 62% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/urllib3/exceptions.py 121 39 68% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/urllib3/fields.py 92 73 21% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/urllib3/filepost.py 37 24 35% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/urllib3/http2/__init__.py 28 21 25% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/urllib3/http2/probe.py 49 31 37% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/urllib3/poolmanager.py 233 88 62% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/urllib3/response.py 634 395 38% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/urllib3/util/__init__.py 10 0 100% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/urllib3/util/connection.py 66 9 86% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/urllib3/util/proxy.py 13 6 54% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/urllib3/util/request.py 104 49 53% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/urllib3/util/response.py 32 17 47% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/urllib3/util/retry.py 174 50 71% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/urllib3/util/ssl_.py 172 73 58% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/urllib3/util/ssl_match_hostname.py 66 54 18% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/urllib3/util/ssltransport.py 152 106 30% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/urllib3/util/timeout.py 71 19 73% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/urllib3/util/url.py 203 76 63% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/urllib3/util/util.py 26 9 65% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/urllib3/util/wait.py 49 38 22% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/yaml/__init__.py 165 109 34% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/yaml/composer.py 92 17 82% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/yaml/constructor.py 479 276 42% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/yaml/cyaml.py 46 24 48% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/yaml/dumper.py 23 12 48% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/yaml/emitter.py 838 769 8% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/yaml/error.py 58 42 28% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/yaml/events.py 61 6 90% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/yaml/loader.py 47 24 49% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/yaml/nodes.py 29 7 76% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/yaml/parser.py 352 180 49% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/yaml/reader.py 122 30 75% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/yaml/representer.py 248 176 29% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/yaml/resolver.py 135 76 44% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/yaml/scanner.py 758 415 45% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/yaml/serializer.py 85 70 18% 3312s Mar 22 14:00:53 /usr/lib/python3/dist-packages/yaml/tokens.py 76 17 78% 3312s Mar 22 14:00:53 patroni/__init__.py 13 2 85% 3312s Mar 22 14:00:53 patroni/__main__.py 201 201 0% 3312s Mar 22 14:00:53 patroni/api.py 788 788 0% 3312s Mar 22 14:00:53 patroni/async_executor.py 96 69 28% 3312s Mar 22 14:00:53 patroni/collections.py 56 15 73% 3312s Mar 22 14:00:53 patroni/config.py 357 179 50% 3312s Mar 22 14:00:53 patroni/config_generator.py 212 212 0% 3312s Mar 22 14:00:53 patroni/ctl.py 936 395 58% 3312s Mar 22 14:00:53 patroni/daemon.py 76 6 92% 3312s Mar 22 14:00:53 patroni/dcs/__init__.py 710 316 55% 3312s Mar 22 14:00:53 patroni/dcs/consul.py 482 482 0% 3312s Mar 22 14:00:53 patroni/dcs/etcd3.py 679 679 0% 3312s Mar 22 14:00:53 patroni/dcs/etcd.py 603 603 0% 3312s Mar 22 14:00:53 patroni/dcs/exhibitor.py 62 62 0% 3312s Mar 22 14:00:53 patroni/dcs/kubernetes.py 943 943 0% 3312s Mar 22 14:00:53 patroni/dcs/raft.py 319 73 77% 3312s Mar 22 14:00:53 patroni/dcs/zookeeper.py 289 289 0% 3312s Mar 22 14:00:53 patroni/dynamic_loader.py 35 7 80% 3312s Mar 22 14:00:53 patroni/exceptions.py 16 1 94% 3312s Mar 22 14:00:53 patroni/file_perm.py 47 17 64% 3312s Mar 22 14:00:53 patroni/global_config.py 87 19 78% 3312s Mar 22 14:00:53 patroni/ha.py 1359 1359 0% 3312s Mar 22 14:00:53 patroni/log.py 235 103 56% 3312s Mar 22 14:00:53 patroni/postgresql/__init__.py 825 653 21% 3312s Mar 22 14:00:53 patroni/postgresql/available_parameters/__init__.py 24 3 88% 3312s Mar 22 14:00:53 patroni/postgresql/bootstrap.py 254 224 12% 3312s Mar 22 14:00:53 patroni/postgresql/callback_executor.py 55 34 38% 3312s Mar 22 14:00:53 patroni/postgresql/cancellable.py 104 84 19% 3312s Mar 22 14:00:53 patroni/postgresql/config.py 840 720 14% 3312s Mar 22 14:00:53 patroni/postgresql/connection.py 75 50 33% 3312s Mar 22 14:00:53 patroni/postgresql/misc.py 43 30 30% 3312s Mar 22 14:00:53 patroni/postgresql/mpp/__init__.py 89 21 76% 3312s Mar 22 14:00:53 patroni/postgresql/mpp/citus.py 366 366 0% 3312s Mar 22 14:00:53 patroni/postgresql/postmaster.py 170 139 18% 3312s Mar 22 14:00:53 patroni/postgresql/rewind.py 416 416 0% 3312s Mar 22 14:00:53 patroni/postgresql/slots.py 349 300 14% 3312s Mar 22 14:00:53 patroni/postgresql/sync.py 154 114 26% 3312s Mar 22 14:00:53 patroni/postgresql/validator.py 157 52 67% 3312s Mar 22 14:00:53 patroni/psycopg.py 46 32 30% 3312s Mar 22 14:00:53 patroni/quorum.py 182 182 0% 3312s Mar 22 14:00:53 patroni/raft_controller.py 22 1 95% 3312s Mar 22 14:00:53 patroni/request.py 58 6 90% 3312s Mar 22 14:00:53 patroni/scripts/__init__.py 0 0 100% 3312s Mar 22 14:00:53 patroni/scripts/aws.py 59 59 0% 3312s Mar 22 14:00:53 patroni/scripts/barman/__init__.py 0 0 100% 3312s Mar 22 14:00:53 patroni/scripts/barman/cli.py 50 50 0% 3312s Mar 22 14:00:53 patroni/scripts/barman/config_switch.py 50 50 0% 3312s Mar 22 14:00:53 patroni/scripts/barman/recover.py 36 36 0% 3312s Mar 22 14:00:53 patroni/scripts/barman/utils.py 93 93 0% 3312s Mar 22 14:00:53 patroni/scripts/wale_restore.py 207 207 0% 3312s Mar 22 14:00:53 patroni/tags.py 38 11 71% 3312s Mar 22 14:00:53 patroni/utils.py 371 231 38% 3312s Mar 22 14:00:53 patroni/validator.py 309 222 28% 3312s Mar 22 14:00:53 patroni/version.py 1 0 100% 3312s Mar 22 14:00:53 patroni/watchdog/__init__.py 2 2 0% 3312s Mar 22 14:00:53 patroni/watchdog/base.py 203 203 0% 3312s Mar 22 14:00:53 patroni/watchdog/linux.py 135 135 0% 3312s Mar 22 14:00:53 ---------------------------------------------------------------------------------------------------------- 3312s Mar 22 14:00:53 TOTAL 41244 23436 43% 3312s Mar 22 14:00:53 3312s Mar 22 14:00:53 Failing scenarios: 3312s Mar 22 14:00:53 features/nostream_node.feature:21 check that slots are written to the /status key 3312s Mar 22 14:00:53 3312s Mar 22 14:00:53 12 features passed, 1 failed, 1 skipped 3312s Mar 22 14:00:53 62 scenarios passed, 1 failed, 6 skipped 3312s Mar 22 14:00:53 593 steps passed, 1 failed, 73 skipped, 0 undefined 3312s Mar 22 14:00:53 Took 10m40.112s 3312s + for file in features/output/*_failed/* 3312s + case $file in 3312s + continue 3312s + for file in features/output/*_failed/* 3312s + case $file in 3312s + continue 3312s + for file in features/output/*_failed/* 3312s + case $file in 3312s + continue 3312s + for file in features/output/*_failed/* 3312s + case $file in 3312s + continue 3312s + for file in features/output/*_failed/* 3312s + case $file in 3312s + continue 3312s + for file in features/output/*_failed/* 3312s + case $file in 3312s + continue 3312s + for file in features/output/*_failed/* 3312s + case $file in 3312s + echo features/output/nostream_node_failed/patroni_postgres-0.log: 3312s + cat features/output/nostream_node_failed/patroni_postgres-0.log 3312s features/output/nostream_node_failed/patroni_postgres-0.log: 3312s 2025-03-22 13:52:23,010 INFO [/usr/lib/python3/dist-packages/patroni/postgresql/config.py:1265 - reload_config]: No PostgreSQL configuration items changed, nothing to reload. 3312s 2025-03-22 13:52:24,037 INFO [/usr/lib/python3/dist-packages/patroni/ha.py:404 - has_lock]: Lock owner: None; I am postgres-0 3312s 2025-03-22 13:52:24,054 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: trying to bootstrap a new cluster 3312s The files belonging to this database system will be owned by user "ubuntu". 3312s This user must also own the server process. 3312s 3312s The database cluster will be initialized with locale "C.UTF-8". 3312s The default text search configuration will be set to "english". 3312s 3312s Data page checksums are enabled. 3312s 3312s creating directory /tmp/autopkgtest.8qHkda/build.IZy/src/data/postgres-0 ... ok 3312s creating subdirectories ... ok 3312s selecting dynamic shared memory implementation ... posix 3312s selecting default "max_connections" ... 100 3312s selecting default "shared_buffers" ... 128MB 3312s selecting default time zone ... UTC 3312s creating configuration files ... ok 3312s running bootstrap script ... ok 3312s performing post-bootstrap initialization ... ok 3312s syncing data to disk ... ok 3312s 3312s Success. You can now start the database server using: 3312s 3312s pg_ctl -D /tmp/autopkgtest.8qHkda/build.IZy/src/data/postgres-0 -l logfile start 3312s 3312s 2025-03-22 13:52:25,022 INFO [/usr/lib/python3/dist-packages/patroni/ha.py:404 - has_lock]: Lock owner: None; I am postgres-0 3312s 2025-03-22 13:52:25,022 INFO [/usr/lib/python3/dist-packages/patroni/ha.py:1950 - handle_long_action_in_progress]: not healthy enough for leader race 3312s 2025-03-22 13:52:25,028 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: bootstrap in progress 3312s 2025-03-22 13:52:25.312 UTC [6195] DEBUG: using armv8 crc32 hardware = 1 3312s 2025-03-22 13:52:25.312 UTC [6195] DEBUG: registering background worker "logical replication launcher" 3312s 2025-03-22 13:52:25.314 UTC [6195] DEBUG: mmap(10485760) with MAP_HUGETLB failed, huge pages disabled: Cannot allocate memory 3312s 2025-03-22 13:52:25.318 UTC [6195] LOG: redirecting log output to logging collector process 3312s 2025-03-22 13:52:25.318 UTC [6195] HINT: Future log output will appear in directory "/tmp/autopkgtest.8qHkda/build.IZy/src/features/output/nostream_node". 3312s 2025-03-22 13:52:25,354 INFO [/usr/lib/python3/dist-packages/patroni/postgresql/postmaster.py:254 - start]: postmaster pid=6195 3312s /tmp:5375 - accepting connections 3312s /tmp:5375 - accepting connections 3312s 2025-03-22 13:52:25,373 INFO [/usr/lib/python3/dist-packages/patroni/postgresql/connection.py:54 - get]: establishing a new patroni heartbeat connection to postgres 3312s 2025-03-22 13:52:25,384 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: running post_bootstrap 3312s ?column? 3312s ---------- 3312s 1 3312s (1 row) 3312s 3312s 2025-03-22 13:52:25,407 WARNING [/usr/lib/python3/dist-packages/patroni/watchdog/base.py:143 - _activate]: Could not activate Linux watchdog device: Can't open watchdog device: [Errno 2] No such file or directory: '/dev/watchdog' 3312s 2025-03-22 13:52:25,431 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: initialized a new cluster 3312s 2025-03-22 13:52:25,449 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-0), the leader with the lock 3312s 2025-03-22 13:52:27,448 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-0), the leader with the lock 3312s 2025-03-22 13:52:29,443 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-0), the leader with the lock 3312s 2025-03-22 13:52:31,444 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-0), the leader with the lock 3312s 2025-03-22 13:52:33,460 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-0), the leader with the lock 3312s 2025-03-22 13:52:35,451 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-0), the leader with the lock 3312s 2025-03-22 13:52:37,447 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-0), the leader with the lock 3312s 2025-03-22 13:52:39,444 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-0), the leader with the lock 3312s server signaled 3312s 2025-03-22 13:52:40,015 INFO [/usr/lib/python3/dist-packages/patroni/ha.py:404 - has_lock]: Lock owner: postgres-0; I am postgres-0 3312s 2025-03-22 13:52:40,052 ERROR [/usr/lib/python3/dist-packages/patroni/postgresql/slots.py:469 - _ensure_logical_slots_primary]: Failed to create logical replication slot 'test_logical' plugin='test_decoding': ObjectNotInPrerequisiteState('logical decoding requires "wal_level" >= "logical"\n') 3312s 2025-03-22 13:52:40,068 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-0), the leader with the lock 3312s 2025-03-22 13:52:40,073 INFO [/usr/lib/python3/dist-packages/patroni/postgresql/config.py:1183 - reload_config]: Changed wal_level from 'replica' to 'logical' (restart might be required) 3312s 2025-03-22 13:52:40,075 INFO [/usr/lib/python3/dist-packages/patroni/postgresql/config.py:1242 - reload_config]: Reloading PostgreSQL configuration. 3312s server signaled 3312s 2025-03-22 13:52:41,094 INFO [/usr/lib/python3/dist-packages/patroni/ha.py:404 - has_lock]: Lock owner: postgres-0; I am postgres-0 3312s 2025-03-22 13:52:41,125 ERROR [/usr/lib/python3/dist-packages/patroni/postgresql/slots.py:469 - _ensure_logical_slots_primary]: Failed to create logical replication slot 'test_logical' plugin='test_decoding': ObjectNotInPrerequisiteState('logical decoding requires "wal_level" >= "logical"\n') 3312s 2025-03-22 13:52:41,136 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-0), the leader with the lock 3312s 2025-03-22 13:52:41,139 INFO [/usr/lib/python3/dist-packages/patroni/ha.py:404 - has_lock]: Lock owner: postgres-0; I am postgres-0 3312s 2025-03-22 13:52:41,255 INFO [/usr/lib/python3/dist-packages/patroni/postgresql/connection.py:153 - close]: closed patroni connections to postgres 3312s 2025-03-22 13:52:41.572 UTC [6300] DEBUG: using armv8 crc32 hardware = 1 3312s 2025-03-22 13:52:41.572 UTC [6300] DEBUG: registering background worker "logical replication launcher" 3312s 2025-03-22 13:52:41.574 UTC [6300] DEBUG: mmap(10485760) with MAP_HUGETLB failed, huge pages disabled: Cannot allocate memory 3312s 2025-03-22 13:52:41.580 UTC [6300] LOG: redirecting log output to logging collector process 3312s 2025-03-22 13:52:41.580 UTC [6300] HINT: Future log output will appear in directory "/tmp/autopkgtest.8qHkda/build.IZy/src/features/output/nostream_node". 3312s 2025-03-22 13:52:41,618 INFO [/usr/lib/python3/dist-packages/patroni/postgresql/postmaster.py:254 - start]: postmaster pid=6300 3312s /tmp:5375 - accepting connections 3312s /tmp:5375 - accepting connections 3312s 2025-03-22 13:52:41,637 INFO [/usr/lib/python3/dist-packages/patroni/ha.py:404 - has_lock]: Lock owner: postgres-0; I am postgres-0 3312s 2025-03-22 13:52:41,637 INFO [/usr/lib/python3/dist-packages/patroni/postgresql/connection.py:54 - get]: establishing a new patroni heartbeat connection to postgres 3312s 2025-03-22 13:52:41,701 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-0), the leader with the lock 3312s 2025-03-22 13:52:43,674 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-0), the leader with the lock 3312s 2025-03-22 13:52:45,756 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-0), the leader with the lock 3312s features/output/nostream_node_failed/patroni_postgres-1.log: 3312s + for file in features/output/*_failed/* 3312s + case $file in 3312s + echo features/output/nostream_node_failed/patroni_postgres-1.log: 3312s + cat features/output/nostream_node_failed/patroni_postgres-1.log 3312s 2025-03-22 13:52:32,041 INFO [/usr/lib/python3/dist-packages/patroni/postgresql/config.py:1265 - reload_config]: No PostgreSQL configuration items changed, nothing to reload. 3312s 2025-03-22 13:52:33,053 INFO [/usr/lib/python3/dist-packages/patroni/ha.py:404 - has_lock]: Lock owner: None; I am postgres-1 3312s 2025-03-22 13:52:33,057 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: failed to acquire initialize lock 3312s 2025-03-22 13:52:33,059 INFO [/usr/lib/python3/dist-packages/patroni/ha.py:404 - has_lock]: Lock owner: postgres-0; I am postgres-1 3312s 2025-03-22 13:52:33,064 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: trying to bootstrap from leader 'postgres-0' 3312s 2025-03-22 13:52:33,410 INFO [/usr/lib/python3/dist-packages/patroni/postgresql/bootstrap.py:279 - create_replica]: replica has been created using basebackup 3312s 2025-03-22 13:52:33,411 INFO [/usr/lib/python3/dist-packages/patroni/ha.py:508 - clone]: bootstrapped from leader 'postgres-0' 3312s 2025-03-22 13:52:33,449 INFO [/usr/lib/python3/dist-packages/patroni/ha.py:404 - has_lock]: Lock owner: postgres-0; I am postgres-1 3312s 2025-03-22 13:52:33,456 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: bootstrap from leader 'postgres-0' in progress 3312s 2025-03-22 13:52:33.747 UTC [6236] DEBUG: using armv8 crc32 hardware = 1 3312s 2025-03-22 13:52:33.747 UTC [6236] DEBUG: registering background worker "logical replication launcher" 3312s 2025-03-22 13:52:33.749 UTC [6236] DEBUG: mmap(10485760) with MAP_HUGETLB failed, huge pages disabled: Cannot allocate memory 3312s 2025-03-22 13:52:33.754 UTC [6236] LOG: redirecting log output to logging collector process 3312s 2025-03-22 13:52:33.754 UTC [6236] HINT: Future log output will appear in directory "/tmp/autopkgtest.8qHkda/build.IZy/src/features/output/nostream_node". 3312s 2025-03-22 13:52:33,794 INFO [/usr/lib/python3/dist-packages/patroni/postgresql/postmaster.py:254 - start]: postmaster pid=6236 3312s /tmp:5376 - rejecting connections 3312s /tmp:5376 - rejecting connections 3312s /tmp:5376 - accepting connections 3312s 2025-03-22 13:52:34,824 INFO [/usr/lib/python3/dist-packages/patroni/ha.py:404 - has_lock]: Lock owner: postgres-0; I am postgres-1 3312s 2025-03-22 13:52:34,824 INFO [/usr/lib/python3/dist-packages/patroni/postgresql/connection.py:54 - get]: establishing a new patroni heartbeat connection to postgres 3312s 2025-03-22 13:52:34,855 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-1), a secondary, and following a leader (postgres-0) 3312s 2025-03-22 13:52:35,455 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-1), a secondary, and following a leader (postgres-0) 3312s 2025-03-22 13:52:37,454 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-1), a secondary, and following a leader (postgres-0) 3312s 2025-03-22 13:52:39,453 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-1), a secondary, and following a leader (postgres-0) 3312s 2025-03-22 13:52:40,030 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-1), a secondary, and following a leader (postgres-0) 3312s 2025-03-22 13:52:40,041 INFO [/usr/lib/python3/dist-packages/patroni/postgresql/config.py:1183 - reload_config]: Changed wal_level from 'replica' to 'logical' (restart might be required) 3312s 2025-03-22 13:52:40,043 INFO [/usr/lib/python3/dist-packages/patroni/postgresql/config.py:1242 - reload_config]: Reloading PostgreSQL configuration. 3312s server signaled 3312s 2025-03-22 13:52:41,125 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-1), a secondary, and following a leader (postgres-0) 3312s 2025-03-22 13:52:41,676 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-1), a secondary, and following a leader (postgres-0) 3312s 2025-03-22 13:52:43,677 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-1), a secondary, and following a leader (postgres-0) 3312s 2025-03-22 13:52:45,733 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-1), a secondary, and following a leader (postgres-0) 3312s 2025-03-22 13:52:45,766 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-1), a secondary, and following a leader (postgres-0) 3312s 2025-03-22 13:52:47,746 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-1), a secondary, and following a leader (postgres-0) 3312s 2025-03-22 13:52:48,161 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-1), a secondary, and following a leader (postgres-0) 3312s 2025-03-22 13:52:48,214 INFO [/usr/lib/python3/dist-packages/patroni/postgresql/connection.py:54 - get]: establishing a new patroni restapi connection to postgres 3312s 2025-03-22 13:52:48,239 WARNING [/usr/lib/python3/dist-packages/patroni/ha.py:1141 - fetch_node_status]: Request failed to postgres-0: GET https://127.0.0.1:8008/patroni (HTTPSConnectionPool(host='127.0.0.1', port=8008): Max retries exceeded with url: /patroni (Caused by ProtocolError('Connection aborted.', OSError(9, 'Bad file descriptor')))) 3312s 2025-03-22 13:52:48,240 INFO [/usr/lib/python3/dist-packages/patroni/ha.py:1138 - fetch_node_status]: Got response from postgres-2 https://127.0.0.1:8010/patroni: {"state": "running", "postmaster_start_time": "2025-03-22 13:52:44.808497+00:00", "role": "replica", "server_version": 170004, "xlog": {"received_location": 117440512, "replayed_location": 117440512, "replayed_timestamp": null, "paused": false}, "timeline": 1, "replication_state": "streaming", "cluster_unlocked": true, "dcs_last_seen": 1742651568, "tags": {"replicatefrom": "postgres-1"}, "database_system_identifier": "7484631390542096426", "patroni": {"version": "4.0.4", "scope": "batman", "name": "postgres-2"}} 3312s 2025-03-22 13:52:48,249 WARNING [/usr/lib/python3/dist-packages/patroni/watchdog/base.py:143 - _activate]: Could not activate Linux watchdog device: Can't open watchdog device: [Errno 2] No such file or directory: '/dev/watchdog' 3312s 2025-03-22 13:52:48,261 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: promoted self to leader by acquiring session lock 3312s server promoting 3312s 2025-03-22 13:52:48,270 DEBUG [/usr/lib/python3/dist-packages/patroni/postgresql/__init__.py:1234 - promote]: CallbackExecutor.call(['/usr/bin/python3', 'features/callback2.py', 'postgres-1', '5376', on_role_change, 'primary', 'batman']) 3312s features/output/nostream_node_failed/patroni_postgres-2.log: 3312s + for file in features/output/*_failed/* 3312s + case $file in 3312s + echo features/output/nostream_node_failed/patroni_postgres-2.log: 3312s + cat features/output/nostream_node_failed/patroni_postgres-2.log 3312s + for file in features/output/*_failed/* 3312s + case $file in 3312s + echo features/output/nostream_node_failed/postgres-0.csv: 3312s + cat features/output/nostream_node_failed/postgres-0.csv 3312s 2025-03-22 13:52:44,056 INFO [/usr/lib/python3/dist-packages/patroni/postgresql/config.py:1265 - reload_config]: No PostgreSQL configuration items changed, nothing to reload. 3312s 2025-03-22 13:52:44,068 INFO [/usr/lib/python3/dist-packages/patroni/ha.py:404 - has_lock]: Lock owner: postgres-0; I am postgres-2 3312s 2025-03-22 13:52:44,075 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: trying to bootstrap from leader 'postgres-0' 3312s 2025-03-22 13:52:44,076 INFO [/usr/lib/python3/dist-packages/patroni/ha.py:404 - has_lock]: Lock owner: postgres-0; I am postgres-2 3312s 2025-03-22 13:52:44,084 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: bootstrap from leader 'postgres-0' in progress 3312s 2025-03-22 13:52:44,446 INFO [/usr/lib/python3/dist-packages/patroni/postgresql/bootstrap.py:279 - create_replica]: replica has been created using basebackup 3312s 2025-03-22 13:52:44,447 INFO [/usr/lib/python3/dist-packages/patroni/ha.py:508 - clone]: bootstrapped from leader 'postgres-0' 3312s 2025-03-22 13:52:44.793 UTC [6337] DEBUG: using armv8 crc32 hardware = 1 3312s 2025-03-22 13:52:44.793 UTC [6337] DEBUG: registering background worker "logical replication launcher" 3312s 2025-03-22 13:52:44.795 UTC [6337] DEBUG: mmap(10485760) with MAP_HUGETLB failed, huge pages disabled: Cannot allocate memory 3312s 2025-03-22 13:52:44.800 UTC [6337] LOG: redirecting log output to logging collector process 3312s 2025-03-22 13:52:44.800 UTC [6337] HINT: Future log output will appear in directory "/tmp/autopkgtest.8qHkda/build.IZy/src/features/output/nostream_node". 3312s 2025-03-22 13:52:44,834 INFO [/usr/lib/python3/dist-packages/patroni/postgresql/postmaster.py:254 - start]: postmaster pid=6337 3312s /tmp:5377 - rejecting connections 3312s /tmp:5377 - rejecting connections 3312s 2025-03-22 13:52:45,693 INFO [/usr/lib/python3/dist-packages/patroni/ha.py:404 - has_lock]: Lock owner: postgres-0; I am postgres-2 3312s 2025-03-22 13:52:45,722 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: bootstrap from leader 'postgres-0' in progress 3312s /tmp:5377 - accepting connections 3312s 2025-03-22 13:52:45,868 INFO [/usr/lib/python3/dist-packages/patroni/ha.py:404 - has_lock]: Lock owner: postgres-0; I am postgres-2 3312s 2025-03-22 13:52:45,868 INFO [/usr/lib/python3/dist-packages/patroni/postgresql/connection.py:54 - get]: establishing a new patroni heartbeat connection to postgres 3312s 2025-03-22 13:52:45,909 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-2), a secondary, and following a leader (postgres-0) 3312s 2025-03-22 13:52:47,876 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-2), a secondary, and following a leader (postgres-0) 3312s 2025-03-22 13:52:48,165 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-2), a secondary, and following a leader (postgres-0) 3312s 2025-03-22 13:52:48,198 INFO [/usr/lib/python3/dist-packages/patroni/postgresql/connection.py:54 - get]: establishing a new patroni restapi connection to postgres 3312s 2025-03-22 13:52:48,241 WARNING [/usr/lib/python3/dist-packages/patroni/ha.py:1141 - fetch_node_status]: Request failed to postgres-0: GET https://127.0.0.1:8008/patroni (HTTPSConnectionPool(host='127.0.0.1', port=8008): Max retries exceeded with url: /patroni (Caused by ProtocolError('Connection aborted.', OSError(9, 'Bad file descriptor')))) 3312s 2025-03-22 13:52:48,251 INFO [/usr/lib/python3/dist-packages/patroni/ha.py:1138 - fetch_node_status]: Got response from postgres-1 https://127.0.0.1:8009/patroni: {"state": "running", "postmaster_start_time": "2025-03-22 13:52:33.761157+00:00", "role": "replica", "server_version": 170004, "xlog": {"received_location": 117440512, "replayed_location": 117440512, "replayed_timestamp": "2025-03-22 13:52:34.953992+00:00", "paused": false}, "timeline": 1, "replication_state": "in archive recovery", "replication": [{"usename": "replicator", "application_name": "postgres-2", "client_addr": "127.0.0.1", "state": "streaming", "sync_state": "async", "sync_priority": 0}], "cluster_unlocked": true, "dcs_last_seen": 1742651568, "tags": {"nostream": "true"}, "database_system_identifier": "7484631390542096426", "pending_restart": true, "pending_restart_reason": {"wal_level": {"old_value": "replica", "new_value": "logical"}}, "patroni": {"version": "4.0.4", "scope": "batman", "name": "postgres-1"}} 3312s 2025-03-22 13:52:48,271 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: following new leader after trying and failing to obtain lock 3312s 2025-03-22 13:52:50,175 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-2), a secondary, and following a leader (postgres-1) 3312s 2025-03-22 13:52:50,219 INFO [/usr/lib/python3/dist-packages/patroni/__main__.py:212 - _run_cycle]: no action. I am (postgres-2), a secondary, and following a leader (postgres-1) 3312s 2025-03-22 13:52:50,224 WARNING [/usr/lib/python3/dist-packages/patroni/ha.py:1141 - fetch_node_status]: Request failed to postgres-0: GET https://127.0.0.1:8008/patroni (HTTPSConnectionPool(host='127.0.0.1', port=8008): Max retries exceeded with url: /patroni (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) 3312s 2025-03-22 13:52:50,307 WARNING [/usr/lib/python3/dist-packages/patroni/ha.py:1141 - fetch_node_status]: Request failed to postgres-1: GET https://127.0.0.1:8009/patroni (HTTPSConnectionPool(host='127.0.0.1', port=8009): Max retries exceeded with url: /patroni (Caused by ProtocolError('Connection aborted.', OSError(9, 'Bad file descriptor')))) 3312s features/output/nostream_node_failed/postgres-0.csv: 3312s 2025-03-22 13:52:25.318 UTC,,,6195,,67dec099.1833,1,,2025-03-22 13:52:25 UTC,,0,LOG,00000,"ending log output to stderr",,"Future log output will go to log destination ""csvlog"".",,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:25.319 UTC,,,6195,,67dec099.1833,2,,2025-03-22 13:52:25 UTC,,0,LOG,00000,"starting PostgreSQL 17.4 (Ubuntu 17.4-1) on aarch64-unknown-linux-gnu, compiled by gcc (Ubuntu 14.2.0-17ubuntu3) 14.2.0, 64-bit",,,,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:25.319 UTC,,,6195,,67dec099.1833,3,,2025-03-22 13:52:25 UTC,,0,LOG,00000,"listening on IPv4 address ""127.0.0.1"", port 5375",,,,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:25.323 UTC,,,6195,,67dec099.1833,4,,2025-03-22 13:52:25 UTC,,0,LOG,00000,"listening on Unix socket ""/tmp/.s.PGSQL.5375""",,,,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:25.328 UTC,,,6199,,67dec099.1837,1,,2025-03-22 13:52:25 UTC,,0,LOG,00000,"database system was shut down at 2025-03-22 13:52:24 UTC",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:25.328 UTC,,,6199,,67dec099.1837,2,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"checkpoint record is at 0/1735DF0",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:25.328 UTC,,,6199,,67dec099.1837,3,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"redo record is at 0/1735DF0; shutdown true",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:25.328 UTC,,,6199,,67dec099.1837,4,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"next transaction ID: 739; next OID: 13646",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:25.328 UTC,,,6199,,67dec099.1837,5,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"next MultiXactId: 1; next MultiXactOffset: 0",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:25.328 UTC,,,6199,,67dec099.1837,6,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"oldest unfrozen transaction ID: 731, in database 1",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:25.329 UTC,,,6199,,67dec099.1837,7,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"oldest MultiXactId: 1, in database 1",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:25.329 UTC,,,6199,,67dec099.1837,8,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"commit timestamp Xid oldest/newest: 0/0",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:25.329 UTC,,,6199,,67dec099.1837,9,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"transaction ID wrap limit is 2147484378, limited by database with OID 1",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:25.329 UTC,,,6199,,67dec099.1837,10,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"MultiXactId wrap limit is 2147483648, limited by database with OID 1",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:25.329 UTC,,,6199,,67dec099.1837,11,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"starting up replication slots",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:25.329 UTC,,,6199,,67dec099.1837,12,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"xmin required by slots: data 0, catalog 0",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:25.329 UTC,,,6199,,67dec099.1837,13,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"MultiXactId wrap limit is 2147483648, limited by database with OID 1",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:25.329 UTC,,,6199,,67dec099.1837,14,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"MultiXact member stop limit is now 4294914944 based on MultiXact 1",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:25.338 UTC,,,6201,,67dec099.1839,1,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"autovacuum launcher started",,,,,,,,,"","autovacuum launcher",,0 3312s 2025-03-22 13:52:25.339 UTC,,,6195,,67dec099.1833,5,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"starting background worker process ""logical replication launcher""",,,,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:25.339 UTC,,,6195,,67dec099.1833,6,,2025-03-22 13:52:25 UTC,,0,LOG,00000,"database system is ready to accept connections",,,,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:25.340 UTC,,,6203,,67dec099.183b,1,,2025-03-22 13:52:25 UTC,105/0,0,DEBUG,00000,"logical replication launcher started",,,,,,,,,"","logical replication launcher",,0 3312s 2025-03-22 13:52:25.377 UTC,"postgres","postgres",6208,"[local]",67dec099.1840,1,"idle",2025-03-22 13:52:25 UTC,2/2,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:25.384 UTC,"postgres","postgres",6208,"[local]",67dec099.1840,2,"idle",2025-03-22 13:52:25 UTC,2/3,0,LOG,00000,"statement: SET log_statement TO none",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:25.389 UTC,"postgres","postgres",6208,"[local]",67dec099.1840,3,"idle",2025-03-22 13:52:25 UTC,2/12,0,LOG,00000,"statement: RESET pg_stat_statements.track_utility",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:25.389 UTC,"postgres","postgres",6208,"[local]",67dec099.1840,4,"idle",2025-03-22 13:52:25 UTC,2/13,0,LOG,00000,"statement: RESET pgaudit.log",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:25.397 UTC,"postgres","postgres",6211,"[local]",67dec099.1843,1,"idle",2025-03-22 13:52:25 UTC,3/2,0,LOG,00000,"statement: SELECT 1",,,,,,,,,"psql","client backend",,0 3312s 2025-03-22 13:52:25.398 UTC,"postgres","postgres",6208,"[local]",67dec099.1840,5,"idle",2025-03-22 13:52:25 UTC,2/14,0,LOG,00000,"statement: SET log_statement TO none",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:25.401 UTC,"postgres","postgres",6208,"[local]",67dec099.1840,6,"idle",2025-03-22 13:52:25 UTC,2/23,0,LOG,00000,"statement: RESET pg_stat_statements.track_utility",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:25.401 UTC,"postgres","postgres",6208,"[local]",67dec099.1840,7,"idle",2025-03-22 13:52:25 UTC,2/24,0,LOG,00000,"statement: RESET pgaudit.log",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:25.401 UTC,"postgres","postgres",6208,"[local]",67dec099.1840,8,"idle",2025-03-22 13:52:25 UTC,2/25,0,LOG,00000,"statement: SET log_statement TO none",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:25.403 UTC,"postgres","postgres",6208,"[local]",67dec099.1840,9,"idle",2025-03-22 13:52:25 UTC,2/34,0,LOG,00000,"statement: RESET pg_stat_statements.track_utility",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:25.403 UTC,"postgres","postgres",6208,"[local]",67dec099.1840,10,"idle",2025-03-22 13:52:25 UTC,2/35,0,LOG,00000,"statement: RESET pgaudit.log",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:25.403 UTC,"postgres","postgres",6208,"[local]",67dec099.1840,11,"idle",2025-03-22 13:52:25 UTC,2/36,0,LOG,00000,"statement: DO $$ 3312s BEGIN 3312s SET local synchronous_commit = 'local'; 3312s GRANT EXECUTE ON function pg_catalog.pg_ls_dir(text, boolean, boolean) TO ""rewind_user""; 3312s END;$$",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:25.404 UTC,"postgres","postgres",6208,"[local]",67dec099.1840,12,"idle",2025-03-22 13:52:25 UTC,2/37,0,LOG,00000,"statement: DO $$ 3312s BEGIN 3312s SET local synchronous_commit = 'local'; 3312s GRANT EXECUTE ON function pg_catalog.pg_stat_file(text, boolean) TO ""rewind_user""; 3312s END;$$",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:25.405 UTC,"postgres","postgres",6208,"[local]",67dec099.1840,13,"idle",2025-03-22 13:52:25 UTC,2/38,0,LOG,00000,"statement: DO $$ 3312s BEGIN 3312s SET local synchronous_commit = 'local'; 3312s GRANT EXECUTE ON function pg_catalog.pg_read_binary_file(text) TO ""rewind_user""; 3312s END;$$",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:25.406 UTC,"postgres","postgres",6208,"[local]",67dec099.1840,14,"idle",2025-03-22 13:52:25 UTC,2/39,0,LOG,00000,"statement: DO $$ 3312s BEGIN 3312s SET local synchronous_commit = 'local'; 3312s GRANT EXECUTE ON function pg_catalog.pg_read_binary_file(text, bigint, bigint, boolean) TO ""rewind_user""; 3312s END;$$",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:25.408 UTC,"postgres","postgres",6208,"[local]",67dec099.1840,15,"idle",2025-03-22 13:52:25 UTC,2/40,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:25.433 UTC,"postgres","postgres",6208,"[local]",67dec099.1840,16,"idle",2025-03-22 13:52:25 UTC,2/41,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:25.443 UTC,"postgres","postgres",6208,"[local]",67dec099.1840,17,"idle",2025-03-22 13:52:25 UTC,2/42,0,LOG,00000,"statement: SELECT slot_name, slot_type, xmin, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint, plugin, database, datoid, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint FROM pg_catalog.pg_replication_slots WHERE NOT temporary",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:25.879 UTC,"postgres","postgres",6214,"127.0.0.1:51856",67dec099.1846,1,"idle",2025-03-22 13:52:25 UTC,4/2,0,LOG,00000,"statement: SELECT 1",,,,,,,,,"","client backend",,0 3312s 2025-03-22 13:52:25.879 UTC,"postgres","postgres",6214,"127.0.0.1:51856",67dec099.1846,2,"idle",2025-03-22 13:52:25 UTC,4/3,0,LOG,00000,"statement: SET synchronous_commit TO 'local'",,,,,,,,,"","client backend",,0 3312s 2025-03-22 13:52:27.433 UTC,"postgres","postgres",6208,"[local]",67dec099.1840,18,"idle",2025-03-22 13:52:25 UTC,2/43,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:29.433 UTC,"postgres","postgres",6208,"[local]",67dec099.1840,19,"idle",2025-03-22 13:52:25 UTC,2/44,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:31.433 UTC,"postgres","postgres",6208,"[local]",67dec099.1840,20,"idle",2025-03-22 13:52:25 UTC,2/45,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:33.088 UTC,"replicator","",6223,"127.0.0.1:45550",67dec0a1.184f,1,"idle",2025-03-22 13:52:33 UTC,113/0,0,DEBUG,00000,"received replication command: SHOW data_directory_mode",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:33.088 UTC,"replicator","",6223,"127.0.0.1:45550",67dec0a1.184f,2,"idle",2025-03-22 13:52:33 UTC,113/0,0,DEBUG,00000,"received replication command: SHOW wal_segment_size",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:33.088 UTC,"replicator","",6223,"127.0.0.1:45550",67dec0a1.184f,3,"idle",2025-03-22 13:52:33 UTC,113/0,0,DEBUG,00000,"received replication command: IDENTIFY_SYSTEM",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:33.088 UTC,"replicator","",6223,"127.0.0.1:45550",67dec0a1.184f,4,"idle",2025-03-22 13:52:33 UTC,113/0,0,DEBUG,00000,"received replication command: BASE_BACKUP ( LABEL 'pg_basebackup base backup', PROGRESS, CHECKPOINT 'fast', WAIT 0, MANIFEST 'yes', TARGET 'client')",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:33.101 UTC,,,6197,,67dec099.1835,1,,2025-03-22 13:52:25 UTC,,0,LOG,00000,"checkpoint starting: immediate force wait",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:33.101 UTC,,,6197,,67dec099.1835,2,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"performing replication slot checkpoint",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:33.112 UTC,,,6197,,67dec099.1835,3,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"checkpoint sync: number=1 file=global/1233 time=1.825 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:33.112 UTC,,,6197,,67dec099.1835,4,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"checkpoint sync: number=2 file=base/5/2691 time=0.072 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:33.113 UTC,,,6197,,67dec099.1835,5,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"checkpoint sync: number=3 file=global/1260_vm time=0.501 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:33.113 UTC,,,6197,,67dec099.1835,6,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"checkpoint sync: number=4 file=pg_xact/0000 time=0.608 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:33.114 UTC,,,6197,,67dec099.1835,7,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"checkpoint sync: number=5 file=pg_multixact/offsets/0000 time=0.621 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:33.114 UTC,,,6197,,67dec099.1835,8,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"checkpoint sync: number=6 file=base/5/1255 time=0.409 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:33.115 UTC,,,6197,,67dec099.1835,9,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"checkpoint sync: number=7 file=global/2676 time=0.065 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:33.115 UTC,,,6197,,67dec099.1835,10,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"checkpoint sync: number=8 file=global/2677 time=0.054 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:33.115 UTC,,,6197,,67dec099.1835,11,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"checkpoint sync: number=9 file=global/1214 time=0.052 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:33.115 UTC,,,6197,,67dec099.1835,12,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"checkpoint sync: number=10 file=base/5/2690 time=0.052 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:33.115 UTC,,,6197,,67dec099.1835,13,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"checkpoint sync: number=11 file=global/1232 time=0.055 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:33.115 UTC,,,6197,,67dec099.1835,14,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"checkpoint sync: number=12 file=base/5/1255_vm time=0.067 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:33.115 UTC,,,6197,,67dec099.1835,15,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"checkpoint sync: number=13 file=global/1260 time=0.050 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:33.140 UTC,,,6197,,67dec099.1835,16,,2025-03-22 13:52:25 UTC,,0,LOG,00000,"checkpoint complete: wrote 15 buffers (11.7%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.003 s, sync=0.005 s, total=0.039 s; sync files=13, longest=0.002 s, average=0.001 s; distance=9000 kB, estimate=9000 kB; lsn=0/2000080, redo lsn=0/2000028",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:33.140 UTC,"replicator","",6223,"127.0.0.1:45550",67dec0a1.184f,5,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:33 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_snapshots"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:33.140 UTC,"replicator","",6223,"127.0.0.1:45550",67dec0a1.184f,6,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:33 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_subtrans"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:33.140 UTC,"replicator","",6223,"127.0.0.1:45550",67dec0a1.184f,7,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:33 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_dynshmem"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:33.140 UTC,"replicator","",6223,"127.0.0.1:45550",67dec0a1.184f,8,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:33 UTC,113/0,0,DEBUG,00000,"file ""postmaster.pid"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:33.140 UTC,"replicator","",6223,"127.0.0.1:45550",67dec0a1.184f,9,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:33 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_stat_tmp"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:33.140 UTC,"replicator","",6223,"127.0.0.1:45550",67dec0a1.184f,10,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:33 UTC,113/0,0,DEBUG,00000,"file ""postmaster.opts"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:33.140 UTC,"replicator","",6223,"127.0.0.1:45550",67dec0a1.184f,11,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:33 UTC,113/0,0,DEBUG,00000,"file ""pg_internal.init"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:33.141 UTC,"replicator","",6223,"127.0.0.1:45550",67dec0a1.184f,12,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:33 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_serial"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:33.145 UTC,"replicator","",6223,"127.0.0.1:45550",67dec0a1.184f,13,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:33 UTC,113/0,0,DEBUG,00000,"file ""pg_internal.init"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:33.147 UTC,"replicator","",6223,"127.0.0.1:45550",67dec0a1.184f,14,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:33 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_replslot"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:33.147 UTC,"replicator","",6223,"127.0.0.1:45550",67dec0a1.184f,15,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:33 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_notify"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:33.147 UTC,"replicator","",6223,"127.0.0.1:45550",67dec0a1.184f,16,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:33 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_snapshots"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:33.147 UTC,"replicator","",6223,"127.0.0.1:45550",67dec0a1.184f,17,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:33 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_subtrans"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:33.147 UTC,"replicator","",6223,"127.0.0.1:45550",67dec0a1.184f,18,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:33 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_dynshmem"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:33.147 UTC,"replicator","",6223,"127.0.0.1:45550",67dec0a1.184f,19,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:33 UTC,113/0,0,DEBUG,00000,"file ""postmaster.pid"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:33.148 UTC,"replicator","",6223,"127.0.0.1:45550",67dec0a1.184f,20,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:33 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_stat_tmp"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:33.148 UTC,"replicator","",6223,"127.0.0.1:45550",67dec0a1.184f,21,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:33 UTC,113/0,0,DEBUG,00000,"file ""postmaster.opts"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:33.148 UTC,"replicator","",6223,"127.0.0.1:45550",67dec0a1.184f,22,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:33 UTC,113/0,0,DEBUG,00000,"file ""pg_internal.init"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:33.150 UTC,"replicator","",6223,"127.0.0.1:45550",67dec0a1.184f,23,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:33 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_serial"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:33.152 UTC,,,6202,,67dec099.183a,1,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"archived write-ahead log file ""000000010000000000000001""",,,,,,,,,"","archiver",,0 3312s 2025-03-22 13:52:33.164 UTC,"replicator","",6226,"127.0.0.1:45554",67dec0a1.1852,1,"idle",2025-03-22 13:52:33 UTC,114/0,0,DEBUG,00000,"received replication command: SHOW data_directory_mode",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:33.165 UTC,"replicator","",6226,"127.0.0.1:45554",67dec0a1.1852,2,"idle",2025-03-22 13:52:33 UTC,114/0,0,DEBUG,00000,"received replication command: CREATE_REPLICATION_SLOT ""pg_basebackup_6226"" TEMPORARY PHYSICAL ( RESERVE_WAL)",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:33.170 UTC,"replicator","",6226,"127.0.0.1:45554",67dec0a1.1852,3,"CREATE_REPLICATION_SLOT",2025-03-22 13:52:33 UTC,114/0,0,DEBUG,00000,"released physical replication slot ""pg_basebackup_6226""",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:33.171 UTC,"replicator","",6226,"127.0.0.1:45554",67dec0a1.1852,4,"idle",2025-03-22 13:52:33 UTC,114/0,0,DEBUG,00000,"received replication command: IDENTIFY_SYSTEM",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:33.174 UTC,"replicator","",6226,"127.0.0.1:45554",67dec0a1.1852,5,"idle",2025-03-22 13:52:33 UTC,114/0,0,DEBUG,00000,"received replication command: START_REPLICATION SLOT ""pg_basebackup_6226"" 0/2000000 TIMELINE 1",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:33.174 UTC,"replicator","",6226,"127.0.0.1:45554",67dec0a1.1852,6,"START_REPLICATION",2025-03-22 13:52:33 UTC,114/0,0,DEBUG,00000,"acquired physical replication slot ""pg_basebackup_6226""",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:33.174 UTC,"replicator","",6226,"127.0.0.1:45554",67dec0a1.1852,7,"streaming 0/20000F8",2025-03-22 13:52:33 UTC,114/0,0,DEBUG,00000,"""pg_basebackup"" has now caught up with upstream server",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:33.225 UTC,"replicator","",6223,"127.0.0.1:45550",67dec0a1.184f,24,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:33 UTC,113/0,0,DEBUG,00000,"file ""pg_internal.init"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:33.245 UTC,"replicator","",6223,"127.0.0.1:45550",67dec0a1.184f,25,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:33 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_replslot"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:33.245 UTC,"replicator","",6223,"127.0.0.1:45550",67dec0a1.184f,26,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:33 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_notify"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:33.267 UTC,"replicator","",6226,"127.0.0.1:45554",67dec0a1.1852,8,"streaming 0/21C0000",2025-03-22 13:52:33 UTC,114/0,0,DEBUG,00000,"released physical replication slot ""pg_basebackup_6226""",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:33.274 UTC,"replicator","",6226,"127.0.0.1:45554",67dec0a1.1852,9,"idle",2025-03-22 13:52:33 UTC,114/0,0,DEBUG,00000,"xmin required by slots: data 0, catalog 0",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:33.314 UTC,,,6202,,67dec099.183a,2,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"archived write-ahead log file ""000000010000000000000002""",,,,,,,,,"","archiver",,0 3312s 2025-03-22 13:52:33.352 UTC,,,6202,,67dec099.183a,3,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"archived write-ahead log file ""000000010000000000000002.00000028.backup""",,,,,,,,,"","archiver",,0 3312s 2025-03-22 13:52:33.433 UTC,"postgres","postgres",6208,"[local]",67dec099.1840,21,"idle",2025-03-22 13:52:25 UTC,2/46,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:34.923 UTC,"postgres","postgres",6214,"127.0.0.1:51856",67dec099.1846,3,"idle",2025-03-22 13:52:25 UTC,4/4,0,LOG,00000,"statement: CREATE TABLE public.test_1742651554_9227076()",,,,,,,,,"","client backend",,0 3312s 2025-03-22 13:52:34.955 UTC,"postgres","postgres",6214,"127.0.0.1:51856",67dec099.1846,4,"idle",2025-03-22 13:52:25 UTC,4/5,0,LOG,00000,"statement: SHOW server_version_num",,,,,,,,,"","client backend",,0 3312s 2025-03-22 13:52:34.955 UTC,"postgres","postgres",6214,"127.0.0.1:51856",67dec099.1846,5,"idle",2025-03-22 13:52:25 UTC,4/6,0,LOG,00000,"statement: SELECT pg_switch_wal()",,,,,,,,,"","client backend",,0 3312s 2025-03-22 13:52:35.024 UTC,,,6202,,67dec099.183a,4,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"archived write-ahead log file ""000000010000000000000003""",,,,,,,,,"","archiver",,0 3312s 2025-03-22 13:52:35.433 UTC,"postgres","postgres",6208,"[local]",67dec099.1840,22,"idle",2025-03-22 13:52:25 UTC,2/47,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:37.433 UTC,"postgres","postgres",6208,"[local]",67dec099.1840,23,"idle",2025-03-22 13:52:25 UTC,2/48,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:39.433 UTC,"postgres","postgres",6208,"[local]",67dec099.1840,24,"idle",2025-03-22 13:52:25 UTC,2/49,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:40.015 UTC,,,6195,,67dec099.1833,7,,2025-03-22 13:52:25 UTC,,0,LOG,00000,"received SIGHUP, reloading configuration files",,,,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:40.016 UTC,,,6195,,67dec099.1833,8,,2025-03-22 13:52:25 UTC,,0,LOG,00000,"parameter ""hot_standby_feedback"" changed to ""on""",,,,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:40.017 UTC,"postgres","postgres",6208,"[local]",67dec099.1840,25,"idle",2025-03-22 13:52:25 UTC,2/50,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:40.050 UTC,"postgres","postgres",6280,"[local]",67dec0a8.1888,1,"idle",2025-03-22 13:52:40 UTC,5/2,0,LOG,00000,"statement: SELECT pg_catalog.pg_create_logical_replication_slot('test_logical', 'test_decoding') WHERE NOT EXISTS (SELECT 1 FROM pg_catalog.pg_replication_slots WHERE slot_type = 'logical' AND slot_name = 'test_logical')",,,,,,,,,"Patroni","client backend",,0 3312s 2025-03-22 13:52:40.051 UTC,"postgres","postgres",6280,"[local]",67dec0a8.1888,2,"SELECT",2025-03-22 13:52:40 UTC,5/2,0,ERROR,55000,"logical decoding requires ""wal_level"" >= ""logical""",,,,,,"SELECT pg_catalog.pg_create_logical_replication_slot('test_logical', 'test_decoding') WHERE NOT EXISTS (SELECT 1 FROM pg_catalog.pg_replication_slots WHERE slot_type = 'logical' AND slot_name = 'test_logical')",,,"Patroni","client backend",,0 3312s 2025-03-22 13:52:40.070 UTC,"postgres","postgres",6208,"[local]",67dec099.1840,26,"idle",2025-03-22 13:52:25 UTC,2/51,0,LOG,00000,"statement: SELECT name, setting, unit, vartype, context, sourcefile FROM pg_catalog.pg_settings WHERE pg_catalog.lower(name) = ANY(ARRAY['wal_level','max_connections','max_wal_senders','max_prepared_transactions','max_locks_per_transaction','track_commit_timestamp','max_replication_slots','max_worker_processes','wal_log_hints','archive_command','archive_mode','log_destination','log_directory','log_filename','log_min_messages','log_statement','logging_collector','shared_buffers','ssl','ssl_ca_file','ssl_cert_file','ssl_key_file','unix_socket_directories','cluster_name','listen_addresses','port','wal_keep_size'])",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:40.076 UTC,,,6195,,67dec099.1833,9,,2025-03-22 13:52:25 UTC,,0,LOG,00000,"received SIGHUP, reloading configuration files",,,,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:40.077 UTC,,,6195,,67dec099.1833,10,,2025-03-22 13:52:25 UTC,,0,LOG,55P02,"parameter ""wal_level"" cannot be changed without restarting the server",,,,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:40.077 UTC,,,6195,,67dec099.1833,11,,2025-03-22 13:52:25 UTC,,0,LOG,F0000,"configuration file ""/tmp/autopkgtest.8qHkda/build.IZy/src/data/postgres-0/postgresql.conf"" contains errors; unaffected changes were applied",,,,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:41.080 UTC,"postgres","postgres",6208,"[local]",67dec099.1840,27,"idle",2025-03-22 13:52:25 UTC,2/52,0,LOG,00000,"statement: SELECT name, pg_catalog.current_setting(name), unit, vartype FROM pg_catalog.pg_settings WHERE pg_catalog.lower(name) != ALL(ARRAY['archive_cleanup_command','pause_at_recovery_target','primary_conninfo','primary_slot_name','promote_trigger_file','recovery_end_command','recovery_min_apply_delay','recovery_target','recovery_target_action','recovery_target_inclusive','recovery_target_lsn','recovery_target_name','recovery_target_time','recovery_target_timeline','recovery_target_xid','restore_command','standby_mode','trigger_file','hot_standby']) AND pending_restart",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:41.095 UTC,"postgres","postgres",6208,"[local]",67dec099.1840,28,"idle",2025-03-22 13:52:25 UTC,2/53,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:41.112 UTC,"postgres","postgres",6208,"[local]",67dec099.1840,29,"idle",2025-03-22 13:52:25 UTC,2/54,0,LOG,00000,"statement: SELECT slot_name, slot_type, xmin, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint, plugin, database, datoid, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint FROM pg_catalog.pg_replication_slots WHERE NOT temporary",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:41.123 UTC,"postgres","postgres",6291,"[local]",67dec0a9.1893,1,"idle",2025-03-22 13:52:41 UTC,6/2,0,LOG,00000,"statement: SELECT pg_catalog.pg_create_logical_replication_slot('test_logical', 'test_decoding') WHERE NOT EXISTS (SELECT 1 FROM pg_catalog.pg_replication_slots WHERE slot_type = 'logical' AND slot_name = 'test_logical')",,,,,,,,,"Patroni","client backend",,0 3312s 2025-03-22 13:52:41.125 UTC,"postgres","postgres",6291,"[local]",67dec0a9.1893,2,"SELECT",2025-03-22 13:52:41 UTC,6/2,0,ERROR,55000,"logical decoding requires ""wal_level"" >= ""logical""",,,,,,"SELECT pg_catalog.pg_create_logical_replication_slot('test_logical', 'test_decoding') WHERE NOT EXISTS (SELECT 1 FROM pg_catalog.pg_replication_slots WHERE slot_type = 'logical' AND slot_name = 'test_logical')",,,"Patroni","client backend",,0 3312s 2025-03-22 13:52:41.142 UTC,"postgres","postgres",6293,"[local]",67dec0a9.1895,1,"idle",2025-03-22 13:52:41 UTC,7/2,0,LOG,00000,"statement: SET statement_timeout = 0",,,,,,,,,"Patroni","client backend",,0 3312s 2025-03-22 13:52:41.142 UTC,"postgres","postgres",6293,"[local]",67dec0a9.1895,2,"idle",2025-03-22 13:52:41 UTC,7/3,0,LOG,00000,"statement: CHECKPOINT",,,,,,,,,"Patroni","client backend",,0 3312s 2025-03-22 13:52:41.142 UTC,,,6197,,67dec099.1835,17,,2025-03-22 13:52:25 UTC,,0,LOG,00000,"checkpoint starting: immediate force wait",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:41.142 UTC,,,6197,,67dec099.1835,18,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"performing replication slot checkpoint",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:41.149 UTC,,,6197,,67dec099.1835,19,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"checkpoint sync: number=1 file=base/5/1249 time=0.556 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:41.150 UTC,,,6197,,67dec099.1835,20,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"checkpoint sync: number=2 file=base/5/2662 time=1.083 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:41.151 UTC,,,6197,,67dec099.1835,21,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"checkpoint sync: number=3 file=base/5/2674 time=0.582 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:41.151 UTC,,,6197,,67dec099.1835,22,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"checkpoint sync: number=4 file=base/5/2608 time=0.509 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:41.152 UTC,,,6197,,67dec099.1835,23,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"checkpoint sync: number=5 file=base/5/1247 time=0.522 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:41.152 UTC,,,6197,,67dec099.1835,24,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"checkpoint sync: number=6 file=base/5/2658 time=0.055 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:41.152 UTC,,,6197,,67dec099.1835,25,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"checkpoint sync: number=7 file=base/5/1259 time=0.491 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:41.153 UTC,,,6197,,67dec099.1835,26,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"checkpoint sync: number=8 file=base/5/2704 time=0.438 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:41.153 UTC,,,6197,,67dec099.1835,27,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"checkpoint sync: number=9 file=base/5/1247_vm time=0.294 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:41.153 UTC,,,6197,,67dec099.1835,28,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"checkpoint sync: number=10 file=base/5/2659 time=0.068 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:41.153 UTC,,,6197,,67dec099.1835,29,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"checkpoint sync: number=11 file=base/5/2608_fsm time=0.362 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:41.154 UTC,,,6197,,67dec099.1835,30,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"checkpoint sync: number=12 file=pg_xact/0000 time=0.325 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:41.154 UTC,,,6197,,67dec099.1835,31,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"checkpoint sync: number=13 file=base/5/2673 time=0.451 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:41.154 UTC,,,6197,,67dec099.1835,32,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"checkpoint sync: number=14 file=base/5/16386 time=0.065 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:41.155 UTC,,,6197,,67dec099.1835,33,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"checkpoint sync: number=15 file=base/5/2663 time=0.272 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:41.155 UTC,,,6197,,67dec099.1835,34,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"checkpoint sync: number=16 file=base/5/1249_vm time=0.329 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:41.155 UTC,,,6197,,67dec099.1835,35,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"checkpoint sync: number=17 file=base/5/1259_vm time=0.306 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:41.156 UTC,,,6197,,67dec099.1835,36,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"checkpoint sync: number=18 file=base/5/2608_vm time=0.418 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:41.156 UTC,,,6197,,67dec099.1835,37,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"checkpoint sync: number=19 file=base/5/3455 time=0.509 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:41.156 UTC,,,6197,,67dec099.1835,38,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"checkpoint sync: number=20 file=base/5/2703 time=0.055 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:41.158 UTC,,,6197,,67dec099.1835,39,,2025-03-22 13:52:25 UTC,,0,LOG,00000,"checkpoint complete: wrote 5 buffers (3.9%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.002 s, sync=0.009 s, total=0.016 s; sync files=20, longest=0.002 s, average=0.001 s; distance=32768 kB, estimate=32768 kB; lsn=0/40000B8, redo lsn=0/4000060",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:41.158 UTC,,,6195,,67dec099.1833,12,,2025-03-22 13:52:25 UTC,,0,LOG,00000,"received fast shutdown request",,,,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:41.160 UTC,,,6195,,67dec099.1833,13,,2025-03-22 13:52:25 UTC,,0,LOG,00000,"aborting any active transactions",,,,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:41.160 UTC,"postgres","postgres",6214,"127.0.0.1:51856",67dec099.1846,6,"idle",2025-03-22 13:52:25 UTC,4/0,0,FATAL,57P01,"terminating connection due to administrator command",,,,,,,,,"","client backend",,0 3312s 2025-03-22 13:52:41.161 UTC,"postgres","postgres",6208,"[local]",67dec099.1840,30,"idle",2025-03-22 13:52:25 UTC,2/0,0,FATAL,57P01,"terminating connection due to administrator command",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:41.163 UTC,,,6203,,67dec099.183b,2,,2025-03-22 13:52:25 UTC,105/0,0,DEBUG,00000,"logical replication launcher shutting down",,,,,,,,,"","logical replication launcher",,0 3312s 2025-03-22 13:52:41.166 UTC,,,6195,,67dec099.1833,14,,2025-03-22 13:52:25 UTC,,0,LOG,00000,"background worker ""logical replication launcher"" (PID 6203) exited with exit code 1",,,,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:41.166 UTC,,,6201,,67dec099.1839,2,,2025-03-22 13:52:25 UTC,100/0,0,DEBUG,00000,"autovacuum launcher shutting down",,,,,,,,,"","autovacuum launcher",,0 3312s 2025-03-22 13:52:41.169 UTC,,,6197,,67dec099.1835,40,,2025-03-22 13:52:25 UTC,,0,LOG,00000,"shutting down",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:41.189 UTC,,,6197,,67dec099.1835,41,,2025-03-22 13:52:25 UTC,,0,LOG,00000,"checkpoint starting: shutdown immediate",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:41.189 UTC,,,6197,,67dec099.1835,42,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"performing replication slot checkpoint",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:41.223 UTC,,,6197,,67dec099.1835,43,,2025-03-22 13:52:25 UTC,,0,LOG,00000,"checkpoint complete: wrote 0 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.001 s, sync=0.001 s, total=0.036 s; sync files=0, longest=0.000 s, average=0.000 s; distance=16383 kB, estimate=31129 kB; lsn=0/5000028, redo lsn=0/5000028",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:41.237 UTC,,,6202,,67dec099.183a,5,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"archived write-ahead log file ""000000010000000000000004""",,,,,,,,,"","archiver",,0 3312s 2025-03-22 13:52:41.237 UTC,,,6202,,67dec099.183a,6,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"archiver process shutting down",,,,,,,,,"","archiver",,0 3312s 2025-03-22 13:52:41.242 UTC,,,6195,,67dec099.1833,15,,2025-03-22 13:+ for file in features/output/*_failed/* 3312s + case $file in 3312s + echo features/output/nostream_node_failed/postgres-0.log: 3312s + cat features/output/nostream_node_failed/postgres-0.log 3312s 52:25 UTC,,0,LOG,00000,"database system is shut down",,,,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:41.245 UTC,,,6196,,67dec099.1834,1,,2025-03-22 13:52:25 UTC,,0,DEBUG,00000,"logger shutting down",,,,,,,,,"","logger",,0 3312s 2025-03-22 13:52:41.580 UTC,,,6300,,67dec0a9.189c,1,,2025-03-22 13:52:41 UTC,,0,LOG,00000,"ending log output to stderr",,"Future log output will go to log destination ""csvlog"".",,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:41.580 UTC,,,6300,,67dec0a9.189c,2,,2025-03-22 13:52:41 UTC,,0,LOG,00000,"starting PostgreSQL 17.4 (Ubuntu 17.4-1) on aarch64-unknown-linux-gnu, compiled by gcc (Ubuntu 14.2.0-17ubuntu3) 14.2.0, 64-bit",,,,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:41.580 UTC,,,6300,,67dec0a9.189c,3,,2025-03-22 13:52:41 UTC,,0,LOG,00000,"listening on IPv4 address ""127.0.0.1"", port 5375",,,,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:41.585 UTC,,,6300,,67dec0a9.189c,4,,2025-03-22 13:52:41 UTC,,0,LOG,00000,"listening on Unix socket ""/tmp/.s.PGSQL.5375""",,,,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:41.591 UTC,,,6304,,67dec0a9.18a0,1,,2025-03-22 13:52:41 UTC,,0,LOG,00000,"database system was shut down at 2025-03-22 13:52:41 UTC",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:41.591 UTC,,,6304,,67dec0a9.18a0,2,,2025-03-22 13:52:41 UTC,,0,DEBUG,00000,"checkpoint record is at 0/5000028",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:41.591 UTC,,,6304,,67dec0a9.18a0,3,,2025-03-22 13:52:41 UTC,,0,DEBUG,00000,"redo record is at 0/5000028; shutdown true",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:41.591 UTC,,,6304,,67dec0a9.18a0,4,,2025-03-22 13:52:41 UTC,,0,DEBUG,00000,"next transaction ID: 747; next OID: 16389",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:41.591 UTC,,,6304,,67dec0a9.18a0,5,,2025-03-22 13:52:41 UTC,,0,DEBUG,00000,"next MultiXactId: 1; next MultiXactOffset: 0",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:41.591 UTC,,,6304,,67dec0a9.18a0,6,,2025-03-22 13:52:41 UTC,,0,DEBUG,00000,"oldest unfrozen transaction ID: 731, in database 1",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:41.591 UTC,,,6304,,67dec0a9.18a0,7,,2025-03-22 13:52:41 UTC,,0,DEBUG,00000,"oldest MultiXactId: 1, in database 1",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:41.591 UTC,,,6304,,67dec0a9.18a0,8,,2025-03-22 13:52:41 UTC,,0,DEBUG,00000,"commit timestamp Xid oldest/newest: 0/0",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:41.591 UTC,,,6304,,67dec0a9.18a0,9,,2025-03-22 13:52:41 UTC,,0,DEBUG,00000,"transaction ID wrap limit is 2147484378, limited by database with OID 1",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:41.591 UTC,,,6304,,67dec0a9.18a0,10,,2025-03-22 13:52:41 UTC,,0,DEBUG,00000,"MultiXactId wrap limit is 2147483648, limited by database with OID 1",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:41.591 UTC,,,6304,,67dec0a9.18a0,11,,2025-03-22 13:52:41 UTC,,0,DEBUG,00000,"starting up replication slots",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:41.591 UTC,,,6304,,67dec0a9.18a0,12,,2025-03-22 13:52:41 UTC,,0,DEBUG,00000,"xmin required by slots: data 0, catalog 0",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:41.592 UTC,,,6304,,67dec0a9.18a0,13,,2025-03-22 13:52:41 UTC,,0,DEBUG,00000,"MultiXactId wrap limit is 2147483648, limited by database with OID 1",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:41.592 UTC,,,6304,,67dec0a9.18a0,14,,2025-03-22 13:52:41 UTC,,0,DEBUG,00000,"MultiXact member stop limit is now 4294914944 based on MultiXact 1",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:41.599 UTC,,,6300,,67dec0a9.189c,5,,2025-03-22 13:52:41 UTC,,0,DEBUG,00000,"starting background worker process ""logical replication launcher""",,,,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:41.599 UTC,,,6300,,67dec0a9.189c,6,,2025-03-22 13:52:41 UTC,,0,LOG,00000,"database system is ready to accept connections",,,,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:41.600 UTC,,,6306,,67dec0a9.18a2,1,,2025-03-22 13:52:41 UTC,,0,DEBUG,00000,"autovacuum launcher started",,,,,,,,,"","autovacuum launcher",,0 3312s 2025-03-22 13:52:41.601 UTC,,,6308,,67dec0a9.18a4,1,,2025-03-22 13:52:41 UTC,105/0,0,DEBUG,00000,"logical replication launcher started",,,,,,,,,"","logical replication launcher",,0 3312s 2025-03-22 13:52:41.641 UTC,"postgres","postgres",6313,"[local]",67dec0a9.18a9,1,"idle",2025-03-22 13:52:41 UTC,2/2,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:41.658 UTC,"postgres","postgres",6313,"[local]",67dec0a9.18a9,2,"idle",2025-03-22 13:52:41 UTC,2/3,0,LOG,00000,"statement: SELECT slot_name, slot_type, xmin, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint, plugin, database, datoid, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint FROM pg_catalog.pg_replication_slots WHERE NOT temporary",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:41.667 UTC,"postgres","postgres",6314,"[local]",67dec0a9.18aa,1,"idle",2025-03-22 13:52:41 UTC,3/2,0,LOG,00000,"statement: SELECT pg_catalog.pg_create_logical_replication_slot('test_logical', 'test_decoding') WHERE NOT EXISTS (SELECT 1 FROM pg_catalog.pg_replication_slots WHERE slot_type = 'logical' AND slot_name = 'test_logical')",,,,,,,,,"Patroni","client backend",,0 3312s 2025-03-22 13:52:41.682 UTC,"postgres","postgres",6314,"[local]",67dec0a9.18aa,2,"SELECT",2025-03-22 13:52:41 UTC,3/2,0,DEBUG,00000,"xmin required by slots: data 0, catalog 747",,,,,,,,,"Patroni","client backend",,0 3312s 2025-03-22 13:52:41.686 UTC,"postgres","postgres",6314,"[local]",67dec0a9.18aa,3,"SELECT",2025-03-22 13:52:41 UTC,3/2,0,DEBUG,00000,"searching for logical decoding starting point, starting at 0/5001E80",,,,,,,,,"Patroni","client backend",,0 3312s 2025-03-22 13:52:41.686 UTC,"postgres","postgres",6314,"[local]",67dec0a9.18aa,4,"SELECT",2025-03-22 13:52:41 UTC,3/2,0,LOG,00000,"logical decoding found consistent point at 0/5001E80","There are no running transactions.",,,,,"SELECT pg_catalog.pg_create_logical_replication_slot('test_logical', 'test_decoding') WHERE NOT EXISTS (SELECT 1 FROM pg_catalog.pg_replication_slots WHERE slot_type = 'logical' AND slot_name = 'test_logical')",,,"Patroni","client backend",,0 3312s 2025-03-22 13:52:42.763 UTC,"postgres","postgres",6315,"127.0.0.1:39426",67dec0aa.18ab,1,"idle",2025-03-22 13:52:42 UTC,4/2,0,LOG,00000,"statement: SELECT slot_type, plugin FROM pg_replication_slots WHERE slot_name = 'test_logical'",,,,,,,,,"","client backend",,0 3312s 2025-03-22 13:52:43.637 UTC,"postgres","postgres",6313,"[local]",67dec0a9.18a9,3,"idle",2025-03-22 13:52:41 UTC,2/4,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:43.656 UTC,"postgres","postgres",6313,"[local]",67dec0a9.18a9,4,"idle",2025-03-22 13:52:41 UTC,2/5,0,LOG,00000,"statement: SELECT slot_name, slot_type, xmin, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint, plugin, database, datoid, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint FROM pg_catalog.pg_replication_slots WHERE NOT temporary",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:44.108 UTC,"replicator","",6324,"127.0.0.1:39432",67dec0ac.18b4,1,"idle",2025-03-22 13:52:44 UTC,113/0,0,DEBUG,00000,"received replication command: SHOW data_directory_mode",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:44.109 UTC,"replicator","",6324,"127.0.0.1:39432",67dec0ac.18b4,2,"idle",2025-03-22 13:52:44 UTC,113/0,0,DEBUG,00000,"received replication command: SHOW wal_segment_size",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:44.109 UTC,"replicator","",6324,"127.0.0.1:39432",67dec0ac.18b4,3,"idle",2025-03-22 13:52:44 UTC,113/0,0,DEBUG,00000,"received replication command: IDENTIFY_SYSTEM",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:44.109 UTC,"replicator","",6324,"127.0.0.1:39432",67dec0ac.18b4,4,"idle",2025-03-22 13:52:44 UTC,113/0,0,DEBUG,00000,"received replication command: BASE_BACKUP ( LABEL 'pg_basebackup base backup', PROGRESS, CHECKPOINT 'fast', WAIT 0, MANIFEST 'yes', TARGET 'client')",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:44.129 UTC,,,6302,,67dec0a9.189e,1,,2025-03-22 13:52:41 UTC,,0,LOG,00000,"checkpoint starting: immediate force wait",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:44.130 UTC,,,6302,,67dec0a9.189e,2,,2025-03-22 13:52:41 UTC,,0,DEBUG,00000,"performing replication slot checkpoint",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:44.142 UTC,,,6302,,67dec0a9.189e,3,,2025-03-22 13:52:41 UTC,,0,DEBUG,00000,"checkpoint sync: number=1 file=base/5/1249 time=1.129 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:44.143 UTC,,,6302,,67dec0a9.189e,4,,2025-03-22 13:52:41 UTC,,0,DEBUG,00000,"checkpoint sync: number=2 file=base/5/1259 time=0.693 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:44.144 UTC,,,6302,,67dec0a9.189e,5,,2025-03-22 13:52:41 UTC,,0,DEBUG,00000,"checkpoint sync: number=3 file=pg_xact/0000 time=0.598 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:44.145 UTC,,,6302,,67dec0a9.189e,6,,2025-03-22 13:52:41 UTC,,0,DEBUG,00000,"checkpoint sync: number=4 file=pg_multixact/offsets/0000 time=0.739 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:44.174 UTC,,,6302,,67dec0a9.189e,7,,2025-03-22 13:52:41 UTC,,0,LOG,00000,"checkpoint complete: wrote 3 buffers (2.3%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.003 s, sync=0.004 s, total=0.045 s; sync files=4, longest=0.002 s, average=0.001 s; distance=16384 kB, estimate=16384 kB; lsn=0/6000080, redo lsn=0/6000028",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:44.174 UTC,"replicator","",6324,"127.0.0.1:39432",67dec0ac.18b4,5,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:44 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_snapshots"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:44.174 UTC,"replicator","",6324,"127.0.0.1:39432",67dec0ac.18b4,6,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:44 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_subtrans"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:44.174 UTC,"replicator","",6324,"127.0.0.1:39432",67dec0ac.18b4,7,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:44 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_dynshmem"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:44.175 UTC,"replicator","",6324,"127.0.0.1:39432",67dec0ac.18b4,8,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:44 UTC,113/0,0,DEBUG,00000,"file ""postmaster.pid"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:44.175 UTC,"replicator","",6324,"127.0.0.1:39432",67dec0ac.18b4,9,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:44 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_stat_tmp"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:44.175 UTC,"replicator","",6324,"127.0.0.1:39432",67dec0ac.18b4,10,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:44 UTC,113/0,0,DEBUG,00000,"file ""postmaster.opts"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:44.175 UTC,"replicator","",6324,"127.0.0.1:39432",67dec0ac.18b4,11,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:44 UTC,113/0,0,DEBUG,00000,"file ""pg_internal.init"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:44.175 UTC,"replicator","",6324,"127.0.0.1:39432",67dec0ac.18b4,12,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:44 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_serial"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:44.176 UTC,,,6307,,67dec0a9.18a3,1,,2025-03-22 13:52:41 UTC,,0,DEBUG,00000,"archived write-ahead log file ""000000010000000000000005""",,,,,,,,,"","archiver",,0 3312s 2025-03-22 13:52:44.177 UTC,"replicator","",6324,"127.0.0.1:39432",67dec0ac.18b4,13,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:44 UTC,113/0,0,DEBUG,00000,"file ""pg_internal.init"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:44.178 UTC,"replicator","",6324,"127.0.0.1:39432",67dec0ac.18b4,14,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:44 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_replslot"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:44.178 UTC,"replicator","",6324,"127.0.0.1:39432",67dec0ac.18b4,15,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:44 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_notify"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:44.178 UTC,"replicator","",6324,"127.0.0.1:39432",67dec0ac.18b4,16,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:44 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_snapshots"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:44.178 UTC,"replicator","",6324,"127.0.0.1:39432",67dec0ac.18b4,17,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:44 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_subtrans"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:44.178 UTC,"replicator","",6324,"127.0.0.1:39432",67dec0ac.18b4,18,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:44 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_dynshmem"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:44.178 UTC,"replicator","",6324,"127.0.0.1:39432",67dec0ac.18b4,19,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:44 UTC,113/0,0,DEBUG,00000,"file ""postmaster.pid"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:44.178 UTC,"replicator","",6324,"127.0.0.1:39432",67dec0ac.18b4,20,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:44 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_stat_tmp"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:44.178 UTC,"replicator","",6324,"127.0.0.1:39432",67dec0ac.18b4,21,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:44 UTC,113/0,0,DEBUG,00000,"file ""postmaster.opts"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:44.179 UTC,"replicator","",6324,"127.0.0.1:39432",67dec0ac.18b4,22,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:44 UTC,113/0,0,DEBUG,00000,"file ""pg_internal.init"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:44.180 UTC,"replicator","",6324,"127.0.0.1:39432",67dec0ac.18b4,23,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:44 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_serial"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:44.193 UTC,"replicator","",6327,"127.0.0.1:39448",67dec0ac.18b7,1,"idle",2025-03-22 13:52:44 UTC,114/0,0,DEBUG,00000,"received replication command: SHOW data_directory_mode",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:44.194 UTC,"replicator","",6327,"127.0.0.1:39448",67dec0ac.18b7,2,"idle",2025-03-22 13:52:44 UTC,114/0,0,DEBUG,00000,"received replication command: CREATE_REPLICATION_SLOT ""pg_basebackup_6327"" TEMPORARY PHYSICAL ( RESERVE_WAL)",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:44.200 UTC,"replicator","",6327,"127.0.0.1:39448",67dec0ac.18b7,3,"CREATE_REPLICATION_SLOT",2025-03-22 13:52:44 UTC,114/0,0,DEBUG,00000,"released physical replication slot ""pg_basebackup_6327""",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:44.201 UTC,"replicator","",6327,"127.0.0.1:39448",67dec0ac.18b7,4,"idle",2025-03-22 13:52:44 UTC,114/0,0,DEBUG,00000,"received replication command: IDENTIFY_SYSTEM",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:44.201 UTC,"replicator","",6327,"127.0.0.1:39448",67dec0ac.18b7,5,"idle",2025-03-22 13:52:44 UTC,114/0,0,DEBUG,00000,"received replication command: START_REPLICATION SLOT ""pg_basebackup_6327"" 0/6000000 TIMELINE 1",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:44.201 UTC,"replicator","",6327,"127.0.0.1:39448",67dec0ac.18b7,6,"START_REPLICATION",2025-03-22 13:52:44 UTC,114/0,0,DEBUG,00000,"acquired physical replication slot ""pg_basebackup_6327""",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:44.202 UTC,"replicator","",6327,"127.0.0.1:39448",67dec0ac.18b7,7,"streaming 0/60000F8",2025-03-22 13:52:44 UTC,114/0,0,DEBUG,00000,"""pg_basebackup"" has now caught up with upstream server",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:44.255 UTC,"replicator","",6324,"127.0.0.1:39432",67dec0ac.18b4,24,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:44 UTC,113/0,0,DEBUG,00000,"file ""pg_internal.init"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:44.270 UTC,"replicator","",6324,"127.0.0.1:39432",67dec0ac.18b4,25,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:44 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_replslot"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:44.270 UTC,"replicator","",6324,"127.0.0.1:39432",67dec0ac.18b4,26,"sending backup ""pg_basebackup base backup""",2025-03-22 13:52:44 UTC,113/0,0,DEBUG,00000,"contents of directory ""pg_notify"" excluded from backup",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:44.299 UTC,"replicator","",6327,"127.0.0.1:39448",67dec0ac.18b7,8,"streaming 0/6120000",2025-03-22 13:52:44 UTC,114/0,0,DEBUG,00000,"released physical replication slot ""pg_basebackup_6327""",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:44.304 UTC,"replicator","",6327,"127.0.0.1:39448",67dec0ac.18b7,9,"idle",2025-03-22 13:52:44 UTC,114/0,0,DEBUG,00000,"xmin required by slots: data 0, catalog 747",,,,,,,,,"pg_basebackup","walsender",,0 3312s 2025-03-22 13:52:44.343 UTC,,,6307,,67dec0a9.18a3,2,,2025-03-22 13:52:41 UTC,,0,DEBUG,00000,"archived write-ahead log file ""000000010000000000000006""",,,,,,,,,"","archiver",,0 3312s 2025-03-22 13:52:44.387 UTC,,,6307,,67dec0a9.18a3,3,,2025-03-22 13:52:41 UTC,,0,DEBUG,00000,"archived write-ahead log file ""000000010000000000000006.00000028.backup""",,,,,,,,,"","archiver",,0 3312s 2025-03-22 13:52:45.638 UTC,"postgres","postgres",6313,"[local]",67dec0a9.18a9,5,"idle",2025-03-22 13:52:41 UTC,2/6,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:45.698 UTC,"postgres","postgres",6313,"[local]",67dec0a9.18a9,6,"idle",2025-03-22 13:52:41 UTC,2/7,0,LOG,00000,"statement: SELECT pg_catalog.pg_create_physical_replication_slot('postgres_2', true) WHERE NOT EXISTS (SELECT 1 FROM pg_catalog.pg_replication_slots WHERE slot_type = 'physical' AND slot_name = 'postgres_2')",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:47.127 UTC,,,6300,,67dec0a9.189c,7,,2025-03-22 13:52:41 UTC,,0,LOG,00000,"received fast shutdown request",,,,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:47.130 UTC,,,6300,,67dec0a9.189c,8,,2025-03-22 13:52:41 UTC,,0,LOG,00000,"aborting any active transactions",,,,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:47.130 UTC,"postgres","postgres",6313,"[local]",67dec0a9.18a9,7,"idle",2025-03-22 13:52:41 UTC,2/0,0,FATAL,57P01,"terminating connection due to administrator command",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:47.130 UTC,"postgres","postgres",6315,"127.0.0.1:39426",67dec0aa.18ab,2,"idle",2025-03-22 13:52:42 UTC,4/0,0,FATAL,57P01,"terminating connection due to administrator command",,,,,,,,,"","client backend",,0 3312s 2025-03-22 13:52:47.132 UTC,,,6306,,67dec0a9.18a2,2,,2025-03-22 13:52:41 UTC,100/0,0,DEBUG,00000,"autovacuum launcher shutting down",,,,,,,,,"","autovacuum launcher",,0 3312s 2025-03-22 13:52:47.132 UTC,,,6308,,67dec0a9.18a4,2,,2025-03-22 13:52:41 UTC,105/0,0,DEBUG,00000,"logical replication launcher shutting down",,,,,,,,,"","logical replication launcher",,0 3312s 2025-03-22 13:52:47.138 UTC,,,6300,,67dec0a9.189c,9,,2025-03-22 13:52:41 UTC,,0,LOG,00000,"background worker ""logical replication launcher"" (PID 6308) exited with exit code 1",,,,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:47.138 UTC,,,6302,,67dec0a9.189e,8,,2025-03-22 13:52:41 UTC,,0,LOG,00000,"shutting down",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:47.140 UTC,,,6302,,67dec0a9.189e,9,,2025-03-22 13:52:41 UTC,,0,LOG,00000,"checkpoint starting: shutdown immediate",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:47.140 UTC,,,6302,,67dec0a9.189e,10,,2025-03-22 13:52:41 UTC,,0,DEBUG,00000,"performing replication slot checkpoint",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:47.179 UTC,,,6302,,67dec0a9.189e,11,,2025-03-22 13:52:41 UTC,,0,LOG,00000,"checkpoint complete: wrote 0 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.001 s, sync=0.001 s, total=0.041 s; sync files=0, longest=0.000 s, average=0.000 s; distance=16384 kB, estimate=16384 kB; lsn=0/7000028, redo lsn=0/7000028",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:47.183 UTC,,,6307,,67dec0a9.18a3,4,,2025-03-22 13:52:41 UTC,,0,DEBUG,00000,"archiver process shutting down",,,,,,,,,"","archiver",,0 3312s 2025-03-22 13:52:47.187 UTC,,,6300,,67dec0a9.189c,10,,2025-03-22 13:52:41 UTC,,0,LOG,00000,"database system is shut down",,,,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:47.189 UTC,,,6301,,67dec0a9.189d,1,,2025-03-22 13:52:41 UTC,,0,DEBUG,00000,"logger shutting down",,,,,,,,,"","logger",,0 3312s features/output/nostream_node_failed/postgres-0.log: 3312s + for file in features/output/*_failed/* 3312s + case $file in 3312s + echo features/output/nostream_node_failed/postgres-0.yml: 3312s + cat features/output/nostream_node_failed/postgres-0.yml 3312s + for file in features/output/*_failed/* 3312s + case $file in 3312s + echo features/output/nostream_node_failed/postgres-1.csv: 3312s + cat features/output/nostream_node_failed/postgres-1.csv 3312s 2025-03-22 13:52:25.318 UTC [6195] LOG: ending log output to stderr 3312s 2025-03-22 13:52:25.318 UTC [6195] HINT: Future log output will go to log destination "csvlog". 3312s 2025-03-22 13:52:41.245 UTC [6196] DEBUG: logger shutting down 3312s 2025-03-22 13:52:41.580 UTC [6300] LOG: ending log output to stderr 3312s 2025-03-22 13:52:41.580 UTC [6300] HINT: Future log output will go to log destination "csvlog". 3312s 2025-03-22 13:52:47.189 UTC [6301] DEBUG: logger shutting down 3312s features/output/nostream_node_failed/postgres-0.yml: 3312s bootstrap: 3312s dcs: 3312s loop_wait: 2 3312s maximum_lag_on_failover: 1048576 3312s postgresql: 3312s parameters: 3312s archive_command: /usr/bin/python3 /tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py 3312s --mode archive --dirname /tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive 3312s --filename %f --pathname %p 3312s archive_mode: 'on' 3312s restore_command: /usr/bin/python3 /tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py 3312s --mode restore --dirname /tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive 3312s --filename %f --pathname %p 3312s wal_keep_segments: 100 3312s pg_hba: 3312s - host replication replicator 127.0.0.1/32 md5 3312s - host all all 0.0.0.0/0 md5 3312s use_pg_rewind: true 3312s retry_timeout: 10 3312s ttl: 30 3312s initdb: 3312s - encoding: UTF8 3312s - data-checksums 3312s - auth: md5 3312s - auth-host: md5 3312s post_bootstrap: psql -w -c "SELECT 1" 3312s log: 3312s format: '%(asctime)s %(levelname)s [%(pathname)s:%(lineno)d - %(funcName)s]: %(message)s' 3312s loggers: 3312s patroni.postgresql.callback_executor: DEBUG 3312s name: postgres-0 3312s postgresql: 3312s authentication: 3312s replication: 3312s password: rep-pass 3312s sslcert: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 3312s sslkey: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.key 3312s sslmode: verify-ca 3312s sslrootcert: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 3312s username: replicator 3312s rewind: 3312s password: rewind_password 3312s sslcert: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 3312s sslkey: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.key 3312s sslmode: verify-ca 3312s sslrootcert: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 3312s username: rewind_user 3312s superuser: 3312s password: patroni 3312s sslcert: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 3312s sslkey: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.key 3312s sslmode: verify-ca 3312s sslrootcert: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 3312s username: postgres 3312s basebackup: 3312s - checkpoint: fast 3312s callbacks: 3312s on_role_change: /usr/bin/python3 features/callback2.py postgres-0 5375 3312s connect_address: 127.0.0.1:5375 3312s data_dir: /tmp/autopkgtest.8qHkda/build.IZy/src/data/postgres-0 3312s listen: 127.0.0.1:5375 3312s parameters: 3312s log_destination: csvlog 3312s log_directory: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/nostream_node 3312s log_filename: postgres-0.log 3312s log_min_messages: debug1 3312s log_statement: all 3312s logging_collector: 'on' 3312s shared_buffers: 1MB 3312s ssl: 'on' 3312s ssl_ca_file: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 3312s ssl_cert_file: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 3312s ssl_key_file: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.key 3312s unix_socket_directories: /tmp 3312s pg_hba: 3312s - local all all trust 3312s - local replication all trust 3312s - hostssl replication replicator all md5 clientcert=verify-ca 3312s - hostssl all all all md5 clientcert=verify-ca 3312s pgpass: /tmp/pgpass_postgres-0 3312s use_unix_socket: true 3312s use_unix_socket_repl: true 3312s raft: 3312s data_dir: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/nostream_node 3312s self_addr: localhost:1246 3312s restapi: 3312s connect_address: 127.0.0.1:8008 3312s listen: 127.0.0.1:8008 3312s scope: batman 3312s tags: 3312s clonefrom: false 3312s noloadbalance: false 3312s nostream: false 3312s nosync: false 3312s features/output/nostream_node_failed/postgres-1.csv: 3312s 2025-03-22 13:52:33.754 UTC,,,6236,,67dec0a1.185c,1,,2025-03-22 13:52:33 UTC,,0,LOG,00000,"ending log output to stderr",,"Future log output will go to log destination ""csvlog"".",,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:33.754 UTC,,,6236,,67dec0a1.185c,2,,2025-03-22 13:52:33 UTC,,0,LOG,00000,"starting PostgreSQL 17.4 (Ubuntu 17.4-1) on aarch64-unknown-linux-gnu, compiled by gcc (Ubuntu 14.2.0-17ubuntu3) 14.2.0, 64-bit",,,,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:33.754 UTC,,,6236,,67dec0a1.185c,3,,2025-03-22 13:52:33 UTC,,0,LOG,00000,"listening on IPv4 address ""127.0.0.1"", port 5376",,,,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:33.758 UTC,,,6236,,67dec0a1.185c,4,,2025-03-22 13:52:33 UTC,,0,LOG,00000,"listening on Unix socket ""/tmp/.s.PGSQL.5376""",,,,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:33.764 UTC,,,6240,,67dec0a1.1860,1,,2025-03-22 13:52:33 UTC,,0,LOG,00000,"database system was interrupted; last known up at 2025-03-22 13:52:33 UTC",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:33.799 UTC,"postgres","postgres",6242,"[local]",67dec0a1.1862,1,"",2025-03-22 13:52:33 UTC,,0,FATAL,57P03,"the database system is starting up",,,,,,,,,"","client backend",,0 3312s 2025-03-22 13:52:33.805 UTC,"postgres","postgres",6244,"[local]",67dec0a1.1864,1,"",2025-03-22 13:52:33 UTC,,0,FATAL,57P03,"the database system is starting up",,,,,,,,,"","client backend",,0 3312s 2025-03-22 13:52:33.906 UTC,"postgres","postgres",6247,"127.0.0.1:43814",67dec0a1.1867,1,"",2025-03-22 13:52:33 UTC,,0,FATAL,57P03,"the database system is starting up",,,,,,,,,"","client backend",,0 3312s 2025-03-22 13:52:33.983 UTC,,,6240,,67dec0a1.1860,2,,2025-03-22 13:52:33 UTC,,0,DEBUG,00000,"backup time 2025-03-22 13:52:33 UTC in file ""backup_label""",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:33.983 UTC,,,6240,,67dec0a1.1860,3,,2025-03-22 13:52:33 UTC,,0,DEBUG,00000,"backup label pg_basebackup base backup in file ""backup_label""",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:33.984 UTC,,,6240,,67dec0a1.1860,4,,2025-03-22 13:52:33 UTC,,0,DEBUG,00000,"backup timeline 1 in file ""backup_label""",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:33.984 UTC,,,6240,,67dec0a1.1860,5,,2025-03-22 13:52:33 UTC,,0,LOG,00000,"starting backup recovery with redo LSN 0/2000028, checkpoint LSN 0/2000080, on timeline ID 1",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:34.027 UTC,,,6240,,67dec0a1.1860,6,,2025-03-22 13:52:33 UTC,,0,LOG,00000,"restored log file ""000000010000000000000002"" from archive",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:34.049 UTC,,,6240,,67dec0a1.1860,7,,2025-03-22 13:52:33 UTC,,0,DEBUG,00000,"got WAL segment from archive",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:34.049 UTC,,,6240,,67dec0a1.1860,8,,2025-03-22 13:52:33 UTC,,0,DEBUG,00000,"checkpoint record is at 0/2000080",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:34.049 UTC,,,6240,,67dec0a1.1860,9,,2025-03-22 13:52:33 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:34.049 UTC,,,6240,,67dec0a1.1860,10,,2025-03-22 13:52:33 UTC,,0,DEBUG,00000,"redo record is at 0/2000028; shutdown false",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:34.049 UTC,,,6240,,67dec0a1.1860,11,,2025-03-22 13:52:33 UTC,,0,DEBUG,00000,"next transaction ID: 746; next OID: 24576",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:34.049 UTC,,,6240,,67dec0a1.1860,12,,2025-03-22 13:52:33 UTC,,0,DEBUG,00000,"next MultiXactId: 1; next MultiXactOffset: 0",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:34.049 UTC,,,6240,,67dec0a1.1860,13,,2025-03-22 13:52:33 UTC,,0,DEBUG,00000,"oldest unfrozen transaction ID: 731, in database 1",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:34.049 UTC,,,6240,,67dec0a1.1860,14,,2025-03-22 13:52:33 UTC,,0,DEBUG,00000,"oldest MultiXactId: 1, in database 1",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:34.049 UTC,,,6240,,67dec0a1.1860,15,,2025-03-22 13:52:33 UTC,,0,DEBUG,00000,"commit timestamp Xid oldest/newest: 0/0",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:34.049 UTC,,,6240,,67dec0a1.1860,16,,2025-03-22 13:52:33 UTC,,0,DEBUG,00000,"transaction ID wrap limit is 2147484378, limited by database with OID 1",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:34.049 UTC,,,6240,,67dec0a1.1860,17,,2025-03-22 13:52:33 UTC,,0,DEBUG,00000,"MultiXactId wrap limit is 2147483648, limited by database with OID 1",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:34.049 UTC,,,6240,,67dec0a1.1860,18,,2025-03-22 13:52:33 UTC,,0,DEBUG,00000,"starting up replication slots",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:34.049 UTC,,,6240,,67dec0a1.1860,19,,2025-03-22 13:52:33 UTC,,0,DEBUG,00000,"xmin required by slots: data 0, catalog 0",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:34.052 UTC,,,6240,,67dec0a1.1860,20,,2025-03-22 13:52:33 UTC,,0,DEBUG,00000,"resetting unlogged relations: cleanup 1 init 0",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:34.053 UTC,,,6240,,67dec0a1.1860,21,,2025-03-22 13:52:33 UTC,,0,DEBUG,00000,"initializing for hot standby",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:34.053 UTC,,,6240,,67dec0a1.1860,22,,2025-03-22 13:52:33 UTC,125/0,0,LOG,00000,"redo starts at 0/2000028",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:34.203 UTC,,,6240,,67dec0a1.1860,23,,2025-03-22 13:52:33 UTC,125/0,0,DEBUG,00000,"recovery snapshots are now enabled",,,,,"WAL redo at 0/2000048 for Standby/RUNNING_XACTS: nextXid 746 latestCompletedXid 745 oldestRunningXid 746",,,,"","startup",,0 3312s 2025-03-22 13:52:34.203 UTC,,,6240,,67dec0a1.1860,24,,2025-03-22 13:52:33 UTC,125/0,0,DEBUG,00000,"end of backup record reached",,,,,"WAL redo at 0/20000F8 for XLOG/BACKUP_END: 0/2000028",,,,"","startup",,0 3312s 2025-03-22 13:52:34.203 UTC,,,6240,,67dec0a1.1860,25,,2025-03-22 13:52:33 UTC,125/0,0,DEBUG,00000,"end of backup reached",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:34.205 UTC,,,6240,,67dec0a1.1860,26,,2025-03-22 13:52:33 UTC,125/0,0,LOG,00000,"completed backup recovery with redo LSN 0/2000028 and end LSN 0/2000120",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:34.205 UTC,,,6240,,67dec0a1.1860,27,,2025-03-22 13:52:33 UTC,125/0,0,LOG,00000,"consistent recovery state reached at 0/2000120",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:34.205 UTC,,,6236,,67dec0a1.185c,5,,2025-03-22 13:52:33 UTC,,0,LOG,00000,"database system is ready to accept read-only connections",,,,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:34.815 UTC,,,6240,,67dec0a1.1860,28,,2025-03-22 13:52:33 UTC,125/0,0,LOG,00000,"waiting for WAL to become available at 0/3000018",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:34.827 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,1,"idle",2025-03-22 13:52:34 UTC,1/2,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:34.830 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,2,"idle",2025-03-22 13:52:34 UTC,1/3,0,LOG,00000,"statement: SELECT name, setting, unit, vartype, context, sourcefile FROM pg_catalog.pg_settings WHERE pg_catalog.lower(name) = ANY(ARRAY['archive_cleanup_command','primary_conninfo','primary_slot_name','promote_trigger_file','recovery_end_command','recovery_min_apply_delay','recovery_target','recovery_target_lsn','recovery_target_name','recovery_target_time','recovery_target_timeline','recovery_target_xid','restore_command'])",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:34.832 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,3,"idle",2025-03-22 13:52:34 UTC,1/4,0,LOG,00000,"statement: SELECT slot_name, slot_type, xmin, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint, plugin, database, datoid, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint FROM pg_catalog.pg_replication_slots WHERE NOT temporary",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:34.834 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,4,"idle",2025-03-22 13:52:34 UTC,1/5,0,LOG,00000,"statement: SELECT pg_catalog.pg_create_physical_replication_slot('postgres_0', true) WHERE NOT EXISTS (SELECT 1 FROM pg_catalog.pg_replication_slots WHERE slot_type = 'physical' AND slot_name = 'postgres_0')",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:34.848 UTC,"replicator","",6265,"[local]",67dec0a2.1879,1,"idle",2025-03-22 13:52:34 UTC,113/0,0,DEBUG,00000,"received replication command: IDENTIFY_SYSTEM",,,,,,,,,"","walsender",,0 3312s 2025-03-22 13:52:34.921 UTC,"postgres","postgres",6266,"127.0.0.1:43828",67dec0a2.187a,1,"idle",2025-03-22 13:52:34 UTC,2/2,0,LOG,00000,"statement: SELECT 1",,,,,,,,,"","client backend",,0 3312s 2025-03-22 13:52:34.921 UTC,"postgres","postgres",6266,"127.0.0.1:43828",67dec0a2.187a,2,"idle",2025-03-22 13:52:34 UTC,2/3,0,LOG,00000,"statement: SET synchronous_commit TO 'local'",,,,,,,,,"","client backend",,0 3312s 2025-03-22 13:52:34.979 UTC,"postgres","postgres",6266,"127.0.0.1:43828",67dec0a2.187a,3,"idle",2025-03-22 13:52:34 UTC,2/4,0,LOG,00000,"statement: SELECT 1 FROM public.test_1742651554_9227076",,,,,,,,,"","client backend",,0 3312s 2025-03-22 13:52:34.979 UTC,"postgres","postgres",6266,"127.0.0.1:43828",67dec0a2.187a,4,"SELECT",2025-03-22 13:52:34 UTC,2/4,0,DEBUG,42P01,"relation ""public.test_1742651554_9227076"" does not exist",,,,,,,,,"","client backend",,0 3312s 2025-03-22 13:52:34.979 UTC,"postgres","postgres",6266,"127.0.0.1:43828",67dec0a2.187a,5,"SELECT",2025-03-22 13:52:34 UTC,2/4,0,ERROR,42P01,"relation ""public.test_1742651554_9227076"" does not exist",,,,,,"SELECT 1 FROM public.test_1742651554_9227076",15,,"","client backend",,0 3312s 2025-03-22 13:52:35.444 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,5,"idle",2025-03-22 13:52:34 UTC,1/6,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:35.447 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,6,"idle",2025-03-22 13:52:34 UTC,1/7,0,LOG,00000,"statement: SELECT name, setting, unit, vartype, context, sourcefile FROM pg_catalog.pg_settings WHERE pg_catalog.lower(name) = ANY(ARRAY['archive_cleanup_command','primary_conninfo','primary_slot_name','promote_trigger_file','recovery_end_command','recovery_min_apply_delay','recovery_target','recovery_target_lsn','recovery_target_name','recovery_target_time','recovery_target_timeline','recovery_target_xid','restore_command'])",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:35.449 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,7,"idle",2025-03-22 13:52:34 UTC,1/8,0,LOG,00000,"statement: SELECT slot_name, slot_type, xmin, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint, plugin, database, datoid, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint FROM pg_catalog.pg_replication_slots WHERE NOT temporary",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:35.450 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,8,"idle",2025-03-22 13:52:34 UTC,1/9,0,LOG,00000,"statement: SELECT pg_catalog.pg_replication_slot_advance('postgres_0', '0/4000000')",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:35.451 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,9,"SELECT",2025-03-22 13:52:34 UTC,1/9,0,DEBUG,00000,"xmin required by slots: data 0, catalog 0",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:35.980 UTC,"postgres","postgres",6266,"127.0.0.1:43828",67dec0a2.187a,6,"idle",2025-03-22 13:52:34 UTC,2/5,0,LOG,00000,"statement: SELECT 1 FROM public.test_1742651554_9227076",,,,,,,,,"","client backend",,0 3312s 2025-03-22 13:52:35.980 UTC,"postgres","postgres",6266,"127.0.0.1:43828",67dec0a2.187a,7,"SELECT",2025-03-22 13:52:34 UTC,2/5,0,DEBUG,42P01,"relation ""public.test_1742651554_9227076"" does not exist",,,,,,,,,"","client backend",,0 3312s 2025-03-22 13:52:35.980 UTC,"postgres","postgres",6266,"127.0.0.1:43828",67dec0a2.187a,8,"SELECT",2025-03-22 13:52:34 UTC,2/5,0,ERROR,42P01,"relation ""public.test_1742651554_9227076"" does not exist",,,,,,"SELECT 1 FROM public.test_1742651554_9227076",15,,"","client backend",,0 3312s 2025-03-22 13:52:36.980 UTC,"postgres","postgres",6266,"127.0.0.1:43828",67dec0a2.187a,9,"idle",2025-03-22 13:52:34 UTC,2/6,0,LOG,00000,"statement: SELECT 1 FROM public.test_1742651554_9227076",,,,,,,,,"","client backend",,0 3312s 2025-03-22 13:52:36.981 UTC,"postgres","postgres",6266,"127.0.0.1:43828",67dec0a2.187a,10,"SELECT",2025-03-22 13:52:34 UTC,2/6,0,DEBUG,42P01,"relation ""public.test_1742651554_9227076"" does not exist",,,,,,,,,"","client backend",,0 3312s 2025-03-22 13:52:36.981 UTC,"postgres","postgres",6266,"127.0.0.1:43828",67dec0a2.187a,11,"SELECT",2025-03-22 13:52:34 UTC,2/6,0,ERROR,42P01,"relation ""public.test_1742651554_9227076"" does not exist",,,,,,"SELECT 1 FROM public.test_1742651554_9227076",15,,"","client backend",,0 3312s 2025-03-22 13:52:37.444 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,10,"idle",2025-03-22 13:52:34 UTC,1/10,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:37.447 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,11,"idle",2025-03-22 13:52:34 UTC,1/11,0,LOG,00000,"statement: SELECT name, setting, unit, vartype, context, sourcefile FROM pg_catalog.pg_settings WHERE pg_catalog.lower(name) = ANY(ARRAY['archive_cleanup_command','primary_conninfo','primary_slot_name','promote_trigger_file','recovery_end_command','recovery_mi+ for file in features/output/*_failed/* 3312s + case $file in 3312s + echo features/output/nostream_node_failed/postgres-1.log: 3312s + cat features/output/nostream_node_failed/postgres-1.log 3312s n_apply_delay','recovery_target','recovery_target_lsn','recovery_target_name','recovery_target_time','recovery_target_timeline','recovery_target_xid','restore_command'])",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:37.449 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,12,"idle",2025-03-22 13:52:34 UTC,1/12,0,LOG,00000,"statement: SELECT pg_catalog.pg_replication_slot_advance('postgres_0', '0/4000000')",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:37.449 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,13,"SELECT",2025-03-22 13:52:34 UTC,1/12,0,DEBUG,00000,"xmin required by slots: data 0, catalog 0",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:37.981 UTC,"postgres","postgres",6266,"127.0.0.1:43828",67dec0a2.187a,12,"idle",2025-03-22 13:52:34 UTC,2/7,0,LOG,00000,"statement: SELECT 1 FROM public.test_1742651554_9227076",,,,,,,,,"","client backend",,0 3312s 2025-03-22 13:52:37.981 UTC,"postgres","postgres",6266,"127.0.0.1:43828",67dec0a2.187a,13,"SELECT",2025-03-22 13:52:34 UTC,2/7,0,DEBUG,42P01,"relation ""public.test_1742651554_9227076"" does not exist",,,,,,,,,"","client backend",,0 3312s 2025-03-22 13:52:37.981 UTC,"postgres","postgres",6266,"127.0.0.1:43828",67dec0a2.187a,14,"SELECT",2025-03-22 13:52:34 UTC,2/7,0,ERROR,42P01,"relation ""public.test_1742651554_9227076"" does not exist",,,,,,"SELECT 1 FROM public.test_1742651554_9227076",15,,"","client backend",,0 3312s 2025-03-22 13:52:38.982 UTC,"postgres","postgres",6266,"127.0.0.1:43828",67dec0a2.187a,15,"idle",2025-03-22 13:52:34 UTC,2/8,0,LOG,00000,"statement: SELECT 1 FROM public.test_1742651554_9227076",,,,,,,,,"","client backend",,0 3312s 2025-03-22 13:52:38.982 UTC,"postgres","postgres",6266,"127.0.0.1:43828",67dec0a2.187a,16,"SELECT",2025-03-22 13:52:34 UTC,2/8,0,DEBUG,42P01,"relation ""public.test_1742651554_9227076"" does not exist",,,,,,,,,"","client backend",,0 3312s 2025-03-22 13:52:38.982 UTC,"postgres","postgres",6266,"127.0.0.1:43828",67dec0a2.187a,17,"SELECT",2025-03-22 13:52:34 UTC,2/8,0,ERROR,42P01,"relation ""public.test_1742651554_9227076"" does not exist",,,,,,"SELECT 1 FROM public.test_1742651554_9227076",15,,"","client backend",,0 3312s 2025-03-22 13:52:39.445 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,14,"idle",2025-03-22 13:52:34 UTC,1/13,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:39.446 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,15,"idle",2025-03-22 13:52:34 UTC,1/14,0,LOG,00000,"statement: SELECT name, setting, unit, vartype, context, sourcefile FROM pg_catalog.pg_settings WHERE pg_catalog.lower(name) = ANY(ARRAY['archive_cleanup_command','primary_conninfo','primary_slot_name','promote_trigger_file','recovery_end_command','recovery_min_apply_delay','recovery_target','recovery_target_lsn','recovery_target_name','recovery_target_time','recovery_target_timeline','recovery_target_xid','restore_command'])",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:39.448 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,16,"idle",2025-03-22 13:52:34 UTC,1/15,0,LOG,00000,"statement: SELECT pg_catalog.pg_replication_slot_advance('postgres_0', '0/4000000')",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:39.448 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,17,"SELECT",2025-03-22 13:52:34 UTC,1/15,0,DEBUG,00000,"xmin required by slots: data 0, catalog 0",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:39.561 UTC,,,6240,,67dec0a1.1860,29,,2025-03-22 13:52:33 UTC,125/0,0,LOG,00000,"restored log file ""000000010000000000000003"" from archive",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:39.578 UTC,,,6240,,67dec0a1.1860,30,,2025-03-22 13:52:33 UTC,125/0,0,DEBUG,00000,"got WAL segment from archive",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:39.982 UTC,"postgres","postgres",6266,"127.0.0.1:43828",67dec0a2.187a,18,"idle",2025-03-22 13:52:34 UTC,2/9,0,LOG,00000,"statement: SELECT 1 FROM public.test_1742651554_9227076",,,,,,,,,"","client backend",,0 3312s 2025-03-22 13:52:40.008 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,18,"idle",2025-03-22 13:52:34 UTC,1/16,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:40.009 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,19,"idle",2025-03-22 13:52:34 UTC,1/17,0,LOG,00000,"statement: SELECT name, setting, unit, vartype, context, sourcefile FROM pg_catalog.pg_settings WHERE pg_catalog.lower(name) = ANY(ARRAY['archive_cleanup_command','primary_conninfo','primary_slot_name','promote_trigger_file','recovery_end_command','recovery_min_apply_delay','recovery_target','recovery_target_lsn','recovery_target_name','recovery_target_time','recovery_target_timeline','recovery_target_xid','restore_command'])",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:40.011 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,20,"idle",2025-03-22 13:52:34 UTC,1/18,0,LOG,00000,"statement: SELECT pg_catalog.pg_replication_slot_advance('postgres_0', '0/4000000')",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:40.011 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,21,"SELECT",2025-03-22 13:52:34 UTC,1/18,0,DEBUG,00000,"xmin required by slots: data 0, catalog 0",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:40.036 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,22,"idle",2025-03-22 13:52:34 UTC,1/19,0,LOG,00000,"statement: SELECT name, setting, unit, vartype, context, sourcefile FROM pg_catalog.pg_settings WHERE pg_catalog.lower(name) = ANY(ARRAY['wal_level','max_connections','max_wal_senders','max_prepared_transactions','max_locks_per_transaction','track_commit_timestamp','max_replication_slots','max_worker_processes','wal_log_hints','archive_command','archive_mode','log_destination','log_directory','log_filename','log_min_messages','log_statement','logging_collector','shared_buffers','ssl','ssl_ca_file','ssl_cert_file','ssl_key_file','unix_socket_directories','cluster_name','listen_addresses','port','wal_keep_size'])",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:40.046 UTC,,,6236,,67dec0a1.185c,6,,2025-03-22 13:52:33 UTC,,0,LOG,00000,"received SIGHUP, reloading configuration files",,,,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:40.047 UTC,,,6236,,67dec0a1.185c,7,,2025-03-22 13:52:33 UTC,,0,LOG,55P02,"parameter ""wal_level"" cannot be changed without restarting the server",,,,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:40.047 UTC,,,6236,,67dec0a1.185c,8,,2025-03-22 13:52:33 UTC,,0,LOG,F0000,"configuration file ""/tmp/autopkgtest.8qHkda/build.IZy/src/data/postgres-1/postgresql.conf"" contains errors; unaffected changes were applied",,,,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:40.067 UTC,,,6240,,67dec0a1.1860,31,,2025-03-22 13:52:33 UTC,125/0,0,LOG,00000,"waiting for WAL to become available at 0/4000018",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:40.408 UTC,,,6240,,67dec0a1.1860,32,,2025-03-22 13:52:33 UTC,125/0,0,LOG,00000,"waiting for WAL to become available at 0/4000018",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:41.047 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,23,"idle",2025-03-22 13:52:34 UTC,1/20,0,LOG,00000,"statement: SELECT name, pg_catalog.current_setting(name), unit, vartype FROM pg_catalog.pg_settings WHERE pg_catalog.lower(name) != ALL(ARRAY['archive_cleanup_command','pause_at_recovery_target','primary_conninfo','primary_slot_name','promote_trigger_file','recovery_end_command','recovery_min_apply_delay','recovery_target','recovery_target_action','recovery_target_inclusive','recovery_target_lsn','recovery_target_name','recovery_target_time','recovery_target_timeline','recovery_target_xid','restore_command','standby_mode','trigger_file','hot_standby']) AND pending_restart",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:41.109 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,24,"idle",2025-03-22 13:52:34 UTC,1/21,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:41.111 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,25,"idle",2025-03-22 13:52:34 UTC,1/22,0,LOG,00000,"statement: SELECT name, setting, unit, vartype, context, sourcefile FROM pg_catalog.pg_settings WHERE pg_catalog.lower(name) = ANY(ARRAY['archive_cleanup_command','primary_conninfo','primary_slot_name','promote_trigger_file','recovery_end_command','recovery_min_apply_delay','recovery_target','recovery_target_lsn','recovery_target_name','recovery_target_time','recovery_target_timeline','recovery_target_xid','restore_command'])",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:41.114 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,26,"idle",2025-03-22 13:52:34 UTC,1/23,0,LOG,00000,"statement: SELECT pg_catalog.pg_replication_slot_advance('postgres_0', '0/4000060')",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:41.114 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,27,"SELECT",2025-03-22 13:52:34 UTC,1/23,0,DEBUG,00000,"xmin required by slots: data 0, catalog 0",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:41.660 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,28,"idle",2025-03-22 13:52:34 UTC,1/24,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:41.663 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,29,"idle",2025-03-22 13:52:34 UTC,1/25,0,LOG,00000,"statement: SELECT name, setting, unit, vartype, context, sourcefile FROM pg_catalog.pg_settings WHERE pg_catalog.lower(name) = ANY(ARRAY['archive_cleanup_command','primary_conninfo','primary_slot_name','promote_trigger_file','recovery_end_command','recovery_min_apply_delay','recovery_target','recovery_target_lsn','recovery_target_name','recovery_target_time','recovery_target_timeline','recovery_target_xid','restore_command'])",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:41.665 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,30,"idle",2025-03-22 13:52:34 UTC,1/26,0,LOG,00000,"statement: SELECT pg_catalog.pg_replication_slot_advance('postgres_0', '0/50000D8')",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:41.665 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,31,"SELECT",2025-03-22 13:52:34 UTC,1/26,0,DEBUG,00000,"xmin required by slots: data 0, catalog 0",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:43.657 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,32,"idle",2025-03-22 13:52:34 UTC,1/27,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:43.659 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,33,"idle",2025-03-22 13:52:34 UTC,1/28,0,LOG,00000,"statement: SELECT name, setting, unit, vartype, context, sourcefile FROM pg_catalog.pg_settings WHERE pg_catalog.lower(name) = ANY(ARRAY['archive_cleanup_command','primary_conninfo','primary_slot_name','promote_trigger_file','recovery_end_command','recovery_min_apply_delay','recovery_target','recovery_target_lsn','recovery_target_name','recovery_target_time','recovery_target_timeline','recovery_target_xid','restore_command'])",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:43.664 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,34,"idle",2025-03-22 13:52:34 UTC,1/29,0,LOG,00000,"statement: SELECT pg_catalog.pg_replication_slot_advance('postgres_0', '0/5001EB8')",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:43.664 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,35,"SELECT",2025-03-22 13:52:34 UTC,1/29,0,DEBUG,00000,"xmin required by slots: data 0, catalog 0",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:45.118 UTC,,,6240,,67dec0a1.1860,33,,2025-03-22 13:52:33 UTC,125/0,0,LOG,00000,"restored log file ""000000010000000000000004"" from archive",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:45.133 UTC,,,6240,,67dec0a1.1860,34,,2025-03-22 13:52:33 UTC,125/0,0,DEBUG,00000,"got WAL segment from archive",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:45.191 UTC,,,6240,,67dec0a1.1860,35,,2025-03-22 13:52:33 UTC,125/0,0,LOG,00000,"restored log file ""000000010000000000000005"" from archive",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:45.210 UTC,,,6240,,67dec0a1.1860,36,,2025-03-22 13:52:33 UTC,125/0,0,DEBUG,00000,"got WAL segment from archive",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:45.211 UTC,,,6240,,67dec0a1.1860,37,,2025-03-22 13:52:33 UTC,125/0,0,DEBUG,00000,"transaction ID wrap limit is 2147484378, limited by database with OID 1",,,,,"WAL redo at 0/5000028 for XLOG/CHECKPOINT_SHUTDOWN: redo 0/5000028; tli 1; prev tli 1; fpw true; wal_level replica; xid 0:747; oid 16389; multi 1; offset 0; oldest xid 731 in DB 1; oldest multi 1 in DB 1; oldest/newest commit timestamp xid: 0/0; oldest running xid 0; shutdown",,,,"","startup",,0 3312s 2025-03-22 13:52:45.268 UTC,,,6240,,67dec0a1.1860,38,,2025-03-22 13:52:33 UTC,125/0,0,LOG,00000,"restored log file ""000000010000000000000006"" from archive",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:45.294 UTC,,,6240,,67dec0a1.1860,39,,2025-03-22 13:52:33 UTC,125/0,0,DEBUG,00000,"got WAL segment from archive",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:45.467 UTC,"replicator","",6363,"127.0.0.1:56420",67dec0ad.18db,1,"idle",2025-03-22 13:52:45 UTC,114/0,0,DEBUG,00000,"received replication command: IDENTIFY_SYSTEM",,,,,,,,,"postgres-2","walsender",,0 3312s 2025-03-22 13:52:45.468 UTC,"replicator","",6363,"127.0.0.1:56420",67dec0ad.18db,2,"idle",2025-03-22 13:52:45 UTC,114/0,0,DEBUG,00000,"received replication command: START_REPLICATION SLOT ""postgres_2"" 0/7000000 TIMELINE 1",,,,,,,,,"postgres-2","walsender",,0 3312s 2025-03-22 13:52:45.468 UTC,"replicator","",6363,"127.0.0.1:56420",67dec0ad.18db,3,"START_REPLICATION",2025-03-22 13:52:45 UTC,114/0,0,ERROR,42704,"replication slot ""postgres_2"" does not exist",,,,,,"START_REPLICATION SLOT ""postgres_2"" 0/7000000 TIMELINE 1",,,"postgres-2","walsender",,0 3312s 2025-03-22 13:52:45.549 UTC,,,6240,,67dec0a1.1860,40,,2025-03-22 13:52:33 UTC,125/0,0,DEBUG,00000,"saw end-of-backup record for backup starting at 0/6000028, waiting for 0/0",,,,,"WAL redo at 0/60000F8 for XLOG/BACKUP_END: 0/6000028",,,,"","startup",,0 3312s 2025-03-22 13:52:45.668 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,36,"idle",2025-03-22 13:52:34 UTC,1/30,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:45.670 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,37,"idle",2025-03-22 13:52:34 UTC,1/31,0,LOG,00000,"statement: SELECT name, setting, unit, vartype, context, sourcefile FROM pg_catalog.pg_settings WHERE pg_catalog.lower(name) = ANY(ARRAY['archive_cleanup_command','primary_conninfo','primary_slot_name','promote_trigger_file','recovery_end_command','recovery_min_apply_delay','recovery_target','recovery_target_lsn','recovery_target_name','recovery_target_time','recovery_target_timeline','recovery_target_xid','restore_command'])",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:45.678 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,38,"idle",2025-03-22 13:52:34 UTC,1/32,0,LOG,00000,"statement: SELECT pg_catalog.pg_replication_slot_advance('postgres_0', '0/5001EB8')",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:45.678 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,39,"SELECT",2025-03-22 13:52:34 UTC,1/32,0,DEBUG,00000,"xmin required by slots: data 0, catalog 0",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:45.682 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,40,"idle",2025-03-22 13:52:34 UTC,1/33,0,LOG,00000,"statement: SELECT pg_catalog.pg_create_physical_replication_slot('postgres_2', true) WHERE NOT EXISTS (SELECT 1 FROM pg_catalog.pg_replication_slots WHERE slot_type = 'physical' AND slot_name = 'postgres_2')",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:45.736 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,41,"idle",2025-03-22 13:52:34 UTC,1/34,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:45.739 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,42,"idle",2025-03-22 13:52:34 UTC,1/35,0,LOG,00000,"statement: SELECT name, setting, unit, vartype, context, sourcefile FROM pg_catalog.pg_settings WHERE pg_catalog.lower(name) = ANY(ARRAY['archive_cleanup_command','primary_conninfo','primary_slot_name','promote_trigger_file','recovery_end_command','recovery_min_apply_delay','recovery_target','recovery_target_lsn','recovery_target_name','recovery_target_time','recovery_target_timeline','recovery_target_xid','restore_command'])",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:45.741 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,43,"idle",2025-03-22 13:52:34 UTC,1/36,0,LOG,00000,"statement: SELECT slot_name, slot_type, xmin, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint, plugin, database, datoid, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint FROM pg_catalog.pg_replication_slots WHERE NOT temporary",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:45.750 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,44,"idle",2025-03-22 13:52:34 UTC,1/37,0,LOG,00000,"statement: SELECT pg_catalog.pg_replication_slot_advance('postgres_0', '0/7000000')",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:45.750 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,45,"SELECT",2025-03-22 13:52:34 UTC,1/37,0,DEBUG,00000,"xmin required by slots: data 0, catalog 0",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:45.854 UTC,"replicator","",6372,"127.0.0.1:56436",67dec0ad.18e4,1,"idle",2025-03-22 13:52:45 UTC,115/0,0,DEBUG,00000,"received replication command: IDENTIFY_SYSTEM",,,,,,,,,"postgres-2","walsender",,0 3312s 2025-03-22 13:52:45.854 UTC,"replicator","",6372,"127.0.0.1:56436",67dec0ad.18e4,2,"idle",2025-03-22 13:52:45 UTC,115/0,0,DEBUG,00000,"received replication command: START_REPLICATION SLOT ""postgres_2"" 0/7000000 TIMELINE 1",,,,,,,,,"postgres-2","walsender",,0 3312s 2025-03-22 13:52:45.854 UTC,"replicator","",6372,"127.0.0.1:56436",67dec0ad.18e4,3,"START_REPLICATION",2025-03-22 13:52:45 UTC,115/0,0,DEBUG,00000,"acquired physical replication slot ""postgres_2""",,,,,,,,,"postgres-2","walsender",,0 3312s 2025-03-22 13:52:45.855 UTC,"replicator","",6372,"127.0.0.1:56436",67dec0ad.18e4,4,"START_REPLICATION",2025-03-22 13:52:45 UTC,115/0,0,DEBUG,00000,"xmin required by slots: data 0, catalog 0",,,,,,,,,"postgres-2","walsender",,0 3312s 2025-03-22 13:52:45.855 UTC,"replicator","",6372,"127.0.0.1:56436",67dec0ad.18e4,5,"START_REPLICATION",2025-03-22 13:52:45 UTC,115/0,0,DEBUG,00000,"""postgres-2"" has now caught up with upstream server",,,,,,,,,"postgres-2","walsender",,0 3312s 2025-03-22 13:52:46.040 UTC,,,6240,,67dec0a1.1860,41,,2025-03-22 13:52:33 UTC,125/0,0,LOG,00000,"waiting for WAL to become available at 0/7000018",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:46.817 UTC,"postgres","postgres",6266,"127.0.0.1:43828",67dec0a2.187a,19,"idle",2025-03-22 13:52:34 UTC,2/10,0,LOG,00000,"statement: SELECT 1 FROM pg_replication_slots WHERE slot_name = 'test_logical'",,,,,,,,,"","client backend",,0 3312s 2025-03-22 13:52:47.735 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,46,"idle",2025-03-22 13:52:34 UTC,1/38,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:47.736 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,47,"idle",2025-03-22 13:52:34 UTC,1/39,0,LOG,00000,"statement: SELECT name, setting, unit, vartype, context, sourcefile FROM pg_catalog.pg_settings WHERE pg_catalog.lower(name) = ANY(ARRAY['archive_cleanup_command','primary_conninfo','primary_slot_name','promote_trigger_file','recovery_end_command','recovery_min_apply_delay','recovery_target','recovery_target_lsn','recovery_target_name','recovery_target_time','recovery_target_timeline','recovery_target_xid','restore_command'])",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:48.147 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,48,"idle",2025-03-22 13:52:34 UTC,1/40,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:48.148 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,49,"idle",2025-03-22 13:52:34 UTC,1/41,0,LOG,00000,"statement: SELECT name, setting, unit, vartype, context, sourcefile FROM pg_catalog.pg_settings WHERE pg_catalog.lower(name) = ANY(ARRAY['archive_cleanup_command','primary_conninfo','primary_slot_name','promote_trigger_file','recovery_end_command','recovery_min_apply_delay','recovery_target','recovery_target_lsn','recovery_target_name','recovery_target_time','recovery_target_timeline','recovery_target_xid','restore_command'])",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:48.163 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,50,"idle",2025-03-22 13:52:34 UTC,1/42,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:48.221 UTC,"postgres","postgres",6399,"[local]",67dec0b0.18ff,1,"idle",2025-03-22 13:52:48 UTC,3/2,0,LOG,00000,"statement: SELECT pg_catalog.pg_postmaster_start_time(), CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), pg_catalog.pg_last_xact_replay_timestamp(), (pg_catalog.pg_stat_get_wal_receiver()).status, pg_catalog.current_setting('restore_command'), pg_catalog.array_to_json(pg_catalog.array_agg(pg_catalog.row_to_json(ri))) FROM (SELECT (SELECT rolname FROM pg_catalog.pg_authid WHERE oid = usesysid) AS usename, application_name, client_addr, w.state, sync_state, sync_priority FROM pg_catalog.pg_stat_get_wal_senders() w, pg_catalog.pg_stat_get_activity(pid)) AS ri",,,,,,,,,"Patroni restapi","client backend",,0 3312s 2025-03-22 13:52:48.231 UTC,"replicator","",6400,"[local]",67dec0b0.1900,1,"idle",2025-03-22 13:52:48 UTC,116/0,0,DEBUG,00000,"received replication command: IDENTIFY_SYSTEM",,,,,,,,,"","walsender",,0 3312s 2025-03-22 13:52:48.427 UTC,,,6240,,67dec0a1.1860,42,,2025-03-22 13:52:33 UTC,125/0,0,LOG,00000,"received promote request",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:48.427 UTC,,,6240,,67dec0a1.1860,43,,2025-03-22 13:52:33 UTC,125/0,0,LOG,00000,"redo done at 0/6000120 system usage: CPU: user: 0.00 s, system: 0.01 s, elapsed: 14.37 s",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:48.427 UTC,,,6240,,67dec0a1.1860,44,,2025-03-22 13:52:33 UTC,125/0,0,LOG,00000,"last completed transaction was at log time 2025-03-22 13:52:34.953992+00",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:48.472 UTC,,,6240,,67dec0a1.1860,45,,2025-03-22 13:52:33 UTC,125/0,0,LOG,00000,"restored log file ""000000010000000000000006"" from archive",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:48.494 UTC,,,6240,,67dec0a1.1860,46,,2025-03-22 13:52:33 UTC,125/0,0,DEBUG,00000,"got WAL segment from archive",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:48.494 UTC,,,6240,,67dec0a1.1860,47,,2025-03-22 13:52:33 UTC,125/0,0,DEBUG,00000,"resetting unlogged relations: cleanup 0 init 1",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:48.656 UTC,,,6240,,67dec0a1.1860,48,,2025-03-22 13:52:33 UTC,125/0,0,LOG,00000,"selected new timeline ID: 2",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:48.853 UTC,,,6240,,67dec0a1.1860,49,,2025-03-22 13:52:33 UTC,125/0,0,LOG,00000,"archive recovery complete",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:48.853 UTC,,,6240,,67dec0a1.1860,50,,2025-03-22 13:52:33 UTC,125/0,0,DEBUG,00000,"MultiXactId wrap limit is 2147483648, limited by database with OID 1",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:48.853 UTC,,,6240,,67dec0a1.1860,51,,2025-03-22 13:52:33 UTC,125/0,0,DEBUG,00000,"MultiXact member stop limit is now 4294914944 based on MultiXact 1",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:48.860 UTC,"replicator","",6372,"127.0.0.1:56436",67dec0ad.18e4,6,"START_REPLICATION",2025-03-22 13:52:45 UTC,115/0,0,DEBUG,00000,"walsender reached end of timeline at 0/7000000 (sent up to 0/7000000)",,,,,,,,,"postgres-2","walsender",,0 3312s 2025-03-22 13:52:48.860 UTC,"replicator","",6372,"127.0.0.1:56436",67dec0ad.18e4,7,"START_REPLICATION",2025-03-22 13:52:45 UTC,115/0,0,DEBUG,00000,"released physical replication slot ""postgres_2""",,,,,,,,,"postgres-2","walsender",,0 3312s 2025-03-22 13:52:48.861 UTC,,,6238,,67dec0a1.185e,1,,2025-03-22 13:52:33 UTC,,0,LOG,00000,"checkpoint starting: force",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:48.861 UTC,,,6238,,67dec0a1.185e,2,,2025-03-22 13:52:33 UTC,,0,DEBUG,00000,"performing replication slot checkpoint",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:48.861 UTC,"replicator","",6372,"127.0.0.1:56436",67dec0ad.18e4,8,"idle",2025-03-22 13:52:45 UTC,115/0,0,DEBUG,00000,"received replication command: TIMELINE_HISTORY 2",,,,,,,,,"postgres-2","walsender",,0 3312s 2025-03-22 13:52:48.864 UTC,,,6414,,67dec0b0.190e,1,,2025-03-22 13:52:48 UTC,,0,DEBUG,00000,"autovacuum launcher started",,,,,,,,,"","autovacuum launcher",,0 3312s 2025-03-22 13:52:48.865 UTC,,,6236,,67dec0a1.185c,9,,2025-03-22 13:52:33 UTC,,0,DEBUG,00000,"starting background worker process ""logical replication launcher""",,,,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:48.866 UTC,,,6236,,67dec0a1.185c,10,,2025-03-22 13:52:33 UTC,,0,LOG,00000,"database system is ready to accept connections",,,,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:48.867 UTC,,,6417,,67dec0b0.1911,1,,2025-03-22 13:52:48 UTC,105/0,0,DEBUG,00000,"logical replication launcher started",,,,,,,,,"","logical replication launcher",,0 3312s 2025-03-22 13:52:48.910 UTC,,,6415,,67dec0b0.190f,1,,2025-03-22 13:52:48 UTC,,0,DEBUG,00000,"archived write-ahead log file ""00000002.history""",,,,,,,,,"","archiver",,0 3312s 2025-03-22 13:52:49.188 UTC,,,6236,,67dec0a1.185c,11,,2025-03-22 13:52:33 UTC,,0,LOG,00000,"received fast shutdown request",,,,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:49.191 UTC,,,6236,,67dec0a1.185c,12,,2025-03-22 13:52:33 UTC,,0,LOG,00000,"aborting any active transactions",,,,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:49.191 UTC,"postgres","postgres",6266,"127.0.0.1:43828",67dec0a2.187a,20,"idle",2025-03-22 13:52:34 UTC,2/0,0,FATAL,57P01,"terminating connection due to administrator command",,,,,,,,,"","client backend",,0 3312s 2025-03-22 13:52:49.191 UTC,"postgres","postgres",6263,"[local]",67dec0a2.1877,51,"idle",2025-03-22 13:52:34 UTC,1/0,0,FATAL,57P01,"terminating connection due to administrator command",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:49.194 UTC,,,6414,,67dec0b0.190e,2,,2025-03-22 13:52:48 UTC,100/0,0,DEBUG,00000,"autovacuum launcher shutting down",,,,,,,,,"","autovacuum launcher",,0 3312s 2025-03-22 13:52:49.197 UTC,,,6417,,67dec0b0.1911,2,,2025-03-22 13:52:48 UTC,105/0,0,DEBUG,00000,"logical replication launcher shutting down",,,,,,,,,"","logical replication launcher",,0 3312s 2025-03-22 13:52:49.199 UTC,"postgres","postgres",6399,"[local]",67dec0b0.18ff,2,"idle",2025-03-22 13:52:48 UTC,3/0,0,FATAL,57P01,"terminating connection due to administrator command",,,,,,,,,"Patroni restapi","client backend",,0 3312s 2025-03-22 13:52:49.205 UTC,,,6236,,67dec0a1.185c,13,,2025-03-22 13:52:33 UTC,,0,LOG,00000,"background worker ""logical replication launcher"" (PID 6417) exited with exit code 1",,,,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:49.206 UTC,,,6238,,67dec0a1.185e,3,,2025-03-22 13:52:33 UTC,,0,DEBUG,00000,"checkpoint sync: number=1 file=base/5/2662 time=0.492 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:49.207 UTC,,,6238,,67dec0a1.185e,4,,2025-03-22 13:52:33 UTC,,0,DEBUG,00000,"checkpoint sync: number=2 file=base/5/1249 time=0.503 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:49.207 UTC,,,6238,,67dec0a1.185e,5,,2025-03-22 13:52:33 UTC,,0,DEBUG,00000,"checkpoint sync: number=3 file=base/5/2674 time=0.476 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:49.208 UTC,,,6238,,67dec0a1.185e,6,,2025-03-22 13:52:33 UTC,,0,DEBUG,00000,"checkpoint sync: number=4 file=base/5/2608 time=0.427 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:49.208 UTC,,,6238,,67dec0a1.185e,7,,2025-03-22 13:52:33 UTC,,0,DEBUG,00000,"checkpoint sync: number=5 file=base/5/1247 time=0.559 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:49.208 UTC,,,6238,,67dec0a1.185e,8,,2025-03-22 13:52:33 UTC,,0,DEBUG,00000,"checkpoint sync: number=6 file=base/5/2658 time=0.071 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:49.208 UTC,,,6238,,67dec0a1.185e,9,,2025-03-22 13:52:33 UTC,,0,DEBUG,00000,"checkpoint sync: number=7 file=base/5/1259 time=0.058 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:49.209 UTC,,,6238,,67dec0a1.185e,10,,2025-03-22 13:52:33 UTC,,0,DEBUG,00000,"checkpoint sync: number=8 file=base/5/2704 time=0.690 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:49.210 UTC,,,6238,,67dec0a1.185e,11,,2025-03-22 13:52:33 UTC,,0,DEBUG,00000,"checkpoint sync: number=9 file=base/5/1247_vm time=0.641 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:49.210 UTC,,,6238,,67dec0a1.185e,12,,2025-03-22 13:52:33 UTC,,0,DEBUG,00000,"checkpoint sync: number=10 file=base/5/2659 time=0.091 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:49.210 UTC,,,6238,,67dec0a1.185e,13,,2025-03-22 13:52:33 UTC,,0,DEBUG,00000,"checkpoint sync: number=11 file=base/5/2608_fsm time=0.532 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:49.211 UTC,,,6238,,67dec0a1.185e,14,,2025-03-22 13:52:33 UTC,,0,DEBUG,00000,"checkpoint sync: number=12 file=pg_xact/0000 time=0.470 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:49.211 UTC,,,6238,,67dec0a1.185e,15,,2025-03-22 13:52:33 UTC,,0,DEBUG,00000,"checkpoint sync: number=13 file=pg_multixact/offsets/0000 time=0.520 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:49.212 UTC,,,6238,,67dec0a1.185e,16,,2025-03-22 13:52:33 UTC,,0,DEBUG,00000,"checkpoint sync: number=14 file=base/5/2673 time=0.493 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:49.212 UTC,,,6238,,67dec0a1.185e,17,,2025-03-22 13:52:33 UTC,,0,DEBUG,00000,"checkpoint sync: number=15 file=base/5/16386 time=0.072 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:49.213 UTC,,,6238,,67dec0a1.185e,18,,2025-03-22 13:52:33 UTC,,0,DEBUG,00000,"checkpoint sync: number=16 file=base/5/2663 time=0.406 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:49.213 UTC,,,6238,,67dec0a1.185e,19,,2025-03-22 13:52:33 UTC,,0,DEBUG,00000,"checkpoint sync: number=17 file=base/5/1249_vm time=0.398 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:49.214 UTC,,,6238,,67dec0a1.185e,20,,2025-03-22 13:52:33 UTC,,0,DEBUG,00000,"checkpoint sync: number=18 file=base/5/1259_vm time=0.525 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:49.214 UTC,,,6238,,67dec0a1.185e,21,,2025-03-22 13:52:33 UTC,,0,DEBUG,00000,"checkpoint sync: number=19 file=base/5/2608_vm time=0.521 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:49.214 UTC,,,6238,,67dec0a1.185e,22,,2025-03-22 13:52:33 UTC,,0,DEBUG,00000,"checkpoint sync: number=20 file=base/5/3455 time=0.375 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:49.215 UTC,,,6238,,67dec0a1.185e,23,,2025-03-22 13:52:33 UTC,,0,DEBUG,00000,"checkpoint sync: number=21 file=base/5/2703 time=0.411 ms",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:49.216 UTC,,,6238,,67dec0a1.185e,24,,2025-03-22 13:52:33 UTC,,0,LOG,00000,"checkpoint complete: wrote 7 buffers (5.5%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.326 s, sync=0.010 s, total=0.356 s; sync files=21, longest=0.001 s, average=0.001 s; distance=81920 kB, estimate=81920 kB; lsn=0/70000F0, redo lsn=0/7000098",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:49.217 UTC,,,6238,,67dec0a1.185e,25,,2025-03-22 13:52:33 UTC,,0,LOG,00000,"shutting down",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:49.241 UTC,,,6238,,67dec0a1.185e,26,,2025-03-22 13:52:33 UTC,,0,LOG,00000,"checkpoint starting: shutdown immediate",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:49.241 UTC,,,6238,,67dec0a1.185e,27,,2025-03-22 13:52:33 UTC,,0,DEBUG,00000,"performing replication slot checkpoint",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:49.303 UTC,,,6238,,67dec0a1.185e,28,,2025-03-22 13:52:33 UTC,,0,LOG,00000,"checkpoint complete: wrote 0 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.003 s, sync=0.001 s, total=0.067 s; sync files=0, longest=0.000 s, average=0.000 s; distance=16383 kB, estimate=75366 kB; lsn=0/8000028, redo lsn=0/8000028",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:49.312 UTC,,,6415,,67dec0b0.190f,2,,2025-03-22 13:52:48 UTC,,0,DEBUG,00000,"archived write-ahead log file ""000000020000000000000007""",,,,,,,,,"","archiver",,0 3312s 2025-03-22 13:52:49.312 UTC,,,6415,,67dec0b0.190f,3,,2025-03-22 13:52:48 UTC,,0,DEBUG,00000,"archiver process shutting down",,,,,,,,,"","archiver",,0 3312s 2025-03-22 13:52:49.316 UTC,,,6236,,67dec0a1.185c,14,,2025-03-22 13:52:33 UTC,,0,LOG,00000,"database system is shut down",,,,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:49.318 UTC,,,6237,,67dec0a1.185d,1,,2025-03-22 13:52:33 UTC,,0,DEBUG,00000,"logger shutting down",,,,,,,,,"","logger",,0 3312s features/output/nostream_node_failed/postgres-1.log: 3312s 2025-03-22 13:52:33.754 UTC [6236] LOG: ending log output to stderr 3312s 2025-03-22 13:52:33.754 UTC [6236] HINT: Future log output will go to log destination "csvlog". 3312s Traceback (most recent call last): 3312s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 3312s shutil.copy(full_filename, args.pathname) 3312s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 428, in copy 3312s copyfile(src, dst, follow_symlinks=follow_symlinks) 3312s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 3312s with open(src, 'rb') as fsrc: 3312s ~~~~^^^^^^^^^^^ 3312s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/00000002.history' 3312s Traceback (most recent call last): 3312s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 3312s shutil.copy(full_filename, args.pathname) 3312s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 428, in copy 3312s copyfile(src, dst, follow_symlinks=follow_symlinks) 3312s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 3312s with open(src, 'rb') as fsrc: 3312s ~~~~^^^^^^^^^^^ 3312s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/000000010000000000000003' 3312s Traceback (most recent call last): 3312s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 3312s shutil.copy(full_filename, args.pathname) 3312s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 428, in copy 3312s copyfile(src, dst, follow_symlinks=follow_symlinks) 3312s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 3312s with open(src, 'rb') as fsrc: 3312s ~~~~^^^^^^^^^^^ 3312s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/000000010000000000000003' 3312s Traceback (most recent call last): 3312s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 3312s shutil.copy(full_filename, args.pathname) 3312s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 428, in copy 3312s copyfile(src, dst, follow_symlinks=follow_symlinks) 3312s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 3312s with open(src, 'rb') as fsrc: 3312s ~~~~^^^^^^^^^^^ 3312s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/00000002.history' 3312s Traceback (most recent call last): 3312s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 3312s shutil.copy(full_filename, args.pathname) 3312s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 428, in copy 3312s copyfile(src, dst, follow_symlinks=follow_symlinks) 3312s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 3312s with open(src, 'rb') as fsrc: 3312s ~~~~^^^^^^^^^^^ 3312s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/000000010000000000000003' 3312s Traceback (most recent call last): 3312s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 3312s shutil.copy(full_filename, args.pathname) 3312s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 428, in copy 3312s copyfile(src, dst, follow_symlinks=follow_symlinks) 3312s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 3312s with open(src, 'rb') as fsrc: 3312s ~~~~^^^^^^^^^^^ 3312s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/00000002.history' 3312s Traceback (most recent call last): 3312s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 3312s shutil.copy(full_filename, args.pathname) 3312s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 428, in copy 3312s copyfile(src, dst, follow_symlinks=follow_symlinks) 3312s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 3312s with open(src, 'rb') as fsrc: 3312s ~~~~^^^^^^^^^^^ 3312s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/000000010000000000000004' 3312s Traceback (most recent call last): 3312s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 3312s shutil.copy(full_filename, args.pathname) 3312s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 428, in copy 3312s copyfile(src, dst, follow_symlinks=follow_symlinks) 3312s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 3312s with open(src, 'rb') as fsrc: 3312s ~~~~^^^^^^^^^^^ 3312s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/000000010000000000000004' 3312s Traceback (most recent call last): 3312s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 3312s shutil.copy(full_filename, args.pathname) 3312s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 428, in copy 3312s copyfile(src, dst, follow_symlinks=follow_symlinks) 3312s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 3312s with open(src, 'rb') as fsrc: 3312s ~~~~^^^^^^^^^^^ 3312s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/00000002.history' 3312s Traceback (most recent call last): 3312s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 3312s shutil.copy(full_filename, args.pathname) 3312s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 428, in copy 3312s copyfile(src, dst, follow_symlinks=follow_symlinks) 3312s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 3312s with open(src, 'rb') as fsrc: 3312s ~~~~^^^^^^^^^^^ 3312s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/000000010000000000000004' 3312s Traceback (most recent call last): 3312s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 3312s shutil.copy(full_filename, args.pathname) 3312s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 428, in copy 3312s copyfile(src, dst, follow_symlinks=follow_symlinks) 3312s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 3312s with open(src, 'rb') as fsrc: 3312s ~~~~^^^^^^^^^^^ 3312s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/00000002.history' 3312s Traceback (most recent call last): 3312s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 3312s shutil.copy(full_filename, args.pathname) 3312s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 428, in copy 3312s copyfile(src, dst, follow_symlinks=follow_symlinks) 3312s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 3312s with open(src, 'rb') as fsrc: 3312s ~~~~^^^^^^^^^^^ 3312s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/000000010000000000000007' 3312s Traceback (most recent call last): 3312s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 3312s shutil.copy(full_filename, args.pathname) 3312s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 428, in copy 3312s copyfile(src, dst, follow_symlinks=follow_symlinks) 3312s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 3312s with open(src, 'rb') as fsrc: 3312s ~~~~^^^^^^^^^^^ 3312s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/000000010000000000000007' 3312s Traceback (most recent call last): 3312s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 3312s shutil.copy(full_filename, args.pathname) 3312s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 428, in copy 3312s copyfile(src, dst, follow_symlinks=follow_symlinks) 3312s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 3312s with open(src, 'rb') as fsrc: 3312s ~~~~^^^^^^^^^^^ 3312s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/00000002.history' 3312s Traceback (most recent call last): 3312s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 3312s shutil.copy(full_filename, args.pathname) 3312s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 428, in copy 3312s copyfile(src, dst, follow_symlinks=follow_symlinks) 3312s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 3312s with open(src, 'rb') as fsrc: 3312s ~~~~^^^^^^^^^^^ 3312s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/000000010000000000000007' 3312s Traceback (most recent call last): 3312s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 3312s shutil.copy(full_filename, args.pathname) 3312s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 428, in copy 3312s copyfile(src, dst, follow_symlinks=follow_symlinks) 3312s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 3312s with open(src, 'rb') as fsrc: 3312s ~~~~^^^^^^^^^^^ 3312s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/00000002.history' 3312s Traceback (most recent call last): 3312s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 3312s shutil.copy(full_filename, args.pathname) 3312s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 428, in copy 3312s copyfile(src, dst, follow_symlinks=follow_symlinks) 3312s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 3312s with open(src, 'rb') as fsrc: 3312s ~~~~^^^^^^^^^^^ 3312s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/00000001.history' 3312s 2025-03-22 13:52:49.318 UTC [6237] DEBUG: logger shutting down 3312s features/output/nostream_node_failed/postgres-1.yml: 3312s + for file in features/output/*_failed/* 3312s + case $file in 3312s + echo features/output/nostream_node_failed/postgres-1.yml: 3312s + cat features/output/nostream_node_failed/postgres-1.yml 3312s bootstrap: 3312s dcs: 3312s loop_wait: 2 3312s maximum_lag_on_failover: 1048576 3312s postgresql: 3312s parameters: 3312s archive_command: /usr/bin/python3 /tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py 3312s --mode archive --dirname /tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive 3312s --filename %f --pathname %p 3312s archive_mode: 'on' 3312s restore_command: /usr/bin/python3 /tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py 3312s --mode restore --dirname /tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive 3312s --filename %f --pathname %p 3312s wal_keep_segments: 100 3312s pg_hba: 3312s - host replication replicator 127.0.0.1/32 md5 3312s - host all all 0.0.0.0/0 md5 3312s use_pg_rewind: true 3312s retry_timeout: 10 3312s ttl: 30 3312s initdb: 3312s - encoding: UTF8 3312s - data-checksums 3312s - auth: md5 3312s - auth-host: md5 3312s post_bootstrap: psql -w -c "SELECT 1" 3312s log: 3312s format: '%(asctime)s %(levelname)s [%(pathname)s:%(lineno)d - %(funcName)s]: %(message)s' 3312s loggers: 3312s patroni.postgresql.callback_executor: DEBUG 3312s name: postgres-1 3312s postgresql: 3312s authentication: 3312s replication: 3312s password: rep-pass 3312s sslcert: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 3312s sslkey: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.key 3312s sslmode: verify-ca 3312s sslrootcert: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 3312s username: replicator 3312s rewind: 3312s password: rewind_password 3312s sslcert: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 3312s sslkey: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.key 3312s sslmode: verify-ca 3312s sslrootcert: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 3312s username: rewind_user 3312s superuser: 3312s password: patroni 3312s sslcert: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 3312s sslkey: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.key 3312s sslmode: verify-ca 3312s sslrootcert: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 3312s username: postgres 3312s basebackup: 3312s - checkpoint: fast 3312s callbacks: 3312s on_role_change: /usr/bin/python3 features/callback2.py postgres-1 5376 3312s connect_address: 127.0.0.1:5376 3312s data_dir: /tmp/autopkgtest.8qHkda/build.IZy/src/data/postgres-1 3312s listen: 127.0.0.1:5376 3312s parameters: 3312s log_destination: csvlog 3312s log_directory: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/nostream_node 3312s log_filename: postgres-1.log 3312s log_min_messages: debug1 3312s log_statement: all 3312s logging_collector: 'on' 3312s shared_buffers: 1MB 3312s ssl: 'on' 3312s ssl_ca_file: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 3312s ssl_cert_file: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 3312s ssl_key_file: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.key 3312s unix_socket_directories: /tmp 3312s pg_hba: 3312s - local all all trust 3312s - local replication all trust 3312s - hostssl replication replicator all md5 clientcert=verify-ca 3312s - hostssl all all all md5 clientcert=verify-ca 3312s pgpass: /tmp/pgpass_postgres-1 3312s use_unix_socket: true 3312s use_unix_socket_repl: true 3312s raft: 3312s data_dir: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/nostream_node 3312s self_addr: localhost:1247 3312s restapi: 3312s connect_address: 127.0.0.1:8009 3312s listen: 127.0.0.1:8009 3312s scope: batman 3312s tags: 3312s clonefrom: false 3312s noloadbalance: false 3312s nostream: 'true' 3312s nosync: false 3312s features/output/nostream_node_failed/postgres-2.csv: 3312s + for file in features/output/*_failed/* 3312s + case $file in 3312s + echo features/output/nostream_node_failed/postgres-2.csv: 3312s + cat features/output/nostream_node_failed/postgres-2.csv 3312s 2025-03-22 13:52:44.800 UTC,,,6337,,67dec0ac.18c1,1,,2025-03-22 13:52:44 UTC,,0,LOG,00000,"ending log output to stderr",,"Future log output will go to log destination ""csvlog"".",,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:44.800 UTC,,,6337,,67dec0ac.18c1,2,,2025-03-22 13:52:44 UTC,,0,LOG,00000,"starting PostgreSQL 17.4 (Ubuntu 17.4-1) on aarch64-unknown-linux-gnu, compiled by gcc (Ubuntu 14.2.0-17ubuntu3) 14.2.0, 64-bit",,,,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:44.800 UTC,,,6337,,67dec0ac.18c1,3,,2025-03-22 13:52:44 UTC,,0,LOG,00000,"listening on IPv4 address ""127.0.0.1"", port 5377",,,,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:44.806 UTC,,,6337,,67dec0ac.18c1,4,,2025-03-22 13:52:44 UTC,,0,LOG,00000,"listening on Unix socket ""/tmp/.s.PGSQL.5377""",,,,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:44.813 UTC,,,6341,,67dec0ac.18c5,1,,2025-03-22 13:52:44 UTC,,0,LOG,00000,"database system was interrupted; last known up at 2025-03-22 13:52:44 UTC",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:44.839 UTC,"postgres","postgres",6343,"[local]",67dec0ac.18c7,1,"",2025-03-22 13:52:44 UTC,,0,FATAL,57P03,"the database system is starting up",,,,,,,,,"","client backend",,0 3312s 2025-03-22 13:52:44.848 UTC,"postgres","postgres",6345,"[local]",67dec0ac.18c9,1,"",2025-03-22 13:52:44 UTC,,0,FATAL,57P03,"the database system is starting up",,,,,,,,,"","client backend",,0 3312s 2025-03-22 13:52:45.049 UTC,,,6341,,67dec0ac.18c5,2,,2025-03-22 13:52:44 UTC,,0,DEBUG,00000,"backup time 2025-03-22 13:52:44 UTC in file ""backup_label""",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:45.049 UTC,,,6341,,67dec0ac.18c5,3,,2025-03-22 13:52:44 UTC,,0,DEBUG,00000,"backup label pg_basebackup base backup in file ""backup_label""",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:45.049 UTC,,,6341,,67dec0ac.18c5,4,,2025-03-22 13:52:44 UTC,,0,DEBUG,00000,"backup timeline 1 in file ""backup_label""",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:45.049 UTC,,,6341,,67dec0ac.18c5,5,,2025-03-22 13:52:44 UTC,,0,LOG,00000,"starting backup recovery with redo LSN 0/6000028, checkpoint LSN 0/6000080, on timeline ID 1",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:45.097 UTC,,,6341,,67dec0ac.18c5,6,,2025-03-22 13:52:44 UTC,,0,LOG,00000,"restored log file ""000000010000000000000006"" from archive",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:45.114 UTC,,,6341,,67dec0ac.18c5,7,,2025-03-22 13:52:44 UTC,,0,DEBUG,00000,"got WAL segment from archive",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:45.114 UTC,,,6341,,67dec0ac.18c5,8,,2025-03-22 13:52:44 UTC,,0,DEBUG,00000,"checkpoint record is at 0/6000080",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:45.114 UTC,,,6341,,67dec0ac.18c5,9,,2025-03-22 13:52:44 UTC,,0,LOG,00000,"entering standby mode",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:45.114 UTC,,,6341,,67dec0ac.18c5,10,,2025-03-22 13:52:44 UTC,,0,DEBUG,00000,"redo record is at 0/6000028; shutdown false",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:45.114 UTC,,,6341,,67dec0ac.18c5,11,,2025-03-22 13:52:44 UTC,,0,DEBUG,00000,"next transaction ID: 747; next OID: 16389",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:45.114 UTC,,,6341,,67dec0ac.18c5,12,,2025-03-22 13:52:44 UTC,,0,DEBUG,00000,"next MultiXactId: 1; next MultiXactOffset: 0",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:45.114 UTC,,,6341,,67dec0ac.18c5,13,,2025-03-22 13:52:44 UTC,,0,DEBUG,00000,"oldest unfrozen transaction ID: 731, in database 1",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:45.114 UTC,,,6341,,67dec0ac.18c5,14,,2025-03-22 13:52:44 UTC,,0,DEBUG,00000,"oldest MultiXactId: 1, in database 1",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:45.114 UTC,,,6341,,67dec0ac.18c5,15,,2025-03-22 13:52:44 UTC,,0,DEBUG,00000,"commit timestamp Xid oldest/newest: 0/0",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:45.114 UTC,,,6341,,67dec0ac.18c5,16,,2025-03-22 13:52:44 UTC,,0,DEBUG,00000,"transaction ID wrap limit is 2147484378, limited by database with OID 1",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:45.115 UTC,,,6341,,67dec0ac.18c5,17,,2025-03-22 13:52:44 UTC,,0,DEBUG,00000,"MultiXactId wrap limit is 2147483648, limited by database with OID 1",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:45.115 UTC,,,6341,,67dec0ac.18c5,18,,2025-03-22 13:52:44 UTC,,0,DEBUG,00000,"starting up replication slots",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:45.115 UTC,,,6341,,67dec0ac.18c5,19,,2025-03-22 13:52:44 UTC,,0,DEBUG,00000,"xmin required by slots: data 0, catalog 0",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:45.120 UTC,,,6341,,67dec0ac.18c5,20,,2025-03-22 13:52:44 UTC,,0,DEBUG,00000,"resetting unlogged relations: cleanup 1 init 0",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:45.120 UTC,,,6341,,67dec0ac.18c5,21,,2025-03-22 13:52:44 UTC,,0,DEBUG,00000,"initializing for hot standby",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:45.121 UTC,,,6341,,67dec0ac.18c5,22,,2025-03-22 13:52:44 UTC,125/0,0,LOG,00000,"redo starts at 0/6000028",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:45.286 UTC,,,6341,,67dec0ac.18c5,23,,2025-03-22 13:52:44 UTC,125/0,0,DEBUG,00000,"recovery snapshots are now enabled",,,,,"WAL redo at 0/6000048 for Standby/RUNNING_XACTS: nextXid 747 latestCompletedXid 746 oldestRunningXid 747",,,,"","startup",,0 3312s 2025-03-22 13:52:45.286 UTC,,,6341,,67dec0ac.18c5,24,,2025-03-22 13:52:44 UTC,125/0,0,DEBUG,00000,"end of backup record reached",,,,,"WAL redo at 0/60000F8 for XLOG/BACKUP_END: 0/6000028",,,,"","startup",,0 3312s 2025-03-22 13:52:45.286 UTC,,,6341,,67dec0ac.18c5,25,,2025-03-22 13:52:44 UTC,125/0,0,DEBUG,00000,"end of backup reached",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:45.289 UTC,,,6341,,67dec0ac.18c5,26,,2025-03-22 13:52:44 UTC,125/0,0,LOG,00000,"completed backup recovery with redo LSN 0/6000028 and end LSN 0/6000120",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:45.289 UTC,,,6341,,67dec0ac.18c5,27,,2025-03-22 13:52:44 UTC,125/0,0,LOG,00000,"consistent recovery state reached at 0/6000120",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:45.289 UTC,,,6337,,67dec0ac.18c1,5,,2025-03-22 13:52:44 UTC,,0,LOG,00000,"database system is ready to accept read-only connections",,,,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:45.468 UTC,,,6362,,67dec0ad.18da,1,,2025-03-22 13:52:45 UTC,,0,FATAL,08P01,"could not start WAL streaming: ERROR: replication slot ""postgres_2"" does not exist",,,,,,,,,"","walreceiver",,0 3312s 2025-03-22 13:52:45.811 UTC,"postgres","postgres",6370,"127.0.0.1:54292",67dec0ad.18e2,1,"idle",2025-03-22 13:52:45 UTC,0/2,0,LOG,00000,"statement: SELECT 1",,,,,,,,,"","client backend",,0 3312s 2025-03-22 13:52:45.812 UTC,"postgres","postgres",6370,"127.0.0.1:54292",67dec0ad.18e2,2,"idle",2025-03-22 13:52:45 UTC,0/3,0,LOG,00000,"statement: SET synchronous_commit TO 'local'",,,,,,,,,"","client backend",,0 3312s 2025-03-22 13:52:45.854 UTC,,,6371,,67dec0ad.18e3,1,,2025-03-22 13:52:45 UTC,,0,LOG,00000,"started streaming WAL from primary at 0/7000000 on timeline 1",,,,,,,,,"","walreceiver",,0 3312s 2025-03-22 13:52:45.871 UTC,"postgres","postgres",6376,"[local]",67dec0ad.18e8,1,"idle",2025-03-22 13:52:45 UTC,2/2,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:45.874 UTC,"postgres","postgres",6376,"[local]",67dec0ad.18e8,2,"idle",2025-03-22 13:52:45 UTC,2/3,0,LOG,00000,"statement: SELECT name, setting, unit, vartype, context, sourcefile FROM pg_catalog.pg_settings WHERE pg_catalog.lower(name) = ANY(ARRAY['archive_cleanup_command','primary_conninfo','primary_slot_name','promote_trigger_file','recovery_end_command','recovery_min_apply_delay','recovery_target','recovery_target_lsn','recovery_target_name','recovery_target_time','recovery_target_timeline','recovery_target_xid','restore_command'])",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:45.878 UTC,"postgres","postgres",6376,"[local]",67dec0ad.18e8,3,"idle",2025-03-22 13:52:45 UTC,2/4,0,LOG,00000,"statement: SELECT slot_name, slot_type, xmin, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint, plugin, database, datoid, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint FROM pg_catalog.pg_replication_slots WHERE NOT temporary",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:45.880 UTC,"postgres","postgres",6376,"[local]",67dec0ad.18e8,4,"idle",2025-03-22 13:52:45 UTC,2/5,0,LOG,00000,"statement: SELECT pg_catalog.pg_create_physical_replication_slot('postgres_0', true) WHERE NOT EXISTS (SELECT 1 FROM pg_catalog.pg_replication_slots WHERE slot_type = 'physical' AND slot_name = 'postgres_0')",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:45.894 UTC,"replicator","",6380,"[local]",67dec0ad.18ec,1,"idle",2025-03-22 13:52:45 UTC,113/0,0,DEBUG,00000,"received replication command: IDENTIFY_SYSTEM",,,,,,,,,"","walsender",,0 3312s 2025-03-22 13:52:46.819 UTC,"postgres","postgres",6370,"127.0.0.1:54292",67dec0ad.18e2,3,"idle",2025-03-22 13:52:45 UTC,0/4,0,LOG,00000,"statement: SELECT 1 FROM pg_replication_slots WHERE slot_name = 'test_logical'",,,,,,,,,"","client backend",,0 3312s 2025-03-22 13:52:47.867 UTC,"postgres","postgres",6376,"[local]",67dec0ad.18e8,5,"idle",2025-03-22 13:52:45 UTC,2/6,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:47.868 UTC,"postgres","postgres",6376,"[local]",67dec0ad.18e8,6,"idle",2025-03-22 13:52:45 UTC,2/7,0,LOG,00000,"statement: SELECT slot_name, slot_type, xmin, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint, plugin, database, datoid, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint FROM pg_catalog.pg_replication_slots WHERE NOT temporary",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:47.869 UTC,"postgres","postgres",6376,"[local]",67dec0ad.18e8,7,"idle",2025-03-22 13:52:45 UTC,2/8,0,LOG,00000,"statement: SELECT pg_catalog.pg_replication_slot_advance('postgres_0', '0/7000000')",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:47.870 UTC,"postgres","postgres",6376,"[local]",67dec0ad.18e8,8,"SELECT",2025-03-22 13:52:45 UTC,2/8,0,DEBUG,00000,"xmin required by slots: data 0, catalog 0",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:48.151 UTC,"postgres","postgres",6376,"[local]",67dec0ad.18e8,9,"idle",2025-03-22 13:52:45 UTC,2/9,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:48.168 UTC,"postgres","postgres",6376,"[local]",67dec0ad.18e8,10,"idle",2025-03-22 13:52:45 UTC,2/10,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:48.210 UTC,"postgres","postgres",6397,"[local]",67dec0b0.18fd,1,"idle",2025-03-22 13:52:48 UTC,3/2,0,LOG,00000,"statement: SELECT pg_catalog.pg_postmaster_start_time(), CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), pg_catalog.pg_last_xact_replay_timestamp(), (pg_catalog.pg_stat_get_wal_receiver()).status, pg_catalog.current_setting('restore_command'), pg_catalog.array_to_json(pg_catalog.array_agg(pg_catalog.row_to_json(ri))) FROM (SELECT (SELECT rolname FROM pg_catalog.pg_authid WHERE oid = usesysid) AS usename, application_name, client_addr, w.state, sync_state, sync_priority FROM pg_catalog.pg_stat_get_wal_senders() w, pg_catalog.pg_stat_get_activity(pid)) AS ri",,,,,,,,,"Patroni restapi","client backend",,0 3312s 2025-03-22 13:52:48.215 UTC,"replicator","",6398,"[local]",67dec0b0.18fe,1,"idle",2025-03-22 13:52:48 UTC,114/0,0,DEBUG,00000,"received replication command: IDENTIFY_SYSTEM",,,,,,,,,"","walsender",,0 3312s 2025-03-22 13:52:48.860 UTC,,,6371,,67dec0ad.18e3,2,,2025-03-22 13:52:45 UTC,,0,LOG,00000,"replication terminated by primary server","End of WAL reached on timeline 1 at 0/7000000.",,,,,,,,"","walreceiver",,0 3312s 2025-03-22 13:52:48.861 UTC,,,6371,,67dec0ad.18e3,3,,2025-03-22 13:52:45 UTC,,0,LOG,00000,"fetching timeline history file for timeline 2 from primary server",,,,,,,,,"","walreceiver",,0 3312s 2025-03-22 13:52:48.871 UTC,,,6371,,67dec0ad.18e3,4,,2025-03-22 13:52:45 UTC,,0,DEBUG,00000,"walreceiver ended streaming and awaits new instructions",,,,,,,,,"","walreceiver",,0 3312s 2025-03-22 13:52:48.871 UTC,,,6371,,67dec0ad.18e3,5,,2025-03-22 13:52:45 UTC,,0,FATAL,57P01,"terminating walreceiver process due to administrator command",,,,,,,,,"","walreceiver",,0 3312s 2025-03-22 13:52:48.913 UTC,,,6341,,67dec0ac.18c5,28,,2025-03-22 13:52:44 UTC,125/0,0,LOG,00000,"restored log file ""00000002.history"" from archive",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:49.108 UTC,,,6341,,67dec0ac.18c5,29,,2025-03-22 13:52:44 UTC,125/0,0,LOG,00000,"restored log file ""00000002.history"" from archive",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:49.114 UTC,,,6341,,67dec0ac.18c5,30,,2025-03-22 13:52:44 UTC,125/0,0,LOG,00000,"new target timeline is 2",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:49.460 UTC,,,6433,,67dec0b1.1921,1,,2025-03-22 13:52:49 UTC,,0,FATAL,08006,"could not connect to the primary server: connection to server at ""127.0.0.1"", port 5376 failed: Connection refused 3312s Is the server running on that host and accepting TCP/IP connections?",,,,,,,,,"","walreceiver",,0 3312s 2025-03-22 13:52:49.618 UTC,,,6341,,67dec0ac.18c5,31,,2025-03-22 13:52:44 UTC,125/0,0,LOG,00000,"waiting for WAL to become available at 0/7000018",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:50.167 UTC,"postgres","postgres",6376,"[local]",67dec0ad.18e8,11,"idle",2025-03-22 13:52:45 UTC,2/11,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:50.208 UTC,"postgres","postgres",6376,"[local]",67dec0ad.18e8,12,"idle",2025-03-22 13:52:45 UTC,2/12,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:50.220 UTC,"postgres","postgres",6376,"[local]",67dec0ad.18e8,13,"idle",2025-03-22 13:52:45 UTC,2/13,0,LOG,00000,"statement: SELECT CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE ('x' || pg_catalog.substr(pg_catalog.pg_walfile_name(pg_catalog.pg_current_wal_lsn()), 1, 8))::bit(32)::int END, CASE WHEN pg_catalog.pg_is_in_recovery() THEN 0 ELSE pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_current_wal_flush_lsn(), '0/0')::bigint END, pg_catalog.pg_wal_lsn_diff(pg_catalog.pg_last_wal_replay_lsn(), '0/0')::bigint, pg_catalog.pg_wal_lsn_diff(COALESCE(pg_catalog.pg_last_wal_receive_lsn(), '0/0'), '0/0')::bigint, pg_catalog.pg_is_in_recovery() AND pg_catalog.pg_is_wal_replay_paused(), 0, CASE WHEN latest_end_lsn IS NULL THEN NULL ELSE received_tli END, slot_name, conninfo, status, pg_catalog.current_setting('restore_command'), (SELECT pg_catalog.json_agg(s.*) FROM (SELECT slot_name, slot_type as type, datoid::bigint, plugin, catalog_xmin, pg_catalog.pg_wal_lsn_diff(confirmed_flush_lsn, '0/0')::bigint AS confirmed_flush_lsn, pg_catalog.pg_wal_lsn_diff(restart_lsn, '0/0')::bigint AS restart_lsn, xmin FROM pg_catalog.pg_get_replication_slots()) AS s), 'on', '', NULL FROM pg_catalog.pg_stat_get_wal_receiver()",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:50.682 UTC,,,6341,,67dec0ac.18c5,32,,2025-03-22 13:52:44 UTC,125/0,0,LOG,00000,"restored log file ""000000020000000000000007"" from archive",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:50.703 UTC,,,6341,,67dec0ac.18c5,33,,2025-03-22 13:52:44 UTC,125/0,0,DEBUG,00000,"got WAL segment from archive",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:50.827 UTC,"replicator","",6448,"[local]",67dec0b2.1930,1,"idle",2025-03-22 13:52:50 UTC,115/0,0,DEBUG,00000,"received replication command: IDENTIFY_SYSTEM",,,,,,,,,"","walsender",,0 3312s 2025-03-22 13:52:51.051 UTC,,,6451,,67dec0b3.1933,1,,2025-03-22 13:52:51 UTC,,0,FATAL,08006,"could not connect to the primary server: connection to server at ""127.0.0.1"", port 5376 failed: Connection refused 3312s Is the server running on that host and accepting TCP/IP connections?",,,,,,,,,"","walreceiver",,0 3312s 2025-03-22 13:52:51.220 UTC,,,6341,,67dec0ac.18c5,34,,2025-03-22 13:52:44 UTC,125/0,0,LOG,00000,"waiting for WAL to become available at 0/8000018",,,,,,,,,"","startup",,0 3312s 2025-03-22 13:52:53.185 UTC,,,6337,,67dec0ac.18c1,6,,2025-03-22 13:52:44 UTC,,0,LOG,00000,"received fast shutdown request",,,,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:53.188 UTC,,,6337,,67dec0ac.18c1,7,,2025-03-22 13:52:44 UTC,,0,LOG,00000,"aborting any active transactions",,,,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:53.189 UTC,"postgres","postgres",6397,"[local]",67dec0b0.18fd,2,"idle",2025-03-22 13:52:48 UTC,3/0,0,FATAL,57P01,"terminating connection due to administrator command",,,,,,,,,"Patroni restapi","client backend",,0 3312s 2025-03-22 13:52:53.191 UTC,"postgres","postgres",6370,"127.0.0.1:54292",67dec0ad.18e2,4,"idle",2025-03-22 13:52:45 UTC,0/0,0,FATAL,57P01,"terminating connection due to administrator command",,,,,,,,,"","client backend",,0 3312s 2025-03-22 13:52:53.192 UTC,"postgres","postgres",6376,"[local]",67dec0ad.18e8,14,"idle",2025-03-22 13:52:45 UTC,2/0,0,FATAL,57P01,"terminating connection due to administrator command",,,,,,,,,"Patroni heartbeat","client backend",,0 3312s 2025-03-22 13:52:53.197 UTC,,,6339,,67dec0ac.18c3,1,,2025-03-22 13:52:44 UTC,,0,LOG,00000,"shutting down",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:53.197 UTC,,,6339,,67dec0ac.18c3,2,,2025-03-22 13:52:44 UTC,,0,LOG,00000,"restartpoint starting: shutdown immediate",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:53.197 UTC,,,6339,,67dec0ac.18c3,3,,2025-03-22 13:52:44 UTC,,0,DEBUG,00000,"performing replication slot checkpoint",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:53.207 UTC,,,6339,,67dec0ac.18c3,4,,2025-03-22 13:52:44 UTC,,0,LOG,00000,"restartpoint complete: wrote 1 buffers (0.8%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.002 s, sync=0.001 s, total=0.011 s; sync files=0, longest=0.000 s, average=0.000 s; distance=16384 kB, estimate=16384 kB; lsn=0/70000F0, redo lsn=0/7000098",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:53.207 UTC,,,6339,,67dec0ac.18c3,5,,2025-03-22 13:52:44 UTC,,0,LOG,00000,"recovery restart point at 0/7000098",,,,,,,,,"","checkpointer",,0 3312s 2025-03-22 13:52:53.211 UTC,,,6337,,67dec0ac.18c1,8,,2025-03-22 13:52:44 UTC,,0,LOG,00000,"database system is shut down",,,,,,,,,"","postmaster",,0 3312s 2025-03-22 13:52:53.214 UTC,,,6338,,67dec0ac.18c2,1,,2025-03-22 13:52:44 UTC,,0,DEBUG,00000,"logger shutting down",,,,,,,,,"","logger",,0 3312s features/output/nostream_node_failed/postgres-2.log: 3312s 2025-03-22 13:52:44.800 UTC [6337] LOG: ending log output to stderr 3312s 2025-03-22 13:52:44.800 UTC [6337] HINT: Future log output will go to log destination "csvlog". 3312s Traceback (most recent call last): 3312s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 3312s shutil.copy(full_filename, args.pathname) 3312s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 428, in copy 3312s copyfile(src, dst, follow_symlinks=follow_symlinks) 3312s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 3312s with open(src, 'rb') as fsrc: 3312s ~~~~^^^^^^^^^^^ 3312s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/00000002.history' 3312s Traceback (most recent call last): 3312s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 3312s shutil.copy(full_filename, args.pathname) 3312s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 428, in copy 3312s copyfile(src, dst, follow_symlinks=follow_symlinks) 3312s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 3312s with open(src, 'rb') as fsrc: 3312s ~~~~^^^^^^^^^^^ 3312s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/000000010000000000000007' 3312s Traceback (most recent call last): 3312s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 3312s shutil.copy(full_filename, args.pathname) 3312s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 428, in copy 3312s copyfile(src, dst, follow_symlinks=follow_symlinks) 3312s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 3312s with open(src, 'rb') as fsrc: 3312s ~~~~^^^^^^^^^^^ 3312s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/000000010000000000000007' 3312s Traceback (most recent call last): 3312s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 3312s shutil.copy(full_filename, args.pathname) 3312s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 428, in copy 3312s copyfile(src, dst, follow_symlinks=follow_symlinks) 3312s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 3312s with open(src, 'rb') as fsrc: 3312s ~~~~^^^^^^^^^^^ 3312s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/00000002.history' 3312s Traceback (most recent call last): 3312s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 3312s shutil.copy(full_filename, args.pathname) 3312s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 428, in copy 3312s copyfile(src, dst, follow_symlinks=follow_symlinks) 3312s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 3312s with open(src, 'rb') as fsrc: 3312s ~~~~^^^^^^^^^^^ 3312s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/000000010000000000000007' 3312s Traceback (most recent call last): 3312s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 3312s shutil.copy(full_filename, args.pathname) 3312s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 428, in copy 3312s copyfile(src, dst, follow_symlinks=follow_symlinks) 3312s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 3312s with open(src, 'rb') as fsrc: 3312s ~~~~^^^^^^^^^^^ 3312s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/00000003.history' 3312s Traceback (most recent call last): 3312s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 3312s shutil.copy(full_filename, args.pathname) 3312s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 428, in copy 3312s copyfile(src, dst, follow_symlinks=follow_symlinks) 3312s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 3312s with open(src, 'rb') as fsrc: 3312s ~~~~^^^^^^^^^^^ 3312s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/000000020000000000000007' 3312s Traceback (most recent call last): 3312s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 3312s shutil.copy(full_filename, args.pathname) 3312s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 428, in copy 3312s copyfile(src, dst, follow_symlinks=follow_symlinks) 3312s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 3312s with open(src, 'rb') as fsrc: 3312s ~~~~^^^^^^^^^^^ 3312s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/000000010000000000000007' 3312s Traceback (most recent call last): 3312s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 3312s shutil.copy(full_filename, args.pathname) 3312s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 428, in copy 3312s copyfile(src, dst, follow_symlinks=follow_symlinks) 3312s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 3312s with open(src, 'rb') as fsrc: 3312s ~~~~^^^^^^^^^^^ 3312s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/00000003.history' 3312s Traceback (most recent call last): 3312s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 3312s shutil.copy(full_filename, args.pathname) 3312s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 428, in copy 3312s copyfile(src, dst, follow_symlinks=follow_symlinks) 3312s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 3312s with open(src, 'rb') as fsrc: 3312s ~~~~^^^^^^^^^^^ 3312s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/000000020000000000000008' 3312s Traceback (most recent call last): 3312s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 3312s shutil.copy(full_filename, args.pathname) 3312s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 428, in copy 3312s copyfile(src, dst, follow_symlinks=follow_symlinks) 3312s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 3312s with open(src, 'rb') as fsrc: 3312s ~~~~^^^^^^^^^^^ 3312s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/000000020000000000000008' 3312s Traceback (most recent call last): 3312s File "/tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py", line 21, in 3312s shutil.copy(full_filename, args.pathname) 3312s ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 428, in copy 3312s copyfile(src, dst, follow_symlinks=follow_symlinks) 3312s ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3312s File "/usr/lib/python3.13/shutil.py", line 260, in copyfile 3312s with open(src, 'rb') as fsrc: 3312s ~~~~^^^^^^^^^^^ 3312s FileNotFoundError: [Errno 2] No such file or directory: '/tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive/00000003.history' 3312s 2025-03-22 13:52:53.214 UTC [6338] DEBUG: logger shutting down 3312s features/output/nostream_node_failed/postgres-2.yml: 3312s bootstrap: 3312s dcs: 3312s loop_wait: 2 3312s maximum_lag_on_failover: 1048576 3312s postgresql: 3312s parameters: 3312s archive_command: /usr/bin/python3 /tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py 3312s --mode archive --dirname /tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive 3312s --filename %f --pathname %p 3312s archive_mode: 'on' 3312s restore_command: /usr/bin/python3 /tmp/autopkgtest.8qHkda/build.IZy/src/features/archive-restore.py 3312s --mode restore --dirname /tmp/autopkgtest.8qHkda/build.IZy/src/data/wal_archive 3312s --filename %f --pathname %p 3312s wal_keep_segments: 100 3312s pg_hba: 3312s - host replication replicator 127.0.0.1/32 md5 3312s - host all all 0.0.0.0/0 md5 3312s use_pg_rewind: true 3312s retry_timeout: 10 3312s ttl: 30 3312s initdb: 3312s - encoding: UTF8 3312s - data-checksums 3312s - auth: md5 3312s - auth-host: md5 3312s post_bootstrap: psql -w -c "SELECT 1" 3312s log: 3312s format: '%(asctime)s %(levelname)s [%(pathname)s:%(lineno)d - %(funcName)s]: %(message)s' 3312s loggers: 3312s patroni.postgresql.callback_executor: DEBUG 3312s name: postgres-2 3312s postgresql: 3312s authentication: 3312s replication: 3312s password: rep-pass 3312s sslcert: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 3312s sslkey: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.key 3312s sslmode: verify-ca 3312s sslrootcert: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 3312s username: replicator 3312s rewind: 3312s password: rewind_password 3312s sslcert: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 3312s sslkey: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.key 3312s sslmode: verify-ca 3312s sslrootcert: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 3312s username: rewind_user 3312s superuser: 3312s password: patroni 3312s sslcert: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 3312s sslkey: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.key 3312s sslmode: verify-ca 3312s sslrootcert: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 3312s username: postgres 3312s basebackup: 3312s - checkpoint: fast 3312s callbacks: 3312s on_role_change: /usr/bin/python3 features/callback2.py postgres-2 5377 3312s connect_address: 127.0.0.1:5377 3312s data_dir: /tmp/autopkgtest.8qHkda/build.IZy/src/data/postgres-2 3312s listen: 127.0.0.1:5377 3312s parameters: 3312s log_destination: csvlog 3312s log_directory: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/nostream_node 3312s log_filename: postgres-2.log 3312s log_min_messages: debug1 3312s log_statement: all 3312s logging_collector: 'on' 3312s shared_buffers: 1MB 3312s ssl: 'on' 3312s ssl_ca_file: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 3312s ssl_cert_file: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.crt 3312s ssl_key_file: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/patroni.key 3312s unix_socket_directories: /tmp 3312s pg_hba: 3312s - local all all trust 3312s - local replication all trust 3312s - hostssl replication replicator all md5 clientcert=verify-ca 3312s - hostssl all all all md5 clientcert=verify-ca 3312s pgpass: /tmp/pgpass_postgres-2 3312s use_unix_socket: true 3312s use_unix_socket_repl: true 3312s raft: 3312s data_dir: /tmp/autopkgtest.8qHkda/build.IZy/src/features/output/nostream_node 3312s self_addr: localhost:1248 3312s restapi: 3312s connect_address: 127.0.0.1:8010 3312s listen: 127.0.0.1:8010 3312s scope: batman 3312s tags: 3312s clonefrom: false 3312s noloadbalance: false 3312s nostream: false 3312s nosync: false 3312s replicatefrom: postgres-1 3312s + for file in features/output/*_failed/* 3312s + case $file in 3312s + echo features/output/nostream_node_failed/postgres-2.log: 3312s + cat features/output/nostream_node_failed/postgres-2.log 3312s + for file in features/output/*_failed/* 3312s + case $file in 3312s + echo features/output/nostream_node_failed/postgres-2.yml: 3312s + cat features/output/nostream_node_failed/postgres-2.yml 3312s + exit 1 3312s + rm -f /tmp/pgpass_postgres-0 /tmp/pgpass_postgres-1 /tmp/pgpass_postgres-2 /tmp/pgpass_postgres-3 3312s ++ id -u 3312s + '[' 1000 -eq 0 ']' 3312s autopkgtest [14:00:53]: test acceptance-raft: -----------------------] 3313s autopkgtest [14:00:54]: test acceptance-raft: - - - - - - - - - - results - - - - - - - - - - 3313s acceptance-raft FAIL non-zero exit status 1 3313s autopkgtest [14:00:54]: @@@@@@@@@@@@@@@@@@@@ summary 3313s test PASS 3313s acceptance-etcd3-basic PASS 3313s acceptance-etcd3 FAIL non-zero exit status 1 3313s acceptance-etcd FAIL non-zero exit status 1 3313s acceptance-zookeeper PASS 3313s acceptance-raft FAIL non-zero exit status 1 3330s nova [W] Using flock in prodstack6-arm64 3330s flock: timeout while waiting to get lock 3330s Creating nova instance adt-plucky-arm64-patroni-20250322-130541-juju-7f2275-prod-proposed-migration-environment-15-16198363-5184-4b0a-ba11-ba21f5fa4ef2 from image adt/ubuntu-plucky-arm64-server-20250321.img (UUID b4313911-f3e3-46a3-9c15-4e718cedb875)... 3330s nova [W] Timed out waiting for 98ee91ca-48cc-41a2-8da4-59c98c8d4bc0 to get deleted. 3330s nova [W] Using flock in prodstack6-arm64 3330s Creating nova instance adt-plucky-arm64-patroni-20250322-130541-juju-7f2275-prod-proposed-migration-environment-15-16198363-5184-4b0a-ba11-ba21f5fa4ef2 from image adt/ubuntu-plucky-arm64-server-20250322.img (UUID 990d3f09-34a1-43c2-b4bb-c53f06ad3af8)... 3330s nova [W] Timed out waiting for c599aacd-6008-4f1c-b96c-8d6ad7926bd0 to get deleted. 3330s nova [W] Using flock in prodstack6-arm64 3330s Creating nova instance adt-plucky-arm64-patroni-20250322-130541-juju-7f2275-prod-proposed-migration-environment-15-16198363-5184-4b0a-ba11-ba21f5fa4ef2 from image adt/ubuntu-plucky-arm64-server-20250322.img (UUID 990d3f09-34a1-43c2-b4bb-c53f06ad3af8)... 3330s nova [W] Timed out waiting for 44c3b448-1f34-497f-ad5e-84baf9f9dc34 to get deleted. 3330s nova [W] Using flock in prodstack6-arm64 3330s Creating nova instance adt-plucky-arm64-patroni-20250322-130541-juju-7f2275-prod-proposed-migration-environment-15-16198363-5184-4b0a-ba11-ba21f5fa4ef2 from image adt/ubuntu-plucky-arm64-server-20250322.img (UUID 990d3f09-34a1-43c2-b4bb-c53f06ad3af8)... 3330s nova [W] Timed out waiting for c580bf97-e2be-4ae4-9443-e3fc83507ada to get deleted.