0s autopkgtest [06:57:08]: starting date and time: 2025-05-03 06:57:08+0000 0s autopkgtest [06:57:08]: git checkout: 9986aa8c Merge branch 'skia/fix_network_interface' into 'ubuntu/production' 0s autopkgtest [06:57:08]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.xwduyhlo/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:file --apt-upgrade bacula --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=file/1:5.46-5 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor builder-cpu2-ram4-disk20 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-1.secgroup --name adt-questing-amd64-bacula-20250503-065708-juju-7f2275-prod-proposed-migration-environment-2-03c01796-2eaa-40e9-a789-148b65dee99e --image adt/ubuntu-questing-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration-amd64 -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 100s autopkgtest [06:58:48]: testbed dpkg architecture: amd64 100s autopkgtest [06:58:48]: testbed apt version: 3.0.0 100s autopkgtest [06:58:48]: @@@@@@@@@@@@@@@@@@@@ test bed setup 101s autopkgtest [06:58:49]: testbed release detected to be: None 101s autopkgtest [06:58:49]: updating testbed package index (apt update) 102s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB] 102s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 102s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 102s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 102s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [43.3 kB] 102s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [1722 kB] 102s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [156 kB] 102s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 Packages [200 kB] 102s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/main i386 Packages [149 kB] 102s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/universe amd64 Packages [1408 kB] 102s Get:11 http://ftpmaster.internal/ubuntu questing-proposed/universe i386 Packages [587 kB] 102s Get:12 http://ftpmaster.internal/ubuntu questing-proposed/multiverse amd64 Packages [14.5 kB] 102s Get:13 http://ftpmaster.internal/ubuntu questing-proposed/multiverse i386 Packages [13.2 kB] 103s Fetched 4405 kB in 1s (4044 kB/s) 103s Reading package lists... 104s autopkgtest [06:58:52]: upgrading testbed (apt dist-upgrade and autopurge) 104s Reading package lists... 105s Building dependency tree... 105s Reading state information... 105s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 105s Starting 2 pkgProblemResolver with broken count: 0 105s Done 105s Entering ResolveByKeep 106s 106s Calculating upgrade... 106s The following packages will be upgraded: 106s debianutils file libmagic-mgc libmagic1t64 libnftnl11 106s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 106s Need to get 611 kB of archives. 106s After this operation, 1851 kB of additional disk space will be used. 106s Get:1 http://ftpmaster.internal/ubuntu questing/main amd64 debianutils amd64 5.22 [93.0 kB] 106s Get:2 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 file amd64 1:5.46-5 [22.1 kB] 106s Get:3 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 libmagic1t64 amd64 1:5.46-5 [90.8 kB] 106s Get:4 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 libmagic-mgc amd64 1:5.46-5 [336 kB] 106s Get:5 http://ftpmaster.internal/ubuntu questing/main amd64 libnftnl11 amd64 1.2.9-1 [69.1 kB] 107s Fetched 611 kB in 0s (1229 kB/s) 107s (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 ... 80514 files and directories currently installed.) 107s Preparing to unpack .../debianutils_5.22_amd64.deb ... 107s Unpacking debianutils (5.22) over (5.21) ... 107s Setting up debianutils (5.22) ... 107s (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 ... 80514 files and directories currently installed.) 107s Preparing to unpack .../file_1%3a5.46-5_amd64.deb ... 107s Unpacking file (1:5.46-5) over (1:5.45-3build1) ... 107s Preparing to unpack .../libmagic1t64_1%3a5.46-5_amd64.deb ... 107s Unpacking libmagic1t64:amd64 (1:5.46-5) over (1:5.45-3build1) ... 107s Preparing to unpack .../libmagic-mgc_1%3a5.46-5_amd64.deb ... 107s Unpacking libmagic-mgc (1:5.46-5) over (1:5.45-3build1) ... 107s Preparing to unpack .../libnftnl11_1.2.9-1_amd64.deb ... 107s Unpacking libnftnl11:amd64 (1.2.9-1) over (1.2.8-1) ... 107s Setting up libmagic-mgc (1:5.46-5) ... 107s Setting up libmagic1t64:amd64 (1:5.46-5) ... 107s Setting up libnftnl11:amd64 (1.2.9-1) ... 107s Setting up file (1:5.46-5) ... 107s Processing triggers for libc-bin (2.41-6ubuntu1) ... 107s Processing triggers for man-db (2.13.0-1) ... 109s Reading package lists... 109s Building dependency tree... 109s Reading state information... 110s Starting pkgProblemResolver with broken count: 0 110s Starting 2 pkgProblemResolver with broken count: 0 110s Done 110s Solving dependencies... 110s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 113s autopkgtest [06:59:01]: testbed running kernel: Linux 6.14.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Sun Apr 6 15:05:05 UTC 2025 113s autopkgtest [06:59:01]: @@@@@@@@@@@@@@@@@@@@ apt-source bacula 122s Get:1 http://ftpmaster.internal/ubuntu questing/universe bacula 13.0.4-4build1 (dsc) [3402 B] 122s Get:2 http://ftpmaster.internal/ubuntu questing/universe bacula 13.0.4-4build1 (tar) [6227 kB] 122s Get:3 http://ftpmaster.internal/ubuntu questing/universe bacula 13.0.4-4build1 (diff) [111 kB] 123s gpgv: Signature made Thu Feb 6 13:54:27 2025 UTC 123s gpgv: using RSA key 63EEFC3DE14D5146CE7F24BF34B8AD7D9529E793 123s gpgv: issuer "lena.voytek@canonical.com" 123s gpgv: Can't check signature: No public key 123s dpkg-source: warning: cannot verify inline signature for ./bacula_13.0.4-4build1.dsc: no acceptable signature found 123s autopkgtest [06:59:11]: testing package bacula version 13.0.4-4build1 125s autopkgtest [06:59:13]: build not needed 128s autopkgtest [06:59:16]: test backup-test-pgsql: preparing testbed 128s Reading package lists... 128s Building dependency tree... 128s Reading state information... 128s Starting pkgProblemResolver with broken count: 0 129s Starting 2 pkgProblemResolver with broken count: 0 129s Done 129s The following NEW packages will be installed: 129s bacula bacula-bscan bacula-client bacula-common bacula-common-pgsql 129s bacula-console bacula-director bacula-director-pgsql bacula-fd bacula-sd 129s bacula-server bsd-mailx dbconfig-common dbconfig-pgsql libio-pty-perl 129s libipc-run-perl libjson-perl libllvm20 liblockfile-bin liblockfile1 libpq5 129s libxslt1.1 mtx postfix postgresql postgresql-17 postgresql-client 129s postgresql-client-17 postgresql-client-common postgresql-common 129s postgresql-common-dev ssl-cert 129s 0 upgraded, 32 newly installed, 0 to remove and 0 not upgraded. 129s Need to get 53.0 MB of archives. 129s After this operation, 211 MB of additional disk space will be used. 129s Get:1 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-common amd64 13.0.4-4build1 [867 kB] 129s Get:2 http://ftpmaster.internal/ubuntu questing/main amd64 libpq5 amd64 17.4-1 [155 kB] 129s Get:3 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-common-pgsql amd64 13.0.4-4build1 [15.1 kB] 129s Get:4 http://ftpmaster.internal/ubuntu questing/universe amd64 dbconfig-common all 2.0.24 [596 kB] 129s Get:5 http://ftpmaster.internal/ubuntu questing/main amd64 postgresql-client-common all 274 [47.6 kB] 129s Get:6 http://ftpmaster.internal/ubuntu questing/main amd64 postgresql-client-17 amd64 17.4-1 [1425 kB] 130s Get:7 http://ftpmaster.internal/ubuntu questing/main amd64 postgresql-client all 17+274 [13.3 kB] 130s Get:8 http://ftpmaster.internal/ubuntu questing/universe amd64 dbconfig-pgsql all 2.0.24 [914 B] 130s Get:9 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-director-pgsql all 13.0.4-4build1 [34.0 kB] 130s Get:10 http://ftpmaster.internal/ubuntu questing/main amd64 postfix amd64 3.9.1-10ubuntu1 [1317 kB] 130s Get:11 http://ftpmaster.internal/ubuntu questing/main amd64 liblockfile-bin amd64 1.17-2 [11.2 kB] 130s Get:12 http://ftpmaster.internal/ubuntu questing/main amd64 liblockfile1 amd64 1.17-2 [6922 B] 130s Get:13 http://ftpmaster.internal/ubuntu questing/main amd64 bsd-mailx amd64 8.1.2-0.20220412cvs-1build1 [67.2 kB] 130s Get:14 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-director amd64 13.0.4-4build1 [387 kB] 130s Get:15 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-fd amd64 13.0.4-4build1 [147 kB] 130s Get:16 http://ftpmaster.internal/ubuntu questing/main amd64 mtx amd64 1.3.12-18 [45.0 kB] 130s Get:17 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-sd amd64 13.0.4-4build1 [153 kB] 130s Get:18 http://ftpmaster.internal/ubuntu questing/main amd64 libjson-perl all 4.10000-1 [81.9 kB] 130s Get:19 http://ftpmaster.internal/ubuntu questing/main amd64 libio-pty-perl amd64 1:1.20-1build3 [31.4 kB] 130s Get:20 http://ftpmaster.internal/ubuntu questing/main amd64 libipc-run-perl all 20231003.0-2 [91.5 kB] 130s Get:21 http://ftpmaster.internal/ubuntu questing/main amd64 postgresql-common-dev all 274 [73.0 kB] 130s Get:22 http://ftpmaster.internal/ubuntu questing/main amd64 ssl-cert all 1.1.3ubuntu1 [18.7 kB] 130s Get:23 http://ftpmaster.internal/ubuntu questing/main amd64 postgresql-common all 274 [101 kB] 130s Get:24 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-console amd64 13.0.4-4build1 [28.6 kB] 130s Get:25 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-client all 13.0.4-4build1 [23.5 kB] 130s Get:26 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-bscan amd64 13.0.4-4build1 [25.5 kB] 130s Get:27 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-server all 13.0.4-4build1 [23.4 kB] 130s Get:28 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula all 13.0.4-4build1 [1036 B] 130s Get:29 http://ftpmaster.internal/ubuntu questing/main amd64 libllvm20 amd64 1:20.1.2-0ubuntu1 [30.5 MB] 131s Get:30 http://ftpmaster.internal/ubuntu questing/main amd64 libxslt1.1 amd64 1.1.39-0exp1ubuntu4 [176 kB] 131s Get:31 http://ftpmaster.internal/ubuntu questing/main amd64 postgresql-17 amd64 17.4-1 [16.6 MB] 131s Get:32 http://ftpmaster.internal/ubuntu questing/main amd64 postgresql all 17+274 [14.4 kB] 132s Preconfiguring packages ... 132s /var/cache/debconf/tmp.ci/postgresql.config.pVvvFd: 12: pg_lsclusters: not found 132s Fetched 53.0 MB in 3s (20.0 MB/s) 132s Selecting previously unselected package bacula-common. 132s (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 ... 80514 files and directories currently installed.) 132s Preparing to unpack .../00-bacula-common_13.0.4-4build1_amd64.deb ... 132s Adding user 'bacula'... Ok. 132s Unpacking bacula-common (13.0.4-4build1) ... 132s Selecting previously unselected package libpq5:amd64. 132s Preparing to unpack .../01-libpq5_17.4-1_amd64.deb ... 132s Unpacking libpq5:amd64 (17.4-1) ... 132s Selecting previously unselected package bacula-common-pgsql. 132s Preparing to unpack .../02-bacula-common-pgsql_13.0.4-4build1_amd64.deb ... 132s Unpacking bacula-common-pgsql (13.0.4-4build1) ... 132s Selecting previously unselected package dbconfig-common. 132s Preparing to unpack .../03-dbconfig-common_2.0.24_all.deb ... 132s Unpacking dbconfig-common (2.0.24) ... 132s Selecting previously unselected package postgresql-client-common. 132s Preparing to unpack .../04-postgresql-client-common_274_all.deb ... 132s Unpacking postgresql-client-common (274) ... 132s Selecting previously unselected package postgresql-client-17. 132s Preparing to unpack .../05-postgresql-client-17_17.4-1_amd64.deb ... 132s Unpacking postgresql-client-17 (17.4-1) ... 132s Selecting previously unselected package postgresql-client. 132s Preparing to unpack .../06-postgresql-client_17+274_all.deb ... 132s Unpacking postgresql-client (17+274) ... 132s Selecting previously unselected package dbconfig-pgsql. 133s Preparing to unpack .../07-dbconfig-pgsql_2.0.24_all.deb ... 133s Unpacking dbconfig-pgsql (2.0.24) ... 133s Selecting previously unselected package bacula-director-pgsql. 133s Preparing to unpack .../08-bacula-director-pgsql_13.0.4-4build1_all.deb ... 133s Unpacking bacula-director-pgsql (13.0.4-4build1) ... 133s Selecting previously unselected package postfix. 133s Preparing to unpack .../09-postfix_3.9.1-10ubuntu1_amd64.deb ... 133s Unpacking postfix (3.9.1-10ubuntu1) ... 133s Selecting previously unselected package liblockfile-bin. 133s Preparing to unpack .../10-liblockfile-bin_1.17-2_amd64.deb ... 133s Unpacking liblockfile-bin (1.17-2) ... 133s Selecting previously unselected package liblockfile1:amd64. 133s Preparing to unpack .../11-liblockfile1_1.17-2_amd64.deb ... 133s Unpacking liblockfile1:amd64 (1.17-2) ... 133s Selecting previously unselected package bsd-mailx. 133s Preparing to unpack .../12-bsd-mailx_8.1.2-0.20220412cvs-1build1_amd64.deb ... 133s Unpacking bsd-mailx (8.1.2-0.20220412cvs-1build1) ... 133s Selecting previously unselected package bacula-director. 133s Preparing to unpack .../13-bacula-director_13.0.4-4build1_amd64.deb ... 133s Unpacking bacula-director (13.0.4-4build1) ... 133s Selecting previously unselected package bacula-fd. 133s Preparing to unpack .../14-bacula-fd_13.0.4-4build1_amd64.deb ... 133s Unpacking bacula-fd (13.0.4-4build1) ... 133s Selecting previously unselected package mtx. 133s Preparing to unpack .../15-mtx_1.3.12-18_amd64.deb ... 133s Unpacking mtx (1.3.12-18) ... 133s Selecting previously unselected package bacula-sd. 133s Preparing to unpack .../16-bacula-sd_13.0.4-4build1_amd64.deb ... 133s Unpacking bacula-sd (13.0.4-4build1) ... 133s Selecting previously unselected package libjson-perl. 133s Preparing to unpack .../17-libjson-perl_4.10000-1_all.deb ... 133s Unpacking libjson-perl (4.10000-1) ... 133s Selecting previously unselected package libio-pty-perl. 133s Preparing to unpack .../18-libio-pty-perl_1%3a1.20-1build3_amd64.deb ... 133s Unpacking libio-pty-perl (1:1.20-1build3) ... 133s Selecting previously unselected package libipc-run-perl. 133s Preparing to unpack .../19-libipc-run-perl_20231003.0-2_all.deb ... 133s Unpacking libipc-run-perl (20231003.0-2) ... 133s Selecting previously unselected package postgresql-common-dev. 133s Preparing to unpack .../20-postgresql-common-dev_274_all.deb ... 133s Unpacking postgresql-common-dev (274) ... 133s Selecting previously unselected package ssl-cert. 133s Preparing to unpack .../21-ssl-cert_1.1.3ubuntu1_all.deb ... 133s Unpacking ssl-cert (1.1.3ubuntu1) ... 133s Selecting previously unselected package postgresql-common. 133s Preparing to unpack .../22-postgresql-common_274_all.deb ... 133s Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by postgresql-common' 133s Unpacking postgresql-common (274) ... 133s Selecting previously unselected package bacula-console. 133s Preparing to unpack .../23-bacula-console_13.0.4-4build1_amd64.deb ... 133s Unpacking bacula-console (13.0.4-4build1) ... 133s Selecting previously unselected package bacula-client. 133s Preparing to unpack .../24-bacula-client_13.0.4-4build1_all.deb ... 133s Unpacking bacula-client (13.0.4-4build1) ... 133s Selecting previously unselected package bacula-bscan. 133s Preparing to unpack .../25-bacula-bscan_13.0.4-4build1_amd64.deb ... 133s Unpacking bacula-bscan (13.0.4-4build1) ... 133s Selecting previously unselected package bacula-server. 133s Preparing to unpack .../26-bacula-server_13.0.4-4build1_all.deb ... 133s Unpacking bacula-server (13.0.4-4build1) ... 133s Selecting previously unselected package bacula. 133s Preparing to unpack .../27-bacula_13.0.4-4build1_all.deb ... 133s Unpacking bacula (13.0.4-4build1) ... 133s Selecting previously unselected package libllvm20:amd64. 133s Preparing to unpack .../28-libllvm20_1%3a20.1.2-0ubuntu1_amd64.deb ... 133s Unpacking libllvm20:amd64 (1:20.1.2-0ubuntu1) ... 134s Selecting previously unselected package libxslt1.1:amd64. 134s Preparing to unpack .../29-libxslt1.1_1.1.39-0exp1ubuntu4_amd64.deb ... 134s Unpacking libxslt1.1:amd64 (1.1.39-0exp1ubuntu4) ... 134s Selecting previously unselected package postgresql-17. 134s Preparing to unpack .../30-postgresql-17_17.4-1_amd64.deb ... 134s Unpacking postgresql-17 (17.4-1) ... 134s Selecting previously unselected package postgresql. 134s Preparing to unpack .../31-postgresql_17+274_all.deb ... 134s Unpacking postgresql (17+274) ... 134s Setting up postgresql-client-common (274) ... 134s Setting up liblockfile-bin (1.17-2) ... 134s Setting up libio-pty-perl (1:1.20-1build3) ... 134s Setting up libpq5:amd64 (17.4-1) ... 134s Setting up mtx (1.3.12-18) ... 134s Setting up dbconfig-common (2.0.24) ... 134s Creating config file /etc/dbconfig-common/config with new version 134s Setting up bacula-common (13.0.4-4build1) ... 135s Setting up bacula-sd (13.0.4-4build1) ... 135s Creating config file /etc/default/bacula-sd with new version 135s Creating config file /etc/bacula/bacula-sd.conf with new version 136s Created symlink '/etc/systemd/system/multi-user.target.wants/bacula-sd.service' → '/usr/lib/systemd/system/bacula-sd.service'. 136s Setting up ssl-cert (1.1.3ubuntu1) ... 136s Created symlink '/etc/systemd/system/multi-user.target.wants/ssl-cert.service' → '/usr/lib/systemd/system/ssl-cert.service'. 137s Setting up libllvm20:amd64 (1:20.1.2-0ubuntu1) ... 137s Setting up libipc-run-perl (20231003.0-2) ... 137s Setting up bacula-console (13.0.4-4build1) ... 137s Creating config file /etc/bacula/bconsole.conf with new version 137s Setting up postfix (3.9.1-10ubuntu1) ... 137s Created symlink '/etc/systemd/system/multi-user.target.wants/postfix.service' → '/usr/lib/systemd/system/postfix.service'. 137s info: Selecting UID from range 100 to 999 ... 137s 137s info: Selecting GID from range 100 to 999 ... 137s info: Adding system user `postfix' (UID 108) ... 137s info: Adding new group `postfix' (GID 112) ... 137s info: Adding new user `postfix' (UID 108) with group `postfix' ... 137s info: Not creating home directory `/var/spool/postfix'. 138s info: Selecting GID from range 100 to 999 ... 138s info: Adding group `postdrop' (GID 113) ... 138s Creating /etc/postfix/dynamicmaps.cf 138s setting myhostname: autopkgtest.local 138s setting alias maps 138s setting alias database 138s changing /etc/mailname to autopkgtest.local 138s setting myorigin 138s setting destinations: $myhostname, autopkgtest.local, localhost.local, , localhost 138s setting relayhost: 138s setting mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 138s clearing mailbox_command 138s setting mailbox_size_limit: 0 138s setting recipient_delimiter: + 140s setting inet_interfaces: all 142s setting inet_protocols: all 142s /etc/aliases does not exist, creating it. 142s WARNING: /etc/aliases exists, but does not have a root alias. 142s 142s Postfix (main.cf) is now set up with a default configuration. If you need to 142s make changes, edit /etc/postfix/main.cf (and others) as needed. To view 142s Postfix configuration values, see postconf(1). 142s 142s After modifying main.cf, be sure to run 'systemctl reload postfix'. 142s 144s Setting up libjson-perl (4.10000-1) ... 144s Setting up libxslt1.1:amd64 (1.1.39-0exp1ubuntu4) ... 144s Setting up liblockfile1:amd64 (1.17-2) ... 144s Setting up bacula-fd (13.0.4-4build1) ... 144s Creating config file /etc/default/bacula-fd with new version 144s Creating config file /etc/bacula/bacula-fd.conf with new version 145s Created symlink '/etc/systemd/system/multi-user.target.wants/bacula-fd.service' → '/usr/lib/systemd/system/bacula-fd.service'. 145s Setting up postgresql-common-dev (274) ... 145s Setting up bacula-client (13.0.4-4build1) ... 145s Setting up postgresql-client-17 (17.4-1) ... 146s 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 146s Setting up dbconfig-pgsql (2.0.24) ... 146s Setting up bacula-common-pgsql (13.0.4-4build1) ... 146s Setting up bsd-mailx (8.1.2-0.20220412cvs-1build1) ... 146s update-alternatives: using /usr/bin/bsd-mailx to provide /usr/bin/mailx (mailx) in auto mode 146s Setting up postgresql-common (274) ... 146s Creating config file /etc/postgresql-common/createcluster.conf with new version 146s Building PostgreSQL dictionaries from installed myspell/hunspell packages... 146s Removing obsolete dictionary files: 147s Created symlink '/etc/systemd/system/multi-user.target.wants/postgresql.service' → '/usr/lib/systemd/system/postgresql.service'. 147s Setting up bacula-bscan (13.0.4-4build1) ... 147s Setting up postgresql-17 (17.4-1) ... 148s Creating new PostgreSQL cluster 17/main ... 148s /usr/lib/postgresql/17/bin/initdb -D /var/lib/postgresql/17/main --auth-local peer --auth-host scram-sha-256 --no-instructions 148s The files belonging to this database system will be owned by user "postgres". 148s This user must also own the server process. 148s 148s The database cluster will be initialized with locale "C.UTF-8". 148s The default database encoding has accordingly been set to "UTF8". 148s The default text search configuration will be set to "english". 148s 148s Data page checksums are disabled. 148s 148s fixing permissions on existing directory /var/lib/postgresql/17/main ... ok 148s creating subdirectories ... ok 148s selecting dynamic shared memory implementation ... posix 148s selecting default "max_connections" ... 100 148s selecting default "shared_buffers" ... 128MB 148s selecting default time zone ... Etc/UTC 148s creating configuration files ... ok 148s running bootstrap script ... ok 149s performing post-bootstrap initialization ... ok 149s syncing data to disk ... ok 152s Setting up bacula-director-pgsql (13.0.4-4build1) ... 152s dbconfig-common: writing config to /etc/dbconfig-common/bacula-director-pgsql.conf 152s Creating config file /etc/dbconfig-common/bacula-director-pgsql.conf with new version 152s creating postgres user bacula: success. 152s verifying creation of user: success. 152s creating database bacula: success. 153s verifying database bacula exists: success. 153s populating database via administrative sql... done. 153s populating database via sql... done. 153s dbconfig-common: flushing administrative password 153s Setting up postgresql-client (17+274) ... 153s Setting up bacula-director (13.0.4-4build1) ... 153s Creating config file /etc/default/bacula-dir with new version 153s Creating config file /etc/bacula/bacula-dir.conf with new version 154s Creating config file /etc/bacula/scripts/delete_catalog_backup with new version 154s Creating config file /etc/bacula/scripts/make_catalog_backup with new version 154s Created symlink '/etc/systemd/system/bacula-dir.service' → '/usr/lib/systemd/system/bacula-director.service'. 154s Created symlink '/etc/systemd/system/multi-user.target.wants/bacula-director.service' → '/usr/lib/systemd/system/bacula-director.service'. 155s Setting up postgresql (17+274) ... 155s Setting up bacula-server (13.0.4-4build1) ... 155s Setting up bacula (13.0.4-4build1) ... 155s Processing triggers for rsyslog (8.2412.0-2ubuntu2) ... 156s Processing triggers for ufw (0.36.2-9) ... 156s Processing triggers for man-db (2.13.0-1) ... 157s Processing triggers for libc-bin (2.41-6ubuntu1) ... 157s Processing triggers for postfix (3.9.1-10ubuntu1) ... 157s Restarting postfix 158s autopkgtest [06:59:46]: test backup-test-pgsql: [----------------------- 159s + apt-get -y install debconf-utils 159s Reading package lists... 159s Building dependency tree... 159s Reading state information... 159s Solving dependencies... 159s The following NEW packages will be installed: 159s debconf-utils 159s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 159s Need to get 49.5 kB of archives. 159s After this operation, 99.3 kB of additional disk space will be used. 159s Get:1 http://ftpmaster.internal/ubuntu questing/universe amd64 debconf-utils all 1.5.87ubuntu1 [49.5 kB] 160s Fetched 49.5 kB in 0s (161 kB/s) 160s Selecting previously unselected package debconf-utils. 160s (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 ... 83326 files and directories currently installed.) 160s Preparing to unpack .../debconf-utils_1.5.87ubuntu1_all.deb ... 160s Unpacking debconf-utils (1.5.87ubuntu1) ... 160s Setting up debconf-utils (1.5.87ubuntu1) ... 160s Processing triggers for man-db (2.13.0-1) ... 161s + awk '$3=="password"{print}' 161s + debconf-set-selections 161s + debconf-get-selections 161s + for pkg in bacula-director-mysql bacula-director-pgsql 161s ++ dpkg-query --showformat '${db:Status-Status}' -W bacula-director-mysql 161s + pkg_status=not-installed 161s + '[' not-installed = installed ']' 161s + for pkg in bacula-director-mysql bacula-director-pgsql 161s ++ dpkg-query --showformat '${db:Status-Status}' -W bacula-director-pgsql 161s + pkg_status=installed 161s + '[' installed = installed ']' 161s + echo 'bacula-director-pgsql bacula-director-pgsql/dbconfig-reinstall boolean true' 161s + debconf-set-selections 161s + DEBIAN_FRONTEND=noninteractive 161s + dpkg-reconfigure bacula-director-pgsql 161s dbconfig-common: writing config to /etc/dbconfig-common/bacula-director-pgsql.conf 161s bacula already exists and has privileges on bacula. 161s dbconfig-common: dumping pgsql database bacula to /var/tmp/bacula-director-pgsql.bacula.2025-05-03-06.59.pgsql.EflKD9. 162s dbconfig-common: dropping old pgsql database bacula. 162s dropping database bacula: success. 162s verifying database bacula was dropped: success. 162s creating database bacula: success. 162s verifying database bacula exists: success. 163s populating database via administrative sql... done. 163s populating database via sql... done. 163s dbconfig-common: flushing administrative password 163s + echo 'start testing ... ' 163s start testing ... 163s + echo 'USER: root' 163s USER: root 163s + DBTYPE=pgsql 163s + echo 'DBTYPE: pgsql' 163s DBTYPE: pgsql 163s + echo '--------- configuring Bacula daemons -----------' 163s --------- configuring Bacula daemons ----------- 163s + FILECHGRDIR=/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr 163s + RESTOREDIR=/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-restores 163s + mkdir -p /tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr 163s + chown -R bacula:tape /tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr 163s + sed -i s%/nonexistent/path/to/file/archive/dir%/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr% /etc/bacula/bacula-sd.conf 163s + sed -i 's%Where = /nonexistent/path/to/file/archive/dir/bacula-restores%Where = /tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-restores%' /etc/bacula/bacula-dir.conf 163s + sed -i 's/signature = MD5/signature = SHA1/' /etc/bacula/bacula-dir.conf 163s + sed -i 's/signature = MD5/signature = SHA1\naclsupport = yes/' /etc/bacula/bacula-dir.conf 163s + echo '--------- restarting services ----------- ' 163s --------- restarting services ----------- 163s + service bacula-director restart 163s + service bacula-sd restart 163s + service bacula-fd restart 164s + sleep 10 174s + echo '--------- checking services ----------- ' 174s --------- checking services ----------- 174s + service bacula-director status 174s ● bacula-director.service - Bacula Director Daemon service 174s Loaded: loaded (/usr/lib/systemd/system/bacula-director.service; enabled; preset: enabled) 174s Active: active (running) since Sat 2025-05-03 06:59:51 UTC; 10s ago 174s Invocation: eaa5ffaea25944749be4d435221ec68d 174s Docs: man:bacula-dir(8) 174s Process: 7502 ExecStartPre=/usr/sbin/bacula-dir -t -c $CONFIG (code=exited, status=0/SUCCESS) 174s Main PID: 7506 (bacula-dir) 174s Tasks: 5 (limit: 4609) 174s Memory: 2.4M (peak: 2.7M) 174s CPU: 51ms 174s CGroup: /system.slice/bacula-director.service 174s └─7506 /usr/sbin/bacula-dir -fP -c /etc/bacula/bacula-dir.conf 174s 174s May 03 06:59:51 autopkgtest systemd[1]: Starting bacula-director.service - Bacula Director Daemon service... 174s May 03 06:59:51 autopkgtest systemd[1]: Started bacula-director.service - Bacula Director Daemon service. 174s + service bacula-sd status 174s ● bacula-sd.service - Bacula Storage Daemon service 174s Loaded: loaded (/usr/lib/systemd/system/bacula-sd.service; enabled; preset: enabled) 174s Active: active (running) since Sat 2025-05-03 06:59:51 UTC; 10s ago 174s Invocation: 8e073413179945ad8154e18ab5a308b9 174s Docs: man:bacula-sd(8) 174s Process: 7517 ExecStartPre=/usr/sbin/bacula-sd -t -c $CONFIG (code=exited, status=0/SUCCESS) 174s Main PID: 7519 (bacula-sd) 174s Tasks: 3 (limit: 4609) 174s Memory: 2M (peak: 2.2M) 174s CPU: 33ms 174s CGroup: /system.slice/bacula-sd.service 174s └─7519 /usr/sbin/bacula-sd -fP -c /etc/bacula/bacula-sd.conf 174s 174s May 03 06:59:51 autopkgtest systemd[1]: Starting bacula-sd.service - Bacula Storage Daemon service... 174s May 03 06:59:51 autopkgtest systemd[1]: Started bacula-sd.service - Bacula Storage Daemon service. 174s + service bacula-fd status 174s ● bacula-fd.service - Bacula File Daemon service 174s Loaded: loaded (/usr/lib/systemd/system/bacula-fd.service; enabled; preset: enabled) 174s Active: active (running) since Sat 2025-05-03 06:59:51 UTC; 10s ago 174s Invocation: f75951d7905a49c38131bd66c6745e9c 174s Docs: man:bacula-fd(8) 174s Process: 7527 ExecStartPre=/usr/sbin/bacula-fd -t -c $CONFIG (code=exited, status=0/SUCCESS) 174s Main PID: 7529 (bacula-fd) 174s Tasks: 3 (limit: 4609) 174s Memory: 1.8M (peak: 2.1M) 174s CPU: 23ms 174s CGroup: /system.slice/bacula-fd.service 174s └─7529 /usr/sbin/bacula-fd -fP -c /etc/bacula/bacula-fd.conf 174s 174s May 03 06:59:51 autopkgtest systemd[1]: Starting bacula-fd.service - Bacula File Daemon service... 174s May 03 06:59:51 autopkgtest systemd[1]: Started bacula-fd.service - Bacula File Daemon service. 174s + ps auwwwx 174s + grep '[b]acula' 174s bacula 7506 0.1 0.3 318792 14944 ? Ssl 06:59 0:00 /usr/sbin/bacula-dir -fP -c /etc/bacula/bacula-dir.conf 174s bacula 7519 0.0 0.2 241624 11332 ? Ssl 06:59 0:00 /usr/sbin/bacula-sd -fP -c /etc/bacula/bacula-sd.conf 174s root 7529 0.0 0.2 167820 10704 ? Ssl 06:59 0:00 /usr/sbin/bacula-fd -fP -c /etc/bacula/bacula-fd.conf 174s + echo '----- create some file to test backup / restore ----' 174s ----- create some file to test backup / restore ---- 174s + BACKUP_TEST_FILE=/usr/sbin/bacula-backup.test 174s + echo 'bacula restore test' 174s + chown nobody:shadow /usr/sbin/bacula-backup.test 174s + chmod 2755 /usr/sbin/bacula-backup.test 174s + echo '---- status of all daemons ----' 174s ---- status of all daemons ---- 174s + echo -e 'status all' 174s + bconsole 174s Connecting to Director localhost:9101 174s 1000 OK: 10002 autopkgtest-dir Version: 13.0.4 (12 February 2024) 174s Enter a period to cancel a command. 174s status all 174s autopkgtest-dir Version: 13.0.4 (12 February 2024) x86_64-pc-linux-gnu ubuntu 25.04 174s Daemon started 03-May-25 06:59, conf reloaded 03-May-2025 06:59:51 174s Jobs: run=0, running=0 mode=0,0 174s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 174s Heap: heap=823,296 smbytes=335,470 max_bytes=335,470 bufs=395 max_bufs=395 174s Res: njobs=3 nclients=1 nstores=2 npools=3 ncats=1 nfsets=2 nscheds=2 174s 174s Scheduled Jobs: 174s Level Type Pri Scheduled Job Name Volume 174s =================================================================================== 174s Incremental Backup 10 03-May-25 23:05 BackupClient1 *unknown* 174s Full Backup 11 03-May-25 23:10 BackupCatalog *unknown* 174s ==== 174s 174s Running Jobs: 174s Console connected using TLS at 03-May-25 07:00 174s No Jobs running. 174s ==== 174s No Terminated Jobs. 174s ==== 174s Connecting to Storage daemon File1 at localhost:9103 174s 174s autopkgtest-sd Version: 13.0.4 (12 February 2024) x86_64-pc-linux-gnu ubuntu 25.04 174s Daemon started 03-May-25 06:59. Jobs: run=0, running=0. 174s Ulimits: nofile=1024 memlock=unlimited status=nofile 174s Heap: heap=651,264 smbytes=228,774 max_bytes=350,074 bufs=267 max_bufs=268 174s Sizes: boffset_t=8 size_t=8 int32_t=4 int64_t=8 mode=0,0 newbsr=0 174s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 174s Res: ndevices=4 nautochgr=2 174s 174s Running Jobs: 174s Director connected using TLS at: 03-May-25 07:00 174s No Jobs running. 174s ==== 174s 174s Jobs waiting to reserve a drive: 174s ==== 174s 174s Terminated Jobs: 174s ==== 174s 174s Device status: 174s Autochanger "FileChgr1" with devices: 174s "FileChgr1-Dev1" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) 174s "FileChgr1-Dev2" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) 174s Autochanger "FileChgr2" with devices: 174s "FileChgr2-Dev1" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) 174s "FileChgr2-Dev2" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) 174s 174s Device File: "FileChgr1-Dev1" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) is not open. 174s Drive 0 is not loaded. 174s Available Space=16.54 GB 174s == 174s 174s Device File: "FileChgr1-Dev2" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) is not open. 174s Drive 0 is not loaded. 174s Available Space=16.54 GB 174s == 174s 174s Device File: "FileChgr2-Dev1" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) is not open. 174s Drive 0 is not loaded. 174s Available Space=16.54 GB 174s == 174s 174s Device File: "FileChgr2-Dev2" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) is not open. 174s Drive 0 is not loaded. 174s Available Space=16.54 GB 174s == 174s ==== 174s 174s Used Volume status: 174s ==== 174s 174s ==== 174s 174s Connecting to Client autopkgtest-fd at localhost:9102 174s 174s autopkgtest-fd Version: 13.0.4 (12 February 2024) x86_64-pc-linux-gnu ubuntu 25.04 174s Daemon started 03-May-25 06:59. Jobs: run=0 running=0. 174s Heap: heap=643,072 smbytes=197,902 max_bytes=197,919 bufs=101 max_bufs=101 174s Sizes: boffset_t=8 size_t=8 debug=0 trace=0 mode=0,0 bwlimit=0kB/s 174s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 174s Plugin: bpipe-fd.so(2) 174s 174s Running Jobs: 174s Director connected using TLS at: 03-May-25 07:00 174s No Jobs running. 174s ==== 174s 174s Terminated Jobs: 174s ==== 174s + echo 174s 174s + echo '---- label a volume ----' 174s ---- label a volume ---- 174s + echo -e 'label volume=testvol pool=File storage=File1 drive=0 slot=0' 174s + bconsole 174s Connecting to Director localhost:9101 174s 1000 OK: 10002 autopkgtest-dir Version: 13.0.4 (12 February 2024) 174s Enter a period to cancel a command. 174s label volume=testvol pool=File storage=File1 drive=0 slot=0 174s Automatically selected Catalog: MyCatalog 174s Using Catalog "MyCatalog" 174s Connecting to Storage daemon File1 at localhost:9103 ... 174s Sending label command for Volume "testvol" Slot 0 ... 174s 3000 OK label. VolBytes=226 VolABytes=0 VolType=1 Volume="testvol" Device="FileChgr1-Dev1" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) 174s Catalog record for Volume "testvol", Slot 0 successfully created. 174s Requesting to mount FileChgr1 ... 174s 3906 File device ""FileChgr1-Dev1" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr)" is always mounted. 174s + echo 174s 174s + echo '----- create some file to test backup / restore ----' 174s ----- create some file to test backup / restore ---- 174s + echo 'bacula restore test' 174s + echo 174s 174s + echo '------ trigger backup job -----' 174s ------ trigger backup job ----- 174s + echo -e 'run job=BackupClient1 yes\rwait' 174s + bconsole 174s + grep 'Job queued. JobId=' 178s Job queued. JobId=1 178s + echo 'status all' 178s + bconsole 178s Connecting to Director localhost:9101 178s 1000 OK: 10002 autopkgtest-dir Version: 13.0.4 (12 February 2024) 178s Enter a period to cancel a command. 178s status all 178s autopkgtest-dir Version: 13.0.4 (12 February 2024) x86_64-pc-linux-gnu ubuntu 25.04 178s Daemon started 03-May-25 06:59, conf reloaded 03-May-2025 06:59:51 178s Jobs: run=1, running=0 mode=0,0 178s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 178s Heap: heap=823,296 smbytes=465,820 max_bytes=491,679 bufs=459 max_bufs=508 178s Res: njobs=3 nclients=1 nstores=2 npools=3 ncats=1 nfsets=2 nscheds=2 178s 178s Scheduled Jobs: 178s Level Type Pri Scheduled Job Name Volume 178s =================================================================================== 178s Incremental Backup 10 03-May-25 23:05 BackupClient1 testvol 178s Full Backup 11 03-May-25 23:10 BackupCatalog testvol 178s ==== 178s 178s Running Jobs: 178s Console connected using TLS at 03-May-25 07:00 178s No Jobs running. 178s ==== 178s 178s Terminated Jobs: 178s JobId Level Files Bytes Status Finished Name 178s ==================================================================== 178s 1 Full 538 29.68 M OK 03-May-25 07:00 BackupClient1 178s 178s ==== 178s Connecting to Storage daemon File1 at localhost:9103 178s 179s autopkgtest-sd Version: 13.0.4 (12 February 2024) x86_64-pc-linux-gnu ubuntu 25.04 179s Daemon started 03-May-25 06:59. Jobs: run=1, running=0. 179s Ulimits: nofile=1024 memlock=unlimited status=nofile 179s Heap: heap=651,264 smbytes=667,052 max_bytes=1,023,637 bufs=283 max_bufs=305 179s Sizes: boffset_t=8 size_t=8 int32_t=4 int64_t=8 mode=0,0 newbsr=0 179s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 179s Res: ndevices=4 nautochgr=2 179s 179s Running Jobs: 179s Director connected using TLS at: 03-May-25 07:00 179s No Jobs running. 179s ==== 179s 179s Jobs waiting to reserve a drive: 179s ==== 179s 179s Terminated Jobs: 179s JobId Level Files Bytes Status Finished Name 179s =================================================================== 179s 1 Full 538 29.74 M OK 03-May-25 07:00 BackupClient1 179s ==== 179s 179s Device status: 179s Autochanger "FileChgr1" with devices: 179s "FileChgr1-Dev1" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) 179s "FileChgr1-Dev2" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) 179s Autochanger "FileChgr2" with devices: 179s "FileChgr2-Dev1" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) 179s "FileChgr2-Dev2" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) 179s 179s Device File: "FileChgr1-Dev1" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) is not open. 179s Drive 0 is not loaded. 179s Available Space=16.51 GB 179s == 179s 179s Device File: "FileChgr1-Dev2" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) is not open. 179s Drive 0 is not loaded. 179s Available Space=16.51 GB 179s == 179s 179s Device File: "FileChgr2-Dev1" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) is not open. 179s Drive 0 is not loaded. 179s Available Space=16.51 GB 179s == 179s 179s Device File: "FileChgr2-Dev2" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) is not open. 179s Drive 0 is not loaded. 179s Available Space=16.51 GB 179s == 179s ==== 179s 179s Used Volume status: 179s ==== 179s 179s Attr spooling: 0 active jobs, 111,652 bytes; 1 total jobs, 111,652 max bytes. 179s ==== 179s 179s Connecting to Client autopkgtest-fd at localhost:9102 179s 179s autopkgtest-fd Version: 13.0.4 (12 February 2024) x86_64-pc-linux-gnu ubuntu 25.04 179s Daemon started 03-May-25 06:59. Jobs: run=1 running=0. 179s Heap: heap=643,072 smbytes=400,466 max_bytes=629,051 bufs=116 max_bufs=150 179s Sizes: boffset_t=8 size_t=8 debug=0 trace=0 mode=0,0 bwlimit=0kB/s 179s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 179s Plugin: bpipe-fd.so(2) 179s 179s Running Jobs: 179s Director connected using TLS at: 03-May-25 07:00 179s No Jobs running. 179s ==== 179s 179s Terminated Jobs: 179s JobId Level Files Bytes Status Finished Name 179s =================================================================== 179s 1 Full 538 29.68 M OK 03-May-25 07:00 BackupClient1 179s ==== 179s You have messages. 179s + echo 179s 179s + echo '------ trigger restore job -----' 179s ------ trigger restore job ----- 179s + echo -e 'restore select current\rls\rmark usr\rdone\ryes\rwait' 179s + bconsole 179s Connecting to Director localhost:9101 179s 1000 OK: 10002 autopkgtest-dir Version: 13.0.4 (12 February 2024) 179s Enter a period to cancel a command. 179s restore select current 179s Automatically selected Catalog: MyCatalog 179s Using Catalog "MyCatalog" 179s Automatically selected Client: autopkgtest-fd 179s Automatically selected FileSet: Full Set 179s +-------+-------+----------+------------+---------------------+------------+ 179s | jobid | level | jobfiles | jobbytes | starttime | volumename | 179s +-------+-------+----------+------------+---------------------+------------+ 179s | 1 | F | 538 | 29,683,832 | 2025-05-03 07:00:04 | testvol | 179s +-------+-------+----------+------------+---------------------+------------+ 179s You have selected the following JobId: 1 179s 179s Building directory tree for JobId(s) 1 ... ++++++++++++++++++++++++++++++++++++++++++++++++ 179s 537 files inserted into the tree. 179s 179s You are now entering file selection mode where you add (mark) and 179s remove (unmark) files to be restored. No files are initially added, unless 179s you used the "all" keyword on the command line. 179s Enter "done" to leave this mode. 179s 179s cwd is: / 179s $ ls 179s usr/ 179s $ mark usr 179s 538 files marked. 179s $ done 179s Bootstrap records written to /var/lib/bacula/autopkgtest-dir.restore.1.bsr 179s 179s The Job will require the following (*=>InChanger): 179s Volume(s) Storage(s) SD Device(s) 179s =========================================================================== 179s 179s testvol File1 FileChgr1 179s 179s Volumes marked with "*" are in the Autochanger. 179s 179s 179s 538 files selected to be restored. 179s 179s Using Catalog "MyCatalog" 179s Run Restore job 179s JobName: RestoreFiles 179s Bootstrap: /var/lib/bacula/autopkgtest-dir.restore.1.bsr 179s Where: /tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-restores 179s Replace: Always 179s FileSet: Full Set 179s Backup Client: autopkgtest-fd 179s Restore Client: autopkgtest-fd 179s Storage: File1 179s When: 2025-05-03 07:00:07 179s Catalog: MyCatalog 179s Priority: 10 179s Plugin Options: *None* 179s OK to run? (yes/mod/no): yes 179s Job queued. JobId=2 179s You have messages. 179s wait 182s + echo 'status all' 182s + bconsole 182s Connecting to Director localhost:9101 182s 1000 OK: 10002 autopkgtest-dir Version: 13.0.4 (12 February 2024) 182s Enter a period to cancel a command. 182s status all 182s autopkgtest-dir Version: 13.0.4 (12 February 2024) x86_64-pc-linux-gnu ubuntu 25.04 182s Daemon started 03-May-25 06:59, conf reloaded 03-May-2025 06:59:51 182s Jobs: run=2, running=0 mode=0,0 182s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 182s Heap: heap=778,240 smbytes=465,782 max_bytes=1,672,603 bufs=461 max_bufs=523 182s Res: njobs=3 nclients=1 nstores=2 npools=3 ncats=1 nfsets=2 nscheds=2 182s 182s Scheduled Jobs: 182s Level Type Pri Scheduled Job Name Volume 182s =================================================================================== 182s Incremental Backup 10 03-May-25 23:05 BackupClient1 testvol 182s Full Backup 11 03-May-25 23:10 BackupCatalog testvol 182s ==== 182s 182s Running Jobs: 182s Console connected using TLS at 03-May-25 07:00 182s No Jobs running. 182s ==== 182s 182s Terminated Jobs: 182s JobId Level Files Bytes Status Finished Name 182s ==================================================================== 182s 1 Full 538 29.68 M OK 03-May-25 07:00 BackupClient1 182s 2 Restore 538 29.68 M OK 03-May-25 07:00 RestoreFiles 182s 182s ==== 182s Connecting to Storage daemon File1 at localhost:9103 182s 182s autopkgtest-sd Version: 13.0.4 (12 February 2024) x86_64-pc-linux-gnu ubuntu 25.04 182s Daemon started 03-May-25 06:59. Jobs: run=2, running=0. 182s Ulimits: nofile=1024 memlock=unlimited status=nofile 182s Heap: heap=544,768 smbytes=640,110 max_bytes=1,023,637 bufs=277 max_bufs=315 182s Sizes: boffset_t=8 size_t=8 int32_t=4 int64_t=8 mode=0,0 newbsr=0 182s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 182s Res: ndevices=4 nautochgr=2 182s 182s Running Jobs: 182s Director connected using TLS at: 03-May-25 07:00 182s No Jobs running. 182s ==== 182s 182s Jobs waiting to reserve a drive: 182s ==== 182s 182s Terminated Jobs: 182s JobId Level Files Bytes Status Finished Name 182s =================================================================== 182s 1 Full 538 29.74 M OK 03-May-25 07:00 BackupClient1 182s 2 Rest 538 29.74 M OK 03-May-25 07:00 RestoreFiles 182s ==== 182s 182s Device status: 182s Autochanger "FileChgr1" with devices: 182s "FileChgr1-Dev1" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) 182s "FileChgr1-Dev2" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) 182s Autochanger "FileChgr2" with devices: 182s "FileChgr2-Dev1" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) 182s "FileChgr2-Dev2" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) 182s 182s Device File: "FileChgr1-Dev1" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) is not open. 182s Drive 0 is not loaded. 182s Available Space=16.48 GB 182s == 182s 182s Device File: "FileChgr1-Dev2" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) is not open. 182s Drive 0 is not loaded. 182s Available Space=16.48 GB 182s == 182s 182s Device File: "FileChgr2-Dev1" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) is not open. 182s Drive 0 is not loaded. 182s Available Space=16.48 GB 182s == 182s 182s Device File: "FileChgr2-Dev2" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) is not open. 182s Drive 0 is not loaded. 182s Available Space=16.48 GB 182s == 182s ==== 182s 182s Used Volume status: 182s ==== 182s 182s Attr spooling: 0 active jobs, 111,652 bytes; 1 total jobs, 111,652 max bytes. 182s ==== 182s 182s Connecting to Client autopkgtest-fd at localhost:9102 182s 182s autopkgtest-fd Version: 13.0.4 (12 February 2024) x86_64-pc-linux-gnu ubuntu 25.04 182s Daemon started 03-May-25 06:59. Jobs: run=2 running=0. 182s Heap: heap=536,576 smbytes=239,997 max_bytes=1,135,647 bufs=102 max_bufs=150 182s Sizes: boffset_t=8 size_t=8 debug=0 trace=0 mode=0,0 bwlimit=0kB/s 182s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 182s Plugin: bpipe-fd.so(2) 182s 182s Running Jobs: 182s Director connected using TLS at: 03-May-25 07:00 182s No Jobs running. 182s ==== 182s 182s Terminated Jobs: 182s JobId Level Files Bytes Status Finished Name 182s =================================================================== 182s 1 Full 538 29.68 M OK 03-May-25 07:00 BackupClient1 182s 2 Rest 538 29.68 M OK 03-May-25 07:00 RestoreFiles 182s ==== 182s You have messages. 182s + grep 'bacula restore test' /tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-restores//usr/sbin/bacula-backup.test 182s bacula restore test 182s + echo 182s 182s + echo '------ compare original and restore ------' 182s ------ compare original and restore ------ 182s + debian/tests/scripts/diff.pl -s /usr/sbin -d /tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-restores/usr/sbin --acl --attr 186s + echo 186s 186s + echo '------ backup-test end ------' 186s ------ backup-test end ------ 186s autopkgtest [07:00:14]: test backup-test-pgsql: -----------------------] 187s backup-test-pgsql PASS 187s autopkgtest [07:00:15]: test backup-test-pgsql: - - - - - - - - - - results - - - - - - - - - - 187s autopkgtest [07:00:15]: test program-test-pgsql: preparing testbed 269s autopkgtest [07:01:37]: testbed dpkg architecture: amd64 269s autopkgtest [07:01:37]: testbed apt version: 3.0.0 269s autopkgtest [07:01:37]: @@@@@@@@@@@@@@@@@@@@ test bed setup 270s autopkgtest [07:01:38]: testbed release detected to be: questing 270s autopkgtest [07:01:38]: updating testbed package index (apt update) 271s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB] 271s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 271s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 271s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 271s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [43.3 kB] 271s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [156 kB] 271s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [1722 kB] 271s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 Packages [200 kB] 271s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/main i386 Packages [149 kB] 271s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/universe i386 Packages [587 kB] 271s Get:11 http://ftpmaster.internal/ubuntu questing-proposed/universe amd64 Packages [1408 kB] 271s Get:12 http://ftpmaster.internal/ubuntu questing-proposed/multiverse amd64 Packages [14.5 kB] 271s Get:13 http://ftpmaster.internal/ubuntu questing-proposed/multiverse i386 Packages [13.2 kB] 272s Fetched 4405 kB in 1s (3862 kB/s) 273s Reading package lists... 273s autopkgtest [07:01:41]: upgrading testbed (apt dist-upgrade and autopurge) 273s Reading package lists... 274s Building dependency tree... 274s Reading state information... 274s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 274s Starting 2 pkgProblemResolver with broken count: 0 274s Done 274s Entering ResolveByKeep 275s 275s Calculating upgrade... 275s The following packages will be upgraded: 275s debianutils file libmagic-mgc libmagic1t64 libnftnl11 275s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 275s Need to get 611 kB of archives. 275s After this operation, 1851 kB of additional disk space will be used. 275s Get:1 http://ftpmaster.internal/ubuntu questing/main amd64 debianutils amd64 5.22 [93.0 kB] 275s Get:2 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 file amd64 1:5.46-5 [22.1 kB] 275s Get:3 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 libmagic1t64 amd64 1:5.46-5 [90.8 kB] 275s Get:4 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 libmagic-mgc amd64 1:5.46-5 [336 kB] 275s Get:5 http://ftpmaster.internal/ubuntu questing/main amd64 libnftnl11 amd64 1.2.9-1 [69.1 kB] 276s Fetched 611 kB in 0s (1243 kB/s) 276s (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 ... 80514 files and directories currently installed.) 276s Preparing to unpack .../debianutils_5.22_amd64.deb ... 276s Unpacking debianutils (5.22) over (5.21) ... 276s Setting up debianutils (5.22) ... 276s (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 ... 80514 files and directories currently installed.) 276s Preparing to unpack .../file_1%3a5.46-5_amd64.deb ... 276s Unpacking file (1:5.46-5) over (1:5.45-3build1) ... 276s Preparing to unpack .../libmagic1t64_1%3a5.46-5_amd64.deb ... 276s Unpacking libmagic1t64:amd64 (1:5.46-5) over (1:5.45-3build1) ... 276s Preparing to unpack .../libmagic-mgc_1%3a5.46-5_amd64.deb ... 276s Unpacking libmagic-mgc (1:5.46-5) over (1:5.45-3build1) ... 276s Preparing to unpack .../libnftnl11_1.2.9-1_amd64.deb ... 276s Unpacking libnftnl11:amd64 (1.2.9-1) over (1.2.8-1) ... 276s Setting up libmagic-mgc (1:5.46-5) ... 276s Setting up libmagic1t64:amd64 (1:5.46-5) ... 276s Setting up libnftnl11:amd64 (1.2.9-1) ... 276s Setting up file (1:5.46-5) ... 276s Processing triggers for libc-bin (2.41-6ubuntu1) ... 276s Processing triggers for man-db (2.13.0-1) ... 278s Reading package lists... 279s Building dependency tree... 279s Reading state information... 279s Starting pkgProblemResolver with broken count: 0 279s Starting 2 pkgProblemResolver with broken count: 0 279s Done 279s Solving dependencies... 279s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 282s Reading package lists... 283s Building dependency tree... 283s Reading state information... 283s Starting pkgProblemResolver with broken count: 0 283s Starting 2 pkgProblemResolver with broken count: 0 283s Done 283s The following NEW packages will be installed: 283s bacula bacula-bscan bacula-client bacula-common bacula-common-pgsql 283s bacula-console bacula-director bacula-director-pgsql bacula-fd bacula-sd 283s bacula-server bsd-mailx dbconfig-common dbconfig-pgsql libio-pty-perl 283s libipc-run-perl libjson-perl libllvm20 liblockfile-bin liblockfile1 libpq5 283s libxslt1.1 mtx postfix postgresql postgresql-17 postgresql-client 283s postgresql-client-17 postgresql-client-common postgresql-common 283s postgresql-common-dev ssl-cert 284s 0 upgraded, 32 newly installed, 0 to remove and 0 not upgraded. 284s Need to get 53.0 MB of archives. 284s After this operation, 211 MB of additional disk space will be used. 284s Get:1 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-common amd64 13.0.4-4build1 [867 kB] 284s Get:2 http://ftpmaster.internal/ubuntu questing/main amd64 libpq5 amd64 17.4-1 [155 kB] 284s Get:3 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-common-pgsql amd64 13.0.4-4build1 [15.1 kB] 284s Get:4 http://ftpmaster.internal/ubuntu questing/universe amd64 dbconfig-common all 2.0.24 [596 kB] 284s Get:5 http://ftpmaster.internal/ubuntu questing/main amd64 postgresql-client-common all 274 [47.6 kB] 284s Get:6 http://ftpmaster.internal/ubuntu questing/main amd64 postgresql-client-17 amd64 17.4-1 [1425 kB] 284s Get:7 http://ftpmaster.internal/ubuntu questing/main amd64 postgresql-client all 17+274 [13.3 kB] 284s Get:8 http://ftpmaster.internal/ubuntu questing/universe amd64 dbconfig-pgsql all 2.0.24 [914 B] 284s Get:9 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-director-pgsql all 13.0.4-4build1 [34.0 kB] 284s Get:10 http://ftpmaster.internal/ubuntu questing/main amd64 postfix amd64 3.9.1-10ubuntu1 [1317 kB] 284s Get:11 http://ftpmaster.internal/ubuntu questing/main amd64 liblockfile-bin amd64 1.17-2 [11.2 kB] 284s Get:12 http://ftpmaster.internal/ubuntu questing/main amd64 liblockfile1 amd64 1.17-2 [6922 B] 284s Get:13 http://ftpmaster.internal/ubuntu questing/main amd64 bsd-mailx amd64 8.1.2-0.20220412cvs-1build1 [67.2 kB] 284s Get:14 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-director amd64 13.0.4-4build1 [387 kB] 284s Get:15 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-fd amd64 13.0.4-4build1 [147 kB] 284s Get:16 http://ftpmaster.internal/ubuntu questing/main amd64 mtx amd64 1.3.12-18 [45.0 kB] 284s Get:17 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-sd amd64 13.0.4-4build1 [153 kB] 284s Get:18 http://ftpmaster.internal/ubuntu questing/main amd64 libjson-perl all 4.10000-1 [81.9 kB] 284s Get:19 http://ftpmaster.internal/ubuntu questing/main amd64 libio-pty-perl amd64 1:1.20-1build3 [31.4 kB] 284s Get:20 http://ftpmaster.internal/ubuntu questing/main amd64 libipc-run-perl all 20231003.0-2 [91.5 kB] 284s Get:21 http://ftpmaster.internal/ubuntu questing/main amd64 postgresql-common-dev all 274 [73.0 kB] 284s Get:22 http://ftpmaster.internal/ubuntu questing/main amd64 ssl-cert all 1.1.3ubuntu1 [18.7 kB] 284s Get:23 http://ftpmaster.internal/ubuntu questing/main amd64 postgresql-common all 274 [101 kB] 284s Get:24 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-console amd64 13.0.4-4build1 [28.6 kB] 284s Get:25 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-client all 13.0.4-4build1 [23.5 kB] 284s Get:26 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-bscan amd64 13.0.4-4build1 [25.5 kB] 284s Get:27 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-server all 13.0.4-4build1 [23.4 kB] 284s Get:28 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula all 13.0.4-4build1 [1036 B] 284s Get:29 http://ftpmaster.internal/ubuntu questing/main amd64 libllvm20 amd64 1:20.1.2-0ubuntu1 [30.5 MB] 286s Get:30 http://ftpmaster.internal/ubuntu questing/main amd64 libxslt1.1 amd64 1.1.39-0exp1ubuntu4 [176 kB] 286s Get:31 http://ftpmaster.internal/ubuntu questing/main amd64 postgresql-17 amd64 17.4-1 [16.6 MB] 286s Get:32 http://ftpmaster.internal/ubuntu questing/main amd64 postgresql all 17+274 [14.4 kB] 287s Preconfiguring packages ... 287s /var/cache/debconf/tmp.ci/postgresql.config.JNrqSv: 12: pg_lsclusters: not found 287s Fetched 53.0 MB in 3s (19.2 MB/s) 287s Selecting previously unselected package bacula-common. 287s (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 ... 80514 files and directories currently installed.) 287s Preparing to unpack .../00-bacula-common_13.0.4-4build1_amd64.deb ... 287s Adding user 'bacula'... Ok. 287s Unpacking bacula-common (13.0.4-4build1) ... 287s Selecting previously unselected package libpq5:amd64. 287s Preparing to unpack .../01-libpq5_17.4-1_amd64.deb ... 287s Unpacking libpq5:amd64 (17.4-1) ... 287s Selecting previously unselected package bacula-common-pgsql. 287s Preparing to unpack .../02-bacula-common-pgsql_13.0.4-4build1_amd64.deb ... 287s Unpacking bacula-common-pgsql (13.0.4-4build1) ... 287s Selecting previously unselected package dbconfig-common. 287s Preparing to unpack .../03-dbconfig-common_2.0.24_all.deb ... 287s Unpacking dbconfig-common (2.0.24) ... 287s Selecting previously unselected package postgresql-client-common. 287s Preparing to unpack .../04-postgresql-client-common_274_all.deb ... 287s Unpacking postgresql-client-common (274) ... 287s Selecting previously unselected package postgresql-client-17. 287s Preparing to unpack .../05-postgresql-client-17_17.4-1_amd64.deb ... 287s Unpacking postgresql-client-17 (17.4-1) ... 287s Selecting previously unselected package postgresql-client. 287s Preparing to unpack .../06-postgresql-client_17+274_all.deb ... 287s Unpacking postgresql-client (17+274) ... 287s Selecting previously unselected package dbconfig-pgsql. 288s Preparing to unpack .../07-dbconfig-pgsql_2.0.24_all.deb ... 288s Unpacking dbconfig-pgsql (2.0.24) ... 288s Selecting previously unselected package bacula-director-pgsql. 288s Preparing to unpack .../08-bacula-director-pgsql_13.0.4-4build1_all.deb ... 288s Unpacking bacula-director-pgsql (13.0.4-4build1) ... 288s Selecting previously unselected package postfix. 288s Preparing to unpack .../09-postfix_3.9.1-10ubuntu1_amd64.deb ... 288s Unpacking postfix (3.9.1-10ubuntu1) ... 288s Selecting previously unselected package liblockfile-bin. 288s Preparing to unpack .../10-liblockfile-bin_1.17-2_amd64.deb ... 288s Unpacking liblockfile-bin (1.17-2) ... 288s Selecting previously unselected package liblockfile1:amd64. 288s Preparing to unpack .../11-liblockfile1_1.17-2_amd64.deb ... 288s Unpacking liblockfile1:amd64 (1.17-2) ... 288s Selecting previously unselected package bsd-mailx. 288s Preparing to unpack .../12-bsd-mailx_8.1.2-0.20220412cvs-1build1_amd64.deb ... 288s Unpacking bsd-mailx (8.1.2-0.20220412cvs-1build1) ... 288s Selecting previously unselected package bacula-director. 288s Preparing to unpack .../13-bacula-director_13.0.4-4build1_amd64.deb ... 288s Unpacking bacula-director (13.0.4-4build1) ... 288s Selecting previously unselected package bacula-fd. 288s Preparing to unpack .../14-bacula-fd_13.0.4-4build1_amd64.deb ... 288s Unpacking bacula-fd (13.0.4-4build1) ... 288s Selecting previously unselected package mtx. 288s Preparing to unpack .../15-mtx_1.3.12-18_amd64.deb ... 288s Unpacking mtx (1.3.12-18) ... 288s Selecting previously unselected package bacula-sd. 288s Preparing to unpack .../16-bacula-sd_13.0.4-4build1_amd64.deb ... 288s Unpacking bacula-sd (13.0.4-4build1) ... 288s Selecting previously unselected package libjson-perl. 288s Preparing to unpack .../17-libjson-perl_4.10000-1_all.deb ... 288s Unpacking libjson-perl (4.10000-1) ... 288s Selecting previously unselected package libio-pty-perl. 288s Preparing to unpack .../18-libio-pty-perl_1%3a1.20-1build3_amd64.deb ... 288s Unpacking libio-pty-perl (1:1.20-1build3) ... 288s Selecting previously unselected package libipc-run-perl. 288s Preparing to unpack .../19-libipc-run-perl_20231003.0-2_all.deb ... 288s Unpacking libipc-run-perl (20231003.0-2) ... 288s Selecting previously unselected package postgresql-common-dev. 288s Preparing to unpack .../20-postgresql-common-dev_274_all.deb ... 288s Unpacking postgresql-common-dev (274) ... 288s Selecting previously unselected package ssl-cert. 288s Preparing to unpack .../21-ssl-cert_1.1.3ubuntu1_all.deb ... 288s Unpacking ssl-cert (1.1.3ubuntu1) ... 288s Selecting previously unselected package postgresql-common. 288s Preparing to unpack .../22-postgresql-common_274_all.deb ... 288s Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by postgresql-common' 288s Unpacking postgresql-common (274) ... 288s Selecting previously unselected package bacula-console. 288s Preparing to unpack .../23-bacula-console_13.0.4-4build1_amd64.deb ... 288s Unpacking bacula-console (13.0.4-4build1) ... 288s Selecting previously unselected package bacula-client. 288s Preparing to unpack .../24-bacula-client_13.0.4-4build1_all.deb ... 288s Unpacking bacula-client (13.0.4-4build1) ... 288s Selecting previously unselected package bacula-bscan. 288s Preparing to unpack .../25-bacula-bscan_13.0.4-4build1_amd64.deb ... 288s Unpacking bacula-bscan (13.0.4-4build1) ... 288s Selecting previously unselected package bacula-server. 288s Preparing to unpack .../26-bacula-server_13.0.4-4build1_all.deb ... 288s Unpacking bacula-server (13.0.4-4build1) ... 288s Selecting previously unselected package bacula. 288s Preparing to unpack .../27-bacula_13.0.4-4build1_all.deb ... 288s Unpacking bacula (13.0.4-4build1) ... 288s Selecting previously unselected package libllvm20:amd64. 288s Preparing to unpack .../28-libllvm20_1%3a20.1.2-0ubuntu1_amd64.deb ... 288s Unpacking libllvm20:amd64 (1:20.1.2-0ubuntu1) ... 289s Selecting previously unselected package libxslt1.1:amd64. 289s Preparing to unpack .../29-libxslt1.1_1.1.39-0exp1ubuntu4_amd64.deb ... 289s Unpacking libxslt1.1:amd64 (1.1.39-0exp1ubuntu4) ... 289s Selecting previously unselected package postgresql-17. 289s Preparing to unpack .../30-postgresql-17_17.4-1_amd64.deb ... 289s Unpacking postgresql-17 (17.4-1) ... 289s Selecting previously unselected package postgresql. 289s Preparing to unpack .../31-postgresql_17+274_all.deb ... 289s Unpacking postgresql (17+274) ... 289s Setting up postgresql-client-common (274) ... 289s Setting up liblockfile-bin (1.17-2) ... 289s Setting up libio-pty-perl (1:1.20-1build3) ... 289s Setting up libpq5:amd64 (17.4-1) ... 289s Setting up mtx (1.3.12-18) ... 289s Setting up dbconfig-common (2.0.24) ... 290s Creating config file /etc/dbconfig-common/config with new version 290s Setting up bacula-common (13.0.4-4build1) ... 290s Setting up bacula-sd (13.0.4-4build1) ... 290s Creating config file /etc/default/bacula-sd with new version 290s Creating config file /etc/bacula/bacula-sd.conf with new version 291s Created symlink '/etc/systemd/system/multi-user.target.wants/bacula-sd.service' → '/usr/lib/systemd/system/bacula-sd.service'. 291s Setting up ssl-cert (1.1.3ubuntu1) ... 291s Created symlink '/etc/systemd/system/multi-user.target.wants/ssl-cert.service' → '/usr/lib/systemd/system/ssl-cert.service'. 292s Setting up libllvm20:amd64 (1:20.1.2-0ubuntu1) ... 292s Setting up libipc-run-perl (20231003.0-2) ... 292s Setting up bacula-console (13.0.4-4build1) ... 292s Creating config file /etc/bacula/bconsole.conf with new version 292s Setting up postfix (3.9.1-10ubuntu1) ... 292s Created symlink '/etc/systemd/system/multi-user.target.wants/postfix.service' → '/usr/lib/systemd/system/postfix.service'. 293s info: Selecting UID from range 100 to 999 ... 293s 293s info: Selecting GID from range 100 to 999 ... 293s info: Adding system user `postfix' (UID 108) ... 293s info: Adding new group `postfix' (GID 112) ... 293s info: Adding new user `postfix' (UID 108) with group `postfix' ... 293s info: Not creating home directory `/var/spool/postfix'. 293s info: Selecting GID from range 100 to 999 ... 293s info: Adding group `postdrop' (GID 113) ... 293s Creating /etc/postfix/dynamicmaps.cf 293s setting myhostname: autopkgtest.local 293s setting alias maps 293s setting alias database 293s changing /etc/mailname to autopkgtest.local 293s setting myorigin 293s setting destinations: $myhostname, autopkgtest.local, localhost.local, , localhost 293s setting relayhost: 293s setting mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 293s clearing mailbox_command 293s setting mailbox_size_limit: 0 293s setting recipient_delimiter: + 295s setting inet_interfaces: all 297s setting inet_protocols: all 297s /etc/aliases does not exist, creating it. 297s WARNING: /etc/aliases exists, but does not have a root alias. 297s 297s Postfix (main.cf) is now set up with a default configuration. If you need to 297s make changes, edit /etc/postfix/main.cf (and others) as needed. To view 297s Postfix configuration values, see postconf(1). 297s 297s After modifying main.cf, be sure to run 'systemctl reload postfix'. 297s 299s Setting up libjson-perl (4.10000-1) ... 299s Setting up libxslt1.1:amd64 (1.1.39-0exp1ubuntu4) ... 299s Setting up liblockfile1:amd64 (1.17-2) ... 299s Setting up bacula-fd (13.0.4-4build1) ... 299s Creating config file /etc/default/bacula-fd with new version 299s Creating config file /etc/bacula/bacula-fd.conf with new version 300s Created symlink '/etc/systemd/system/multi-user.target.wants/bacula-fd.service' → '/usr/lib/systemd/system/bacula-fd.service'. 300s Setting up postgresql-common-dev (274) ... 300s Setting up bacula-client (13.0.4-4build1) ... 300s Setting up postgresql-client-17 (17.4-1) ... 301s 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 301s Setting up dbconfig-pgsql (2.0.24) ... 301s Setting up bacula-common-pgsql (13.0.4-4build1) ... 301s Setting up bsd-mailx (8.1.2-0.20220412cvs-1build1) ... 301s update-alternatives: using /usr/bin/bsd-mailx to provide /usr/bin/mailx (mailx) in auto mode 301s Setting up postgresql-common (274) ... 301s Creating config file /etc/postgresql-common/createcluster.conf with new version 301s Building PostgreSQL dictionaries from installed myspell/hunspell packages... 301s Removing obsolete dictionary files: 302s Created symlink '/etc/systemd/system/multi-user.target.wants/postgresql.service' → '/usr/lib/systemd/system/postgresql.service'. 302s Setting up bacula-bscan (13.0.4-4build1) ... 302s Setting up postgresql-17 (17.4-1) ... 303s Creating new PostgreSQL cluster 17/main ... 303s /usr/lib/postgresql/17/bin/initdb -D /var/lib/postgresql/17/main --auth-local peer --auth-host scram-sha-256 --no-instructions 303s The files belonging to this database system will be owned by user "postgres". 303s This user must also own the server process. 303s 303s The database cluster will be initialized with locale "C.UTF-8". 303s The default database encoding has accordingly been set to "UTF8". 303s The default text search configuration will be set to "english". 303s 303s Data page checksums are disabled. 303s 303s fixing permissions on existing directory /var/lib/postgresql/17/main ... ok 303s creating subdirectories ... ok 303s selecting dynamic shared memory implementation ... posix 303s selecting default "max_connections" ... 100 303s selecting default "shared_buffers" ... 128MB 303s selecting default time zone ... Etc/UTC 303s creating configuration files ... ok 303s running bootstrap script ... ok 303s performing post-bootstrap initialization ... ok 303s syncing data to disk ... ok 306s Setting up bacula-director-pgsql (13.0.4-4build1) ... 307s dbconfig-common: writing config to /etc/dbconfig-common/bacula-director-pgsql.conf 307s Creating config file /etc/dbconfig-common/bacula-director-pgsql.conf with new version 307s creating postgres user bacula: success. 307s verifying creation of user: success. 307s creating database bacula: success. 307s verifying database bacula exists: success. 307s populating database via administrative sql... done. 308s populating database via sql... done. 308s dbconfig-common: flushing administrative password 308s Setting up postgresql-client (17+274) ... 308s Setting up bacula-director (13.0.4-4build1) ... 308s Creating config file /etc/default/bacula-dir with new version 308s Creating config file /etc/bacula/bacula-dir.conf with new version 308s Creating config file /etc/bacula/scripts/delete_catalog_backup with new version 309s Creating config file /etc/bacula/scripts/make_catalog_backup with new version 309s Created symlink '/etc/systemd/system/bacula-dir.service' → '/usr/lib/systemd/system/bacula-director.service'. 309s Created symlink '/etc/systemd/system/multi-user.target.wants/bacula-director.service' → '/usr/lib/systemd/system/bacula-director.service'. 309s Setting up postgresql (17+274) ... 310s Setting up bacula-server (13.0.4-4build1) ... 310s Setting up bacula (13.0.4-4build1) ... 310s Processing triggers for rsyslog (8.2412.0-2ubuntu2) ... 310s Processing triggers for ufw (0.36.2-9) ... 310s Processing triggers for man-db (2.13.0-1) ... 311s Processing triggers for libc-bin (2.41-6ubuntu1) ... 311s Processing triggers for postfix (3.9.1-10ubuntu1) ... 311s Restarting postfix 314s autopkgtest [07:02:22]: test program-test-pgsql: [----------------------- 314s + echo '----- start testing -----' 314s ----- start testing ----- 314s + echo 'USER: root' 314s USER: root 314s + DBTYPE=pgsql 314s + echo '---- Preparing test files ----' 314s ---- Preparing test files ---- 314s + DATAFILE=/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/datafile 314s + cat 314s + echo 314s 314s + echo '---- Testing /usr/sbin/bregex ----' 314s ---- Testing /usr/sbin/bregex ---- 314s + echo -en 'line . of the message\r' 314s + /usr/sbin/bregex -f /tmp/autopkgtest.b3PsuB/autopkgtest_tmp/datafile 314s Enter regex pattern: 2: This is line 1 of the message. 314s 3: This is line 2 of the message. 314s 4: This is line 3 of the message. 314s 5: This is line 4 of the message. 314s Enter regex pattern: + echo 314s 314s + echo '---- Testing /usr/sbin/bwild ----' 314s ---- Testing /usr/sbin/bwild ---- 314s + echo -en '*line ? of the message.\r' 314s + /usr/sbin/bwild -f /tmp/autopkgtest.b3PsuB/autopkgtest_tmp/datafile 314s Enter a wild-card: 2: This is line 1 of the message. 314s 3: This is line 2 of the message. 314s 4: This is line 3 of the message. 314s 5: This is line 4 of the message. 314s Enter a wild-card: + echo 314s 314s + echo '---- Testing /usr/sbin/bbconsjson ----' 314s ---- Testing /usr/sbin/bbconsjson ---- 314s + /usr/sbin/bbconsjson 314s [ 314s { 314s "Director": { 314s "Name": "autopkgtest-dir", 314s "DirPort": 9101, 314s "Address": "localhost", 314s "Password": "U0FiSlk2HnthzcXvKB16fygwE1ZTkKwbd" 314s } 314s } 314s ] 314s + echo 314s 314s + echo '---- Testing /usr/sbin/bdirjson ----' 314s ---- Testing /usr/sbin/bdirjson ---- 314s + /usr/sbin/bdirjson 314s [ 314s { 314s "Director": { 314s "Name": "autopkgtest-dir", 314s "Messages": "Daemon", 314s "DirAddress": "127.0.0.1", 314s "QueryFile": "/etc/bacula/scripts/query.sql", 314s "WorkingDirectory": "/var/lib/bacula", 314s "PidDirectory": "/run/bacula", 314s "MaximumConcurrentJobs": 20, 314s "Password": "U0FiSlk2HnthzcXvKB16fygwE1ZTkKwbd" 314s } 314s }, 314s { 314s "Client": { 314s "Name": "autopkgtest-fd", 314s "Address": "localhost", 314s "FdPort": 9102, 314s "Password": "8sk3aDUD5JQS_pybEHvh12vbBik5jUBlm", 314s "Catalog": "MyCatalog", 314s "FileRetention": 5184000, 314s "JobRetention": 15552000, 314s "AutoPrune": true 314s } 314s }, 314s { 314s "Job": { 314s "Name": "BackupCatalog", 314s "Type": "Backup", 314s "Level": "Full", 314s "Messages": "Standard", 314s "Storage": ["File1"], 314s "Pool": "File", 314s "Client": "autopkgtest-fd", 314s "Fileset": "Catalog", 314s "Schedule": "WeeklyCycleAfterBackup", 314s "JobDefs": "DefaultJob", 314s "WriteBootstrap": "/var/lib/bacula/%n.bsr", 314s "SpoolAttributes": true, 314s "Runscript": [ 314s { 314s "RunsWhen": "Before", 314s "RunsOnClient": false, 314s "Command": "/etc/bacula/scripts/make_catalog_backup.pl MyCatalog" 314s }, 314s { 314s "RunsWhen": "After", 314s "RunsOnClient": false, 314s "Command": "/etc/bacula/scripts/delete_catalog_backup" 314s } 314s ] 314s , 314s "Priority": 11 314s } 314s }, 314s { 314s "Job": { 314s "Name": "BackupClient1", 314s "Type": "Backup", 314s "Level": "Incremental", 314s "Messages": "Standard", 314s "Storage": ["File1"], 314s "Pool": "File", 314s "Client": "autopkgtest-fd", 314s "Fileset": "Full Set", 314s "Schedule": "WeeklyCycle", 314s "JobDefs": "DefaultJob", 314s "WriteBootstrap": "/var/lib/bacula/%c.bsr", 314s "SpoolAttributes": true, 314s "Priority": 10 314s } 314s }, 314s { 314s "Job": { 314s "Name": "RestoreFiles", 314s "Type": "Restore", 314s "Messages": "Standard", 314s "Storage": ["File1"], 314s "Pool": "File", 314s "Client": "autopkgtest-fd", 314s "Fileset": "Full Set", 314s "Where": "/nonexistent/path/to/file/archive/dir/bacula-restores" 314s } 314s }, 314s { 314s "Storage": { 314s "Name": "File1", 314s "SdPort": 9103, 314s "Address": "localhost", 314s "Password": "wvJZRvKDWbIAmCx3k7BHxCYOUplkUF4MO", 314s "Device": ["FileChgr1"], 314s "MediaType": "File1", 314s "Autochanger": "File1", 314s "MaximumConcurrentJobs": 10 314s } 314s }, 314s { 314s "Storage": { 314s "Name": "File2", 314s "SdPort": 9103, 314s "Address": "localhost", 314s "Password": "wvJZRvKDWbIAmCx3k7BHxCYOUplkUF4MO", 314s "Device": ["FileChgr2"], 314s "MediaType": "File2", 314s "Autochanger": "File2", 314s "MaximumConcurrentJobs": 10 314s } 314s }, 314s { 314s "Catalog": { 314s "Name": "MyCatalog", 314s "Address": "localhost", 314s "Password": "X6u9bkP7UK60", 314s "User": "bacula", 314s "DbName": "bacula" 314s } 314s }, 314s { 314s "Schedule": { 314s "Name": "WeeklyCycle", 314s "Run": [ 314s { 314s "Level": "Full", 314s "Level": "Full", 314s "Level": "Full", 314s "Hour": [23], 314s "Minute": 5, 314s "Day": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30], 314s "Month": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], 314s "DayOfWeek": [0], 314s "WeekOfMonth": [0], 314s "WeekOfYear": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53] 314s }, 314s { 314s "Level": "Differential", 314s "Level": "Differential", 314s "Level": "Differential", 314s "Hour": [23], 314s "Minute": 5, 314s "Day": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30], 314s "Month": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], 314s "DayOfWeek": [0], 314s "WeekOfMonth": [1, 2, 3, 4], 314s "WeekOfYear": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53] 314s }, 314s { 314s "Level": "Incremental", 314s "Level": "Incremental", 314s "Level": "Incremental", 314s "Hour": [23], 314s "Minute": 5, 314s "Day": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30], 314s "Month": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], 314s "DayOfWeek": [1, 2, 3, 4, 5, 6], 314s "WeekOfMonth": [0, 1, 2, 3, 4, 5], 314s "WeekOfYear": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53] 314s } 314s ] 314s } 314s }, 314s { 314s "Schedule": { 314s "Name": "WeeklyCycleAfterBackup", 314s "Run": [ 314s { 314s "Level": "Full", 314s "Level": "Full", 314s "Level": "Full", 314s "Hour": [23], 314s "Minute": 10, 314s "Day": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30], 314s "Month": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], 314s "DayOfWeek": [0, 1, 2, 3, 4, 5, 6], 314s "WeekOfMonth": [0, 1, 2, 3, 4, 5], 314s "WeekOfYear": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53] 314s } 314s ] 314s } 314s }, 314s { 314s "Fileset": { 314s "Name": "Catalog", 314s "Include": [{ 314s "File": ["/var/lib/bacula/bacula.sql"], 314s "Options": [ 314s { 314s "Signature": "Md5" 314s } 314s ] 314s }] 314s } 314s }, 314s { 314s "Fileset": { 314s "Name": "Full Set", 314s "Include": [{ 314s "File": ["/usr/sbin"], 314s "Options": [ 314s { 314s "Signature": "Md5" 314s } 314s ] 314s }], 314s "Exclude": { 314s "File": ["/var/lib/bacula", "/nonexistent/path/to/file/archive/dir", "/proc", "/tmp", "/sys", "/.journal", "/.fsck"] 314s } 314s } 314s }, 314s { 314s "Pool": { 314s "Name": "Default", 314s "PoolType": "Backup", 314s "MaximumVolumes": 100, 314s "MaximumVolumeBytes": 53687091200, 314s "VolumeRetention": 31536000, 314s "AutoPrune": true, 314s "Recycle": true 314s } 314s }, 314s { 314s "Pool": { 314s "Name": "File", 314s "PoolType": "Backup", 314s "LabelFormat": "Vol-", 314s "MaximumVolumes": 100, 314s "MaximumVolumeBytes": 53687091200, 314s "VolumeRetention": 31536000, 314s "AutoPrune": true, 314s "Recycle": true 314s } 314s }, 314s { 314s "Pool": { 314s "Name": "Scratch", 314s "PoolType": "Backup" 314s } 314s }, 314s { 314s "Messages": { 314s "Name": "Daemon", 314s "MailCommand": "/usr/sbin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s \"Bacula daemon message\" %r", 314s "Destinations": [ 314s { 314s "Type": "Mail", 314s "MsgTypes": ["All","!Skipped"], 314s "Where": ["root"], 314s "Command": "/usr/sbin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s \"Bacula daemon message\" %r" 314s }, 314s { 314s "Type": "Append", 314s "MsgTypes": ["All","!Skipped"], 314s "Where": ["/var/log/bacula/bacula.log"] 314s }, 314s { 314s "Type": "Console", 314s "MsgTypes": ["All","!Skipped"] 314s } 314s ] 314s } 314s }, 314s { 314s "Messages": { 314s "Name": "Standard", 314s "MailCommand": "/usr/sbin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s \"Bacula: %t %e of %c %l\" %r", 314s "OperatorCommand": "/usr/sbin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s \"Bacula: Intervention needed for %j\" %r", 314s "Destinations": [ 314s { 314s "Type": "Mail", 314s "MsgTypes": ["All","!Skipped"], 314s "Where": ["root"], 314s "Command": "/usr/sbin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s \"Bacula: %t %e of %c %l\" %r" 314s }, 314s { 314s "Type": "Append", 314s "MsgTypes": ["All","!Skipped"], 314s "Where": ["/var/log/bacula/bacula.log"] 314s }, 314s { 314s "Type": "Console", 314s "MsgTypes": ["All","!Skipped"] 314s }, 314s { 314s "Type": "Operator", 314s "MsgTypes": ["Mount"], 314s "Where": ["root"], 314s "Command": "/usr/sbin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s \"Bacula: Intervention needed for %j\" %r" 314s }, 314s { 314s "Type": "Catalog", 314s "MsgTypes": ["All"] 314s } 314s ] 314s } 314s }, 314s { 314s "Console": { 314s "Name": "autopkgtest-mon", 314s "Password": "Q4cLlNKvmktmaRts7OFevu-DciZODM5fW", 314s "CommandAcl": ["status", ".status"] 314s } 314s }, 314s { 314s "JobDefs": { 314s "Name": "DefaultJob", 314s "Type": "Backup", 314s "Level": "Incremental", 314s "Messages": "Standard", 314s "Storage": ["File1"], 314s "Pool": "File", 314s "Client": "autopkgtest-fd", 314s "Fileset": "Full Set", 314s "Schedule": "WeeklyCycle", 314s "WriteBootstrap": "/var/lib/bacula/%c.bsr", 314s "SpoolAttributes": true, 314s "Priority": 10 314s } 314s } 314s ] 314s + echo 314s 314s + echo '---- Testing /usr/sbin/bfdjson ----' 314s ---- Testing /usr/sbin/bfdjson ---- 314s + /usr/sbin/bfdjson 314s [{ 314s "Director": { 314s "Name": "autopkgtest-dir", 314s "Password": "8sk3aDUD5JQS_pybEHvh12vbBik5jUBlm" 314s } 314s }, 314s { 314s "Director": { 314s "Name": "autopkgtest-mon", 314s "Password": "wfQ9ZJ6Gig-Skgy3_KveXopyT36QGsMNN", 314s "Monitor": true 314s } 314s }, 314s { 314s "FileDaemon": { 314s "Name": "autopkgtest-fd", 314s "FdAddress": "127.0.0.1", 314s "WorkingDirectory": "/var/lib/bacula", 314s "PidDirectory": "/run/bacula", 314s "PluginDirectory": "/usr/lib/bacula", 314s "MaximumConcurrentJobs": 20 314s } 314s }, 314s { 314s "Messages": { 314s "Name": "Standard", 314s "Destinations": [ 314s { 314s "Type": "Director", 314s "MsgTypes": ["All","!Skipped","!Restored","!Verified"], 314s "Where": ["autopkgtest-dir"] 314s } 314s ] 314s } 314s } 314s ] 314s + echo 314s 314s + echo '---- Testing /usr/sbin/bsdjson ----' 314s ---- Testing /usr/sbin/bsdjson ---- 314s + /usr/sbin/bsdjson 314s [ 314s { 314s "Director": { 314s "Name": "autopkgtest-dir", 314s "Password": "wvJZRvKDWbIAmCx3k7BHxCYOUplkUF4MO" 314s } 314s }, 314s { 314s "Director": { 314s "Name": "autopkgtest-mon", 314s "Password": "0NC-DCcTkWNDI7ITI3MPgLXCH-sUSF7r5", 314s "Monitor": true 314s } 314s }, 314s { 314s "Storage": { 314s "Name": "autopkgtest-sd", 314s "SdAddress": "127.0.0.1", 314s "WorkingDirectory": "/var/lib/bacula", 314s "PidDirectory": "/run/bacula", 314s "PluginDirectory": "/usr/lib/bacula", 314s "MaximumConcurrentJobs": 20 314s } 314s }, 314s { 314s "Device": { 314s "Name": "FileChgr1-Dev1", 314s "MediaType": "File1", 314s "ArchiveDevice": "/nonexistent/path/to/file/archive/dir", 314s "RemovableMedia": false, 314s "RandomAccess": true, 314s "AutomaticMount": true, 314s "LabelMedia": true, 314s "AlwaysOpen": false, 314s "MaximumConcurrentJobs": 5 314s } 314s }, 314s { 314s "Device": { 314s "Name": "FileChgr1-Dev2", 314s "MediaType": "File1", 314s "ArchiveDevice": "/nonexistent/path/to/file/archive/dir", 314s "RemovableMedia": false, 314s "RandomAccess": true, 314s "AutomaticMount": true, 314s "LabelMedia": true, 314s "AlwaysOpen": false, 314s "MaximumConcurrentJobs": 5 314s } 314s }, 314s { 314s "Device": { 314s "Name": "FileChgr2-Dev1", 314s "MediaType": "File2", 314s "ArchiveDevice": "/nonexistent/path/to/file/archive/dir", 314s "RemovableMedia": false, 314s "RandomAccess": true, 314s "AutomaticMount": true, 314s "LabelMedia": true, 314s "AlwaysOpen": false, 314s "MaximumConcurrentJobs": 5 314s } 314s }, 314s { 314s "Device": { 314s "Name": "FileChgr2-Dev2", 314s "MediaType": "File2", 314s "ArchiveDevice": "/nonexistent/path/to/file/archive/dir", 314s "RemovableMedia": false, 314s "RandomAccess": true, 314s "AutomaticMount": true, 314s "LabelMedia": true, 314s "AlwaysOpen": false, 314s "MaximumConcurrentJobs": 5 314s } 314s }, 314s { 314s "Messages": { 314s "Name": "Standard", 314s "Destinations": [ 314s { 314s "Type": "Director", 314s "MsgTypes": ["All"], 314s "Where": ["autopkgtest-dir"] 314s } 314s ] 314s } 314s }, 314s { 314s "Autochanger": { 314s "Name": "FileChgr1", 314s "Device": ["FileChgr1-Dev1", "FileChgr1-Dev2"], 314s "ChangerDevice": "/dev/null", 314s "ChangerCommand": "" 314s } 314s }, 314s { 314s "Autochanger": { 314s "Name": "FileChgr2", 314s "Device": ["FileChgr2-Dev1", "FileChgr2-Dev2"], 314s "ChangerDevice": "/dev/null", 314s "ChangerCommand": "" 314s } 314s } 314s ] 315s autopkgtest [07:02:23]: test program-test-pgsql: -----------------------] 315s program-test-pgsql PASS 315s autopkgtest [07:02:23]: test program-test-pgsql: - - - - - - - - - - results - - - - - - - - - - 316s autopkgtest [07:02:24]: test backup-test-mysql: preparing testbed 385s autopkgtest [07:03:33]: testbed dpkg architecture: amd64 385s autopkgtest [07:03:33]: testbed apt version: 3.0.0 385s autopkgtest [07:03:33]: @@@@@@@@@@@@@@@@@@@@ test bed setup 385s autopkgtest [07:03:33]: testbed release detected to be: questing 386s autopkgtest [07:03:34]: updating testbed package index (apt update) 387s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB] 387s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 387s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 387s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 387s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [43.3 kB] 387s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [1722 kB] 387s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [156 kB] 387s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 Packages [200 kB] 387s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/main i386 Packages [149 kB] 387s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/universe amd64 Packages [1408 kB] 387s Get:11 http://ftpmaster.internal/ubuntu questing-proposed/universe i386 Packages [587 kB] 387s Get:12 http://ftpmaster.internal/ubuntu questing-proposed/multiverse amd64 Packages [14.5 kB] 387s Get:13 http://ftpmaster.internal/ubuntu questing-proposed/multiverse i386 Packages [13.2 kB] 388s Fetched 4405 kB in 1s (3920 kB/s) 388s Reading package lists... 389s autopkgtest [07:03:37]: upgrading testbed (apt dist-upgrade and autopurge) 389s Reading package lists... 389s Building dependency tree... 389s Reading state information... 389s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 389s Starting 2 pkgProblemResolver with broken count: 0 389s Done 390s Entering ResolveByKeep 390s 390s Calculating upgrade... 390s The following packages will be upgraded: 390s debianutils file libmagic-mgc libmagic1t64 libnftnl11 390s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 390s Need to get 611 kB of archives. 390s After this operation, 1851 kB of additional disk space will be used. 390s Get:1 http://ftpmaster.internal/ubuntu questing/main amd64 debianutils amd64 5.22 [93.0 kB] 391s Get:2 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 file amd64 1:5.46-5 [22.1 kB] 391s Get:3 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 libmagic1t64 amd64 1:5.46-5 [90.8 kB] 391s Get:4 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 libmagic-mgc amd64 1:5.46-5 [336 kB] 391s Get:5 http://ftpmaster.internal/ubuntu questing/main amd64 libnftnl11 amd64 1.2.9-1 [69.1 kB] 391s Fetched 611 kB in 0s (1287 kB/s) 391s (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 ... 80514 files and directories currently installed.) 391s Preparing to unpack .../debianutils_5.22_amd64.deb ... 391s Unpacking debianutils (5.22) over (5.21) ... 391s Setting up debianutils (5.22) ... 391s (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 ... 80514 files and directories currently installed.) 391s Preparing to unpack .../file_1%3a5.46-5_amd64.deb ... 391s Unpacking file (1:5.46-5) over (1:5.45-3build1) ... 392s Preparing to unpack .../libmagic1t64_1%3a5.46-5_amd64.deb ... 392s Unpacking libmagic1t64:amd64 (1:5.46-5) over (1:5.45-3build1) ... 392s Preparing to unpack .../libmagic-mgc_1%3a5.46-5_amd64.deb ... 392s Unpacking libmagic-mgc (1:5.46-5) over (1:5.45-3build1) ... 392s Preparing to unpack .../libnftnl11_1.2.9-1_amd64.deb ... 392s Unpacking libnftnl11:amd64 (1.2.9-1) over (1.2.8-1) ... 392s Setting up libmagic-mgc (1:5.46-5) ... 392s Setting up libmagic1t64:amd64 (1:5.46-5) ... 392s Setting up libnftnl11:amd64 (1.2.9-1) ... 392s Setting up file (1:5.46-5) ... 392s Processing triggers for libc-bin (2.41-6ubuntu1) ... 392s Processing triggers for man-db (2.13.0-1) ... 393s Reading package lists... 394s Building dependency tree... 394s Reading state information... 394s Starting pkgProblemResolver with broken count: 0 394s Starting 2 pkgProblemResolver with broken count: 0 394s Done 394s Solving dependencies... 394s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 397s Reading package lists... 397s Building dependency tree... 397s Reading state information... 398s Starting pkgProblemResolver with broken count: 0 398s Starting 2 pkgProblemResolver with broken count: 0 398s Done 398s The following NEW packages will be installed: 398s bacula bacula-bscan bacula-client bacula-common bacula-common-mysql 398s bacula-console bacula-director bacula-director-mysql bacula-fd bacula-sd 398s bacula-server bsd-mailx dbconfig-common dbconfig-mysql dbconfig-pgsql 398s default-mysql-client default-mysql-server liblockfile-bin liblockfile1 398s libmecab2 libmysqlclient24 libpq5 libprotobuf-lite32t64 mtx mysql-client 398s mysql-client-core mysql-common mysql-server mysql-server-core postfix 398s postgresql-client postgresql-client-17 postgresql-client-common 398s 0 upgraded, 33 newly installed, 0 to remove and 0 not upgraded. 398s Need to get 30.5 MB of archives. 398s After this operation, 204 MB of additional disk space will be used. 398s Get:1 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-common amd64 13.0.4-4build1 [867 kB] 399s Get:2 http://ftpmaster.internal/ubuntu questing/main amd64 mysql-common all 5.8+1.1.1ubuntu1 [6922 B] 399s Get:3 http://ftpmaster.internal/ubuntu questing/main amd64 libmysqlclient24 amd64 8.4.4-0ubuntu2 [1257 kB] 399s Get:4 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-common-mysql amd64 13.0.4-4build1 [11.7 kB] 399s Get:5 http://ftpmaster.internal/ubuntu questing/universe amd64 dbconfig-common all 2.0.24 [596 kB] 399s Get:6 http://ftpmaster.internal/ubuntu questing/main amd64 mysql-client-core amd64 8.4.4-0ubuntu2 [2145 kB] 399s Get:7 http://ftpmaster.internal/ubuntu questing/main amd64 mysql-client amd64 8.4.4-0ubuntu2 [9122 B] 399s Get:8 http://ftpmaster.internal/ubuntu questing/universe amd64 default-mysql-client all 1.1.1ubuntu1 [3072 B] 399s Get:9 http://ftpmaster.internal/ubuntu questing/universe amd64 dbconfig-mysql all 2.0.24 [938 B] 399s Get:10 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-director-mysql all 13.0.4-4build1 [32.3 kB] 399s Get:11 http://ftpmaster.internal/ubuntu questing/main amd64 postfix amd64 3.9.1-10ubuntu1 [1317 kB] 399s Get:12 http://ftpmaster.internal/ubuntu questing/main amd64 liblockfile-bin amd64 1.17-2 [11.2 kB] 399s Get:13 http://ftpmaster.internal/ubuntu questing/main amd64 liblockfile1 amd64 1.17-2 [6922 B] 399s Get:14 http://ftpmaster.internal/ubuntu questing/main amd64 bsd-mailx amd64 8.1.2-0.20220412cvs-1build1 [67.2 kB] 399s Get:15 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-director amd64 13.0.4-4build1 [387 kB] 399s Get:16 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-fd amd64 13.0.4-4build1 [147 kB] 399s Get:17 http://ftpmaster.internal/ubuntu questing/main amd64 mtx amd64 1.3.12-18 [45.0 kB] 399s Get:18 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-sd amd64 13.0.4-4build1 [153 kB] 399s Get:19 http://ftpmaster.internal/ubuntu questing/main amd64 libmecab2 amd64 0.996-15.1build2 [217 kB] 399s Get:20 http://ftpmaster.internal/ubuntu questing/main amd64 libprotobuf-lite32t64 amd64 3.21.12-10build2 [247 kB] 399s Get:21 http://ftpmaster.internal/ubuntu questing/main amd64 mysql-server-core amd64 8.4.4-0ubuntu2 [19.6 MB] 399s Get:22 http://ftpmaster.internal/ubuntu questing/main amd64 mysql-server amd64 8.4.4-0ubuntu2 [1609 kB] 399s Get:23 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-console amd64 13.0.4-4build1 [28.6 kB] 399s Get:24 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-client all 13.0.4-4build1 [23.5 kB] 399s Get:25 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-bscan amd64 13.0.4-4build1 [25.5 kB] 399s Get:26 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-server all 13.0.4-4build1 [23.4 kB] 399s Get:27 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula all 13.0.4-4build1 [1036 B] 399s Get:28 http://ftpmaster.internal/ubuntu questing/main amd64 libpq5 amd64 17.4-1 [155 kB] 399s Get:29 http://ftpmaster.internal/ubuntu questing/main amd64 postgresql-client-common all 274 [47.6 kB] 399s Get:30 http://ftpmaster.internal/ubuntu questing/main amd64 postgresql-client-17 amd64 17.4-1 [1425 kB] 399s Get:31 http://ftpmaster.internal/ubuntu questing/main amd64 postgresql-client all 17+274 [13.3 kB] 399s Get:32 http://ftpmaster.internal/ubuntu questing/universe amd64 dbconfig-pgsql all 2.0.24 [914 B] 399s Get:33 http://ftpmaster.internal/ubuntu questing/universe amd64 default-mysql-server all 1.1.1ubuntu1 [3088 B] 400s Preconfiguring packages ... 400s Fetched 30.5 MB in 2s (20.1 MB/s) 400s Selecting previously unselected package bacula-common. 400s (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 ... 80514 files and directories currently installed.) 400s Preparing to unpack .../00-bacula-common_13.0.4-4build1_amd64.deb ... 400s Adding user 'bacula'... Ok. 400s Unpacking bacula-common (13.0.4-4build1) ... 400s Selecting previously unselected package mysql-common. 400s Preparing to unpack .../01-mysql-common_5.8+1.1.1ubuntu1_all.deb ... 400s Unpacking mysql-common (5.8+1.1.1ubuntu1) ... 400s Selecting previously unselected package libmysqlclient24:amd64. 400s Preparing to unpack .../02-libmysqlclient24_8.4.4-0ubuntu2_amd64.deb ... 400s Unpacking libmysqlclient24:amd64 (8.4.4-0ubuntu2) ... 400s Selecting previously unselected package bacula-common-mysql. 400s Preparing to unpack .../03-bacula-common-mysql_13.0.4-4build1_amd64.deb ... 400s Unpacking bacula-common-mysql (13.0.4-4build1) ... 400s Selecting previously unselected package dbconfig-common. 400s Preparing to unpack .../04-dbconfig-common_2.0.24_all.deb ... 400s Unpacking dbconfig-common (2.0.24) ... 400s Selecting previously unselected package mysql-client-core. 400s Preparing to unpack .../05-mysql-client-core_8.4.4-0ubuntu2_amd64.deb ... 400s Unpacking mysql-client-core (8.4.4-0ubuntu2) ... 401s Selecting previously unselected package mysql-client. 401s Preparing to unpack .../06-mysql-client_8.4.4-0ubuntu2_amd64.deb ... 401s Unpacking mysql-client (8.4.4-0ubuntu2) ... 401s Selecting previously unselected package default-mysql-client. 401s Preparing to unpack .../07-default-mysql-client_1.1.1ubuntu1_all.deb ... 401s Unpacking default-mysql-client (1.1.1ubuntu1) ... 401s Selecting previously unselected package dbconfig-mysql. 401s Preparing to unpack .../08-dbconfig-mysql_2.0.24_all.deb ... 401s Unpacking dbconfig-mysql (2.0.24) ... 401s Selecting previously unselected package bacula-director-mysql. 401s Preparing to unpack .../09-bacula-director-mysql_13.0.4-4build1_all.deb ... 401s Unpacking bacula-director-mysql (13.0.4-4build1) ... 401s Selecting previously unselected package postfix. 401s Preparing to unpack .../10-postfix_3.9.1-10ubuntu1_amd64.deb ... 401s Unpacking postfix (3.9.1-10ubuntu1) ... 401s Selecting previously unselected package liblockfile-bin. 401s Preparing to unpack .../11-liblockfile-bin_1.17-2_amd64.deb ... 401s Unpacking liblockfile-bin (1.17-2) ... 401s Selecting previously unselected package liblockfile1:amd64. 401s Preparing to unpack .../12-liblockfile1_1.17-2_amd64.deb ... 401s Unpacking liblockfile1:amd64 (1.17-2) ... 401s Selecting previously unselected package bsd-mailx. 401s Preparing to unpack .../13-bsd-mailx_8.1.2-0.20220412cvs-1build1_amd64.deb ... 401s Unpacking bsd-mailx (8.1.2-0.20220412cvs-1build1) ... 401s Selecting previously unselected package bacula-director. 401s Preparing to unpack .../14-bacula-director_13.0.4-4build1_amd64.deb ... 401s Unpacking bacula-director (13.0.4-4build1) ... 401s Selecting previously unselected package bacula-fd. 401s Preparing to unpack .../15-bacula-fd_13.0.4-4build1_amd64.deb ... 401s Unpacking bacula-fd (13.0.4-4build1) ... 401s Selecting previously unselected package mtx. 401s Preparing to unpack .../16-mtx_1.3.12-18_amd64.deb ... 401s Unpacking mtx (1.3.12-18) ... 401s Selecting previously unselected package bacula-sd. 401s Preparing to unpack .../17-bacula-sd_13.0.4-4build1_amd64.deb ... 401s Unpacking bacula-sd (13.0.4-4build1) ... 401s Selecting previously unselected package libmecab2:amd64. 401s Preparing to unpack .../18-libmecab2_0.996-15.1build2_amd64.deb ... 401s Unpacking libmecab2:amd64 (0.996-15.1build2) ... 401s Selecting previously unselected package libprotobuf-lite32t64:amd64. 401s Preparing to unpack .../19-libprotobuf-lite32t64_3.21.12-10build2_amd64.deb ... 401s Unpacking libprotobuf-lite32t64:amd64 (3.21.12-10build2) ... 401s Selecting previously unselected package mysql-server-core. 401s Preparing to unpack .../20-mysql-server-core_8.4.4-0ubuntu2_amd64.deb ... 401s Unpacking mysql-server-core (8.4.4-0ubuntu2) ... 402s Setting up mysql-common (5.8+1.1.1ubuntu1) ... 402s update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode 402s Selecting previously unselected package mysql-server. 402s (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 ... 81472 files and directories currently installed.) 402s Preparing to unpack .../00-mysql-server_8.4.4-0ubuntu2_amd64.deb ... 402s Unpacking mysql-server (8.4.4-0ubuntu2) ... 402s Selecting previously unselected package bacula-console. 402s Preparing to unpack .../01-bacula-console_13.0.4-4build1_amd64.deb ... 402s Unpacking bacula-console (13.0.4-4build1) ... 402s Selecting previously unselected package bacula-client. 402s Preparing to unpack .../02-bacula-client_13.0.4-4build1_all.deb ... 402s Unpacking bacula-client (13.0.4-4build1) ... 402s Selecting previously unselected package bacula-bscan. 402s Preparing to unpack .../03-bacula-bscan_13.0.4-4build1_amd64.deb ... 402s Unpacking bacula-bscan (13.0.4-4build1) ... 402s Selecting previously unselected package bacula-server. 402s Preparing to unpack .../04-bacula-server_13.0.4-4build1_all.deb ... 402s Unpacking bacula-server (13.0.4-4build1) ... 402s Selecting previously unselected package bacula. 402s Preparing to unpack .../05-bacula_13.0.4-4build1_all.deb ... 402s Unpacking bacula (13.0.4-4build1) ... 402s Selecting previously unselected package libpq5:amd64. 402s Preparing to unpack .../06-libpq5_17.4-1_amd64.deb ... 402s Unpacking libpq5:amd64 (17.4-1) ... 402s Selecting previously unselected package postgresql-client-common. 402s Preparing to unpack .../07-postgresql-client-common_274_all.deb ... 402s Unpacking postgresql-client-common (274) ... 402s Selecting previously unselected package postgresql-client-17. 402s Preparing to unpack .../08-postgresql-client-17_17.4-1_amd64.deb ... 402s Unpacking postgresql-client-17 (17.4-1) ... 402s Selecting previously unselected package postgresql-client. 402s Preparing to unpack .../09-postgresql-client_17+274_all.deb ... 402s Unpacking postgresql-client (17+274) ... 402s Selecting previously unselected package dbconfig-pgsql. 402s Preparing to unpack .../10-dbconfig-pgsql_2.0.24_all.deb ... 402s Unpacking dbconfig-pgsql (2.0.24) ... 402s Selecting previously unselected package default-mysql-server. 402s Preparing to unpack .../11-default-mysql-server_1.1.1ubuntu1_all.deb ... 402s Unpacking default-mysql-server (1.1.1ubuntu1) ... 402s Setting up libprotobuf-lite32t64:amd64 (3.21.12-10build2) ... 402s Setting up postgresql-client-common (274) ... 402s Setting up libmecab2:amd64 (0.996-15.1build2) ... 402s Setting up liblockfile-bin (1.17-2) ... 402s Setting up libpq5:amd64 (17.4-1) ... 402s Setting up mtx (1.3.12-18) ... 402s Setting up dbconfig-common (2.0.24) ... 402s Creating config file /etc/dbconfig-common/config with new version 403s Setting up libmysqlclient24:amd64 (8.4.4-0ubuntu2) ... 403s Setting up bacula-common (13.0.4-4build1) ... 403s Setting up bacula-sd (13.0.4-4build1) ... 403s Creating config file /etc/default/bacula-sd with new version 403s Creating config file /etc/bacula/bacula-sd.conf with new version 404s Created symlink '/etc/systemd/system/multi-user.target.wants/bacula-sd.service' → '/usr/lib/systemd/system/bacula-sd.service'. 404s Setting up mysql-server-core (8.4.4-0ubuntu2) ... 404s Setting up bacula-console (13.0.4-4build1) ... 404s Creating config file /etc/bacula/bconsole.conf with new version 404s Setting up postfix (3.9.1-10ubuntu1) ... 404s Created symlink '/etc/systemd/system/multi-user.target.wants/postfix.service' → '/usr/lib/systemd/system/postfix.service'. 405s info: Selecting UID from range 100 to 999 ... 405s 405s info: Selecting GID from range 100 to 999 ... 405s info: Adding system user `postfix' (UID 109) ... 405s info: Adding new group `postfix' (GID 112) ... 405s info: Adding new user `postfix' (UID 109) with group `postfix' ... 405s info: Not creating home directory `/var/spool/postfix'. 405s info: Selecting GID from range 100 to 999 ... 405s info: Adding group `postdrop' (GID 113) ... 405s Creating /etc/postfix/dynamicmaps.cf 405s setting myhostname: autopkgtest.local 405s setting alias maps 405s setting alias database 405s changing /etc/mailname to autopkgtest.local 405s setting myorigin 405s setting destinations: $myhostname, autopkgtest.local, localhost.local, , localhost 405s setting relayhost: 405s setting mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 405s clearing mailbox_command 405s setting mailbox_size_limit: 0 405s setting recipient_delimiter: + 407s setting inet_interfaces: all 409s setting inet_protocols: all 409s /etc/aliases does not exist, creating it. 409s WARNING: /etc/aliases exists, but does not have a root alias. 409s 409s Postfix (main.cf) is now set up with a default configuration. If you need to 409s make changes, edit /etc/postfix/main.cf (and others) as needed. To view 409s Postfix configuration values, see postconf(1). 409s 409s After modifying main.cf, be sure to run 'systemctl reload postfix'. 409s 411s Setting up mysql-client-core (8.4.4-0ubuntu2) ... 411s Setting up liblockfile1:amd64 (1.17-2) ... 411s Setting up bacula-fd (13.0.4-4build1) ... 411s Creating config file /etc/default/bacula-fd with new version 411s Creating config file /etc/bacula/bacula-fd.conf with new version 412s Created symlink '/etc/systemd/system/multi-user.target.wants/bacula-fd.service' → '/usr/lib/systemd/system/bacula-fd.service'. 412s Setting up mysql-client (8.4.4-0ubuntu2) ... 412s Setting up bacula-client (13.0.4-4build1) ... 412s Setting up bacula-common-mysql (13.0.4-4build1) ... 412s Setting up postgresql-client-17 (17.4-1) ... 413s 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 413s Setting up dbconfig-pgsql (2.0.24) ... 413s Setting up dbconfig-mysql (2.0.24) ... 413s Setting up bsd-mailx (8.1.2-0.20220412cvs-1build1) ... 413s update-alternatives: using /usr/bin/bsd-mailx to provide /usr/bin/mailx (mailx) in auto mode 413s Setting up bacula-director-mysql (13.0.4-4build1) ... 413s dbconfig-common: writing config to /etc/dbconfig-common/bacula-director-mysql.conf 413s Creating config file /etc/dbconfig-common/bacula-director-mysql.conf with new version 413s ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2). 413s unable to connect to mysql server. 413s error encountered creating user: 413s ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) 413s dbconfig-common: bacula-director-mysql configure: noninteractive fail. 413s dbconfig-common: bacula-director-mysql configure: ignoring errors from here forwards 413s populating database via sql... done. 413s dbconfig-common: flushing administrative password 413s Setting up bacula-director (13.0.4-4build1) ... 413s Creating config file /etc/default/bacula-dir with new version 413s Creating config file /etc/bacula/bacula-dir.conf with new version 414s Creating config file /etc/bacula/scripts/delete_catalog_backup with new version 414s Creating config file /etc/bacula/scripts/make_catalog_backup with new version 414s Created symlink '/etc/systemd/system/bacula-dir.service' → '/usr/lib/systemd/system/bacula-director.service'. 414s Created symlink '/etc/systemd/system/multi-user.target.wants/bacula-director.service' → '/usr/lib/systemd/system/bacula-director.service'. 445s Could not execute systemctl: at /usr/bin/deb-systemd-invoke line 148. 445s Setting up bacula-bscan (13.0.4-4build1) ... 445s Setting up bacula-server (13.0.4-4build1) ... 445s Setting up default-mysql-client (1.1.1ubuntu1) ... 445s Setting up mysql-server (8.4.4-0ubuntu2) ... 445s update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode 445s Renaming removed key_buffer and myisam-recover options (if present) 450s Created symlink '/etc/systemd/system/multi-user.target.wants/mysql.service' → '/usr/lib/systemd/system/mysql.service'. 452s Setting up postgresql-client (17+274) ... 452s Setting up bacula (13.0.4-4build1) ... 452s Setting up default-mysql-server (1.1.1ubuntu1) ... 452s Processing triggers for libc-bin (2.41-6ubuntu1) ... 452s Processing triggers for rsyslog (8.2412.0-2ubuntu2) ... 452s Processing triggers for ufw (0.36.2-9) ... 452s Processing triggers for man-db (2.13.0-1) ... 453s Processing triggers for postfix (3.9.1-10ubuntu1) ... 453s Restarting postfix 457s autopkgtest [07:04:45]: test backup-test-mysql: [----------------------- 457s + apt-get -y install debconf-utils 457s Reading package lists... 457s Building dependency tree... 457s Reading state information... 457s Solving dependencies... 457s The following NEW packages will be installed: 457s debconf-utils 458s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 458s Need to get 49.5 kB of archives. 458s After this operation, 99.3 kB of additional disk space will be used. 458s Get:1 http://ftpmaster.internal/ubuntu questing/universe amd64 debconf-utils all 1.5.87ubuntu1 [49.5 kB] 458s Fetched 49.5 kB in 0s (178 kB/s) 458s Selecting previously unselected package debconf-utils. 458s (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 ... 81840 files and directories currently installed.) 458s Preparing to unpack .../debconf-utils_1.5.87ubuntu1_all.deb ... 458s Unpacking debconf-utils (1.5.87ubuntu1) ... 458s Setting up debconf-utils (1.5.87ubuntu1) ... 458s Processing triggers for man-db (2.13.0-1) ... 459s + debconf-get-selections 459s + awk '$3=="password"{print}' 459s + debconf-set-selections 459s + for pkg in bacula-director-mysql bacula-director-pgsql 459s ++ dpkg-query --showformat '${db:Status-Status}' -W bacula-director-mysql 459s + pkg_status=installed 459s + '[' installed = installed ']' 459s + echo 'bacula-director-mysql bacula-director-mysql/dbconfig-reinstall boolean true' 459s + debconf-set-selections 459s + DEBIAN_FRONTEND=noninteractive 459s + dpkg-reconfigure bacula-director-mysql 459s Determining localhost credentials from /etc/mysql/debian.cnf: succeeded. 459s Determining localhost credentials from /etc/mysql/debian.cnf: succeeded. 459s dbconfig-common: writing config to /etc/dbconfig-common/bacula-director-mysql.conf 460s Replacing config file /etc/dbconfig-common/bacula-director-mysql.conf with new version 460s checking privileges on database bacula for bacula@localhost: user creation needed. 460s granting access to database bacula for bacula@localhost: success. 460s verifying access for bacula@localhost: success. 460s dbconfig-common: dumping mysql database bacula to /var/tmp/bacula-director-mysql.bacula.2025-05-03-07.04.mysql.v9Xe9L. 460s database does not exist. 460s dbconfig-common: dropping old mysql database bacula. 460s dropping database bacula: database does not exist. 460s creating database bacula: success. 460s verifying database bacula exists: success. 461s populating database via sql... done. 461s dbconfig-common: flushing administrative password 461s + for pkg in bacula-director-mysql bacula-director-pgsql 461s ++ dpkg-query --showformat '${db:Status-Status}' -W bacula-director-pgsql 461s + pkg_status=not-installed 461s + '[' not-installed = installed ']' 461s + echo 'start testing ... ' 461s start testing ... 461s + echo 'USER: root' 461s USER: root 461s + DBTYPE=mysql 461s + echo 'DBTYPE: mysql' 461s DBTYPE: mysql 461s + echo '--------- configuring Bacula daemons -----------' 461s --------- configuring Bacula daemons ----------- 461s + FILECHGRDIR=/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr 461s + RESTOREDIR=/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-restores 461s + mkdir -p /tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr 461s + chown -R bacula:tape /tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr 461s + sed -i s%/nonexistent/path/to/file/archive/dir%/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr% /etc/bacula/bacula-sd.conf 461s + sed -i 's%Where = /nonexistent/path/to/file/archive/dir/bacula-restores%Where = /tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-restores%' /etc/bacula/bacula-dir.conf 461s + sed -i 's/signature = MD5/signature = SHA1/' /etc/bacula/bacula-dir.conf 461s + sed -i 's/signature = MD5/signature = SHA1\naclsupport = yes/' /etc/bacula/bacula-dir.conf 461s + echo '--------- restarting services ----------- ' 461s --------- restarting services ----------- 461s + service bacula-director restart 461s + service bacula-sd restart 461s + service bacula-fd restart 461s + sleep 10 471s + echo '--------- checking services ----------- ' 471s --------- checking services ----------- 471s + service bacula-director status 471s ● bacula-director.service - Bacula Director Daemon service 471s Loaded: loaded (/usr/lib/systemd/system/bacula-director.service; enabled; preset: enabled) 471s Active: active (running) since Sat 2025-05-03 07:04:49 UTC; 10s ago 471s Invocation: 465179c320794cd580e9ef183a6996ec 471s Docs: man:bacula-dir(8) 471s Process: 5563 ExecStartPre=/usr/sbin/bacula-dir -t -c $CONFIG (code=exited, status=0/SUCCESS) 471s Main PID: 5566 (bacula-dir) 471s Tasks: 5 (limit: 4609) 471s Memory: 2.5M (peak: 2.7M) 471s CPU: 36ms 471s CGroup: /system.slice/bacula-director.service 471s └─5566 /usr/sbin/bacula-dir -fP -c /etc/bacula/bacula-dir.conf 471s 471s May 03 07:04:49 autopkgtest systemd[1]: Starting bacula-director.service - Bacula Director Daemon service... 471s May 03 07:04:49 autopkgtest bacula-dir[5563]: WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. 471s May 03 07:04:49 autopkgtest systemd[1]: Started bacula-director.service - Bacula Director Daemon service. 471s May 03 07:04:49 autopkgtest bacula-dir[5566]: WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. 471s May 03 07:04:49 autopkgtest bacula-dir[5566]: WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. 471s + service bacula-sd status 471s ● bacula-sd.service - Bacula Storage Daemon service 471s Loaded: loaded (/usr/lib/systemd/system/bacula-sd.service; enabled; preset: enabled) 471s Active: active (running) since Sat 2025-05-03 07:04:49 UTC; 10s ago 471s Invocation: ac93f365340e4f11bf7f4f5893d9d315 471s Docs: man:bacula-sd(8) 471s Process: 5576 ExecStartPre=/usr/sbin/bacula-sd -t -c $CONFIG (code=exited, status=0/SUCCESS) 471s Main PID: 5578 (bacula-sd) 471s Tasks: 3 (limit: 4609) 471s Memory: 2M (peak: 2.1M) 471s CPU: 31ms 471s CGroup: /system.slice/bacula-sd.service 471s └─5578 /usr/sbin/bacula-sd -fP -c /etc/bacula/bacula-sd.conf 471s 471s May 03 07:04:49 autopkgtest systemd[1]: Starting bacula-sd.service - Bacula Storage Daemon service... 471s May 03 07:04:49 autopkgtest systemd[1]: Started bacula-sd.service - Bacula Storage Daemon service. 471s + service bacula-fd status 471s ● bacula-fd.service - Bacula File Daemon service 471s Loaded: loaded (/usr/lib/systemd/system/bacula-fd.service; enabled; preset: enabled) 471s Active: active (running) since Sat 2025-05-03 07:04:49 UTC; 10s ago 471s Invocation: bd9c407ff47c4383b12a6a1feec846c8 471s Docs: man:bacula-fd(8) 471s Process: 5586 ExecStartPre=/usr/sbin/bacula-fd -t -c $CONFIG (code=exited, status=0/SUCCESS) 471s Main PID: 5588 (bacula-fd) 471s Tasks: 3 (limit: 4609) 471s Memory: 1.8M (peak: 2.1M) 471s CPU: 28ms 471s CGroup: /system.slice/bacula-fd.service 471s └─5588 /usr/sbin/bacula-fd -fP -c /etc/bacula/bacula-fd.conf 471s 471s May 03 07:04:49 autopkgtest systemd[1]: Starting bacula-fd.service - Bacula File Daemon service... 471s May 03 07:04:49 autopkgtest systemd[1]: Started bacula-fd.service - Bacula File Daemon service. 471s + ps auwwwx 471s + grep '[b]acula' 471s bacula 5566 0.0 0.3 322924 13628 ? Ssl 07:04 0:00 /usr/sbin/bacula-dir -fP -c /etc/bacula/bacula-dir.conf 471s bacula 5578 0.0 0.2 241624 11188 ? Ssl 07:04 0:00 /usr/sbin/bacula-sd -fP -c /etc/bacula/bacula-sd.conf 471s root 5588 0.0 0.2 167820 10732 ? Ssl 07:04 0:00 /usr/sbin/bacula-fd -fP -c /etc/bacula/bacula-fd.conf 471s + echo '----- create some file to test backup / restore ----' 471s ----- create some file to test backup / restore ---- 471s + BACKUP_TEST_FILE=/usr/sbin/bacula-backup.test 471s + echo 'bacula restore test' 471s + chown nobody:shadow /usr/sbin/bacula-backup.test 471s + chmod 2755 /usr/sbin/bacula-backup.test 471s + echo '---- status of all daemons ----' 471s ---- status of all daemons ---- 471s + echo -e 'status all' 471s + bconsole 471s Connecting to Director localhost:9101 471s 1000 OK: 10002 autopkgtest-dir Version: 13.0.4 (12 February 2024) 471s Enter a period to cancel a command. 471s status all 471s autopkgtest-dir Version: 13.0.4 (12 February 2024) x86_64-pc-linux-gnu ubuntu 25.04 471s Daemon started 03-May-25 07:04, conf reloaded 03-May-2025 07:04:49 471s Jobs: run=0, running=0 mode=0,0 471s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 471s Heap: heap=929,792 smbytes=335,465 max_bytes=335,465 bufs=395 max_bufs=395 471s Res: njobs=3 nclients=1 nstores=2 npools=3 ncats=1 nfsets=2 nscheds=2 471s 471s Scheduled Jobs: 471s Level Type Pri Scheduled Job Name Volume 471s =================================================================================== 471s Incremental Backup 10 03-May-25 23:05 BackupClient1 *unknown* 471s Full Backup 11 03-May-25 23:10 BackupCatalog *unknown* 471s ==== 471s 471s Running Jobs: 471s Console connected using TLS at 03-May-25 07:04 471s No Jobs running. 471s ==== 471s No Terminated Jobs. 471s ==== 471s Connecting to Storage daemon File1 at localhost:9103 471s 471s autopkgtest-sd Version: 13.0.4 (12 February 2024) x86_64-pc-linux-gnu ubuntu 25.04 471s Daemon started 03-May-25 07:04. Jobs: run=0, running=0. 471s Ulimits: nofile=1024 memlock=unlimited status=nofile 471s Heap: heap=651,264 smbytes=228,774 max_bytes=350,074 bufs=267 max_bufs=268 471s Sizes: boffset_t=8 size_t=8 int32_t=4 int64_t=8 mode=0,0 newbsr=0 471s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 471s Res: ndevices=4 nautochgr=2 471s 471s Running Jobs: 471s Director connected using TLS at: 03-May-25 07:04 471s No Jobs running. 471s ==== 471s 471s Jobs waiting to reserve a drive: 471s ==== 471s 471s Terminated Jobs: 471s ==== 471s 471s Device status: 471s Autochanger "FileChgr1" with devices: 471s "FileChgr1-Dev1" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) 471s "FileChgr1-Dev2" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) 471s Autochanger "FileChgr2" with devices: 471s "FileChgr2-Dev1" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) 471s "FileChgr2-Dev2" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) 471s 471s Device File: "FileChgr1-Dev1" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) is not open. 471s Drive 0 is not loaded. 471s Available Space=16.40 GB 471s == 471s 471s Device File: "FileChgr1-Dev2" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) is not open. 471s Drive 0 is not loaded. 471s Available Space=16.40 GB 471s == 471s 471s Device File: "FileChgr2-Dev1" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) is not open. 471s Drive 0 is not loaded. 471s Available Space=16.40 GB 471s == 471s 471s Device File: "FileChgr2-Dev2" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) is not open. 471s Drive 0 is not loaded. 471s Available Space=16.40 GB 471s == 471s ==== 471s 471s Used Volume status: 471s ==== 471s 471s ==== 471s 471s Connecting to Client autopkgtest-fd at localhost:9102 472s 472s autopkgtest-fd Version: 13.0.4 (12 February 2024) x86_64-pc-linux-gnu ubuntu 25.04 472s Daemon started 03-May-25 07:04. Jobs: run=0 running=0. 472s Heap: heap=643,072 smbytes=197,902 max_bytes=197,919 bufs=101 max_bufs=101 472s Sizes: boffset_t=8 size_t=8 debug=0 trace=0 mode=0,0 bwlimit=0kB/s 472s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 472s Plugin: bpipe-fd.so(2) 472s 472s Running Jobs: 472s Director connected using TLS at: 03-May-25 07:04 472s No Jobs running. 472s ==== 472s 472s Terminated Jobs: 472s ==== 472s + echo 472s 472s + echo '---- label a volume ----' 472s ---- label a volume ---- 472s + echo -e 'label volume=testvol pool=File storage=File1 drive=0 slot=0' 472s + bconsole 472s Connecting to Director localhost:9101 472s 1000 OK: 10002 autopkgtest-dir Version: 13.0.4 (12 February 2024) 472s Enter a period to cancel a command. 472s label volume=testvol pool=File storage=File1 drive=0 slot=0 472s Automatically selected Catalog: MyCatalog 472s Using Catalog "MyCatalog" 472s Connecting to Storage daemon File1 at localhost:9103 ... 472s Sending label command for Volume "testvol" Slot 0 ... 472s 3000 OK label. VolBytes=226 VolABytes=0 VolType=1 Volume="testvol" Device="FileChgr1-Dev1" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) 472s Catalog record for Volume "testvol", Slot 0 successfully created. 472s Requesting to mount FileChgr1 ... 472s 3906 File device ""FileChgr1-Dev1" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr)" is always mounted. 472s + echo 472s 472s + echo '----- create some file to test backup / restore ----' 472s ----- create some file to test backup / restore ---- 472s + echo 'bacula restore test' 472s + echo 472s 472s + echo '------ trigger backup job -----' 472s ------ trigger backup job ----- 472s + echo -e 'run job=BackupClient1 yes\rwait' 472s + bconsole 472s + grep 'Job queued. JobId=' 476s Job queued. JobId=1 476s + echo 'status all' 476s + bconsole 476s Connecting to Director localhost:9101 476s 1000 OK: 10002 autopkgtest-dir Version: 13.0.4 (12 February 2024) 476s Enter a period to cancel a command. 476s status all 476s autopkgtest-dir Version: 13.0.4 (12 February 2024) x86_64-pc-linux-gnu ubuntu 25.04 476s Daemon started 03-May-25 07:04, conf reloaded 03-May-2025 07:04:49 476s Jobs: run=1, running=0 mode=0,0 476s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 476s Heap: heap=929,792 smbytes=468,208 max_bytes=492,511 bufs=457 max_bufs=506 476s Res: njobs=3 nclients=1 nstores=2 npools=3 ncats=1 nfsets=2 nscheds=2 476s 476s Scheduled Jobs: 476s Level Type Pri Scheduled Job Name Volume 476s =================================================================================== 476s Incremental Backup 10 03-May-25 23:05 BackupClient1 testvol 476s Full Backup 11 03-May-25 23:10 BackupCatalog testvol 476s ==== 476s 476s Running Jobs: 476s Console connected using TLS at 03-May-25 07:05 476s No Jobs running. 476s ==== 476s 476s Terminated Jobs: 476s JobId Level Files Bytes Status Finished Name 476s ==================================================================== 476s 1 Full 537 91.73 M OK 03-May-25 07:05 BackupClient1 476s 476s ==== 476s Connecting to Storage daemon File1 at localhost:9103 476s 476s autopkgtest-sd Version: 13.0.4 (12 February 2024) x86_64-pc-linux-gnu ubuntu 25.04 476s Daemon started 03-May-25 07:04. Jobs: run=1, running=0. 476s Ulimits: nofile=1024 memlock=unlimited status=nofile 476s Heap: heap=651,264 smbytes=670,172 max_bytes=1,060,965 bufs=283 max_bufs=305 476s Sizes: boffset_t=8 size_t=8 int32_t=4 int64_t=8 mode=0,0 newbsr=0 476s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 476s Res: ndevices=4 nautochgr=2 476s 476s Running Jobs: 476s Director connected using TLS at: 03-May-25 07:05 476s No Jobs running. 476s ==== 476s 476s Jobs waiting to reserve a drive: 476s ==== 476s 476s Terminated Jobs: 476s JobId Level Files Bytes Status Finished Name 476s =================================================================== 476s 1 Full 537 91.79 M OK 03-May-25 07:05 BackupClient1 476s ==== 476s 476s Device status: 476s Autochanger "FileChgr1" with devices: 476s "FileChgr1-Dev1" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) 476s "FileChgr1-Dev2" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) 476s Autochanger "FileChgr2" with devices: 476s "FileChgr2-Dev1" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) 476s "FileChgr2-Dev2" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) 476s 476s Device File: "FileChgr1-Dev1" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) is not open. 476s Drive 0 is not loaded. 476s Available Space=16.31 GB 476s == 476s 476s Device File: "FileChgr1-Dev2" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) is not open. 476s Drive 0 is not loaded. 476s Available Space=16.31 GB 476s == 476s 476s Device File: "FileChgr2-Dev1" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) is not open. 476s Drive 0 is not loaded. 476s Available Space=16.31 GB 476s == 476s 476s Device File: "FileChgr2-Dev2" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) is not open. 476s Drive 0 is not loaded. 476s Available Space=16.31 GB 476s == 476s ==== 476s 476s Used Volume status: 476s ==== 476s 476s Attr spooling: 0 active jobs, 111,429 bytes; 1 total jobs, 111,429 max bytes. 476s ==== 476s 476s Connecting to Client autopkgtest-fd at localhost:9102 476s 476s autopkgtest-fd Version: 13.0.4 (12 February 2024) x86_64-pc-linux-gnu ubuntu 25.04 476s Daemon started 03-May-25 07:04. Jobs: run=1 running=0. 476s Heap: heap=643,072 smbytes=400,466 max_bytes=629,051 bufs=116 max_bufs=150 476s Sizes: boffset_t=8 size_t=8 debug=0 trace=0 mode=0,0 bwlimit=0kB/s 476s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 476s Plugin: bpipe-fd.so(2) 476s 476s Running Jobs: 476s Director connected using TLS at: 03-May-25 07:05 476s No Jobs running. 476s ==== 476s 476s Terminated Jobs: 476s JobId Level Files Bytes Status Finished Name 476s =================================================================== 476s 1 Full 537 91.73 M OK 03-May-25 07:05 BackupClient1 476s ==== 476s You have messages. 476s + echo 476s 476s + echo '------ trigger restore job -----' 476s ------ trigger restore job ----- 476s + echo -e 'restore select current\rls\rmark usr\rdone\ryes\rwait' 476s + bconsole 476s Connecting to Director localhost:9101 476s 1000 OK: 10002 autopkgtest-dir Version: 13.0.4 (12 February 2024) 476s Enter a period to cancel a command. 476s restore select current 476s Automatically selected Catalog: MyCatalog 476s Using Catalog "MyCatalog" 476s Automatically selected Client: autopkgtest-fd 476s Automatically selected FileSet: Full Set 476s +-------+-------+----------+------------+---------------------+------------+ 476s | JobId | Level | JobFiles | JobBytes | StartTime | VolumeName | 476s +-------+-------+----------+------------+---------------------+------------+ 476s | 1 | F | 537 | 91,736,159 | 2025-05-03 07:05:02 | testvol | 476s +-------+-------+----------+------------+---------------------+------------+ 476s You have selected the following JobId: 1 476s 476s Building directory tree for JobId(s) 1 ... ++++++++++++++++++++++++++++++++++++++++++++++++ 476s 536 files inserted into the tree. 476s 476s You are now entering file selection mode where you add (mark) and 476s remove (unmark) files to be restored. No files are initially added, unless 476s you used the "all" keyword on the command line. 476s Enter "done" to leave this mode. 476s 476s cwd is: / 476s $ ls 476s usr/ 476s $ mark usr 476s 537 files marked. 476s $ done 476s Bootstrap records written to /var/lib/bacula/autopkgtest-dir.restore.1.bsr 477s 477s The Job will require the following (*=>InChanger): 477s Volume(s) Storage(s) SD Device(s) 477s =========================================================================== 477s 477s testvol File1 FileChgr1 477s 477s Volumes marked with "*" are in the Autochanger. 477s 477s 477s 537 files selected to be restored. 477s 477s Using Catalog "MyCatalog" 477s Run Restore job 477s JobName: RestoreFiles 477s Bootstrap: /var/lib/bacula/autopkgtest-dir.restore.1.bsr 477s Where: /tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-restores 477s Replace: Always 477s FileSet: Full Set 477s Backup Client: autopkgtest-fd 477s Restore Client: autopkgtest-fd 477s Storage: File1 477s When: 2025-05-03 07:05:04 477s Catalog: MyCatalog 477s Priority: 10 477s Plugin Options: *None* 477s OK to run? (yes/mod/no): yes 477s Job queued. JobId=2 477s You have messages. 477s wait 480s + echo 'status all' 480s + bconsole 480s Connecting to Director localhost:9101 480s 1000 OK: 10002 autopkgtest-dir Version: 13.0.4 (12 February 2024) 480s Enter a period to cancel a command. 480s status all 480s autopkgtest-dir Version: 13.0.4 (12 February 2024) x86_64-pc-linux-gnu ubuntu 25.04 480s Daemon started 03-May-25 07:04, conf reloaded 03-May-2025 07:04:49 480s Jobs: run=2, running=0 mode=0,0 480s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 480s Heap: heap=843,776 smbytes=464,536 max_bytes=1,676,761 bufs=459 max_bufs=521 480s Res: njobs=3 nclients=1 nstores=2 npools=3 ncats=1 nfsets=2 nscheds=2 480s 480s Scheduled Jobs: 480s Level Type Pri Scheduled Job Name Volume 480s =================================================================================== 480s Incremental Backup 10 03-May-25 23:05 BackupClient1 testvol 480s Full Backup 11 03-May-25 23:10 BackupCatalog testvol 480s ==== 480s 480s Running Jobs: 480s Console connected using TLS at 03-May-25 07:05 480s No Jobs running. 480s ==== 480s 480s Terminated Jobs: 480s JobId Level Files Bytes Status Finished Name 480s ==================================================================== 480s 1 Full 537 91.73 M OK 03-May-25 07:05 BackupClient1 480s 2 Restore 537 91.73 M OK 03-May-25 07:05 RestoreFiles 480s 480s ==== 480s Connecting to Storage daemon File1 at localhost:9103 480s 480s autopkgtest-sd Version: 13.0.4 (12 February 2024) x86_64-pc-linux-gnu ubuntu 25.04 480s Daemon started 03-May-25 07:04. Jobs: run=2, running=0. 480s Ulimits: nofile=1024 memlock=unlimited status=nofile 480s Heap: heap=544,768 smbytes=643,230 max_bytes=1,060,965 bufs=277 max_bufs=315 480s Sizes: boffset_t=8 size_t=8 int32_t=4 int64_t=8 mode=0,0 newbsr=0 480s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 480s Res: ndevices=4 nautochgr=2 480s 480s Running Jobs: 480s Director connected using TLS at: 03-May-25 07:05 480s No Jobs running. 480s ==== 480s 480s Jobs waiting to reserve a drive: 480s ==== 480s 480s Terminated Jobs: 480s JobId Level Files Bytes Status Finished Name 480s =================================================================== 480s 1 Full 537 91.79 M OK 03-May-25 07:05 BackupClient1 480s 2 Rest 537 91.79 M OK 03-May-25 07:05 RestoreFiles 480s ==== 480s 480s Device status: 480s Autochanger "FileChgr1" with devices: 480s "FileChgr1-Dev1" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) 480s "FileChgr1-Dev2" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) 480s Autochanger "FileChgr2" with devices: 480s "FileChgr2-Dev1" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) 480s "FileChgr2-Dev2" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) 480s 480s Device File: "FileChgr1-Dev1" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) is not open. 480s Drive 0 is not loaded. 480s Available Space=16.21 GB 480s == 480s 480s Device File: "FileChgr1-Dev2" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) is not open. 480s Drive 0 is not loaded. 480s Available Space=16.21 GB 480s == 480s 480s Device File: "FileChgr2-Dev1" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) is not open. 480s Drive 0 is not loaded. 480s Available Space=16.21 GB 480s == 480s 480s Device File: "FileChgr2-Dev2" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) is not open. 480s Drive 0 is not loaded. 480s Available Space=16.21 GB 480s == 480s ==== 480s 480s Used Volume status: 480s ==== 480s 480s Attr spooling: 0 active jobs, 111,429 bytes; 1 total jobs, 111,429 max bytes. 480s ==== 480s 480s Connecting to Client autopkgtest-fd at localhost:9102 480s 480s autopkgtest-fd Version: 13.0.4 (12 February 2024) x86_64-pc-linux-gnu ubuntu 25.04 480s Daemon started 03-May-25 07:04. Jobs: run=2 running=0. 480s Heap: heap=536,576 smbytes=239,997 max_bytes=1,173,096 bufs=102 max_bufs=150 480s Sizes: boffset_t=8 size_t=8 debug=0 trace=0 mode=0,0 bwlimit=0kB/s 480s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 480s Plugin: bpipe-fd.so(2) 480s 480s Running Jobs: 480s Director connected using TLS at: 03-May-25 07:05 480s No Jobs running. 480s ==== 480s 480s Terminated Jobs: 480s JobId Level Files Bytes Status Finished Name 480s =================================================================== 480s 1 Full 537 91.73 M OK 03-May-25 07:05 BackupClient1 480s 2 Rest 537 91.73 M OK 03-May-25 07:05 RestoreFiles 480s ==== 480s You have messages. 480s + grep 'bacula restore test' /tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-restores//usr/sbin/bacula-backup.test 480s bacula restore test 480s + echo 480s 480s + echo '------ compare original and restore ------' 480s ------ compare original and restore ------ 480s + debian/tests/scripts/diff.pl -s /usr/sbin -d /tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-restores/usr/sbin --acl --attr 484s + echo 484s 484s + echo '------ backup-test end ------' 484s ------ backup-test end ------ 484s autopkgtest [07:05:12]: test backup-test-mysql: -----------------------] 485s autopkgtest [07:05:13]: test backup-test-mysql: - - - - - - - - - - results - - - - - - - - - - 485s backup-test-mysql PASS 486s autopkgtest [07:05:14]: test program-test-mysql: preparing testbed 551s autopkgtest [07:06:19]: testbed dpkg architecture: amd64 551s autopkgtest [07:06:19]: testbed apt version: 3.0.0 551s autopkgtest [07:06:19]: @@@@@@@@@@@@@@@@@@@@ test bed setup 551s autopkgtest [07:06:19]: testbed release detected to be: questing 552s autopkgtest [07:06:20]: updating testbed package index (apt update) 553s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB] 553s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 553s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 553s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 553s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [43.3 kB] 553s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [1722 kB] 553s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [156 kB] 553s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 Packages [200 kB] 553s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/main i386 Packages [149 kB] 553s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/universe amd64 Packages [1408 kB] 553s Get:11 http://ftpmaster.internal/ubuntu questing-proposed/universe i386 Packages [587 kB] 553s Get:12 http://ftpmaster.internal/ubuntu questing-proposed/multiverse amd64 Packages [14.5 kB] 553s Get:13 http://ftpmaster.internal/ubuntu questing-proposed/multiverse i386 Packages [13.2 kB] 554s Fetched 4405 kB in 1s (3563 kB/s) 555s Reading package lists... 556s autopkgtest [07:06:24]: upgrading testbed (apt dist-upgrade and autopurge) 556s Reading package lists... 556s Building dependency tree... 556s Reading state information... 557s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 557s Starting 2 pkgProblemResolver with broken count: 0 557s Done 557s Entering ResolveByKeep 558s 558s Calculating upgrade... 558s The following packages will be upgraded: 558s debianutils file libmagic-mgc libmagic1t64 libnftnl11 558s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 558s Need to get 611 kB of archives. 558s After this operation, 1851 kB of additional disk space will be used. 558s Get:1 http://ftpmaster.internal/ubuntu questing/main amd64 debianutils amd64 5.22 [93.0 kB] 558s Get:2 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 file amd64 1:5.46-5 [22.1 kB] 558s Get:3 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 libmagic1t64 amd64 1:5.46-5 [90.8 kB] 558s Get:4 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 libmagic-mgc amd64 1:5.46-5 [336 kB] 559s Get:5 http://ftpmaster.internal/ubuntu questing/main amd64 libnftnl11 amd64 1.2.9-1 [69.1 kB] 559s Fetched 611 kB in 1s (1142 kB/s) 559s (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 ... 80514 files and directories currently installed.) 559s Preparing to unpack .../debianutils_5.22_amd64.deb ... 559s Unpacking debianutils (5.22) over (5.21) ... 559s Setting up debianutils (5.22) ... 560s (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 ... 80514 files and directories currently installed.) 560s Preparing to unpack .../file_1%3a5.46-5_amd64.deb ... 560s Unpacking file (1:5.46-5) over (1:5.45-3build1) ... 560s Preparing to unpack .../libmagic1t64_1%3a5.46-5_amd64.deb ... 560s Unpacking libmagic1t64:amd64 (1:5.46-5) over (1:5.45-3build1) ... 560s Preparing to unpack .../libmagic-mgc_1%3a5.46-5_amd64.deb ... 560s Unpacking libmagic-mgc (1:5.46-5) over (1:5.45-3build1) ... 560s Preparing to unpack .../libnftnl11_1.2.9-1_amd64.deb ... 560s Unpacking libnftnl11:amd64 (1.2.9-1) over (1.2.8-1) ... 560s Setting up libmagic-mgc (1:5.46-5) ... 560s Setting up libmagic1t64:amd64 (1:5.46-5) ... 560s Setting up libnftnl11:amd64 (1.2.9-1) ... 560s Setting up file (1:5.46-5) ... 560s Processing triggers for libc-bin (2.41-6ubuntu1) ... 560s Processing triggers for man-db (2.13.0-1) ... 562s Reading package lists... 563s Building dependency tree... 563s Reading state information... 563s Starting pkgProblemResolver with broken count: 0 563s Starting 2 pkgProblemResolver with broken count: 0 563s Done 564s Solving dependencies... 564s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 567s Reading package lists... 567s Building dependency tree... 567s Reading state information... 568s Starting pkgProblemResolver with broken count: 0 568s Starting 2 pkgProblemResolver with broken count: 0 568s Done 568s The following NEW packages will be installed: 568s bacula bacula-bscan bacula-client bacula-common bacula-common-mysql 568s bacula-console bacula-director bacula-director-mysql bacula-fd bacula-sd 568s bacula-server bsd-mailx dbconfig-common dbconfig-mysql dbconfig-pgsql 568s default-mysql-client default-mysql-server liblockfile-bin liblockfile1 568s libmecab2 libmysqlclient24 libpq5 libprotobuf-lite32t64 mtx mysql-client 568s mysql-client-core mysql-common mysql-server mysql-server-core postfix 568s postgresql-client postgresql-client-17 postgresql-client-common 569s 0 upgraded, 33 newly installed, 0 to remove and 0 not upgraded. 569s Need to get 30.5 MB of archives. 569s After this operation, 204 MB of additional disk space will be used. 569s Get:1 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-common amd64 13.0.4-4build1 [867 kB] 569s Get:2 http://ftpmaster.internal/ubuntu questing/main amd64 mysql-common all 5.8+1.1.1ubuntu1 [6922 B] 569s Get:3 http://ftpmaster.internal/ubuntu questing/main amd64 libmysqlclient24 amd64 8.4.4-0ubuntu2 [1257 kB] 569s Get:4 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-common-mysql amd64 13.0.4-4build1 [11.7 kB] 569s Get:5 http://ftpmaster.internal/ubuntu questing/universe amd64 dbconfig-common all 2.0.24 [596 kB] 569s Get:6 http://ftpmaster.internal/ubuntu questing/main amd64 mysql-client-core amd64 8.4.4-0ubuntu2 [2145 kB] 569s Get:7 http://ftpmaster.internal/ubuntu questing/main amd64 mysql-client amd64 8.4.4-0ubuntu2 [9122 B] 569s Get:8 http://ftpmaster.internal/ubuntu questing/universe amd64 default-mysql-client all 1.1.1ubuntu1 [3072 B] 569s Get:9 http://ftpmaster.internal/ubuntu questing/universe amd64 dbconfig-mysql all 2.0.24 [938 B] 569s Get:10 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-director-mysql all 13.0.4-4build1 [32.3 kB] 569s Get:11 http://ftpmaster.internal/ubuntu questing/main amd64 postfix amd64 3.9.1-10ubuntu1 [1317 kB] 569s Get:12 http://ftpmaster.internal/ubuntu questing/main amd64 liblockfile-bin amd64 1.17-2 [11.2 kB] 569s Get:13 http://ftpmaster.internal/ubuntu questing/main amd64 liblockfile1 amd64 1.17-2 [6922 B] 569s Get:14 http://ftpmaster.internal/ubuntu questing/main amd64 bsd-mailx amd64 8.1.2-0.20220412cvs-1build1 [67.2 kB] 569s Get:15 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-director amd64 13.0.4-4build1 [387 kB] 569s Get:16 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-fd amd64 13.0.4-4build1 [147 kB] 569s Get:17 http://ftpmaster.internal/ubuntu questing/main amd64 mtx amd64 1.3.12-18 [45.0 kB] 569s Get:18 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-sd amd64 13.0.4-4build1 [153 kB] 569s Get:19 http://ftpmaster.internal/ubuntu questing/main amd64 libmecab2 amd64 0.996-15.1build2 [217 kB] 569s Get:20 http://ftpmaster.internal/ubuntu questing/main amd64 libprotobuf-lite32t64 amd64 3.21.12-10build2 [247 kB] 569s Get:21 http://ftpmaster.internal/ubuntu questing/main amd64 mysql-server-core amd64 8.4.4-0ubuntu2 [19.6 MB] 570s Get:22 http://ftpmaster.internal/ubuntu questing/main amd64 mysql-server amd64 8.4.4-0ubuntu2 [1609 kB] 570s Get:23 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-console amd64 13.0.4-4build1 [28.6 kB] 570s Get:24 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-client all 13.0.4-4build1 [23.5 kB] 570s Get:25 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-bscan amd64 13.0.4-4build1 [25.5 kB] 570s Get:26 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-server all 13.0.4-4build1 [23.4 kB] 570s Get:27 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula all 13.0.4-4build1 [1036 B] 570s Get:28 http://ftpmaster.internal/ubuntu questing/main amd64 libpq5 amd64 17.4-1 [155 kB] 570s Get:29 http://ftpmaster.internal/ubuntu questing/main amd64 postgresql-client-common all 274 [47.6 kB] 570s Get:30 http://ftpmaster.internal/ubuntu questing/main amd64 postgresql-client-17 amd64 17.4-1 [1425 kB] 570s Get:31 http://ftpmaster.internal/ubuntu questing/main amd64 postgresql-client all 17+274 [13.3 kB] 570s Get:32 http://ftpmaster.internal/ubuntu questing/universe amd64 dbconfig-pgsql all 2.0.24 [914 B] 570s Get:33 http://ftpmaster.internal/ubuntu questing/universe amd64 default-mysql-server all 1.1.1ubuntu1 [3088 B] 570s Preconfiguring packages ... 571s Fetched 30.5 MB in 2s (19.7 MB/s) 571s Selecting previously unselected package bacula-common. 571s (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 ... 80514 files and directories currently installed.) 571s Preparing to unpack .../00-bacula-common_13.0.4-4build1_amd64.deb ... 571s Adding user 'bacula'... Ok. 571s Unpacking bacula-common (13.0.4-4build1) ... 571s Selecting previously unselected package mysql-common. 571s Preparing to unpack .../01-mysql-common_5.8+1.1.1ubuntu1_all.deb ... 571s Unpacking mysql-common (5.8+1.1.1ubuntu1) ... 571s Selecting previously unselected package libmysqlclient24:amd64. 571s Preparing to unpack .../02-libmysqlclient24_8.4.4-0ubuntu2_amd64.deb ... 571s Unpacking libmysqlclient24:amd64 (8.4.4-0ubuntu2) ... 571s Selecting previously unselected package bacula-common-mysql. 571s Preparing to unpack .../03-bacula-common-mysql_13.0.4-4build1_amd64.deb ... 571s Unpacking bacula-common-mysql (13.0.4-4build1) ... 571s Selecting previously unselected package dbconfig-common. 571s Preparing to unpack .../04-dbconfig-common_2.0.24_all.deb ... 571s Unpacking dbconfig-common (2.0.24) ... 571s Selecting previously unselected package mysql-client-core. 571s Preparing to unpack .../05-mysql-client-core_8.4.4-0ubuntu2_amd64.deb ... 571s Unpacking mysql-client-core (8.4.4-0ubuntu2) ... 571s Selecting previously unselected package mysql-client. 572s Preparing to unpack .../06-mysql-client_8.4.4-0ubuntu2_amd64.deb ... 572s Unpacking mysql-client (8.4.4-0ubuntu2) ... 572s Selecting previously unselected package default-mysql-client. 572s Preparing to unpack .../07-default-mysql-client_1.1.1ubuntu1_all.deb ... 572s Unpacking default-mysql-client (1.1.1ubuntu1) ... 572s Selecting previously unselected package dbconfig-mysql. 572s Preparing to unpack .../08-dbconfig-mysql_2.0.24_all.deb ... 572s Unpacking dbconfig-mysql (2.0.24) ... 572s Selecting previously unselected package bacula-director-mysql. 572s Preparing to unpack .../09-bacula-director-mysql_13.0.4-4build1_all.deb ... 572s Unpacking bacula-director-mysql (13.0.4-4build1) ... 572s Selecting previously unselected package postfix. 572s Preparing to unpack .../10-postfix_3.9.1-10ubuntu1_amd64.deb ... 572s Unpacking postfix (3.9.1-10ubuntu1) ... 572s Selecting previously unselected package liblockfile-bin. 572s Preparing to unpack .../11-liblockfile-bin_1.17-2_amd64.deb ... 572s Unpacking liblockfile-bin (1.17-2) ... 572s Selecting previously unselected package liblockfile1:amd64. 572s Preparing to unpack .../12-liblockfile1_1.17-2_amd64.deb ... 572s Unpacking liblockfile1:amd64 (1.17-2) ... 572s Selecting previously unselected package bsd-mailx. 572s Preparing to unpack .../13-bsd-mailx_8.1.2-0.20220412cvs-1build1_amd64.deb ... 572s Unpacking bsd-mailx (8.1.2-0.20220412cvs-1build1) ... 572s Selecting previously unselected package bacula-director. 572s Preparing to unpack .../14-bacula-director_13.0.4-4build1_amd64.deb ... 572s Unpacking bacula-director (13.0.4-4build1) ... 572s Selecting previously unselected package bacula-fd. 572s Preparing to unpack .../15-bacula-fd_13.0.4-4build1_amd64.deb ... 572s Unpacking bacula-fd (13.0.4-4build1) ... 572s Selecting previously unselected package mtx. 572s Preparing to unpack .../16-mtx_1.3.12-18_amd64.deb ... 572s Unpacking mtx (1.3.12-18) ... 572s Selecting previously unselected package bacula-sd. 572s Preparing to unpack .../17-bacula-sd_13.0.4-4build1_amd64.deb ... 572s Unpacking bacula-sd (13.0.4-4build1) ... 572s Selecting previously unselected package libmecab2:amd64. 572s Preparing to unpack .../18-libmecab2_0.996-15.1build2_amd64.deb ... 572s Unpacking libmecab2:amd64 (0.996-15.1build2) ... 572s Selecting previously unselected package libprotobuf-lite32t64:amd64. 572s Preparing to unpack .../19-libprotobuf-lite32t64_3.21.12-10build2_amd64.deb ... 572s Unpacking libprotobuf-lite32t64:amd64 (3.21.12-10build2) ... 572s Selecting previously unselected package mysql-server-core. 572s Preparing to unpack .../20-mysql-server-core_8.4.4-0ubuntu2_amd64.deb ... 572s Unpacking mysql-server-core (8.4.4-0ubuntu2) ... 573s Setting up mysql-common (5.8+1.1.1ubuntu1) ... 573s update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode 573s Selecting previously unselected package mysql-server. 573s (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 ... 81472 files and directories currently installed.) 573s Preparing to unpack .../00-mysql-server_8.4.4-0ubuntu2_amd64.deb ... 573s Unpacking mysql-server (8.4.4-0ubuntu2) ... 573s Selecting previously unselected package bacula-console. 573s Preparing to unpack .../01-bacula-console_13.0.4-4build1_amd64.deb ... 573s Unpacking bacula-console (13.0.4-4build1) ... 573s Selecting previously unselected package bacula-client. 573s Preparing to unpack .../02-bacula-client_13.0.4-4build1_all.deb ... 573s Unpacking bacula-client (13.0.4-4build1) ... 573s Selecting previously unselected package bacula-bscan. 573s Preparing to unpack .../03-bacula-bscan_13.0.4-4build1_amd64.deb ... 573s Unpacking bacula-bscan (13.0.4-4build1) ... 573s Selecting previously unselected package bacula-server. 573s Preparing to unpack .../04-bacula-server_13.0.4-4build1_all.deb ... 573s Unpacking bacula-server (13.0.4-4build1) ... 574s Selecting previously unselected package bacula. 574s Preparing to unpack .../05-bacula_13.0.4-4build1_all.deb ... 574s Unpacking bacula (13.0.4-4build1) ... 574s Selecting previously unselected package libpq5:amd64. 574s Preparing to unpack .../06-libpq5_17.4-1_amd64.deb ... 574s Unpacking libpq5:amd64 (17.4-1) ... 574s Selecting previously unselected package postgresql-client-common. 574s Preparing to unpack .../07-postgresql-client-common_274_all.deb ... 574s Unpacking postgresql-client-common (274) ... 574s Selecting previously unselected package postgresql-client-17. 574s Preparing to unpack .../08-postgresql-client-17_17.4-1_amd64.deb ... 574s Unpacking postgresql-client-17 (17.4-1) ... 574s Selecting previously unselected package postgresql-client. 574s Preparing to unpack .../09-postgresql-client_17+274_all.deb ... 574s Unpacking postgresql-client (17+274) ... 574s Selecting previously unselected package dbconfig-pgsql. 574s Preparing to unpack .../10-dbconfig-pgsql_2.0.24_all.deb ... 574s Unpacking dbconfig-pgsql (2.0.24) ... 574s Selecting previously unselected package default-mysql-server. 574s Preparing to unpack .../11-default-mysql-server_1.1.1ubuntu1_all.deb ... 574s Unpacking default-mysql-server (1.1.1ubuntu1) ... 574s Setting up libprotobuf-lite32t64:amd64 (3.21.12-10build2) ... 574s Setting up postgresql-client-common (274) ... 574s Setting up libmecab2:amd64 (0.996-15.1build2) ... 574s Setting up liblockfile-bin (1.17-2) ... 574s Setting up libpq5:amd64 (17.4-1) ... 574s Setting up mtx (1.3.12-18) ... 574s Setting up dbconfig-common (2.0.24) ... 574s Creating config file /etc/dbconfig-common/config with new version 574s Setting up libmysqlclient24:amd64 (8.4.4-0ubuntu2) ... 574s Setting up bacula-common (13.0.4-4build1) ... 574s Setting up bacula-sd (13.0.4-4build1) ... 575s Creating config file /etc/default/bacula-sd with new version 575s Creating config file /etc/bacula/bacula-sd.conf with new version 576s Created symlink '/etc/systemd/system/multi-user.target.wants/bacula-sd.service' → '/usr/lib/systemd/system/bacula-sd.service'. 576s Setting up mysql-server-core (8.4.4-0ubuntu2) ... 576s Setting up bacula-console (13.0.4-4build1) ... 576s Creating config file /etc/bacula/bconsole.conf with new version 576s Setting up postfix (3.9.1-10ubuntu1) ... 577s Created symlink '/etc/systemd/system/multi-user.target.wants/postfix.service' → '/usr/lib/systemd/system/postfix.service'. 577s info: Selecting UID from range 100 to 999 ... 577s 577s info: Selecting GID from range 100 to 999 ... 577s info: Adding system user `postfix' (UID 109) ... 577s info: Adding new group `postfix' (GID 112) ... 577s info: Adding new user `postfix' (UID 109) with group `postfix' ... 577s info: Not creating home directory `/var/spool/postfix'. 577s info: Selecting GID from range 100 to 999 ... 577s info: Adding group `postdrop' (GID 113) ... 578s Creating /etc/postfix/dynamicmaps.cf 578s setting myhostname: autopkgtest.local 578s setting alias maps 578s setting alias database 578s changing /etc/mailname to autopkgtest.local 578s setting myorigin 578s setting destinations: $myhostname, autopkgtest.local, localhost.local, , localhost 578s setting relayhost: 578s setting mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 578s clearing mailbox_command 578s setting mailbox_size_limit: 0 578s setting recipient_delimiter: + 580s setting inet_interfaces: all 582s setting inet_protocols: all 582s /etc/aliases does not exist, creating it. 582s WARNING: /etc/aliases exists, but does not have a root alias. 582s 582s Postfix (main.cf) is now set up with a default configuration. If you need to 582s make changes, edit /etc/postfix/main.cf (and others) as needed. To view 582s Postfix configuration values, see postconf(1). 582s 582s After modifying main.cf, be sure to run 'systemctl reload postfix'. 582s 584s Setting up mysql-client-core (8.4.4-0ubuntu2) ... 584s Setting up liblockfile1:amd64 (1.17-2) ... 584s Setting up bacula-fd (13.0.4-4build1) ... 584s Creating config file /etc/default/bacula-fd with new version 585s Creating config file /etc/bacula/bacula-fd.conf with new version 585s Created symlink '/etc/systemd/system/multi-user.target.wants/bacula-fd.service' → '/usr/lib/systemd/system/bacula-fd.service'. 586s Setting up mysql-client (8.4.4-0ubuntu2) ... 586s Setting up bacula-client (13.0.4-4build1) ... 586s Setting up bacula-common-mysql (13.0.4-4build1) ... 586s Setting up postgresql-client-17 (17.4-1) ... 586s 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 587s Setting up dbconfig-pgsql (2.0.24) ... 587s Setting up dbconfig-mysql (2.0.24) ... 587s Setting up bsd-mailx (8.1.2-0.20220412cvs-1build1) ... 587s update-alternatives: using /usr/bin/bsd-mailx to provide /usr/bin/mailx (mailx) in auto mode 587s Setting up bacula-director-mysql (13.0.4-4build1) ... 587s dbconfig-common: writing config to /etc/dbconfig-common/bacula-director-mysql.conf 587s Creating config file /etc/dbconfig-common/bacula-director-mysql.conf with new version 587s ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2). 587s unable to connect to mysql server. 587s error encountered creating user: 587s ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) 587s dbconfig-common: bacula-director-mysql configure: noninteractive fail. 587s dbconfig-common: bacula-director-mysql configure: ignoring errors from here forwards 587s populating database via sql... done. 587s dbconfig-common: flushing administrative password 587s Setting up bacula-director (13.0.4-4build1) ... 587s Creating config file /etc/default/bacula-dir with new version 588s Creating config file /etc/bacula/bacula-dir.conf with new version 588s Creating config file /etc/bacula/scripts/delete_catalog_backup with new version 588s Creating config file /etc/bacula/scripts/make_catalog_backup with new version 589s Created symlink '/etc/systemd/system/bacula-dir.service' → '/usr/lib/systemd/system/bacula-director.service'. 589s Created symlink '/etc/systemd/system/multi-user.target.wants/bacula-director.service' → '/usr/lib/systemd/system/bacula-director.service'. 620s Could not execute systemctl: at /usr/bin/deb-systemd-invoke line 148. 620s Setting up bacula-bscan (13.0.4-4build1) ... 620s Setting up bacula-server (13.0.4-4build1) ... 620s Setting up default-mysql-client (1.1.1ubuntu1) ... 620s Setting up mysql-server (8.4.4-0ubuntu2) ... 620s update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode 620s Renaming removed key_buffer and myisam-recover options (if present) 625s Created symlink '/etc/systemd/system/multi-user.target.wants/mysql.service' → '/usr/lib/systemd/system/mysql.service'. 627s Setting up postgresql-client (17+274) ... 627s Setting up bacula (13.0.4-4build1) ... 627s Setting up default-mysql-server (1.1.1ubuntu1) ... 627s Processing triggers for libc-bin (2.41-6ubuntu1) ... 627s Processing triggers for rsyslog (8.2412.0-2ubuntu2) ... 627s Processing triggers for ufw (0.36.2-9) ... 627s Processing triggers for man-db (2.13.0-1) ... 628s Processing triggers for postfix (3.9.1-10ubuntu1) ... 628s Restarting postfix 632s autopkgtest [07:07:40]: test program-test-mysql: [----------------------- 633s + echo '----- start testing -----' 633s ----- start testing ----- 633s + echo 'USER: root' 633s USER: root 633s + DBTYPE=mysql 633s + echo '---- Preparing test files ----' 633s ---- Preparing test files ---- 633s + DATAFILE=/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/datafile 633s + cat 633s + echo 633s 633s + echo '---- Testing /usr/sbin/bregex ----' 633s ---- Testing /usr/sbin/bregex ---- 633s + echo -en 'line . of the message\r' 633s + /usr/sbin/bregex -f /tmp/autopkgtest.b3PsuB/autopkgtest_tmp/datafile 633s Enter regex pattern: 2: This is line 1 of the message. 633s 3: This is line 2 of the message. 633s 4: This is line 3 of the message. 633s 5: This is line 4 of the message. 633s Enter regex pattern: + echo 633s 633s + echo '---- Testing /usr/sbin/bwild ----' 633s ---- Testing /usr/sbin/bwild ---- 633s + echo -en '*line ? of the message.\r' 633s + /usr/sbin/bwild -f /tmp/autopkgtest.b3PsuB/autopkgtest_tmp/datafile 633s Enter a wild-card: 2: This is line 1 of the message. 633s 3: This is line 2 of the message. 633s 4: This is line 3 of the message. 633s 5: This is line 4 of the message. 633s Enter a wild-card: + echo 633s 633s + echo '---- Testing /usr/sbin/bbconsjson ----' 633s ---- Testing /usr/sbin/bbconsjson ---- 633s + /usr/sbin/bbconsjson 633s [ 633s { 633s "Director": { 633s "Name": "autopkgtest-dir", 633s "DirPort": 9101, 633s "Address": "localhost", 633s "Password": "PtTN0X3RhuNKxcFjCQNmNkAJ1VniJYV_6" 633s } 633s } 633s ] 633s + echo 633s 633s + echo '---- Testing /usr/sbin/bdirjson ----' 633s ---- Testing /usr/sbin/bdirjson ---- 633s + /usr/sbin/bdirjson 633s [ 633s { 633s "Director": { 633s "Name": "autopkgtest-dir", 633s "Messages": "Daemon", 633s "DirAddress": "127.0.0.1", 633s "QueryFile": "/etc/bacula/scripts/query.sql", 633s "WorkingDirectory": "/var/lib/bacula", 633s "PidDirectory": "/run/bacula", 633s "MaximumConcurrentJobs": 20, 633s "Password": "PtTN0X3RhuNKxcFjCQNmNkAJ1VniJYV_6" 633s } 633s }, 633s { 633s "Client": { 633s "Name": "autopkgtest-fd", 633s "Address": "localhost", 633s "FdPort": 9102, 633s "Password": "TNwxuXX2YxHIJETkVIewR6YQu5GgHlSVN", 633s "Catalog": "MyCatalog", 633s "FileRetention": 5184000, 633s "JobRetention": 15552000, 633s "AutoPrune": true 633s } 633s }, 633s { 633s "Job": { 633s "Name": "BackupCatalog", 633s "Type": "Backup", 633s "Level": "Full", 633s "Messages": "Standard", 633s "Storage": ["File1"], 633s "Pool": "File", 633s "Client": "autopkgtest-fd", 633s "Fileset": "Catalog", 633s "Schedule": "WeeklyCycleAfterBackup", 633s "JobDefs": "DefaultJob", 633s "WriteBootstrap": "/var/lib/bacula/%n.bsr", 633s "SpoolAttributes": true, 633s "Runscript": [ 633s { 633s "RunsWhen": "Before", 633s "RunsOnClient": false, 633s "Command": "/etc/bacula/scripts/make_catalog_backup.pl MyCatalog" 633s }, 633s { 633s "RunsWhen": "After", 633s "RunsOnClient": false, 633s "Command": "/etc/bacula/scripts/delete_catalog_backup" 633s } 633s ] 633s , 633s "Priority": 11 633s } 633s }, 633s { 633s "Job": { 633s "Name": "BackupClient1", 633s "Type": "Backup", 633s "Level": "Incremental", 633s "Messages": "Standard", 633s "Storage": ["File1"], 633s "Pool": "File", 633s "Client": "autopkgtest-fd", 633s "Fileset": "Full Set", 633s "Schedule": "WeeklyCycle", 633s "JobDefs": "DefaultJob", 633s "WriteBootstrap": "/var/lib/bacula/%c.bsr", 633s "SpoolAttributes": true, 633s "Priority": 10 633s } 633s }, 633s { 633s "Job": { 633s "Name": "RestoreFiles", 633s "Type": "Restore", 633s "Messages": "Standard", 633s "Storage": ["File1"], 633s "Pool": "File", 633s "Client": "autopkgtest-fd", 633s "Fileset": "Full Set", 633s "Where": "/nonexistent/path/to/file/archive/dir/bacula-restores" 633s } 633s }, 633s { 633s "Storage": { 633s "Name": "File1", 633s "SdPort": 9103, 633s "Address": "localhost", 633s "Password": "CQv6aTZWXt6nCb7kDvSp2_a7y4XLosCV3", 633s "Device": ["FileChgr1"], 633s "MediaType": "File1", 633s "Autochanger": "File1", 633s "MaximumConcurrentJobs": 10 633s } 633s }, 633s { 633s "Storage": { 633s "Name": "File2", 633s "SdPort": 9103, 633s "Address": "localhost", 633s "Password": "CQv6aTZWXt6nCb7kDvSp2_a7y4XLosCV3", 633s "Device": ["FileChgr2"], 633s "MediaType": "File2", 633s "Autochanger": "File2", 633s "MaximumConcurrentJobs": 10 633s } 633s }, 633s { 633s "Catalog": { 633s "Name": "MyCatalog", 633s "Address": "localhost", 633s "DbPort": 3306, 633s "Password": "vto9eg7MXrcP", 633s "User": "bacula", 633s "DbName": "bacula" 633s } 633s }, 633s { 633s "Schedule": { 633s "Name": "WeeklyCycle", 633s "Run": [ 633s { 633s "Level": "Full", 633s "Level": "Full", 633s "Level": "Full", 633s "Hour": [23], 633s "Minute": 5, 633s "Day": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30], 633s "Month": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], 633s "DayOfWeek": [0], 633s "WeekOfMonth": [0], 633s "WeekOfYear": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53] 633s }, 633s { 633s "Level": "Differential", 633s "Level": "Differential", 633s "Level": "Differential", 633s "Hour": [23], 633s "Minute": 5, 633s "Day": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30], 633s "Month": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], 633s "DayOfWeek": [0], 633s "WeekOfMonth": [1, 2, 3, 4], 633s "WeekOfYear": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53] 633s }, 633s { 633s "Level": "Incremental", 633s "Level": "Incremental", 633s "Level": "Incremental", 633s "Hour": [23], 633s "Minute": 5, 633s "Day": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30], 633s "Month": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], 633s "DayOfWeek": [1, 2, 3, 4, 5, 6], 633s "WeekOfMonth": [0, 1, 2, 3, 4, 5], 633s "WeekOfYear": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53] 633s } 633s ] 633s } 633s }, 633s { 633s "Schedule": { 633s "Name": "WeeklyCycleAfterBackup", 633s "Run": [ 633s { 633s "Level": "Full", 633s "Level": "Full", 633s "Level": "Full", 633s "Hour": [23], 633s "Minute": 10, 633s "Day": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30], 633s "Month": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], 633s "DayOfWeek": [0, 1, 2, 3, 4, 5, 6], 633s "WeekOfMonth": [0, 1, 2, 3, 4, 5], 633s "WeekOfYear": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53] 633s } 633s ] 633s } 633s }, 633s { 633s "Fileset": { 633s "Name": "Catalog", 633s "Include": [{ 633s "File": ["/var/lib/bacula/bacula.sql"], 633s "Options": [ 633s { 633s "Signature": "Md5" 633s } 633s ] 633s }] 633s } 633s }, 633s { 633s "Fileset": { 633s "Name": "Full Set", 633s "Include": [{ 633s "File": ["/usr/sbin"], 633s "Options": [ 633s { 633s "Signature": "Md5" 633s } 633s ] 633s }], 633s "Exclude": { 633s "File": ["/var/lib/bacula", "/nonexistent/path/to/file/archive/dir", "/proc", "/tmp", "/sys", "/.journal", "/.fsck"] 633s } 633s } 633s }, 633s { 633s "Pool": { 633s "Name": "Default", 633s "PoolType": "Backup", 633s "MaximumVolumes": 100, 633s "MaximumVolumeBytes": 53687091200, 633s "VolumeRetention": 31536000, 633s "AutoPrune": true, 633s "Recycle": true 633s } 633s }, 633s { 633s "Pool": { 633s "Name": "File", 633s "PoolType": "Backup", 633s "LabelFormat": "Vol-", 633s "MaximumVolumes": 100, 633s "MaximumVolumeBytes": 53687091200, 633s "VolumeRetention": 31536000, 633s "AutoPrune": true, 633s "Recycle": true 633s } 633s }, 633s { 633s "Pool": { 633s "Name": "Scratch", 633s "PoolType": "Backup" 633s } 633s }, 633s { 633s "Messages": { 633s "Name": "Daemon", 633s "MailCommand": "/usr/sbin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s \"Bacula daemon message\" %r", 633s "Destinations": [ 633s { 633s "Type": "Mail", 633s "MsgTypes": ["All","!Skipped"], 633s "Where": ["root"], 633s "Command": "/usr/sbin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s \"Bacula daemon message\" %r" 633s }, 633s { 633s "Type": "Append", 633s "MsgTypes": ["All","!Skipped"], 633s "Where": ["/var/log/bacula/bacula.log"] 633s }, 633s { 633s "Type": "Console", 633s "MsgTypes": ["All","!Skipped"] 633s } 633s ] 633s } 633s }, 633s { 633s "Messages": { 633s "Name": "Standard", 633s "MailCommand": "/usr/sbin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s \"Bacula: %t %e of %c %l\" %r", 633s "OperatorCommand": "/usr/sbin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s \"Bacula: Intervention needed for %j\" %r", 633s "Destinations": [ 633s { 633s "Type": "Mail", 633s "MsgTypes": ["All","!Skipped"], 633s "Where": ["root"], 633s "Command": "/usr/sbin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s \"Bacula: %t %e of %c %l\" %r" 633s }, 633s { 633s "Type": "Append", 633s "MsgTypes": ["All","!Skipped"], 633s "Where": ["/var/log/bacula/bacula.log"] 633s }, 633s { 633s "Type": "Console", 633s "MsgTypes": ["All","!Skipped"] 633s }, 633s { 633s "Type": "Operator", 633s "MsgTypes": ["Mount"], 633s "Where": ["root"], 633s "Command": "/usr/sbin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s \"Bacula: Intervention needed for %j\" %r" 633s }, 633s { 633s "Type": "Catalog", 633s "MsgTypes": ["All"] 633s } 633s ] 633s } 633s }, 633s { 633s "Console": { 633s "Name": "autopkgtest-mon", 633s "Password": "dQfGyRSLfLdhFC28p_m0F0XJy3GsJYjbK", 633s "CommandAcl": ["status", ".status"] 633s } 633s }, 633s { 633s "JobDefs": { 633s "Name": "DefaultJob", 633s "Type": "Backup", 633s "Level": "Incremental", 633s "Messages": "Standard", 633s "Storage": ["File1"], 633s "Pool": "File", 633s "Client": "autopkgtest-fd", 633s "Fileset": "Full Set", 633s "Schedule": "WeeklyCycle", 633s "WriteBootstrap": "/var/lib/bacula/%c.bsr", 633s "SpoolAttributes": true, 633s "Priority": 10 633s } 633s } 633s ] 633s + echo 633s 633s + echo '---- Testing /usr/sbin/bfdjson ----' 633s ---- Testing /usr/sbin/bfdjson ---- 633s + /usr/sbin/bfdjson 633s [{ 633s "Director": { 633s "Name": "autopkgtest-dir", 633s "Password": "TNwxuXX2YxHIJETkVIewR6YQu5GgHlSVN" 633s } 633s }, 633s { 633s "Director": { 633s "Name": "autopkgtest-mon", 633s "Password": "nDAmXLX7eWTVkQKKwqdDgQwBb1nSO-4Zp", 633s "Monitor": true 633s } 633s }, 633s { 633s "FileDaemon": { 633s "Name": "autopkgtest-fd", 633s "FdAddress": "127.0.0.1", 633s "WorkingDirectory": "/var/lib/bacula", 633s "PidDirectory": "/run/bacula", 633s "PluginDirectory": "/usr/lib/bacula", 633s "MaximumConcurrentJobs": 20 633s } 633s }, 633s { 633s "Messages": { 633s "Name": "Standard", 633s "Destinations": [ 633s { 633s "Type": "Director", 633s "MsgTypes": ["All","!Skipped","!Restored","!Verified"], 633s "Where": ["autopkgtest-dir"] 633s } 633s ] 633s } 633s } 633s ] 633s + echo 633s 633s + echo '---- Testing /usr/sbin/bsdjson ----' 633s ---- Testing /usr/sbin/bsdjson ---- 633s + /usr/sbin/bsdjson 633s [ 633s { 633s "Director": { 633s "Name": "autopkgtest-dir", 633s "Password": "CQv6aTZWXt6nCb7kDvSp2_a7y4XLosCV3" 633s } 633s }, 633s { 633s "Director": { 633s "Name": "autopkgtest-mon", 633s "Password": "3G9Sv5brmAqP5rVmDvhQCOrLmI2Bg5eBa", 633s "Monitor": true 633s } 633s }, 633s { 633s "Storage": { 633s "Name": "autopkgtest-sd", 633s "SdAddress": "127.0.0.1", 633s "WorkingDirectory": "/var/lib/bacula", 633s "PidDirectory": "/run/bacula", 633s "PluginDirectory": "/usr/lib/bacula", 633s "MaximumConcurrentJobs": 20 633s } 633s }, 633s { 633s "Device": { 633s "Name": "FileChgr1-Dev1", 633s "MediaType": "File1", 633s "ArchiveDevice": "/nonexistent/path/to/file/archive/dir", 633s "RemovableMedia": false, 633s "RandomAccess": true, 633s "AutomaticMount": true, 633s "LabelMedia": true, 633s "AlwaysOpen": false, 633s "MaximumConcurrentJobs": 5 633s } 633s }, 633s { 633s "Device": { 633s "Name": "FileChgr1-Dev2", 633s "MediaType": "File1", 633s "ArchiveDevice": "/nonexistent/path/to/file/archive/dir", 633s "RemovableMedia": false, 633s "RandomAccess": true, 633s "AutomaticMount": true, 633s "LabelMedia": true, 633s "AlwaysOpen": false, 633s "MaximumConcurrentJobs": 5 633s } 633s }, 633s { 633s "Device": { 633s "Name": "FileChgr2-Dev1", 633s "MediaType": "File2", 633s "ArchiveDevice": "/nonexistent/path/to/file/archive/dir", 633s "RemovableMedia": false, 633s "RandomAccess": true, 633s "AutomaticMount": true, 633s "LabelMedia": true, 633s "AlwaysOpen": false, 633s "MaximumConcurrentJobs": 5 633s } 633s }, 633s { 633s "Device": { 633s "Name": "FileChgr2-Dev2", 633s "MediaType": "File2", 633s "ArchiveDevice": "/nonexistent/path/to/file/archive/dir", 633s "RemovableMedia": false, 633s "RandomAccess": true, 633s "AutomaticMount": true, 633s "LabelMedia": true, 633s "AlwaysOpen": false, 633s "MaximumConcurrentJobs": 5 633s } 633s }, 633s { 633s "Messages": { 633s "Name": "Standard", 633s "Destinations": [ 633s { 633s "Type": "Director", 633s "MsgTypes": ["All"], 633s "Where": ["autopkgtest-dir"] 633s } 633s ] 633s } 633s }, 633s { 633s "Autochanger": { 633s "Name": "FileChgr1", 633s "Device": ["FileChgr1-Dev1", "FileChgr1-Dev2"], 633s "ChangerDevice": "/dev/null", 633s "ChangerCommand": "" 633s } 633s }, 633s { 633s "Autochanger": { 633s "Name": "FileChgr2", 633s "Device": ["FileChgr2-Dev1", "FileChgr2-Dev2"], 633s "ChangerDevice": "/dev/null", 633s "ChangerCommand": "" 633s } 633s } 633s ] 633s autopkgtest [07:07:41]: test program-test-mysql: -----------------------] 634s program-test-mysql PASS 634s autopkgtest [07:07:42]: test program-test-mysql: - - - - - - - - - - results - - - - - - - - - - 634s autopkgtest [07:07:42]: test backup-test-sqlite3: preparing testbed 705s autopkgtest [07:08:53]: testbed dpkg architecture: amd64 705s autopkgtest [07:08:53]: testbed apt version: 3.0.0 705s autopkgtest [07:08:53]: @@@@@@@@@@@@@@@@@@@@ test bed setup 706s autopkgtest [07:08:54]: testbed release detected to be: questing 706s autopkgtest [07:08:54]: updating testbed package index (apt update) 707s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB] 707s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 707s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 707s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 707s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [156 kB] 707s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [1722 kB] 707s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [43.3 kB] 707s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 Packages [200 kB] 707s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/main i386 Packages [149 kB] 707s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/universe i386 Packages [587 kB] 707s Get:11 http://ftpmaster.internal/ubuntu questing-proposed/universe amd64 Packages [1408 kB] 708s Get:12 http://ftpmaster.internal/ubuntu questing-proposed/multiverse i386 Packages [13.2 kB] 708s Get:13 http://ftpmaster.internal/ubuntu questing-proposed/multiverse amd64 Packages [14.5 kB] 708s Fetched 4405 kB in 1s (3705 kB/s) 709s Reading package lists... 709s autopkgtest [07:08:57]: upgrading testbed (apt dist-upgrade and autopurge) 710s Reading package lists... 710s Building dependency tree... 710s Reading state information... 710s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 710s Starting 2 pkgProblemResolver with broken count: 0 710s Done 711s Entering ResolveByKeep 711s 711s Calculating upgrade... 711s The following packages will be upgraded: 711s debianutils file libmagic-mgc libmagic1t64 libnftnl11 712s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 712s Need to get 611 kB of archives. 712s After this operation, 1851 kB of additional disk space will be used. 712s Get:1 http://ftpmaster.internal/ubuntu questing/main amd64 debianutils amd64 5.22 [93.0 kB] 712s Get:2 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 file amd64 1:5.46-5 [22.1 kB] 712s Get:3 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 libmagic1t64 amd64 1:5.46-5 [90.8 kB] 712s Get:4 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 libmagic-mgc amd64 1:5.46-5 [336 kB] 712s Get:5 http://ftpmaster.internal/ubuntu questing/main amd64 libnftnl11 amd64 1.2.9-1 [69.1 kB] 712s Fetched 611 kB in 0s (1261 kB/s) 713s (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 ... 80514 files and directories currently installed.) 713s Preparing to unpack .../debianutils_5.22_amd64.deb ... 713s Unpacking debianutils (5.22) over (5.21) ... 713s Setting up debianutils (5.22) ... 713s (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 ... 80514 files and directories currently installed.) 713s Preparing to unpack .../file_1%3a5.46-5_amd64.deb ... 713s Unpacking file (1:5.46-5) over (1:5.45-3build1) ... 713s Preparing to unpack .../libmagic1t64_1%3a5.46-5_amd64.deb ... 713s Unpacking libmagic1t64:amd64 (1:5.46-5) over (1:5.45-3build1) ... 713s Preparing to unpack .../libmagic-mgc_1%3a5.46-5_amd64.deb ... 713s Unpacking libmagic-mgc (1:5.46-5) over (1:5.45-3build1) ... 713s Preparing to unpack .../libnftnl11_1.2.9-1_amd64.deb ... 713s Unpacking libnftnl11:amd64 (1.2.9-1) over (1.2.8-1) ... 713s Setting up libmagic-mgc (1:5.46-5) ... 713s Setting up libmagic1t64:amd64 (1:5.46-5) ... 713s Setting up libnftnl11:amd64 (1.2.9-1) ... 713s Setting up file (1:5.46-5) ... 713s Processing triggers for libc-bin (2.41-6ubuntu1) ... 713s Processing triggers for man-db (2.13.0-1) ... 715s Reading package lists... 715s Building dependency tree... 715s Reading state information... 716s Starting pkgProblemResolver with broken count: 0 716s Starting 2 pkgProblemResolver with broken count: 0 716s Done 716s Solving dependencies... 716s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 719s Reading package lists... 720s Building dependency tree... 720s Reading state information... 720s Starting pkgProblemResolver with broken count: 0 720s Starting 2 pkgProblemResolver with broken count: 0 720s Done 721s The following NEW packages will be installed: 721s bacula bacula-bscan bacula-client bacula-common bacula-common-sqlite3 721s bacula-console bacula-director bacula-director-sqlite3 bacula-fd bacula-sd 721s bacula-server bsd-mailx dbconfig-common dbconfig-pgsql dbconfig-sqlite3 721s liblockfile-bin liblockfile1 libpq5 mtx postfix postgresql-client 721s postgresql-client-17 postgresql-client-common sqlite3 721s 0 upgraded, 24 newly installed, 0 to remove and 0 not upgraded. 721s Need to get 5534 kB of archives. 721s After this operation, 17.5 MB of additional disk space will be used. 721s Get:1 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-common amd64 13.0.4-4build1 [867 kB] 722s Get:2 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-common-sqlite3 amd64 13.0.4-4build1 [11.0 kB] 722s Get:3 http://ftpmaster.internal/ubuntu questing/universe amd64 dbconfig-common all 2.0.24 [596 kB] 722s Get:4 http://ftpmaster.internal/ubuntu questing/main amd64 sqlite3 amd64 3.46.1-3 [149 kB] 722s Get:5 http://ftpmaster.internal/ubuntu questing/universe amd64 dbconfig-sqlite3 all 2.0.24 [892 B] 722s Get:6 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-director-sqlite3 all 13.0.4-4build1 [31.6 kB] 722s Get:7 http://ftpmaster.internal/ubuntu questing/main amd64 postfix amd64 3.9.1-10ubuntu1 [1317 kB] 722s Get:8 http://ftpmaster.internal/ubuntu questing/main amd64 liblockfile-bin amd64 1.17-2 [11.2 kB] 722s Get:9 http://ftpmaster.internal/ubuntu questing/main amd64 liblockfile1 amd64 1.17-2 [6922 B] 722s Get:10 http://ftpmaster.internal/ubuntu questing/main amd64 bsd-mailx amd64 8.1.2-0.20220412cvs-1build1 [67.2 kB] 722s Get:11 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-director amd64 13.0.4-4build1 [387 kB] 722s Get:12 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-fd amd64 13.0.4-4build1 [147 kB] 722s Get:13 http://ftpmaster.internal/ubuntu questing/main amd64 mtx amd64 1.3.12-18 [45.0 kB] 722s Get:14 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-sd amd64 13.0.4-4build1 [153 kB] 722s Get:15 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-console amd64 13.0.4-4build1 [28.6 kB] 722s Get:16 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-client all 13.0.4-4build1 [23.5 kB] 722s Get:17 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-bscan amd64 13.0.4-4build1 [25.5 kB] 722s Get:18 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-server all 13.0.4-4build1 [23.4 kB] 722s Get:19 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula all 13.0.4-4build1 [1036 B] 722s Get:20 http://ftpmaster.internal/ubuntu questing/main amd64 libpq5 amd64 17.4-1 [155 kB] 722s Get:21 http://ftpmaster.internal/ubuntu questing/main amd64 postgresql-client-common all 274 [47.6 kB] 722s Get:22 http://ftpmaster.internal/ubuntu questing/main amd64 postgresql-client-17 amd64 17.4-1 [1425 kB] 722s Get:23 http://ftpmaster.internal/ubuntu questing/main amd64 postgresql-client all 17+274 [13.3 kB] 722s Get:24 http://ftpmaster.internal/ubuntu questing/universe amd64 dbconfig-pgsql all 2.0.24 [914 B] 722s Preconfiguring packages ... 722s Fetched 5534 kB in 1s (6007 kB/s) 722s Selecting previously unselected package bacula-common. 723s (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 ... 80514 files and directories currently installed.) 723s Preparing to unpack .../00-bacula-common_13.0.4-4build1_amd64.deb ... 723s Adding user 'bacula'... Ok. 723s Unpacking bacula-common (13.0.4-4build1) ... 723s Selecting previously unselected package bacula-common-sqlite3. 723s Preparing to unpack .../01-bacula-common-sqlite3_13.0.4-4build1_amd64.deb ... 723s Unpacking bacula-common-sqlite3 (13.0.4-4build1) ... 723s Selecting previously unselected package dbconfig-common. 723s Preparing to unpack .../02-dbconfig-common_2.0.24_all.deb ... 723s Unpacking dbconfig-common (2.0.24) ... 723s Selecting previously unselected package sqlite3. 723s Preparing to unpack .../03-sqlite3_3.46.1-3_amd64.deb ... 723s Unpacking sqlite3 (3.46.1-3) ... 723s Selecting previously unselected package dbconfig-sqlite3. 723s Preparing to unpack .../04-dbconfig-sqlite3_2.0.24_all.deb ... 723s Unpacking dbconfig-sqlite3 (2.0.24) ... 723s Selecting previously unselected package bacula-director-sqlite3. 723s Preparing to unpack .../05-bacula-director-sqlite3_13.0.4-4build1_all.deb ... 723s Unpacking bacula-director-sqlite3 (13.0.4-4build1) ... 723s Selecting previously unselected package postfix. 723s Preparing to unpack .../06-postfix_3.9.1-10ubuntu1_amd64.deb ... 723s Unpacking postfix (3.9.1-10ubuntu1) ... 723s Selecting previously unselected package liblockfile-bin. 723s Preparing to unpack .../07-liblockfile-bin_1.17-2_amd64.deb ... 723s Unpacking liblockfile-bin (1.17-2) ... 723s Selecting previously unselected package liblockfile1:amd64. 723s Preparing to unpack .../08-liblockfile1_1.17-2_amd64.deb ... 723s Unpacking liblockfile1:amd64 (1.17-2) ... 723s Selecting previously unselected package bsd-mailx. 723s Preparing to unpack .../09-bsd-mailx_8.1.2-0.20220412cvs-1build1_amd64.deb ... 723s Unpacking bsd-mailx (8.1.2-0.20220412cvs-1build1) ... 723s Selecting previously unselected package bacula-director. 723s Preparing to unpack .../10-bacula-director_13.0.4-4build1_amd64.deb ... 723s Unpacking bacula-director (13.0.4-4build1) ... 723s Selecting previously unselected package bacula-fd. 723s Preparing to unpack .../11-bacula-fd_13.0.4-4build1_amd64.deb ... 723s Unpacking bacula-fd (13.0.4-4build1) ... 723s Selecting previously unselected package mtx. 723s Preparing to unpack .../12-mtx_1.3.12-18_amd64.deb ... 723s Unpacking mtx (1.3.12-18) ... 723s Selecting previously unselected package bacula-sd. 723s Preparing to unpack .../13-bacula-sd_13.0.4-4build1_amd64.deb ... 723s Unpacking bacula-sd (13.0.4-4build1) ... 724s Selecting previously unselected package bacula-console. 724s Preparing to unpack .../14-bacula-console_13.0.4-4build1_amd64.deb ... 724s Unpacking bacula-console (13.0.4-4build1) ... 724s Selecting previously unselected package bacula-client. 724s Preparing to unpack .../15-bacula-client_13.0.4-4build1_all.deb ... 724s Unpacking bacula-client (13.0.4-4build1) ... 724s Selecting previously unselected package bacula-bscan. 724s Preparing to unpack .../16-bacula-bscan_13.0.4-4build1_amd64.deb ... 724s Unpacking bacula-bscan (13.0.4-4build1) ... 724s Selecting previously unselected package bacula-server. 724s Preparing to unpack .../17-bacula-server_13.0.4-4build1_all.deb ... 724s Unpacking bacula-server (13.0.4-4build1) ... 724s Selecting previously unselected package bacula. 724s Preparing to unpack .../18-bacula_13.0.4-4build1_all.deb ... 724s Unpacking bacula (13.0.4-4build1) ... 724s Selecting previously unselected package libpq5:amd64. 724s Preparing to unpack .../19-libpq5_17.4-1_amd64.deb ... 724s Unpacking libpq5:amd64 (17.4-1) ... 724s Selecting previously unselected package postgresql-client-common. 724s Preparing to unpack .../20-postgresql-client-common_274_all.deb ... 724s Unpacking postgresql-client-common (274) ... 724s Selecting previously unselected package postgresql-client-17. 724s Preparing to unpack .../21-postgresql-client-17_17.4-1_amd64.deb ... 724s Unpacking postgresql-client-17 (17.4-1) ... 724s Selecting previously unselected package postgresql-client. 724s Preparing to unpack .../22-postgresql-client_17+274_all.deb ... 724s Unpacking postgresql-client (17+274) ... 724s Selecting previously unselected package dbconfig-pgsql. 724s Preparing to unpack .../23-dbconfig-pgsql_2.0.24_all.deb ... 724s Unpacking dbconfig-pgsql (2.0.24) ... 724s Setting up postgresql-client-common (274) ... 724s Setting up liblockfile-bin (1.17-2) ... 724s Setting up libpq5:amd64 (17.4-1) ... 724s Setting up mtx (1.3.12-18) ... 724s Setting up dbconfig-common (2.0.24) ... 724s Creating config file /etc/dbconfig-common/config with new version 724s Setting up bacula-common (13.0.4-4build1) ... 724s Setting up bacula-sd (13.0.4-4build1) ... 724s Creating config file /etc/default/bacula-sd with new version 725s Creating config file /etc/bacula/bacula-sd.conf with new version 725s Created symlink '/etc/systemd/system/multi-user.target.wants/bacula-sd.service' → '/usr/lib/systemd/system/bacula-sd.service'. 726s Setting up bacula-console (13.0.4-4build1) ... 726s Creating config file /etc/bacula/bconsole.conf with new version 726s Setting up postfix (3.9.1-10ubuntu1) ... 726s Created symlink '/etc/systemd/system/multi-user.target.wants/postfix.service' → '/usr/lib/systemd/system/postfix.service'. 727s info: Selecting UID from range 100 to 999 ... 727s 727s info: Selecting GID from range 100 to 999 ... 727s info: Adding system user `postfix' (UID 108) ... 727s info: Adding new group `postfix' (GID 111) ... 727s info: Adding new user `postfix' (UID 108) with group `postfix' ... 727s info: Not creating home directory `/var/spool/postfix'. 727s info: Selecting GID from range 100 to 999 ... 727s info: Adding group `postdrop' (GID 112) ... 727s Creating /etc/postfix/dynamicmaps.cf 727s setting myhostname: autopkgtest.local 727s setting alias maps 727s setting alias database 727s changing /etc/mailname to autopkgtest.local 727s setting myorigin 727s setting destinations: $myhostname, autopkgtest.local, localhost.local, , localhost 727s setting relayhost: 727s setting mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 727s clearing mailbox_command 727s setting mailbox_size_limit: 0 727s setting recipient_delimiter: + 729s setting inet_interfaces: all 731s setting inet_protocols: all 731s /etc/aliases does not exist, creating it. 731s WARNING: /etc/aliases exists, but does not have a root alias. 731s 731s Postfix (main.cf) is now set up with a default configuration. If you need to 731s make changes, edit /etc/postfix/main.cf (and others) as needed. To view 731s Postfix configuration values, see postconf(1). 731s 731s After modifying main.cf, be sure to run 'systemctl reload postfix'. 731s 733s Setting up bacula-common-sqlite3 (13.0.4-4build1) ... 733s Setting up liblockfile1:amd64 (1.17-2) ... 733s Setting up bacula-bscan (13.0.4-4build1) ... 733s Setting up sqlite3 (3.46.1-3) ... 733s Setting up bacula-fd (13.0.4-4build1) ... 733s Creating config file /etc/default/bacula-fd with new version 733s Creating config file /etc/bacula/bacula-fd.conf with new version 734s Created symlink '/etc/systemd/system/multi-user.target.wants/bacula-fd.service' → '/usr/lib/systemd/system/bacula-fd.service'. 734s Setting up bacula-client (13.0.4-4build1) ... 734s Setting up postgresql-client-17 (17.4-1) ... 735s 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 735s Setting up dbconfig-pgsql (2.0.24) ... 735s Setting up bsd-mailx (8.1.2-0.20220412cvs-1build1) ... 735s update-alternatives: using /usr/bin/bsd-mailx to provide /usr/bin/mailx (mailx) in auto mode 735s Setting up dbconfig-sqlite3 (2.0.24) ... 735s Setting up postgresql-client (17+274) ... 735s Setting up bacula-director-sqlite3 (13.0.4-4build1) ... 735s dbconfig-common: writing config to /etc/dbconfig-common/bacula-director-sqlite3.conf 735s Creating config file /etc/dbconfig-common/bacula-director-sqlite3.conf with new version 735s creating database bacula.db: success. 735s verifying database bacula.db exists: success. 735s populating database via sql... done. 735s Setting up bacula-director (13.0.4-4build1) ... 736s Creating config file /etc/default/bacula-dir with new version 736s Creating config file /etc/bacula/bacula-dir.conf with new version 736s Creating config file /etc/bacula/scripts/delete_catalog_backup with new version 737s Creating config file /etc/bacula/scripts/make_catalog_backup with new version 737s Created symlink '/etc/systemd/system/bacula-dir.service' → '/usr/lib/systemd/system/bacula-director.service'. 737s Created symlink '/etc/systemd/system/multi-user.target.wants/bacula-director.service' → '/usr/lib/systemd/system/bacula-director.service'. 737s Setting up bacula-server (13.0.4-4build1) ... 737s Setting up bacula (13.0.4-4build1) ... 737s Processing triggers for rsyslog (8.2412.0-2ubuntu2) ... 738s Processing triggers for ufw (0.36.2-9) ... 738s Processing triggers for man-db (2.13.0-1) ... 739s Processing triggers for libc-bin (2.41-6ubuntu1) ... 739s Processing triggers for postfix (3.9.1-10ubuntu1) ... 739s Restarting postfix 743s autopkgtest [07:09:31]: test backup-test-sqlite3: [----------------------- 743s + apt-get -y install debconf-utils 743s Reading package lists... 743s Building dependency tree... 743s Reading state information... 744s Solving dependencies... 744s The following NEW packages will be installed: 744s debconf-utils 744s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 744s Need to get 49.5 kB of archives. 744s After this operation, 99.3 kB of additional disk space will be used. 744s Get:1 http://ftpmaster.internal/ubuntu questing/universe amd64 debconf-utils all 1.5.87ubuntu1 [49.5 kB] 745s Fetched 49.5 kB in 0s (178 kB/s) 745s Selecting previously unselected package debconf-utils. 745s (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 ... 81603 files and directories currently installed.) 745s Preparing to unpack .../debconf-utils_1.5.87ubuntu1_all.deb ... 745s Unpacking debconf-utils (1.5.87ubuntu1) ... 745s Setting up debconf-utils (1.5.87ubuntu1) ... 745s Processing triggers for man-db (2.13.0-1) ... 746s + debconf-get-selections 746s + awk '$3=="password"{print}' 746s + debconf-set-selections 746s + for pkg in bacula-director-mysql bacula-director-pgsql 746s ++ dpkg-query --showformat '${db:Status-Status}' -W bacula-director-mysql 746s + pkg_status=not-installed 746s + '[' not-installed = installed ']' 746s + for pkg in bacula-director-mysql bacula-director-pgsql 746s ++ dpkg-query --showformat '${db:Status-Status}' -W bacula-director-pgsql 746s + pkg_status=not-installed 746s + '[' not-installed = installed ']' 746s + echo 'start testing ... ' 746s start testing ... 746s + echo 'USER: root' 746s USER: root 746s + DBTYPE=sqlite3 746s + echo 'DBTYPE: sqlite3' 746s DBTYPE: sqlite3 746s + echo '--------- configuring Bacula daemons -----------' 746s --------- configuring Bacula daemons ----------- 746s + FILECHGRDIR=/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr 746s + RESTOREDIR=/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-restores 746s + mkdir -p /tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr 746s + chown -R bacula:tape /tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr 746s + sed -i s%/nonexistent/path/to/file/archive/dir%/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr% /etc/bacula/bacula-sd.conf 746s + sed -i 's%Where = /nonexistent/path/to/file/archive/dir/bacula-restores%Where = /tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-restores%' /etc/bacula/bacula-dir.conf 746s + sed -i 's/signature = MD5/signature = SHA1/' /etc/bacula/bacula-dir.conf 746s + sed -i 's/signature = MD5/signature = SHA1\naclsupport = yes/' /etc/bacula/bacula-dir.conf 746s + echo '--------- restarting services ----------- ' 746s --------- restarting services ----------- 746s + service bacula-director restart 746s + service bacula-sd restart 747s + service bacula-fd restart 747s + sleep 10 757s + echo '--------- checking services ----------- ' 757s --------- checking services ----------- 757s + service bacula-director status 757s ● bacula-director.service - Bacula Director Daemon service 757s Loaded: loaded (/usr/lib/systemd/system/bacula-director.service; enabled; preset: enabled) 757s Active: active (running) since Sat 2025-05-03 07:09:34 UTC; 10s ago 757s Invocation: cb225b2752154db099fb22a7c414f34f 757s Docs: man:bacula-dir(8) 757s Process: 4749 ExecStartPre=/usr/sbin/bacula-dir -t -c $CONFIG (code=exited, status=0/SUCCESS) 757s Main PID: 4752 (bacula-dir) 757s Tasks: 5 (limit: 4609) 757s Memory: 2.3M (peak: 2.6M) 757s CPU: 36ms 757s CGroup: /system.slice/bacula-director.service 757s └─4752 /usr/sbin/bacula-dir -fP -c /etc/bacula/bacula-dir.conf 757s 757s May 03 07:09:34 autopkgtest systemd[1]: Starting bacula-director.service - Bacula Director Daemon service... 757s May 03 07:09:34 autopkgtest systemd[1]: Started bacula-director.service - Bacula Director Daemon service. 757s + service bacula-sd status 757s ● bacula-sd.service - Bacula Storage Daemon service 757s Loaded: loaded (/usr/lib/systemd/system/bacula-sd.service; enabled; preset: enabled) 757s Active: active (running) since Sat 2025-05-03 07:09:35 UTC; 10s ago 757s Invocation: c29a5ea328df4b57a930feab1c758c8e 757s Docs: man:bacula-sd(8) 757s Process: 4761 ExecStartPre=/usr/sbin/bacula-sd -t -c $CONFIG (code=exited, status=0/SUCCESS) 757s Main PID: 4763 (bacula-sd) 757s Tasks: 3 (limit: 4609) 757s Memory: 2M (peak: 2.3M) 757s CPU: 34ms 757s CGroup: /system.slice/bacula-sd.service 757s └─4763 /usr/sbin/bacula-sd -fP -c /etc/bacula/bacula-sd.conf 757s 757s May 03 07:09:35 autopkgtest systemd[1]: Starting bacula-sd.service - Bacula Storage Daemon service... 757s May 03 07:09:35 autopkgtest systemd[1]: Started bacula-sd.service - Bacula Storage Daemon service. 757s + service bacula-fd status 757s ● bacula-fd.service - Bacula File Daemon service 757s Loaded: loaded (/usr/lib/systemd/system/bacula-fd.service; enabled; preset: enabled) 757s Active: active (running) since Sat 2025-05-03 07:09:35 UTC; 10s ago 757s Invocation: 3f2619ded34e498a96b82dbae7ad1bbc 757s Docs: man:bacula-fd(8) 757s Process: 4771 ExecStartPre=/usr/sbin/bacula-fd -t -c $CONFIG (code=exited, status=0/SUCCESS) 757s Main PID: 4773 (bacula-fd) 757s Tasks: 3 (limit: 4609) 757s Memory: 1.8M (peak: 1.9M) 757s CPU: 29ms 757s CGroup: /system.slice/bacula-fd.service 757s └─4773 /usr/sbin/bacula-fd -fP -c /etc/bacula/bacula-fd.conf 757s 757s May 03 07:09:35 autopkgtest systemd[1]: Starting bacula-fd.service - Bacula File Daemon service... 757s May 03 07:09:35 autopkgtest systemd[1]: Started bacula-fd.service - Bacula File Daemon service. 757s + ps auwwwx 757s + grep '[b]acula' 757s bacula 4752 0.0 0.3 317684 13176 ? Ssl 07:09 0:00 /usr/sbin/bacula-dir -fP -c /etc/bacula/bacula-dir.conf 757s bacula 4763 0.0 0.2 241624 11280 ? Ssl 07:09 0:00 /usr/sbin/bacula-sd -fP -c /etc/bacula/bacula-sd.conf 757s root 4773 0.0 0.2 167820 10700 ? Ssl 07:09 0:00 /usr/sbin/bacula-fd -fP -c /etc/bacula/bacula-fd.conf 757s + echo '----- create some file to test backup / restore ----' 757s ----- create some file to test backup / restore ---- 757s + BACKUP_TEST_FILE=/usr/sbin/bacula-backup.test 757s + echo 'bacula restore test' 757s + chown nobody:shadow /usr/sbin/bacula-backup.test 757s + chmod 2755 /usr/sbin/bacula-backup.test 757s + echo '---- status of all daemons ----' 757s ---- status of all daemons ---- 757s + echo -e 'status all' 757s + bconsole 757s Connecting to Director localhost:9101 757s 1000 OK: 10002 autopkgtest-dir Version: 13.0.4 (12 February 2024) 757s Enter a period to cancel a command. 757s status all 757s autopkgtest-dir Version: 13.0.4 (12 February 2024) x86_64-pc-linux-gnu ubuntu 25.04 757s Daemon started 03-May-25 07:09, conf reloaded 03-May-2025 07:09:34 757s Jobs: run=0, running=0 mode=0,0 757s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 757s Heap: heap=966,656 smbytes=335,398 max_bytes=335,398 bufs=394 max_bufs=394 757s Res: njobs=3 nclients=1 nstores=2 npools=3 ncats=1 nfsets=2 nscheds=2 757s 757s Scheduled Jobs: 757s Level Type Pri Scheduled Job Name Volume 757s =================================================================================== 757s Incremental Backup 10 03-May-25 23:05 BackupClient1 *unknown* 757s Full Backup 11 03-May-25 23:10 BackupCatalog *unknown* 757s ==== 757s 757s Running Jobs: 757s Console connected using TLS at 03-May-25 07:09 757s No Jobs running. 757s ==== 757s No Terminated Jobs. 757s ==== 757s Connecting to Storage daemon File1 at localhost:9103 757s 757s autopkgtest-sd Version: 13.0.4 (12 February 2024) x86_64-pc-linux-gnu ubuntu 25.04 757s Daemon started 03-May-25 07:09. Jobs: run=0, running=0. 757s Ulimits: nofile=1024 memlock=unlimited status=nofile 757s Heap: heap=651,264 smbytes=228,774 max_bytes=350,074 bufs=267 max_bufs=268 757s Sizes: boffset_t=8 size_t=8 int32_t=4 int64_t=8 mode=0,0 newbsr=0 757s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 757s Res: ndevices=4 nautochgr=2 757s 757s Running Jobs: 757s Director connected using TLS at: 03-May-25 07:09 757s No Jobs running. 757s ==== 757s 757s Jobs waiting to reserve a drive: 757s ==== 757s 757s Terminated Jobs: 757s ==== 757s 757s Device status: 757s Autochanger "FileChgr1" with devices: 757s "FileChgr1-Dev1" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) 757s "FileChgr1-Dev2" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) 757s Autochanger "FileChgr2" with devices: 757s "FileChgr2-Dev1" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) 757s "FileChgr2-Dev2" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) 757s 757s Device File: "FileChgr1-Dev1" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) is not open. 757s Drive 0 is not loaded. 757s Available Space=16.82 GB 757s == 757s 757s Device File: "FileChgr1-Dev2" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) is not open. 757s Drive 0 is not loaded. 757s Available Space=16.82 GB 757s == 757s 757s Device File: "FileChgr2-Dev1" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) is not open. 757s Drive 0 is not loaded. 757s Available Space=16.82 GB 757s == 757s 757s Device File: "FileChgr2-Dev2" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) is not open. 757s Drive 0 is not loaded. 757s Available Space=16.82 GB 757s == 757s ==== 757s 757s Used Volume status: 757s ==== 757s 757s ==== 757s 757s Connecting to Client autopkgtest-fd at localhost:9102 757s 757s autopkgtest-fd Version: 13.0.4 (12 February 2024) x86_64-pc-linux-gnu ubuntu 25.04 757s Daemon started 03-May-25 07:09. Jobs: run=0 running=0. 757s Heap: heap=643,072 smbytes=197,902 max_bytes=197,919 bufs=101 max_bufs=101 757s Sizes: boffset_t=8 size_t=8 debug=0 trace=0 mode=0,0 bwlimit=0kB/s 757s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 757s Plugin: bpipe-fd.so(2) 757s 757s Running Jobs: 757s Director connected using TLS at: 03-May-25 07:09 757s No Jobs running. 757s ==== 757s 757s Terminated Jobs: 757s ==== 757s + echo 757s 757s + echo '---- label a volume ----' 757s ---- label a volume ---- 757s + echo -e 'label volume=testvol pool=File storage=File1 drive=0 slot=0' 757s + bconsole 757s Connecting to Director localhost:9101 757s 1000 OK: 10002 autopkgtest-dir Version: 13.0.4 (12 February 2024) 757s Enter a period to cancel a command. 757s label volume=testvol pool=File storage=File1 drive=0 slot=0 757s Automatically selected Catalog: MyCatalog 757s Using Catalog "MyCatalog" 757s Connecting to Storage daemon File1 at localhost:9103 ... 757s Sending label command for Volume "testvol" Slot 0 ... 757s 3000 OK label. VolBytes=226 VolABytes=0 VolType=1 Volume="testvol" Device="FileChgr1-Dev1" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) 757s Catalog record for Volume "testvol", Slot 0 successfully created. 757s Requesting to mount FileChgr1 ... 757s 3906 File device ""FileChgr1-Dev1" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr)" is always mounted. 757s + echo 757s 757s + echo '----- create some file to test backup / restore ----' 757s ----- create some file to test backup / restore ---- 757s + echo 'bacula restore test' 757s + echo 757s 757s + echo '------ trigger backup job -----' 757s ------ trigger backup job ----- 757s + echo -e 'run job=BackupClient1 yes\rwait' 757s + bconsole 757s + grep 'Job queued. JobId=' 761s Job queued. JobId=1 761s + bconsole 761s + echo 'status all' 762s Connecting to Director localhost:9101 762s 1000 OK: 10002 autopkgtest-dir Version: 13.0.4 (12 February 2024) 762s Enter a period to cancel a command. 762s status all 762s autopkgtest-dir Version: 13.0.4 (12 February 2024) x86_64-pc-linux-gnu ubuntu 25.04 762s Daemon started 03-May-25 07:09, conf reloaded 03-May-2025 07:09:34 762s Jobs: run=1, running=0 mode=0,0 762s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 762s Heap: heap=966,656 smbytes=465,104 max_bytes=491,114 bufs=456 max_bufs=497 762s Res: njobs=3 nclients=1 nstores=2 npools=3 ncats=1 nfsets=2 nscheds=2 762s 762s Scheduled Jobs: 762s Level Type Pri Scheduled Job Name Volume 762s =================================================================================== 762s Incremental Backup 10 03-May-25 23:05 BackupClient1 testvol 762s Full Backup 11 03-May-25 23:10 BackupCatalog testvol 762s ==== 762s 762s Running Jobs: 762s Console connected using TLS at 03-May-25 07:09 762s No Jobs running. 762s ==== 762s 762s Terminated Jobs: 762s JobId Level Files Bytes Status Finished Name 762s ==================================================================== 762s 1 Full 536 29.67 M OK 03-May-25 07:09 BackupClient1 762s 762s ==== 762s Connecting to Storage daemon File1 at localhost:9103 762s 762s autopkgtest-sd Version: 13.0.4 (12 February 2024) x86_64-pc-linux-gnu ubuntu 25.04 762s Daemon started 03-May-25 07:09. Jobs: run=1, running=0. 762s Ulimits: nofile=1024 memlock=unlimited status=nofile 762s Heap: heap=651,264 smbytes=667,052 max_bytes=1,023,637 bufs=283 max_bufs=305 762s Sizes: boffset_t=8 size_t=8 int32_t=4 int64_t=8 mode=0,0 newbsr=0 762s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 762s Res: ndevices=4 nautochgr=2 762s 762s Running Jobs: 762s Director connected using TLS at: 03-May-25 07:09 762s No Jobs running. 762s ==== 762s 762s Jobs waiting to reserve a drive: 762s ==== 762s 762s Terminated Jobs: 762s JobId Level Files Bytes Status Finished Name 762s =================================================================== 762s 1 Full 536 29.73 M OK 03-May-25 07:09 BackupClient1 762s ==== 762s 762s Device status: 762s Autochanger "FileChgr1" with devices: 762s "FileChgr1-Dev1" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) 762s "FileChgr1-Dev2" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) 762s Autochanger "FileChgr2" with devices: 762s "FileChgr2-Dev1" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) 762s "FileChgr2-Dev2" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) 762s 762s Device File: "FileChgr1-Dev1" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) is not open. 762s Drive 0 is not loaded. 762s Available Space=16.79 GB 762s == 762s 762s Device File: "FileChgr1-Dev2" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) is not open. 762s Drive 0 is not loaded. 762s Available Space=16.79 GB 762s == 762s 762s Device File: "FileChgr2-Dev1" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) is not open. 762s Drive 0 is not loaded. 762s Available Space=16.79 GB 762s == 762s 762s Device File: "FileChgr2-Dev2" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) is not open. 762s Drive 0 is not loaded. 762s Available Space=16.79 GB 762s == 762s ==== 762s 762s Used Volume status: 762s ==== 762s 762s Attr spooling: 0 active jobs, 111,214 bytes; 1 total jobs, 111,214 max bytes. 762s ==== 762s 762s Connecting to Client autopkgtest-fd at localhost:9102 762s 762s autopkgtest-fd Version: 13.0.4 (12 February 2024) x86_64-pc-linux-gnu ubuntu 25.04 762s Daemon started 03-May-25 07:09. Jobs: run=1 running=0. 762s Heap: heap=643,072 smbytes=400,466 max_bytes=629,051 bufs=116 max_bufs=150 762s Sizes: boffset_t=8 size_t=8 debug=0 trace=0 mode=0,0 bwlimit=0kB/s 762s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 762s Plugin: bpipe-fd.so(2) 762s 762s Running Jobs: 762s Director connected using TLS at: 03-May-25 07:09 762s No Jobs running. 762s ==== 762s 762s Terminated Jobs: 762s JobId Level Files Bytes Status Finished Name 762s =================================================================== 762s 1 Full 536 29.67 M OK 03-May-25 07:09 BackupClient1 762s ==== 762s You have messages. 762s + echo 762s 762s + echo '------ trigger restore job -----' 762s ------ trigger restore job ----- 762s + echo -e 'restore select current\rls\rmark usr\rdone\ryes\rwait' 762s + bconsole 762s Connecting to Director localhost:9101 762s 1000 OK: 10002 autopkgtest-dir Version: 13.0.4 (12 February 2024) 762s Enter a period to cancel a command. 762s restore select current 762s Automatically selected Catalog: MyCatalog 762s Using Catalog "MyCatalog" 762s Automatically selected Client: autopkgtest-fd 762s Automatically selected FileSet: Full Set 762s +-------+-------+----------+----------+---------------------+------------+ 762s | JobId | Level | JobFiles | JobBytes | StartTime | VolumeName | 762s +-------+-------+----------+----------+---------------------+------------+ 762s | 1 | F | 536 | 29672663 | 2025-05-03 07:09:48 | testvol | 762s +-------+-------+----------+----------+---------------------+------------+ 762s You have selected the following JobId: 1 762s 762s Building directory tree for JobId(s) 1 ... ++++++++++++++++++++++++++++++++++++++++++++++++ 762s 535 files inserted into the tree. 762s 762s You are now entering file selection mode where you add (mark) and 762s remove (unmark) files to be restored. No files are initially added, unless 762s you used the "all" keyword on the command line. 762s Enter "done" to leave this mode. 762s 762s cwd is: / 762s $ ls 762s usr/ 762s $ mark usr 762s 536 files marked. 762s $ done 762s Bootstrap records written to /var/lib/bacula/autopkgtest-dir.restore.1.bsr 762s 762s The Job will require the following (*=>InChanger): 762s Volume(s) Storage(s) SD Device(s) 762s =========================================================================== 762s 762s testvol File1 FileChgr1 762s 762s Volumes marked with "*" are in the Autochanger. 762s 762s 762s 536 files selected to be restored. 762s 762s Using Catalog "MyCatalog" 762s Run Restore job 762s JobName: RestoreFiles 762s Bootstrap: /var/lib/bacula/autopkgtest-dir.restore.1.bsr 762s Where: /tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-restores 762s Replace: Always 762s FileSet: Full Set 762s Backup Client: autopkgtest-fd 762s Restore Client: autopkgtest-fd 762s Storage: File1 762s When: 2025-05-03 07:09:50 762s Catalog: MyCatalog 762s Priority: 10 762s Plugin Options: *None* 762s OK to run? (yes/mod/no): yes 762s Job queued. JobId=2 762s You have messages. 762s wait 765s + echo 'status all' 765s + bconsole 765s Connecting to Director localhost:9101 765s 1000 OK: 10002 autopkgtest-dir Version: 13.0.4 (12 February 2024) 765s Enter a period to cancel a command. 765s status all 765s autopkgtest-dir Version: 13.0.4 (12 February 2024) x86_64-pc-linux-gnu ubuntu 25.04 765s Daemon started 03-May-25 07:09, conf reloaded 03-May-2025 07:09:34 765s Jobs: run=2, running=0 mode=0,0 765s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 765s Heap: heap=864,256 smbytes=464,469 max_bytes=1,672,327 bufs=458 max_bufs=511 765s Res: njobs=3 nclients=1 nstores=2 npools=3 ncats=1 nfsets=2 nscheds=2 765s 765s Scheduled Jobs: 765s Level Type Pri Scheduled Job Name Volume 765s =================================================================================== 765s Incremental Backup 10 03-May-25 23:05 BackupClient1 testvol 765s Full Backup 11 03-May-25 23:10 BackupCatalog testvol 765s ==== 765s 765s Running Jobs: 765s Console connected using TLS at 03-May-25 07:09 765s No Jobs running. 765s ==== 765s 765s Terminated Jobs: 765s JobId Level Files Bytes Status Finished Name 765s ==================================================================== 765s 1 Full 536 29.67 M OK 03-May-25 07:09 BackupClient1 765s 2 Restore 536 29.67 M OK 03-May-25 07:09 RestoreFiles 765s 765s ==== 765s Connecting to Storage daemon File1 at localhost:9103 765s 765s autopkgtest-sd Version: 13.0.4 (12 February 2024) x86_64-pc-linux-gnu ubuntu 25.04 765s Daemon started 03-May-25 07:09. Jobs: run=2, running=0. 765s Ulimits: nofile=1024 memlock=unlimited status=nofile 765s Heap: heap=544,768 smbytes=640,110 max_bytes=1,023,637 bufs=277 max_bufs=315 765s Sizes: boffset_t=8 size_t=8 int32_t=4 int64_t=8 mode=0,0 newbsr=0 765s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 765s Res: ndevices=4 nautochgr=2 765s 765s Running Jobs: 765s Director connected using TLS at: 03-May-25 07:09 765s No Jobs running. 765s ==== 765s 765s Jobs waiting to reserve a drive: 765s ==== 765s 765s Terminated Jobs: 765s JobId Level Files Bytes Status Finished Name 765s =================================================================== 765s 1 Full 536 29.73 M OK 03-May-25 07:09 BackupClient1 765s 2 Rest 536 29.73 M OK 03-May-25 07:09 RestoreFiles 765s ==== 765s 765s Device status: 765s Autochanger "FileChgr1" with devices: 765s "FileChgr1-Dev1" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) 765s "FileChgr1-Dev2" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) 765s Autochanger "FileChgr2" with devices: 765s "FileChgr2-Dev1" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) 765s "FileChgr2-Dev2" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) 765s 765s Device File: "FileChgr1-Dev1" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) is not open. 765s Drive 0 is not loaded. 765s Available Space=16.76 GB 765s == 765s 765s Device File: "FileChgr1-Dev2" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) is not open. 765s Drive 0 is not loaded. 765s Available Space=16.76 GB 765s == 765s 765s Device File: "FileChgr2-Dev1" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) is not open. 765s Drive 0 is not loaded. 765s Available Space=16.76 GB 765s == 765s 765s Device File: "FileChgr2-Dev2" (/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-sd/filechgr) is not open. 765s Drive 0 is not loaded. 765s Available Space=16.76 GB 765s == 765s ==== 765s 765s Used Volume status: 765s ==== 765s 765s Attr spooling: 0 active jobs, 111,214 bytes; 1 total jobs, 111,214 max bytes. 765s ==== 765s 765s Connecting to Client autopkgtest-fd at localhost:9102 765s 765s autopkgtest-fd Version: 13.0.4 (12 February 2024) x86_64-pc-linux-gnu ubuntu 25.04 765s Daemon started 03-May-25 07:09. Jobs: run=2 running=0. 765s Heap: heap=536,576 smbytes=239,997 max_bytes=1,135,647 bufs=102 max_bufs=150 765s Sizes: boffset_t=8 size_t=8 debug=0 trace=0 mode=0,0 bwlimit=0kB/s 765s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 765s Plugin: bpipe-fd.so(2) 765s 765s Running Jobs: 765s Director connected using TLS at: 03-May-25 07:09 765s No Jobs running. 765s ==== 765s 765s Terminated Jobs: 765s JobId Level Files Bytes Status Finished Name 765s =================================================================== 765s 1 Full 536 29.67 M OK 03-May-25 07:09 BackupClient1 765s 2 Rest 536 29.67 M OK 03-May-25 07:09 RestoreFiles 765s ==== 765s You have messages. 765s + grep 'bacula restore test' /tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-restores//usr/sbin/bacula-backup.test 765s bacula restore test 765s + echo 765s 765s + echo '------ compare original and restore ------' 765s ------ compare original and restore ------ 765s + debian/tests/scripts/diff.pl -s /usr/sbin -d /tmp/autopkgtest.b3PsuB/autopkgtest_tmp/bacula-restores/usr/sbin --acl --attr 769s + echo 769s 769s + echo '------ backup-test end ------' 769s ------ backup-test end ------ 770s autopkgtest [07:09:58]: test backup-test-sqlite3: -----------------------] 770s autopkgtest [07:09:58]: test backup-test-sqlite3: - - - - - - - - - - results - - - - - - - - - - 770s backup-test-sqlite3 PASS 771s autopkgtest [07:09:59]: test program-test-sqlite3: preparing testbed 832s autopkgtest [07:11:00]: testbed dpkg architecture: amd64 832s autopkgtest [07:11:00]: testbed apt version: 3.0.0 832s autopkgtest [07:11:00]: @@@@@@@@@@@@@@@@@@@@ test bed setup 833s autopkgtest [07:11:01]: testbed release detected to be: questing 833s autopkgtest [07:11:01]: updating testbed package index (apt update) 834s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB] 834s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 834s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 834s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 834s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [1722 kB] 834s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [156 kB] 834s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [43.3 kB] 834s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 Packages [200 kB] 834s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/main i386 Packages [149 kB] 834s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/universe i386 Packages [587 kB] 834s Get:11 http://ftpmaster.internal/ubuntu questing-proposed/universe amd64 Packages [1408 kB] 834s Get:12 http://ftpmaster.internal/ubuntu questing-proposed/multiverse i386 Packages [13.2 kB] 834s Get:13 http://ftpmaster.internal/ubuntu questing-proposed/multiverse amd64 Packages [14.5 kB] 835s Fetched 4405 kB in 1s (3845 kB/s) 836s Reading package lists... 836s autopkgtest [07:11:04]: upgrading testbed (apt dist-upgrade and autopurge) 837s Reading package lists... 837s Building dependency tree... 837s Reading state information... 837s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 837s Starting 2 pkgProblemResolver with broken count: 0 838s Done 838s Entering ResolveByKeep 838s 839s Calculating upgrade... 839s The following packages will be upgraded: 839s debianutils file libmagic-mgc libmagic1t64 libnftnl11 839s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 839s Need to get 611 kB of archives. 839s After this operation, 1851 kB of additional disk space will be used. 839s Get:1 http://ftpmaster.internal/ubuntu questing/main amd64 debianutils amd64 5.22 [93.0 kB] 839s Get:2 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 file amd64 1:5.46-5 [22.1 kB] 839s Get:3 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 libmagic1t64 amd64 1:5.46-5 [90.8 kB] 839s Get:4 http://ftpmaster.internal/ubuntu questing-proposed/main amd64 libmagic-mgc amd64 1:5.46-5 [336 kB] 839s Get:5 http://ftpmaster.internal/ubuntu questing/main amd64 libnftnl11 amd64 1.2.9-1 [69.1 kB] 839s Fetched 611 kB in 0s (1281 kB/s) 840s (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 ... 80514 files and directories currently installed.) 840s Preparing to unpack .../debianutils_5.22_amd64.deb ... 840s Unpacking debianutils (5.22) over (5.21) ... 840s Setting up debianutils (5.22) ... 840s (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 ... 80514 files and directories currently installed.) 840s Preparing to unpack .../file_1%3a5.46-5_amd64.deb ... 840s Unpacking file (1:5.46-5) over (1:5.45-3build1) ... 840s Preparing to unpack .../libmagic1t64_1%3a5.46-5_amd64.deb ... 840s Unpacking libmagic1t64:amd64 (1:5.46-5) over (1:5.45-3build1) ... 840s Preparing to unpack .../libmagic-mgc_1%3a5.46-5_amd64.deb ... 840s Unpacking libmagic-mgc (1:5.46-5) over (1:5.45-3build1) ... 840s Preparing to unpack .../libnftnl11_1.2.9-1_amd64.deb ... 840s Unpacking libnftnl11:amd64 (1.2.9-1) over (1.2.8-1) ... 840s Setting up libmagic-mgc (1:5.46-5) ... 840s Setting up libmagic1t64:amd64 (1:5.46-5) ... 840s Setting up libnftnl11:amd64 (1.2.9-1) ... 840s Setting up file (1:5.46-5) ... 840s Processing triggers for libc-bin (2.41-6ubuntu1) ... 840s Processing triggers for man-db (2.13.0-1) ... 842s Reading package lists... 843s Building dependency tree... 843s Reading state information... 843s Starting pkgProblemResolver with broken count: 0 843s Starting 2 pkgProblemResolver with broken count: 0 843s Done 843s Solving dependencies... 844s 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 848s The following NEW packages will be installed: 848s bacula bacula-bscan bacula-client bacula-common bacula-common-sqlite3 848s bacula-console bacula-director bacula-director-sqlite3 bacula-fd bacula-sd 848s bacula-server bsd-mailx dbconfig-common dbconfig-pgsql dbconfig-sqlite3 848s liblockfile-bin liblockfile1 libpq5 mtx postfix postgresql-client 848s postgresql-client-17 postgresql-client-common sqlite3 848s 0 upgraded, 24 newly installed, 0 to remove and 0 not upgraded. 848s Need to get 5534 kB of archives. 848s After this operation, 17.5 MB of additional disk space will be used. 848s Get:1 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-common amd64 13.0.4-4build1 [867 kB] 849s Get:2 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-common-sqlite3 amd64 13.0.4-4build1 [11.0 kB] 849s Get:3 http://ftpmaster.internal/ubuntu questing/universe amd64 dbconfig-common all 2.0.24 [596 kB] 849s Get:4 http://ftpmaster.internal/ubuntu questing/main amd64 sqlite3 amd64 3.46.1-3 [149 kB] 849s Get:5 http://ftpmaster.internal/ubuntu questing/universe amd64 dbconfig-sqlite3 all 2.0.24 [892 B] 849s Get:6 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-director-sqlite3 all 13.0.4-4build1 [31.6 kB] 849s Get:7 http://ftpmaster.internal/ubuntu questing/main amd64 postfix amd64 3.9.1-10ubuntu1 [1317 kB] 849s Get:8 http://ftpmaster.internal/ubuntu questing/main amd64 liblockfile-bin amd64 1.17-2 [11.2 kB] 849s Get:9 http://ftpmaster.internal/ubuntu questing/main amd64 liblockfile1 amd64 1.17-2 [6922 B] 849s Get:10 http://ftpmaster.internal/ubuntu questing/main amd64 bsd-mailx amd64 8.1.2-0.20220412cvs-1build1 [67.2 kB] 849s Get:11 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-director amd64 13.0.4-4build1 [387 kB] 849s Get:12 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-fd amd64 13.0.4-4build1 [147 kB] 849s Get:13 http://ftpmaster.internal/ubuntu questing/main amd64 mtx amd64 1.3.12-18 [45.0 kB] 849s Get:14 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-sd amd64 13.0.4-4build1 [153 kB] 849s Get:15 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-console amd64 13.0.4-4build1 [28.6 kB] 849s Get:16 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-client all 13.0.4-4build1 [23.5 kB] 849s Get:17 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-bscan amd64 13.0.4-4build1 [25.5 kB] 849s Get:18 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula-server all 13.0.4-4build1 [23.4 kB] 849s Get:19 http://ftpmaster.internal/ubuntu questing/universe amd64 bacula all 13.0.4-4build1 [1036 B] 849s Get:20 http://ftpmaster.internal/ubuntu questing/main amd64 libpq5 amd64 17.4-1 [155 kB] 849s Get:21 http://ftpmaster.internal/ubuntu questing/main amd64 postgresql-client-common all 274 [47.6 kB] 849s Get:22 http://ftpmaster.internal/ubuntu questing/main amd64 postgresql-client-17 amd64 17.4-1 [1425 kB] 849s Get:23 http://ftpmaster.internal/ubuntu questing/main amd64 postgresql-client all 17+274 [13.3 kB] 849s Get:24 http://ftpmaster.internal/ubuntu questing/universe amd64 dbconfig-pgsql all 2.0.24 [914 B] 849s Preconfiguring packages ... 849s Fetched 5534 kB in 1s (5662 kB/s) 849s Selecting previously unselected package bacula-common. 849s (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 ... 80514 files and directories currently installed.) 849s Preparing to unpack .../00-bacula-common_13.0.4-4build1_amd64.deb ... 849s Adding user 'bacula'... Ok. 850s Unpacking bacula-common (13.0.4-4build1) ... 850s Selecting previously unselected package bacula-common-sqlite3. 850s Preparing to unpack .../01-bacula-common-sqlite3_13.0.4-4build1_amd64.deb ... 850s Unpacking bacula-common-sqlite3 (13.0.4-4build1) ... 850s Selecting previously unselected package dbconfig-common. 850s Preparing to unpack .../02-dbconfig-common_2.0.24_all.deb ... 850s Unpacking dbconfig-common (2.0.24) ... 850s Selecting previously unselected package sqlite3. 850s Preparing to unpack .../03-sqlite3_3.46.1-3_amd64.deb ... 850s Unpacking sqlite3 (3.46.1-3) ... 850s Selecting previously unselected package dbconfig-sqlite3. 850s Preparing to unpack .../04-dbconfig-sqlite3_2.0.24_all.deb ... 850s Unpacking dbconfig-sqlite3 (2.0.24) ... 850s Selecting previously unselected package bacula-director-sqlite3. 850s Preparing to unpack .../05-bacula-director-sqlite3_13.0.4-4build1_all.deb ... 850s Unpacking bacula-director-sqlite3 (13.0.4-4build1) ... 850s Selecting previously unselected package postfix. 850s Preparing to unpack .../06-postfix_3.9.1-10ubuntu1_amd64.deb ... 850s Unpacking postfix (3.9.1-10ubuntu1) ... 850s Selecting previously unselected package liblockfile-bin. 850s Preparing to unpack .../07-liblockfile-bin_1.17-2_amd64.deb ... 850s Unpacking liblockfile-bin (1.17-2) ... 850s Selecting previously unselected package liblockfile1:amd64. 850s Preparing to unpack .../08-liblockfile1_1.17-2_amd64.deb ... 850s Unpacking liblockfile1:amd64 (1.17-2) ... 850s Selecting previously unselected package bsd-mailx. 850s Preparing to unpack .../09-bsd-mailx_8.1.2-0.20220412cvs-1build1_amd64.deb ... 850s Unpacking bsd-mailx (8.1.2-0.20220412cvs-1build1) ... 850s Selecting previously unselected package bacula-director. 850s Preparing to unpack .../10-bacula-director_13.0.4-4build1_amd64.deb ... 850s Unpacking bacula-director (13.0.4-4build1) ... 850s Selecting previously unselected package bacula-fd. 850s Preparing to unpack .../11-bacula-fd_13.0.4-4build1_amd64.deb ... 850s Unpacking bacula-fd (13.0.4-4build1) ... 850s Selecting previously unselected package mtx. 850s Preparing to unpack .../12-mtx_1.3.12-18_amd64.deb ... 850s Unpacking mtx (1.3.12-18) ... 850s Selecting previously unselected package bacula-sd. 850s Preparing to unpack .../13-bacula-sd_13.0.4-4build1_amd64.deb ... 850s Unpacking bacula-sd (13.0.4-4build1) ... 850s Selecting previously unselected package bacula-console. 850s Preparing to unpack .../14-bacula-console_13.0.4-4build1_amd64.deb ... 850s Unpacking bacula-console (13.0.4-4build1) ... 850s Selecting previously unselected package bacula-client. 850s Preparing to unpack .../15-bacula-client_13.0.4-4build1_all.deb ... 850s Unpacking bacula-client (13.0.4-4build1) ... 850s Selecting previously unselected package bacula-bscan. 850s Preparing to unpack .../16-bacula-bscan_13.0.4-4build1_amd64.deb ... 850s Unpacking bacula-bscan (13.0.4-4build1) ... 850s Selecting previously unselected package bacula-server. 850s Preparing to unpack .../17-bacula-server_13.0.4-4build1_all.deb ... 850s Unpacking bacula-server (13.0.4-4build1) ... 850s Selecting previously unselected package bacula. 850s Preparing to unpack .../18-bacula_13.0.4-4build1_all.deb ... 850s Unpacking bacula (13.0.4-4build1) ... 850s Selecting previously unselected package libpq5:amd64. 850s Preparing to unpack .../19-libpq5_17.4-1_amd64.deb ... 850s Unpacking libpq5:amd64 (17.4-1) ... 850s Selecting previously unselected package postgresql-client-common. 850s Preparing to unpack .../20-postgresql-client-common_274_all.deb ... 850s Unpacking postgresql-client-common (274) ... 850s Selecting previously unselected package postgresql-client-17. 850s Preparing to unpack .../21-postgresql-client-17_17.4-1_amd64.deb ... 850s Unpacking postgresql-client-17 (17.4-1) ... 850s Selecting previously unselected package postgresql-client. 850s Preparing to unpack .../22-postgresql-client_17+274_all.deb ... 850s Unpacking postgresql-client (17+274) ... 850s Selecting previously unselected package dbconfig-pgsql. 850s Preparing to unpack .../23-dbconfig-pgsql_2.0.24_all.deb ... 850s Unpacking dbconfig-pgsql (2.0.24) ... 851s Setting up postgresql-client-common (274) ... 851s Setting up liblockfile-bin (1.17-2) ... 851s Setting up libpq5:amd64 (17.4-1) ... 851s Setting up mtx (1.3.12-18) ... 851s Setting up dbconfig-common (2.0.24) ... 851s Creating config file /etc/dbconfig-common/config with new version 851s Setting up bacula-common (13.0.4-4build1) ... 851s Setting up bacula-sd (13.0.4-4build1) ... 851s Creating config file /etc/default/bacula-sd with new version 851s Creating config file /etc/bacula/bacula-sd.conf with new version 852s Created symlink '/etc/systemd/system/multi-user.target.wants/bacula-sd.service' → '/usr/lib/systemd/system/bacula-sd.service'. 852s Setting up bacula-console (13.0.4-4build1) ... 852s Creating config file /etc/bacula/bconsole.conf with new version 852s Setting up postfix (3.9.1-10ubuntu1) ... 853s Created symlink '/etc/systemd/system/multi-user.target.wants/postfix.service' → '/usr/lib/systemd/system/postfix.service'. 853s info: Selecting UID from range 100 to 999 ... 853s 853s info: Selecting GID from range 100 to 999 ... 853s info: Adding system user `postfix' (UID 108) ... 853s info: Adding new group `postfix' (GID 111) ... 853s info: Adding new user `postfix' (UID 108) with group `postfix' ... 853s info: Not creating home directory `/var/spool/postfix'. 853s info: Selecting GID from range 100 to 999 ... 853s info: Adding group `postdrop' (GID 112) ... 853s Creating /etc/postfix/dynamicmaps.cf 853s setting myhostname: autopkgtest.local 853s setting alias maps 853s setting alias database 853s changing /etc/mailname to autopkgtest.local 853s setting myorigin 853s setting destinations: $myhostname, autopkgtest.local, localhost.local, , localhost 853s setting relayhost: 853s setting mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 853s clearing mailbox_command 853s setting mailbox_size_limit: 0 853s setting recipient_delimiter: + 855s setting inet_interfaces: all 857s setting inet_protocols: all 857s /etc/aliases does not exist, creating it. 857s WARNING: /etc/aliases exists, but does not have a root alias. 857s 857s Postfix (main.cf) is now set up with a default configuration. If you need to 857s make changes, edit /etc/postfix/main.cf (and others) as needed. To view 857s Postfix configuration values, see postconf(1). 857s 857s After modifying main.cf, be sure to run 'systemctl reload postfix'. 857s 859s Setting up bacula-common-sqlite3 (13.0.4-4build1) ... 859s Setting up liblockfile1:amd64 (1.17-2) ... 859s Setting up bacula-bscan (13.0.4-4build1) ... 859s Setting up sqlite3 (3.46.1-3) ... 859s Setting up bacula-fd (13.0.4-4build1) ... 859s Creating config file /etc/default/bacula-fd with new version 860s Creating config file /etc/bacula/bacula-fd.conf with new version 860s Created symlink '/etc/systemd/system/multi-user.target.wants/bacula-fd.service' → '/usr/lib/systemd/system/bacula-fd.service'. 861s Setting up bacula-client (13.0.4-4build1) ... 861s Setting up postgresql-client-17 (17.4-1) ... 861s 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 861s Setting up dbconfig-pgsql (2.0.24) ... 861s Setting up bsd-mailx (8.1.2-0.20220412cvs-1build1) ... 861s update-alternatives: using /usr/bin/bsd-mailx to provide /usr/bin/mailx (mailx) in auto mode 861s Setting up dbconfig-sqlite3 (2.0.24) ... 861s Setting up postgresql-client (17+274) ... 861s Setting up bacula-director-sqlite3 (13.0.4-4build1) ... 861s dbconfig-common: writing config to /etc/dbconfig-common/bacula-director-sqlite3.conf 861s Creating config file /etc/dbconfig-common/bacula-director-sqlite3.conf with new version 861s creating database bacula.db: success. 861s verifying database bacula.db exists: success. 861s populating database via sql... done. 862s Setting up bacula-director (13.0.4-4build1) ... 862s Creating config file /etc/default/bacula-dir with new version 862s Creating config file /etc/bacula/bacula-dir.conf with new version 862s Creating config file /etc/bacula/scripts/delete_catalog_backup with new version 863s Creating config file /etc/bacula/scripts/make_catalog_backup with new version 863s Created symlink '/etc/systemd/system/bacula-dir.service' → '/usr/lib/systemd/system/bacula-director.service'. 863s Created symlink '/etc/systemd/system/multi-user.target.wants/bacula-director.service' → '/usr/lib/systemd/system/bacula-director.service'. 863s Setting up bacula-server (13.0.4-4build1) ... 863s Setting up bacula (13.0.4-4build1) ... 863s Processing triggers for rsyslog (8.2412.0-2ubuntu2) ... 864s Processing triggers for ufw (0.36.2-9) ... 864s Processing triggers for man-db (2.13.0-1) ... 864s Processing triggers for libc-bin (2.41-6ubuntu1) ... 864s Processing triggers for postfix (3.9.1-10ubuntu1) ... 864s Restarting postfix 868s autopkgtest [07:11:36]: test program-test-sqlite3: [----------------------- 868s + echo '----- start testing -----' 868s ----- start testing ----- 868s + echo 'USER: root' 868s USER: root 868s + DBTYPE=sqlite3 868s + echo '---- Preparing test files ----' 868s ---- Preparing test files ---- 868s + DATAFILE=/tmp/autopkgtest.b3PsuB/autopkgtest_tmp/datafile 868s + cat 868s + echo 868s 868s + echo '---- Testing /usr/sbin/bregex ----' 868s ---- Testing /usr/sbin/bregex ---- 868s + echo -en 'line . of the message\r' 868s + /usr/sbin/bregex -f /tmp/autopkgtest.b3PsuB/autopkgtest_tmp/datafile 868s Enter regex pattern: 2: This is line 1 of the message. 868s 3: This is line 2 of the message. 868s 4: This is line 3 of the message. 868s 5: This is line 4 of the message. 868s Enter regex pattern: + echo 868s 868s + echo '---- Testing /usr/sbin/bwild ----' 868s ---- Testing /usr/sbin/bwild ---- 868s + echo -en '*line ? of the message.\r' 868s + /usr/sbin/bwild -f /tmp/autopkgtest.b3PsuB/autopkgtest_tmp/datafile 868s Enter a wild-card: 2: This is line 1 of the message. 868s 3: This is line 2 of the message. 868s 4: This is line 3 of the message. 868s 5: This is line 4 of the message. 868s Enter a wild-card: + echo 868s 868s + echo '---- Testing /usr/sbin/bbconsjson ----' 868s ---- Testing /usr/sbin/bbconsjson ---- 868s + /usr/sbin/bbconsjson 868s [ 868s { 868s "Director": { 868s "Name": "autopkgtest-dir", 868s "DirPort": 9101, 868s "Address": "localhost", 868s "Password": "9EAiw5D2c1oPKms4P2d35J5nKUBHKxdb9" 868s } 868s } 868s ] 868s + echo 868s 868s + echo '---- Testing /usr/sbin/bdirjson ----' 868s ---- Testing /usr/sbin/bdirjson ---- 868s + /usr/sbin/bdirjson 868s [ 868s { 868s "Director": { 868s "Name": "autopkgtest-dir", 868s "Messages": "Daemon", 868s "DirAddress": "127.0.0.1", 868s "QueryFile": "/etc/bacula/scripts/query.sql", 868s "WorkingDirectory": "/var/lib/bacula", 868s "PidDirectory": "/run/bacula", 868s "MaximumConcurrentJobs": 20, 868s "Password": "9EAiw5D2c1oPKms4P2d35J5nKUBHKxdb9" 868s } 868s }, 868s { 868s "Client": { 868s "Name": "autopkgtest-fd", 868s "Address": "localhost", 868s "FdPort": 9102, 868s "Password": "gwFx6rS8gR3LE8S4dS7DRQTZMVNOo5OzC", 868s "Catalog": "MyCatalog", 868s "FileRetention": 5184000, 868s "JobRetention": 15552000, 868s "AutoPrune": true 868s } 868s }, 868s { 868s "Job": { 868s "Name": "BackupCatalog", 868s "Type": "Backup", 868s "Level": "Full", 868s "Messages": "Standard", 868s "Storage": ["File1"], 868s "Pool": "File", 868s "Client": "autopkgtest-fd", 868s "Fileset": "Catalog", 868s "Schedule": "WeeklyCycleAfterBackup", 868s "JobDefs": "DefaultJob", 868s "WriteBootstrap": "/var/lib/bacula/%n.bsr", 868s "SpoolAttributes": true, 868s "Runscript": [ 868s { 868s "RunsWhen": "Before", 868s "RunsOnClient": false, 868s "Command": "/etc/bacula/scripts/make_catalog_backup.pl MyCatalog" 868s }, 868s { 868s "RunsWhen": "After", 868s "RunsOnClient": false, 868s "Command": "/etc/bacula/scripts/delete_catalog_backup" 868s } 868s ] 868s , 868s "Priority": 11 868s } 868s }, 868s { 868s "Job": { 868s "Name": "BackupClient1", 868s "Type": "Backup", 868s "Level": "Incremental", 868s "Messages": "Standard", 868s "Storage": ["File1"], 868s "Pool": "File", 868s "Client": "autopkgtest-fd", 868s "Fileset": "Full Set", 868s "Schedule": "WeeklyCycle", 868s "JobDefs": "DefaultJob", 868s "WriteBootstrap": "/var/lib/bacula/%c.bsr", 868s "SpoolAttributes": true, 868s "Priority": 10 868s } 868s }, 868s { 868s "Job": { 868s "Name": "RestoreFiles", 868s "Type": "Restore", 868s "Messages": "Standard", 868s "Storage": ["File1"], 868s "Pool": "File", 868s "Client": "autopkgtest-fd", 868s "Fileset": "Full Set", 868s "Where": "/nonexistent/path/to/file/archive/dir/bacula-restores" 868s } 868s }, 868s { 868s "Storage": { 868s "Name": "File1", 868s "SdPort": 9103, 868s "Address": "localhost", 868s "Password": "ckETSltS1JE6A9BSbiVgfxHtFqNI_8cVm", 868s "Device": ["FileChgr1"], 868s "MediaType": "File1", 868s "Autochanger": "File1", 868s "MaximumConcurrentJobs": 10 868s } 868s }, 868s { 868s "Storage": { 868s "Name": "File2", 868s "SdPort": 9103, 868s "Address": "localhost", 868s "Password": "ckETSltS1JE6A9BSbiVgfxHtFqNI_8cVm", 868s "Device": ["FileChgr2"], 868s "MediaType": "File2", 868s "Autochanger": "File2", 868s "MaximumConcurrentJobs": 10 868s } 868s }, 868s { 868s "Catalog": { 868s "Name": "MyCatalog", 868s "Password": "", 868s "User": "", 868s "DbName": "bacula" 868s } 868s }, 868s { 868s "Schedule": { 868s "Name": "WeeklyCycle", 868s "Run": [ 868s { 868s "Level": "Full", 868s "Level": "Full", 868s "Level": "Full", 868s "Hour": [23], 868s "Minute": 5, 868s "Day": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30], 868s "Month": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], 868s "DayOfWeek": [0], 868s "WeekOfMonth": [0], 868s "WeekOfYear": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53] 868s }, 868s { 868s "Level": "Differential", 868s "Level": "Differential", 868s "Level": "Differential", 868s "Hour": [23], 868s "Minute": 5, 868s "Day": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30], 868s "Month": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], 868s "DayOfWeek": [0], 868s "WeekOfMonth": [1, 2, 3, 4], 868s "WeekOfYear": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53] 868s }, 868s { 868s "Level": "Incremental", 868s "Level": "Incremental", 868s "Level": "Incremental", 868s "Hour": [23], 868s "Minute": 5, 868s "Day": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30], 868s "Month": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], 868s "DayOfWeek": [1, 2, 3, 4, 5, 6], 868s "WeekOfMonth": [0, 1, 2, 3, 4, 5], 868s "WeekOfYear": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53] 868s } 868s ] 868s } 868s }, 868s { 868s "Schedule": { 868s "Name": "WeeklyCycleAfterBackup", 868s "Run": [ 868s { 868s "Level": "Full", 868s "Level": "Full", 868s "Level": "Full", 868s "Hour": [23], 868s "Minute": 10, 868s "Day": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30], 868s "Month": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], 868s "DayOfWeek": [0, 1, 2, 3, 4, 5, 6], 868s "WeekOfMonth": [0, 1, 2, 3, 4, 5], 868s "WeekOfYear": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53] 868s } 868s ] 868s } 868s }, 868s { 868s "Fileset": { 868s "Name": "Catalog", 868s "Include": [{ 868s "File": ["/var/lib/bacula/bacula.sql"], 868s "Options": [ 868s { 868s "Signature": "Md5" 868s } 868s ] 868s }] 868s } 868s }, 868s { 868s "Fileset": { 868s "Name": "Full Set", 868s "Include": [{ 868s "File": ["/usr/sbin"], 868s "Options": [ 868s { 868s "Signature": "Md5" 868s } 868s ] 868s }], 868s "Exclude": { 868s "File": ["/var/lib/bacula", "/nonexistent/path/to/file/archive/dir", "/proc", "/tmp", "/sys", "/.journal", "/.fsck"] 868s } 868s } 868s }, 868s { 868s "Pool": { 868s "Name": "Default", 868s "PoolType": "Backup", 868s "MaximumVolumes": 100, 868s "MaximumVolumeBytes": 53687091200, 868s "VolumeRetention": 31536000, 868s "AutoPrune": true, 868s "Recycle": true 868s } 868s }, 868s { 868s "Pool": { 868s "Name": "File", 868s "PoolType": "Backup", 868s "LabelFormat": "Vol-", 868s "MaximumVolumes": 100, 868s "MaximumVolumeBytes": 53687091200, 868s "VolumeRetention": 31536000, 868s "AutoPrune": true, 868s "Recycle": true 868s } 868s }, 868s { 868s "Pool": { 868s "Name": "Scratch", 868s "PoolType": "Backup" 868s } 868s }, 868s { 868s "Messages": { 868s "Name": "Daemon", 868s "MailCommand": "/usr/sbin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s \"Bacula daemon message\" %r", 868s "Destinations": [ 868s { 868s "Type": "Mail", 868s "MsgTypes": ["All","!Skipped"], 868s "Where": ["root"], 868s "Command": "/usr/sbin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s \"Bacula daemon message\" %r" 868s }, 868s { 868s "Type": "Append", 868s "MsgTypes": ["All","!Skipped"], 868s "Where": ["/var/log/bacula/bacula.log"] 868s }, 868s { 868s "Type": "Console", 868s "MsgTypes": ["All","!Skipped"] 868s } 868s ] 868s } 868s }, 868s { 868s "Messages": { 868s "Name": "Standard", 868s "MailCommand": "/usr/sbin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s \"Bacula: %t %e of %c %l\" %r", 868s "OperatorCommand": "/usr/sbin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s \"Bacula: Intervention needed for %j\" %r", 868s "Destinations": [ 868s { 868s "Type": "Mail", 868s "MsgTypes": ["All","!Skipped"], 868s "Where": ["root"], 868s "Command": "/usr/sbin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s \"Bacula: %t %e of %c %l\" %r" 868s }, 868s { 868s "Type": "Append", 868s "MsgTypes": ["All","!Skipped"], 868s "Where": ["/var/log/bacula/bacula.log"] 868s }, 868s { 868s "Type": "Console", 868s "MsgTypes": ["All","!Skipped"] 868s }, 868s { 868s "Type": "Operator", 868s "MsgTypes": ["Mount"], 868s "Where": ["root"], 868s "Command": "/usr/sbin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s \"Bacula: Intervention needed for %j\" %r" 868s }, 868s { 868s "Type": "Catalog", 868s "MsgTypes": ["All"] 868s } 868s ] 868s } 868s }, 868s { 868s "Console": { 868s "Name": "autopkgtest-mon", 868s "Password": "lsS4Rf7S1RTcIkvJvuD4jaXHGY56pLu2o", 868s "CommandAcl": ["status", ".status"] 868s } 868s }, 868s { 868s "JobDefs": { 868s "Name": "DefaultJob", 868s "Type": "Backup", 868s "Level": "Incremental", 868s "Messages": "Standard", 868s "Storage": ["File1"], 868s "Pool": "File", 868s "Client": "autopkgtest-fd", 868s "Fileset": "Full Set", 868s "Schedule": "WeeklyCycle", 868s "WriteBootstrap": "/var/lib/bacula/%c.bsr", 868s "SpoolAttributes": true, 868s "Priority": 10 868s } 868s } 868s ] 868s + echo 868s 868s + echo '---- Testing /usr/sbin/bfdjson ----' 868s ---- Testing /usr/sbin/bfdjson ---- 868s + /usr/sbin/bfdjson 868s [{ 868s "Director": { 868s "Name": "autopkgtest-dir", 868s "Password": "gwFx6rS8gR3LE8S4dS7DRQTZMVNOo5OzC" 868s } 868s }, 868s { 868s "Director": { 868s "Name": "autopkgtest-mon", 868s "Password": "YnEfnPAYyxgkeDZsOzBNwIadOAkbPtqht", 868s "Monitor": true 868s } 868s }, 868s { 868s "FileDaemon": { 868s "Name": "autopkgtest-fd", 868s "FdAddress": "127.0.0.1", 868s "WorkingDirectory": "/var/lib/bacula", 868s "PidDirectory": "/run/bacula", 868s "PluginDirectory": "/usr/lib/bacula", 868s "MaximumConcurrentJobs": 20 868s } 868s }, 868s { 868s "Messages": { 868s "Name": "Standard", 868s "Destinations": [ 868s { 868s "Type": "Director", 868s "MsgTypes": ["All","!Skipped","!Restored","!Verified"], 868s "Where": ["autopkgtest-dir"] 868s } 868s ] 868s } 868s } 868s ] 868s + echo 868s 868s + echo '---- Testing /usr/sbin/bsdjson ----' 868s ---- Testing /usr/sbin/bsdjson ---- 868s + /usr/sbin/bsdjson 868s [ 868s { 868s "Director": { 868s "Name": "autopkgtest-dir", 868s "Password": "ckETSltS1JE6A9BSbiVgfxHtFqNI_8cVm" 868s } 868s }, 868s { 868s "Director": { 868s "Name": "autopkgtest-mon", 868s "Password": "vy2OXlOTLM0GP6brvfY2FqtdtCSt0rR9h", 868s "Monitor": true 868s } 868s }, 868s { 868s "Storage": { 868s "Name": "autopkgtest-sd", 868s "SdAddress": "127.0.0.1", 868s "WorkingDirectory": "/var/lib/bacula", 868s "PidDirectory": "/run/bacula", 868s "PluginDirectory": "/usr/lib/bacula", 868s "MaximumConcurrentJobs": 20 868s } 868s }, 868s { 868s "Device": { 868s "Name": "FileChgr1-Dev1", 868s "MediaType": "File1", 868s "ArchiveDevice": "/nonexistent/path/to/file/archive/dir", 868s "RemovableMedia": false, 868s "RandomAccess": true, 868s "AutomaticMount": true, 868s "LabelMedia": true, 868s "AlwaysOpen": false, 868s "MaximumConcurrentJobs": 5 868s } 868s }, 868s { 868s "Device": { 868s "Name": "FileChgr1-Dev2", 868s "MediaType": "File1", 868s "ArchiveDevice": "/nonexistent/path/to/file/archive/dir", 868s "RemovableMedia": false, 868s "RandomAccess": true, 868s "AutomaticMount": true, 868s "LabelMedia": true, 868s "AlwaysOpen": false, 868s "MaximumConcurrentJobs": 5 868s } 868s }, 868s { 868s "Device": { 868s "Name": "FileChgr2-Dev1", 868s "MediaType": "File2", 868s "ArchiveDevice": "/nonexistent/path/to/file/archive/dir", 868s "RemovableMedia": false, 868s "RandomAccess": true, 868s "AutomaticMount": true, 868s "LabelMedia": true, 868s "AlwaysOpen": false, 868s "MaximumConcurrentJobs": 5 868s } 868s }, 868s { 868s "Device": { 868s "Name": "FileChgr2-Dev2", 868s "MediaType": "File2", 868s "ArchiveDevice": "/nonexistent/path/to/file/archive/dir", 868s "RemovableMedia": false, 868s "RandomAccess": true, 868s "AutomaticMount": true, 868s "LabelMedia": true, 868s "AlwaysOpen": false, 868s "MaximumConcurrentJobs": 5 868s } 868s }, 868s { 868s "Messages": { 868s "Name": "Standard", 868s "Destinations": [ 868s { 868s "Type": "Director", 868s "MsgTypes": ["All"], 868s "Where": ["autopkgtest-dir"] 868s } 868s ] 868s } 868s }, 868s { 868s "Autochanger": { 868s "Name": "FileChgr1", 868s "Device": ["FileChgr1-Dev1", "FileChgr1-Dev2"], 868s "ChangerDevice": "/dev/null", 868s "ChangerCommand": "" 868s } 868s }, 868s { 868s "Autochanger": { 868s "Name": "FileChgr2", 868s "Device": ["FileChgr2-Dev1", "FileChgr2-Dev2"], 868s "ChangerDevice": "/dev/null", 868s "ChangerCommand": "" 868s } 868s } 868s ] 868s autopkgtest [07:11:36]: test program-test-sqlite3: -----------------------] 869s program-test-sqlite3 PASS 869s autopkgtest [07:11:37]: test program-test-sqlite3: - - - - - - - - - - results - - - - - - - - - - 869s autopkgtest [07:11:37]: @@@@@@@@@@@@@@@@@@@@ summary 869s backup-test-pgsql PASS 869s program-test-pgsql PASS 869s backup-test-mysql PASS 869s program-test-mysql PASS 869s backup-test-sqlite3 PASS 869s program-test-sqlite3 PASS 886s nova [W] Skipping flock for amd64 886s Creating nova instance adt-questing-amd64-bacula-20250503-065708-juju-7f2275-prod-proposed-migration-environment-2-03c01796-2eaa-40e9-a789-148b65dee99e from image adt/ubuntu-questing-amd64-server-20250503.img (UUID 57b7c1b6-ad80-4bdb-b031-36f045f7f3b3)... 886s nova [W] Timed out waiting for b6f13337-0beb-471b-a161-37da41609df8 to get deleted. 886s nova [W] Skipping flock for amd64 886s Creating nova instance adt-questing-amd64-bacula-20250503-065708-juju-7f2275-prod-proposed-migration-environment-2-03c01796-2eaa-40e9-a789-148b65dee99e from image adt/ubuntu-questing-amd64-server-20250503.img (UUID 57b7c1b6-ad80-4bdb-b031-36f045f7f3b3)... 886s nova [W] Timed out waiting for c141b7af-15bf-4560-9974-a3b2bcfe9d98 to get deleted. 886s nova [W] Skipping flock for amd64 886s Creating nova instance adt-questing-amd64-bacula-20250503-065708-juju-7f2275-prod-proposed-migration-environment-2-03c01796-2eaa-40e9-a789-148b65dee99e from image adt/ubuntu-questing-amd64-server-20250503.img (UUID 57b7c1b6-ad80-4bdb-b031-36f045f7f3b3)... 886s nova [W] Timed out waiting for 4d14224e-1b4c-489a-8cd3-90be50b7f72a to get deleted. 886s nova [W] Skipping flock for amd64 886s Creating nova instance adt-questing-amd64-bacula-20250503-065708-juju-7f2275-prod-proposed-migration-environment-2-03c01796-2eaa-40e9-a789-148b65dee99e from image adt/ubuntu-questing-amd64-server-20250503.img (UUID 57b7c1b6-ad80-4bdb-b031-36f045f7f3b3)... 886s nova [W] Timed out waiting for 867ea5a4-d9ba-456b-8305-5a6406d38036 to get deleted. 886s nova [W] Skipping flock for amd64 886s Creating nova instance adt-questing-amd64-bacula-20250503-065708-juju-7f2275-prod-proposed-migration-environment-2-03c01796-2eaa-40e9-a789-148b65dee99e from image adt/ubuntu-questing-amd64-server-20250503.img (UUID 57b7c1b6-ad80-4bdb-b031-36f045f7f3b3)... 886s nova [W] Timed out waiting for 602e46ae-062d-48e7-98a3-b49c07178408 to get deleted. 886s nova [W] Skipping flock for amd64 886s Creating nova instance adt-questing-amd64-bacula-20250503-065708-juju-7f2275-prod-proposed-migration-environment-2-03c01796-2eaa-40e9-a789-148b65dee99e from image adt/ubuntu-questing-amd64-server-20250503.img (UUID 57b7c1b6-ad80-4bdb-b031-36f045f7f3b3)... 886s nova [W] Timed out waiting for bcbda4ea-cdbc-47b2-9d64-3fb69c6a4d93 to get deleted.