0s autopkgtest [06:58:38]: starting date and time: 2025-05-02 06:58:38+0000 0s autopkgtest [06:58:38]: git checkout: 9986aa8c Merge branch 'skia/fix_network_interface' into 'ubuntu/production' 0s autopkgtest [06:58:38]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work._ukf1ekp/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:ucf --apt-upgrade bacula --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=ucf/3.0051 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-arm64-5.secgroup --name adt-questing-arm64-bacula-20250502-063023-juju-7f2275-prod-proposed-migration-environment-2-ca9b1355-1c3b-4a88-970b-e0653aeeb244 --image adt/ubuntu-questing-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 129s autopkgtest [07:00:47]: testbed dpkg architecture: arm64 130s autopkgtest [07:00:48]: testbed apt version: 3.0.0 130s autopkgtest [07:00:48]: @@@@@@@@@@@@@@@@@@@@ test bed setup 130s autopkgtest [07:00:48]: testbed release detected to be: None 131s autopkgtest [07:00:49]: updating testbed package index (apt update) 132s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB] 132s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 132s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 132s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 132s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [184 kB] 132s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [57.4 kB] 132s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [2202 kB] 132s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 Packages [227 kB] 132s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/universe arm64 Packages [1472 kB] 133s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/multiverse arm64 Packages [16.5 kB] 133s Fetched 4269 kB in 1s (3144 kB/s) 134s Reading package lists... 135s autopkgtest [07:00:53]: upgrading testbed (apt dist-upgrade and autopurge) 135s Reading package lists... 136s Building dependency tree... 136s Reading state information... 137s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 137s Starting 2 pkgProblemResolver with broken count: 0 137s Done 138s Entering ResolveByKeep 139s 139s Calculating upgrade... 140s The following packages will be upgraded: 140s ucf 140s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 140s Need to get 43.6 kB of archives. 140s After this operation, 1024 B of additional disk space will be used. 140s Get:1 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 ucf all 3.0051 [43.6 kB] 141s Preconfiguring packages ... 141s Fetched 43.6 kB in 0s (140 kB/s) 142s (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 ... 117820 files and directories currently installed.) 142s Preparing to unpack .../archives/ucf_3.0051_all.deb ... 142s Unpacking ucf (3.0051) over (3.0050) ... 142s Setting up ucf (3.0051) ... 142s Processing triggers for man-db (2.13.0-1) ... 143s Reading package lists... 143s Building dependency tree... 143s Reading state information... 144s Starting pkgProblemResolver with broken count: 0 144s Starting 2 pkgProblemResolver with broken count: 0 144s Done 144s Solving dependencies... 145s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 147s autopkgtest [07:01:05]: testbed running kernel: Linux 6.14.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Sun Apr 6 14:37:51 UTC 2025 148s autopkgtest [07:01:06]: @@@@@@@@@@@@@@@@@@@@ apt-source bacula 158s Get:1 http://ftpmaster.internal/ubuntu questing/universe bacula 13.0.4-4build1 (dsc) [3402 B] 158s Get:2 http://ftpmaster.internal/ubuntu questing/universe bacula 13.0.4-4build1 (tar) [6227 kB] 158s Get:3 http://ftpmaster.internal/ubuntu questing/universe bacula 13.0.4-4build1 (diff) [111 kB] 159s gpgv: Signature made Thu Feb 6 13:54:27 2025 UTC 159s gpgv: using RSA key 63EEFC3DE14D5146CE7F24BF34B8AD7D9529E793 159s gpgv: issuer "lena.voytek@canonical.com" 159s gpgv: Can't check signature: No public key 159s dpkg-source: warning: cannot verify inline signature for ./bacula_13.0.4-4build1.dsc: no acceptable signature found 159s autopkgtest [07:01:17]: testing package bacula version 13.0.4-4build1 161s autopkgtest [07:01:19]: build not needed 166s autopkgtest [07:01:24]: test backup-test-pgsql: preparing testbed 166s Reading package lists... 167s Building dependency tree... 167s Reading state information... 167s Starting pkgProblemResolver with broken count: 0 167s Starting 2 pkgProblemResolver with broken count: 0 167s Done 168s The following NEW packages will be installed: 168s bacula bacula-bscan bacula-client bacula-common bacula-common-pgsql 168s bacula-console bacula-director bacula-director-pgsql bacula-fd bacula-sd 168s bacula-server bsd-mailx dbconfig-common dbconfig-pgsql libio-pty-perl 168s libipc-run-perl libjson-perl libllvm20 liblockfile-bin liblockfile1 libpq5 168s libxslt1.1 mtx postfix postgresql postgresql-17 postgresql-client 168s postgresql-client-17 postgresql-client-common postgresql-common 168s postgresql-common-dev ssl-cert 168s 0 upgraded, 32 newly installed, 0 to remove and 0 not upgraded. 168s Need to get 50.5 MB of archives. 168s After this operation, 211 MB of additional disk space will be used. 168s Get:1 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-common arm64 13.0.4-4build1 [827 kB] 169s Get:2 http://ftpmaster.internal/ubuntu questing/main arm64 libpq5 arm64 17.4-1 [142 kB] 169s Get:3 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-common-pgsql arm64 13.0.4-4build1 [14.8 kB] 169s Get:4 http://ftpmaster.internal/ubuntu questing/universe arm64 dbconfig-common all 2.0.24 [596 kB] 169s Get:5 http://ftpmaster.internal/ubuntu questing/main arm64 postgresql-client-common all 274 [47.6 kB] 169s Get:6 http://ftpmaster.internal/ubuntu questing/main arm64 postgresql-client-17 arm64 17.4-1 [1342 kB] 169s Get:7 http://ftpmaster.internal/ubuntu questing/main arm64 postgresql-client all 17+274 [13.3 kB] 169s Get:8 http://ftpmaster.internal/ubuntu questing/universe arm64 dbconfig-pgsql all 2.0.24 [914 B] 169s Get:9 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-director-pgsql all 13.0.4-4build1 [34.0 kB] 169s Get:10 http://ftpmaster.internal/ubuntu questing/main arm64 postfix arm64 3.9.1-10ubuntu1 [1286 kB] 169s Get:11 http://ftpmaster.internal/ubuntu questing/main arm64 liblockfile-bin arm64 1.17-2 [11.0 kB] 169s Get:12 http://ftpmaster.internal/ubuntu questing/main arm64 liblockfile1 arm64 1.17-2 [6982 B] 169s Get:13 http://ftpmaster.internal/ubuntu questing/main arm64 bsd-mailx arm64 8.1.2-0.20220412cvs-1build1 [66.2 kB] 169s Get:14 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-director arm64 13.0.4-4build1 [365 kB] 169s Get:15 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-fd arm64 13.0.4-4build1 [140 kB] 169s Get:16 http://ftpmaster.internal/ubuntu questing/main arm64 mtx arm64 1.3.12-18 [42.9 kB] 169s Get:17 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-sd arm64 13.0.4-4build1 [147 kB] 169s Get:18 http://ftpmaster.internal/ubuntu questing/main arm64 libjson-perl all 4.10000-1 [81.9 kB] 169s Get:19 http://ftpmaster.internal/ubuntu questing/main arm64 libio-pty-perl arm64 1:1.20-1build3 [31.3 kB] 169s Get:20 http://ftpmaster.internal/ubuntu questing/main arm64 libipc-run-perl all 20231003.0-2 [91.5 kB] 169s Get:21 http://ftpmaster.internal/ubuntu questing/main arm64 postgresql-common-dev all 274 [73.0 kB] 169s Get:22 http://ftpmaster.internal/ubuntu questing/main arm64 ssl-cert all 1.1.3ubuntu1 [18.7 kB] 169s Get:23 http://ftpmaster.internal/ubuntu questing/main arm64 postgresql-common all 274 [101 kB] 169s Get:24 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-console arm64 13.0.4-4build1 [27.8 kB] 169s Get:25 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-client all 13.0.4-4build1 [23.5 kB] 169s Get:26 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-bscan arm64 13.0.4-4build1 [24.6 kB] 169s Get:27 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-server all 13.0.4-4build1 [23.4 kB] 169s Get:28 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula all 13.0.4-4build1 [1036 B] 169s Get:29 http://ftpmaster.internal/ubuntu questing/main arm64 libllvm20 arm64 1:20.1.2-0ubuntu1 [29.1 MB] 170s Get:30 http://ftpmaster.internal/ubuntu questing/main arm64 libxslt1.1 arm64 1.1.39-0exp1ubuntu4 [168 kB] 170s Get:31 http://ftpmaster.internal/ubuntu questing/main arm64 postgresql-17 arm64 17.4-1 [15.6 MB] 171s Get:32 http://ftpmaster.internal/ubuntu questing/main arm64 postgresql all 17+274 [14.4 kB] 171s Preconfiguring packages ... 171s /var/cache/debconf/tmp.ci/postgresql.config.wTncAy: 12: pg_lsclusters: not found 171s Fetched 50.5 MB in 3s (19.2 MB/s) 171s Selecting previously unselected package bacula-common. 172s (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 ... 117820 files and directories currently installed.) 172s Preparing to unpack .../00-bacula-common_13.0.4-4build1_arm64.deb ... 172s Adding user 'bacula'... Ok. 172s Unpacking bacula-common (13.0.4-4build1) ... 172s Selecting previously unselected package libpq5:arm64. 172s Preparing to unpack .../01-libpq5_17.4-1_arm64.deb ... 172s Unpacking libpq5:arm64 (17.4-1) ... 172s Selecting previously unselected package bacula-common-pgsql. 172s Preparing to unpack .../02-bacula-common-pgsql_13.0.4-4build1_arm64.deb ... 172s Unpacking bacula-common-pgsql (13.0.4-4build1) ... 172s Selecting previously unselected package dbconfig-common. 172s Preparing to unpack .../03-dbconfig-common_2.0.24_all.deb ... 172s Unpacking dbconfig-common (2.0.24) ... 172s Selecting previously unselected package postgresql-client-common. 172s Preparing to unpack .../04-postgresql-client-common_274_all.deb ... 172s Unpacking postgresql-client-common (274) ... 172s Selecting previously unselected package postgresql-client-17. 172s Preparing to unpack .../05-postgresql-client-17_17.4-1_arm64.deb ... 172s Unpacking postgresql-client-17 (17.4-1) ... 172s Selecting previously unselected package postgresql-client. 172s Preparing to unpack .../06-postgresql-client_17+274_all.deb ... 172s Unpacking postgresql-client (17+274) ... 172s Selecting previously unselected package dbconfig-pgsql. 172s Preparing to unpack .../07-dbconfig-pgsql_2.0.24_all.deb ... 172s Unpacking dbconfig-pgsql (2.0.24) ... 172s Selecting previously unselected package bacula-director-pgsql. 172s Preparing to unpack .../08-bacula-director-pgsql_13.0.4-4build1_all.deb ... 172s Unpacking bacula-director-pgsql (13.0.4-4build1) ... 172s Selecting previously unselected package postfix. 172s Preparing to unpack .../09-postfix_3.9.1-10ubuntu1_arm64.deb ... 172s Unpacking postfix (3.9.1-10ubuntu1) ... 173s Selecting previously unselected package liblockfile-bin. 173s Preparing to unpack .../10-liblockfile-bin_1.17-2_arm64.deb ... 173s Unpacking liblockfile-bin (1.17-2) ... 173s Selecting previously unselected package liblockfile1:arm64. 173s Preparing to unpack .../11-liblockfile1_1.17-2_arm64.deb ... 173s Unpacking liblockfile1:arm64 (1.17-2) ... 173s Selecting previously unselected package bsd-mailx. 173s Preparing to unpack .../12-bsd-mailx_8.1.2-0.20220412cvs-1build1_arm64.deb ... 173s Unpacking bsd-mailx (8.1.2-0.20220412cvs-1build1) ... 173s Selecting previously unselected package bacula-director. 173s Preparing to unpack .../13-bacula-director_13.0.4-4build1_arm64.deb ... 173s Unpacking bacula-director (13.0.4-4build1) ... 173s Selecting previously unselected package bacula-fd. 173s Preparing to unpack .../14-bacula-fd_13.0.4-4build1_arm64.deb ... 173s Unpacking bacula-fd (13.0.4-4build1) ... 173s Selecting previously unselected package mtx. 173s Preparing to unpack .../15-mtx_1.3.12-18_arm64.deb ... 173s Unpacking mtx (1.3.12-18) ... 173s Selecting previously unselected package bacula-sd. 173s Preparing to unpack .../16-bacula-sd_13.0.4-4build1_arm64.deb ... 173s Unpacking bacula-sd (13.0.4-4build1) ... 173s Selecting previously unselected package libjson-perl. 173s Preparing to unpack .../17-libjson-perl_4.10000-1_all.deb ... 173s Unpacking libjson-perl (4.10000-1) ... 173s Selecting previously unselected package libio-pty-perl. 173s Preparing to unpack .../18-libio-pty-perl_1%3a1.20-1build3_arm64.deb ... 173s Unpacking libio-pty-perl (1:1.20-1build3) ... 173s Selecting previously unselected package libipc-run-perl. 173s Preparing to unpack .../19-libipc-run-perl_20231003.0-2_all.deb ... 173s Unpacking libipc-run-perl (20231003.0-2) ... 173s Selecting previously unselected package postgresql-common-dev. 173s Preparing to unpack .../20-postgresql-common-dev_274_all.deb ... 173s Unpacking postgresql-common-dev (274) ... 173s Selecting previously unselected package ssl-cert. 173s Preparing to unpack .../21-ssl-cert_1.1.3ubuntu1_all.deb ... 173s Unpacking ssl-cert (1.1.3ubuntu1) ... 173s Selecting previously unselected package postgresql-common. 173s Preparing to unpack .../22-postgresql-common_274_all.deb ... 173s Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by postgresql-common' 173s Unpacking postgresql-common (274) ... 173s Selecting previously unselected package bacula-console. 173s Preparing to unpack .../23-bacula-console_13.0.4-4build1_arm64.deb ... 173s Unpacking bacula-console (13.0.4-4build1) ... 173s Selecting previously unselected package bacula-client. 173s Preparing to unpack .../24-bacula-client_13.0.4-4build1_all.deb ... 173s Unpacking bacula-client (13.0.4-4build1) ... 173s Selecting previously unselected package bacula-bscan. 173s Preparing to unpack .../25-bacula-bscan_13.0.4-4build1_arm64.deb ... 173s Unpacking bacula-bscan (13.0.4-4build1) ... 174s Selecting previously unselected package bacula-server. 174s Preparing to unpack .../26-bacula-server_13.0.4-4build1_all.deb ... 174s Unpacking bacula-server (13.0.4-4build1) ... 174s Selecting previously unselected package bacula. 174s Preparing to unpack .../27-bacula_13.0.4-4build1_all.deb ... 174s Unpacking bacula (13.0.4-4build1) ... 174s Selecting previously unselected package libllvm20:arm64. 174s Preparing to unpack .../28-libllvm20_1%3a20.1.2-0ubuntu1_arm64.deb ... 174s Unpacking libllvm20:arm64 (1:20.1.2-0ubuntu1) ... 174s Selecting previously unselected package libxslt1.1:arm64. 175s Preparing to unpack .../29-libxslt1.1_1.1.39-0exp1ubuntu4_arm64.deb ... 175s Unpacking libxslt1.1:arm64 (1.1.39-0exp1ubuntu4) ... 175s Selecting previously unselected package postgresql-17. 175s Preparing to unpack .../30-postgresql-17_17.4-1_arm64.deb ... 175s Unpacking postgresql-17 (17.4-1) ... 175s Selecting previously unselected package postgresql. 175s Preparing to unpack .../31-postgresql_17+274_all.deb ... 175s Unpacking postgresql (17+274) ... 175s Setting up postgresql-client-common (274) ... 175s Setting up liblockfile-bin (1.17-2) ... 175s Setting up libio-pty-perl (1:1.20-1build3) ... 175s Setting up libpq5:arm64 (17.4-1) ... 175s Setting up mtx (1.3.12-18) ... 175s Setting up dbconfig-common (2.0.24) ... 175s Creating config file /etc/dbconfig-common/config with new version 175s Setting up bacula-common (13.0.4-4build1) ... 176s Setting up bacula-sd (13.0.4-4build1) ... 176s Creating config file /etc/default/bacula-sd with new version 176s Creating config file /etc/bacula/bacula-sd.conf with new version 177s Created symlink '/etc/systemd/system/multi-user.target.wants/bacula-sd.service' → '/usr/lib/systemd/system/bacula-sd.service'. 178s Setting up ssl-cert (1.1.3ubuntu1) ... 178s Created symlink '/etc/systemd/system/multi-user.target.wants/ssl-cert.service' → '/usr/lib/systemd/system/ssl-cert.service'. 179s Setting up libllvm20:arm64 (1:20.1.2-0ubuntu1) ... 179s Setting up libipc-run-perl (20231003.0-2) ... 179s Setting up bacula-console (13.0.4-4build1) ... 179s Creating config file /etc/bacula/bconsole.conf with new version 179s Setting up postfix (3.9.1-10ubuntu1) ... 180s Created symlink '/etc/systemd/system/multi-user.target.wants/postfix.service' → '/usr/lib/systemd/system/postfix.service'. 180s info: Selecting UID from range 100 to 999 ... 180s 180s info: Selecting GID from range 100 to 999 ... 180s info: Adding system user `postfix' (UID 108) ... 180s info: Adding new group `postfix' (GID 112) ... 180s info: Adding new user `postfix' (UID 108) with group `postfix' ... 180s info: Not creating home directory `/var/spool/postfix'. 180s info: Selecting GID from range 100 to 999 ... 180s info: Adding group `postdrop' (GID 113) ... 180s Creating /etc/postfix/dynamicmaps.cf 180s setting myhostname: autopkgtest.local 180s setting alias maps 180s setting alias database 180s changing /etc/mailname to autopkgtest.local 180s setting myorigin 180s setting destinations: $myhostname, autopkgtest.local, localhost.local, , localhost 181s setting relayhost: 181s setting mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 181s clearing mailbox_command 181s setting mailbox_size_limit: 0 181s setting recipient_delimiter: + 183s setting inet_interfaces: all 185s setting inet_protocols: all 185s /etc/aliases does not exist, creating it. 185s WARNING: /etc/aliases exists, but does not have a root alias. 185s 185s Postfix (main.cf) is now set up with a default configuration. If you need to 185s make changes, edit /etc/postfix/main.cf (and others) as needed. To view 185s Postfix configuration values, see postconf(1). 185s 185s After modifying main.cf, be sure to run 'systemctl reload postfix'. 185s 187s Setting up libjson-perl (4.10000-1) ... 187s Setting up libxslt1.1:arm64 (1.1.39-0exp1ubuntu4) ... 187s Setting up liblockfile1:arm64 (1.17-2) ... 187s Setting up bacula-fd (13.0.4-4build1) ... 187s Creating config file /etc/default/bacula-fd with new version 188s Creating config file /etc/bacula/bacula-fd.conf with new version 188s Created symlink '/etc/systemd/system/multi-user.target.wants/bacula-fd.service' → '/usr/lib/systemd/system/bacula-fd.service'. 189s Setting up postgresql-common-dev (274) ... 189s Setting up bacula-client (13.0.4-4build1) ... 189s Setting up postgresql-client-17 (17.4-1) ... 190s 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 190s Setting up dbconfig-pgsql (2.0.24) ... 190s Setting up bacula-common-pgsql (13.0.4-4build1) ... 190s Setting up bsd-mailx (8.1.2-0.20220412cvs-1build1) ... 190s update-alternatives: using /usr/bin/bsd-mailx to provide /usr/bin/mailx (mailx) in auto mode 190s Setting up postgresql-common (274) ... 190s Creating config file /etc/postgresql-common/createcluster.conf with new version 191s Building PostgreSQL dictionaries from installed myspell/hunspell packages... 191s Removing obsolete dictionary files: 192s Created symlink '/etc/systemd/system/multi-user.target.wants/postgresql.service' → '/usr/lib/systemd/system/postgresql.service'. 192s Setting up bacula-bscan (13.0.4-4build1) ... 192s Setting up postgresql-17 (17.4-1) ... 194s Creating new PostgreSQL cluster 17/main ... 194s /usr/lib/postgresql/17/bin/initdb -D /var/lib/postgresql/17/main --auth-local peer --auth-host scram-sha-256 --no-instructions 194s The files belonging to this database system will be owned by user "postgres". 194s This user must also own the server process. 194s 194s The database cluster will be initialized with locale "C.UTF-8". 194s The default database encoding has accordingly been set to "UTF8". 194s The default text search configuration will be set to "english". 194s 194s Data page checksums are disabled. 194s 194s fixing permissions on existing directory /var/lib/postgresql/17/main ... ok 194s creating subdirectories ... ok 194s selecting dynamic shared memory implementation ... posix 194s selecting default "max_connections" ... 100 194s selecting default "shared_buffers" ... 128MB 194s selecting default time zone ... Etc/UTC 194s creating configuration files ... ok 194s running bootstrap script ... ok 194s performing post-bootstrap initialization ... ok 194s syncing data to disk ... ok 198s Setting up bacula-director-pgsql (13.0.4-4build1) ... 198s dbconfig-common: writing config to /etc/dbconfig-common/bacula-director-pgsql.conf 198s Creating config file /etc/dbconfig-common/bacula-director-pgsql.conf with new version 198s creating postgres user bacula: success. 198s verifying creation of user: success. 199s creating database bacula: success. 199s verifying database bacula exists: success. 199s populating database via administrative sql... done. 199s populating database via sql... done. 199s dbconfig-common: flushing administrative password 199s Setting up postgresql-client (17+274) ... 199s Setting up bacula-director (13.0.4-4build1) ... 200s Creating config file /etc/default/bacula-dir with new version 200s Creating config file /etc/bacula/bacula-dir.conf with new version 200s Creating config file /etc/bacula/scripts/delete_catalog_backup with new version 201s Creating config file /etc/bacula/scripts/make_catalog_backup with new version 202s Created symlink '/etc/systemd/system/bacula-dir.service' → '/usr/lib/systemd/system/bacula-director.service'. 202s Created symlink '/etc/systemd/system/multi-user.target.wants/bacula-director.service' → '/usr/lib/systemd/system/bacula-director.service'. 202s Setting up postgresql (17+274) ... 202s Setting up bacula-server (13.0.4-4build1) ... 202s Setting up bacula (13.0.4-4build1) ... 202s Processing triggers for rsyslog (8.2412.0-2ubuntu2) ... 202s Processing triggers for ufw (0.36.2-9) ... 203s Processing triggers for man-db (2.13.0-1) ... 204s Processing triggers for libc-bin (2.41-6ubuntu1) ... 204s Processing triggers for postfix (3.9.1-10ubuntu1) ... 204s Restarting postfix 206s autopkgtest [07:02:04]: test backup-test-pgsql: [----------------------- 206s + apt-get -y install debconf-utils 206s Reading package lists... 206s Building dependency tree... 206s Reading state information... 207s Solving dependencies... 207s The following NEW packages will be installed: 207s debconf-utils 207s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 207s Need to get 49.5 kB of archives. 207s After this operation, 99.3 kB of additional disk space will be used. 207s Get:1 http://ftpmaster.internal/ubuntu questing/universe arm64 debconf-utils all 1.5.87ubuntu1 [49.5 kB] 208s Fetched 49.5 kB in 0s (166 kB/s) 208s Selecting previously unselected package debconf-utils. 208s (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 ... 120632 files and directories currently installed.) 208s Preparing to unpack .../debconf-utils_1.5.87ubuntu1_all.deb ... 208s Unpacking debconf-utils (1.5.87ubuntu1) ... 208s Setting up debconf-utils (1.5.87ubuntu1) ... 208s Processing triggers for man-db (2.13.0-1) ... 209s + debconf-get-selections 209s + awk '$3=="password"{print}' 209s + debconf-set-selections 209s + for pkg in bacula-director-mysql bacula-director-pgsql 209s ++ dpkg-query --showformat '${db:Status-Status}' -W bacula-director-mysql 209s + pkg_status=not-installed 209s + '[' not-installed = installed ']' 209s + for pkg in bacula-director-mysql bacula-director-pgsql 209s ++ dpkg-query --showformat '${db:Status-Status}' -W bacula-director-pgsql 209s + pkg_status=installed 209s + '[' installed = installed ']' 209s + echo 'bacula-director-pgsql bacula-director-pgsql/dbconfig-reinstall boolean true' 209s + debconf-set-selections 209s + DEBIAN_FRONTEND=noninteractive 209s + dpkg-reconfigure bacula-director-pgsql 210s dbconfig-common: writing config to /etc/dbconfig-common/bacula-director-pgsql.conf 210s bacula already exists and has privileges on bacula. 210s dbconfig-common: dumping pgsql database bacula to /var/tmp/bacula-director-pgsql.bacula.2025-05-02-07.02.pgsql.q2fVB4. 211s dbconfig-common: dropping old pgsql database bacula. 211s dropping database bacula: success. 211s verifying database bacula was dropped: success. 212s creating database bacula: success. 212s verifying database bacula exists: success. 212s populating database via administrative sql... done. 212s populating database via sql... done. 212s dbconfig-common: flushing administrative password 212s + echo 'start testing ... ' 212s start testing ... 212s + echo 'USER: root' 212s USER: root 212s + DBTYPE=pgsql 212s + echo 'DBTYPE: pgsql' 212s DBTYPE: pgsql 212s + echo '--------- configuring Bacula daemons -----------' 212s --------- configuring Bacula daemons ----------- 212s + FILECHGRDIR=/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr 212s + RESTOREDIR=/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-restores 212s + mkdir -p /tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr 212s + chown -R bacula:tape /tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr 212s + sed -i s%/nonexistent/path/to/file/archive/dir%/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr% /etc/bacula/bacula-sd.conf 212s + sed -i 's%Where = /nonexistent/path/to/file/archive/dir/bacula-restores%Where = /tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-restores%' /etc/bacula/bacula-dir.conf 212s + sed -i 's/signature = MD5/signature = SHA1/' /etc/bacula/bacula-dir.conf 212s + sed -i 's/signature = MD5/signature = SHA1\naclsupport = yes/' /etc/bacula/bacula-dir.conf 212s + echo '--------- restarting services ----------- ' 212s --------- restarting services ----------- 212s + service bacula-director restart 212s + service bacula-sd restart 213s + service bacula-fd restart 213s + sleep 10 223s + echo '--------- checking services ----------- ' 223s --------- checking services ----------- 223s + service bacula-director status 223s ● bacula-director.service - Bacula Director Daemon service 223s Loaded: loaded (/usr/lib/systemd/system/bacula-director.service; enabled; preset: enabled) 223s Active: active (running) since Fri 2025-05-02 07:02:10 UTC; 10s ago 223s Invocation: d6d4e41109564ca0a1a3de92a338e268 223s Docs: man:bacula-dir(8) 223s Process: 7435 ExecStartPre=/usr/sbin/bacula-dir -t -c $CONFIG (code=exited, status=0/SUCCESS) 223s Main PID: 7439 (bacula-dir) 223s Tasks: 5 (limit: 4546) 223s Memory: 2.4M (peak: 2.6M) 223s CPU: 82ms 223s CGroup: /system.slice/bacula-director.service 223s └─7439 /usr/sbin/bacula-dir -fP -c /etc/bacula/bacula-dir.conf 223s 223s May 02 07:02:10 autopkgtest systemd[1]: Starting bacula-director.service - Bacula Director Daemon service... 223s May 02 07:02:10 autopkgtest systemd[1]: Started bacula-director.service - Bacula Director Daemon service. 223s + service bacula-sd status 223s ● bacula-sd.service - Bacula Storage Daemon service 223s Loaded: loaded (/usr/lib/systemd/system/bacula-sd.service; enabled; preset: enabled) 223s Active: active (running) since Fri 2025-05-02 07:02:11 UTC; 10s ago 223s Invocation: 6e331776122e4fbbb1fd6f947e1308df 223s Docs: man:bacula-sd(8) 223s Process: 7450 ExecStartPre=/usr/sbin/bacula-sd -t -c $CONFIG (code=exited, status=0/SUCCESS) 223s Main PID: 7452 (bacula-sd) 223s Tasks: 3 (limit: 4546) 223s Memory: 2M (peak: 2.2M) 223s CPU: 43ms 223s CGroup: /system.slice/bacula-sd.service 223s └─7452 /usr/sbin/bacula-sd -fP -c /etc/bacula/bacula-sd.conf 223s 223s May 02 07:02:11 autopkgtest systemd[1]: Starting bacula-sd.service - Bacula Storage Daemon service... 223s May 02 07:02:11 autopkgtest systemd[1]: Started bacula-sd.service - Bacula Storage Daemon service. 223s + service bacula-fd status 223s ● bacula-fd.service - Bacula File Daemon service 223s Loaded: loaded (/usr/lib/systemd/system/bacula-fd.service; enabled; preset: enabled) 223s Active: active (running) since Fri 2025-05-02 07:02:11 UTC; 10s ago 223s Invocation: 58ec43db5ce5464399586a040c788b50 223s Docs: man:bacula-fd(8) 223s Process: 7460 ExecStartPre=/usr/sbin/bacula-fd -t -c $CONFIG (code=exited, status=0/SUCCESS) 223s Main PID: 7462 (bacula-fd) 223s Tasks: 3 (limit: 4546) 223s Memory: 1.7M (peak: 2M) 223s CPU: 41ms 223s CGroup: /system.slice/bacula-fd.service 223s └─7462 /usr/sbin/bacula-fd -fP -c /etc/bacula/bacula-fd.conf 223s 223s May 02 07:02:11 autopkgtest systemd[1]: Starting bacula-fd.service - Bacula File Daemon service... 223s May 02 07:02:11 autopkgtest systemd[1]: Started bacula-fd.service - Bacula File Daemon service. 223s + ps auwwwx 223s + grep '[b]acula' 223s bacula 7439 0.2 0.3 318916 13464 ? Ssl 07:02 0:00 /usr/sbin/bacula-dir -fP -c /etc/bacula/bacula-dir.conf 223s bacula 7452 0.0 0.2 240996 10376 ? Ssl 07:02 0:00 /usr/sbin/bacula-sd -fP -c /etc/bacula/bacula-sd.conf 223s root 7462 0.0 0.2 167292 9660 ? Ssl 07:02 0:00 /usr/sbin/bacula-fd -fP -c /etc/bacula/bacula-fd.conf 223s + echo '----- create some file to test backup / restore ----' 223s ----- create some file to test backup / restore ---- 223s + BACKUP_TEST_FILE=/usr/sbin/bacula-backup.test 223s + echo 'bacula restore test' 223s + chown nobody:shadow /usr/sbin/bacula-backup.test 223s + chmod 2755 /usr/sbin/bacula-backup.test 223s + echo '---- status of all daemons ----' 223s ---- status of all daemons ---- 223s + echo -e 'status all' 223s + bconsole 223s Connecting to Director localhost:9101 223s 1000 OK: 10002 autopkgtest-dir Version: 13.0.4 (12 February 2024) 223s Enter a period to cancel a command. 223s status all 223s autopkgtest-dir Version: 13.0.4 (12 February 2024) aarch64-unknown-linux-gnu ubuntu 25.04 223s Daemon started 02-May-25 07:02, conf reloaded 02-May-2025 07:02:10 223s Jobs: run=0, running=0 mode=0,0 223s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 223s Heap: heap=831,488 smbytes=335,654 max_bytes=335,654 bufs=395 max_bufs=395 223s Res: njobs=3 nclients=1 nstores=2 npools=3 ncats=1 nfsets=2 nscheds=2 223s 223s Scheduled Jobs: 223s Level Type Pri Scheduled Job Name Volume 223s =================================================================================== 223s Incremental Backup 10 02-May-25 23:05 BackupClient1 *unknown* 223s Full Backup 11 02-May-25 23:10 BackupCatalog *unknown* 223s ==== 223s 223s Running Jobs: 223s Console connected using TLS at 02-May-25 07:02 223s No Jobs running. 223s ==== 223s No Terminated Jobs. 223s ==== 223s Connecting to Storage daemon File1 at localhost:9103 223s 223s autopkgtest-sd Version: 13.0.4 (12 February 2024) aarch64-unknown-linux-gnu ubuntu 25.04 223s Daemon started 02-May-25 07:02. Jobs: run=0, running=0. 223s Ulimits: nofile=1024 memlock=unlimited status=nofile 223s Heap: heap=643,072 smbytes=229,158 max_bytes=350,418 bufs=267 max_bufs=268 223s Sizes: boffset_t=8 size_t=8 int32_t=4 int64_t=8 mode=0,0 newbsr=0 223s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 223s Res: ndevices=4 nautochgr=2 223s 223s Running Jobs: 223s Director connected using TLS at: 02-May-25 07:02 223s No Jobs running. 223s ==== 223s 223s Jobs waiting to reserve a drive: 223s ==== 223s 223s Terminated Jobs: 223s ==== 223s 223s Device status: 223s Autochanger "FileChgr1" with devices: 223s "FileChgr1-Dev1" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) 223s "FileChgr1-Dev2" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) 223s Autochanger "FileChgr2" with devices: 223s "FileChgr2-Dev1" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) 223s "FileChgr2-Dev2" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) 223s 223s Device File: "FileChgr1-Dev1" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) is not open. 223s Drive 0 is not loaded. 223s Available Space=16.27 GB 223s == 223s 223s Device File: "FileChgr1-Dev2" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) is not open. 223s Drive 0 is not loaded. 223s Available Space=16.27 GB 223s == 223s 223s Device File: "FileChgr2-Dev1" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) is not open. 223s Drive 0 is not loaded. 223s Available Space=16.27 GB 223s == 223s 223s Device File: "FileChgr2-Dev2" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) is not open. 223s Drive 0 is not loaded. 223s Available Space=16.27 GB 223s == 223s ==== 223s 223s Used Volume status: 223s ==== 223s 223s ==== 223s 223s Connecting to Client autopkgtest-fd at localhost:9102 223s 223s autopkgtest-fd Version: 13.0.4 (12 February 2024) aarch64-unknown-linux-gnu ubuntu 25.04 223s Daemon started 02-May-25 07:02. Jobs: run=0 running=0. 223s Heap: heap=540,672 smbytes=197,998 max_bytes=198,015 bufs=101 max_bufs=101 223s Sizes: boffset_t=8 size_t=8 debug=0 trace=0 mode=0,0 bwlimit=0kB/s 223s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 223s Plugin: bpipe-fd.so(2) 223s 223s Running Jobs: 223s Director connected using TLS at: 02-May-25 07:02 223s No Jobs running. 223s ==== 223s 223s Terminated Jobs: 223s ==== 223s + echo 223s 223s + echo '---- label a volume ----' 223s ---- label a volume ---- 223s + echo -e 'label volume=testvol pool=File storage=File1 drive=0 slot=0' 223s + bconsole 223s Connecting to Director localhost:9101 223s 1000 OK: 10002 autopkgtest-dir Version: 13.0.4 (12 February 2024) 223s Enter a period to cancel a command. 223s label volume=testvol pool=File storage=File1 drive=0 slot=0 223s Automatically selected Catalog: MyCatalog 223s Using Catalog "MyCatalog" 223s Connecting to Storage daemon File1 at localhost:9103 ... 223s Sending label command for Volume "testvol" Slot 0 ... 223s 3000 OK label. VolBytes=226 VolABytes=0 VolType=1 Volume="testvol" Device="FileChgr1-Dev1" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) 224s Catalog record for Volume "testvol", Slot 0 successfully created. 224s Requesting to mount FileChgr1 ... 224s 3906 File device ""FileChgr1-Dev1" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr)" is always mounted. 224s + echo 224s 224s + echo '----- create some file to test backup / restore ----' 224s ----- create some file to test backup / restore ---- 224s + echo 'bacula restore test' 224s + echo 224s 224s + echo '------ trigger backup job -----' 224s ------ trigger backup job ----- 224s + echo -e 'run job=BackupClient1 yes\rwait' 224s + bconsole 224s + grep 'Job queued. JobId=' 228s Job queued. JobId=1 228s + echo 'status all' 228s + bconsole 228s Connecting to Director localhost:9101 228s 1000 OK: 10002 autopkgtest-dir Version: 13.0.4 (12 February 2024) 228s Enter a period to cancel a command. 228s status all 228s autopkgtest-dir Version: 13.0.4 (12 February 2024) aarch64-unknown-linux-gnu ubuntu 25.04 228s Daemon started 02-May-25 07:02, conf reloaded 02-May-2025 07:02:10 228s Jobs: run=1, running=0 mode=0,0 228s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 228s Heap: heap=831,488 smbytes=466,042 max_bytes=491,935 bufs=459 max_bufs=508 228s Res: njobs=3 nclients=1 nstores=2 npools=3 ncats=1 nfsets=2 nscheds=2 228s 228s Scheduled Jobs: 228s Level Type Pri Scheduled Job Name Volume 228s =================================================================================== 228s Incremental Backup 10 02-May-25 23:05 BackupClient1 testvol 228s Full Backup 11 02-May-25 23:10 BackupCatalog testvol 228s ==== 228s 228s Running Jobs: 228s Console connected using TLS at 02-May-25 07:02 228s No Jobs running. 228s ==== 228s 228s Terminated Jobs: 228s JobId Level Files Bytes Status Finished Name 228s ==================================================================== 228s 1 Full 580 38.29 M OK 02-May-25 07:02 BackupClient1 228s 228s ==== 228s Connecting to Storage daemon File1 at localhost:9103 228s 228s autopkgtest-sd Version: 13.0.4 (12 February 2024) aarch64-unknown-linux-gnu ubuntu 25.04 228s Daemon started 02-May-25 07:02. Jobs: run=1, running=0. 228s Ulimits: nofile=1024 memlock=unlimited status=nofile 228s Heap: heap=643,072 smbytes=650,848 max_bytes=1,011,521 bufs=283 max_bufs=305 228s Sizes: boffset_t=8 size_t=8 int32_t=4 int64_t=8 mode=0,0 newbsr=0 228s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 228s Res: ndevices=4 nautochgr=2 228s 228s Running Jobs: 228s Director connected using TLS at: 02-May-25 07:02 228s No Jobs running. 228s ==== 228s 228s Jobs waiting to reserve a drive: 228s ==== 228s 228s Terminated Jobs: 228s JobId Level Files Bytes Status Finished Name 228s =================================================================== 228s 1 Full 580 38.36 M OK 02-May-25 07:02 BackupClient1 228s ==== 228s 228s Device status: 228s Autochanger "FileChgr1" with devices: 228s "FileChgr1-Dev1" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) 228s "FileChgr1-Dev2" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) 228s Autochanger "FileChgr2" with devices: 228s "FileChgr2-Dev1" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) 228s "FileChgr2-Dev2" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) 228s 228s Device File: "FileChgr1-Dev1" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) is not open. 228s Drive 0 is not loaded. 228s Available Space=16.23 GB 228s == 228s 228s Device File: "FileChgr1-Dev2" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) is not open. 228s Drive 0 is not loaded. 228s Available Space=16.23 GB 228s == 228s 228s Device File: "FileChgr2-Dev1" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) is not open. 228s Drive 0 is not loaded. 228s Available Space=16.23 GB 228s == 228s 228s Device File: "FileChgr2-Dev2" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) is not open. 228s Drive 0 is not loaded. 228s Available Space=16.23 GB 228s == 228s ==== 228s 228s Used Volume status: 228s ==== 228s 228s Attr spooling: 0 active jobs, 120,845 bytes; 1 total jobs, 120,845 max bytes. 228s ==== 228s 228s Connecting to Client autopkgtest-fd at localhost:9102 228s 228s autopkgtest-fd Version: 13.0.4 (12 February 2024) aarch64-unknown-linux-gnu ubuntu 25.04 228s Daemon started 02-May-25 07:02. Jobs: run=1 running=0. 228s Heap: heap=540,672 smbytes=400,570 max_bytes=610,206 bufs=116 max_bufs=150 228s Sizes: boffset_t=8 size_t=8 debug=0 trace=0 mode=0,0 bwlimit=0kB/s 228s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 228s Plugin: bpipe-fd.so(2) 228s 228s Running Jobs: 228s Director connected using TLS at: 02-May-25 07:02 228s No Jobs running. 228s ==== 228s 228s Terminated Jobs: 228s JobId Level Files Bytes Status Finished Name 228s =================================================================== 228s 1 Full 580 38.29 M OK 02-May-25 07:02 BackupClient1 228s ==== 228s You have messages. 228s + echo 228s 228s + echo '------ trigger restore job -----' 228s ------ trigger restore job ----- 228s + echo -e 'restore select current\rls\rmark usr\rdone\ryes\rwait' 228s + bconsole 228s Connecting to Director localhost:9101 228s 1000 OK: 10002 autopkgtest-dir Version: 13.0.4 (12 February 2024) 228s Enter a period to cancel a command. 228s restore select current 228s Automatically selected Catalog: MyCatalog 228s Using Catalog "MyCatalog" 228s Automatically selected Client: autopkgtest-fd 228s Automatically selected FileSet: Full Set 228s +-------+-------+----------+------------+---------------------+------------+ 228s | jobid | level | jobfiles | jobbytes | starttime | volumename | 228s +-------+-------+----------+------------+---------------------+------------+ 228s | 1 | F | 580 | 38,299,040 | 2025-05-02 07:02:24 | testvol | 228s +-------+-------+----------+------------+---------------------+------------+ 228s You have selected the following JobId: 1 228s 228s Building directory tree for JobId(s) 1 ... ++++++++++++++++++++++++++++++++++++++++++++++++ 228s 579 files inserted into the tree. 228s 228s You are now entering file selection mode where you add (mark) and 228s remove (unmark) files to be restored. No files are initially added, unless 228s you used the "all" keyword on the command line. 228s Enter "done" to leave this mode. 228s 228s cwd is: / 228s $ ls 228s usr/ 228s $ mark usr 228s 580 files marked. 228s $ done 228s Bootstrap records written to /var/lib/bacula/autopkgtest-dir.restore.1.bsr 228s 228s The Job will require the following (*=>InChanger): 228s Volume(s) Storage(s) SD Device(s) 228s =========================================================================== 228s 228s testvol File1 FileChgr1 228s 228s Volumes marked with "*" are in the Autochanger. 228s 228s 228s 580 files selected to be restored. 228s 228s Using Catalog "MyCatalog" 228s Run Restore job 228s JobName: RestoreFiles 228s Bootstrap: /var/lib/bacula/autopkgtest-dir.restore.1.bsr 228s Where: /tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-restores 228s Replace: Always 228s FileSet: Full Set 228s Backup Client: autopkgtest-fd 228s Restore Client: autopkgtest-fd 228s Storage: File1 228s When: 2025-05-02 07:02:26 228s Catalog: MyCatalog 228s Priority: 10 228s Plugin Options: *None* 228s OK to run? (yes/mod/no): yes 228s Job queued. JobId=2 228s You have messages. 228s wait 232s + echo 'status all' 232s + bconsole 232s Connecting to Director localhost:9101 232s 1000 OK: 10002 autopkgtest-dir Version: 13.0.4 (12 February 2024) 232s Enter a period to cancel a command. 232s status all 232s autopkgtest-dir Version: 13.0.4 (12 February 2024) aarch64-unknown-linux-gnu ubuntu 25.04 232s Daemon started 02-May-25 07:02, conf reloaded 02-May-2025 07:02:10 232s Jobs: run=2, running=0 mode=0,0 232s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 232s Heap: heap=774,144 smbytes=466,006 max_bytes=1,672,841 bufs=461 max_bufs=523 232s Res: njobs=3 nclients=1 nstores=2 npools=3 ncats=1 nfsets=2 nscheds=2 232s 232s Scheduled Jobs: 232s Level Type Pri Scheduled Job Name Volume 232s =================================================================================== 232s Incremental Backup 10 02-May-25 23:05 BackupClient1 testvol 232s Full Backup 11 02-May-25 23:10 BackupCatalog testvol 232s ==== 232s 232s Running Jobs: 232s Console connected using TLS at 02-May-25 07:02 232s No Jobs running. 232s ==== 232s 232s Terminated Jobs: 232s JobId Level Files Bytes Status Finished Name 232s ==================================================================== 232s 1 Full 580 38.29 M OK 02-May-25 07:02 BackupClient1 232s 2 Restore 580 38.29 M OK 02-May-25 07:02 RestoreFiles 232s 232s ==== 232s Connecting to Storage daemon File1 at localhost:9103 232s 232s autopkgtest-sd Version: 13.0.4 (12 February 2024) aarch64-unknown-linux-gnu ubuntu 25.04 232s Daemon started 02-May-25 07:02. Jobs: run=2, running=0. 232s Ulimits: nofile=1024 memlock=unlimited status=nofile 232s Heap: heap=540,672 smbytes=623,914 max_bytes=1,011,521 bufs=277 max_bufs=315 232s Sizes: boffset_t=8 size_t=8 int32_t=4 int64_t=8 mode=0,0 newbsr=0 232s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 232s Res: ndevices=4 nautochgr=2 232s 232s Running Jobs: 232s Director connected using TLS at: 02-May-25 07:02 232s No Jobs running. 232s ==== 232s 232s Jobs waiting to reserve a drive: 232s ==== 232s 232s Terminated Jobs: 232s JobId Level Files Bytes Status Finished Name 232s =================================================================== 232s 1 Full 580 38.36 M OK 02-May-25 07:02 BackupClient1 232s 2 Rest 580 38.36 M OK 02-May-25 07:02 RestoreFiles 232s ==== 232s 232s Device status: 232s Autochanger "FileChgr1" with devices: 232s "FileChgr1-Dev1" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) 232s "FileChgr1-Dev2" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) 232s Autochanger "FileChgr2" with devices: 232s "FileChgr2-Dev1" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) 232s "FileChgr2-Dev2" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) 232s 232s Device File: "FileChgr1-Dev1" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) is not open. 232s Drive 0 is not loaded. 232s Available Space=16.19 GB 232s == 232s 232s Device File: "FileChgr1-Dev2" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) is not open. 232s Drive 0 is not loaded. 232s Available Space=16.19 GB 232s == 232s 232s Device File: "FileChgr2-Dev1" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) is not open. 232s Drive 0 is not loaded. 232s Available Space=16.19 GB 232s == 232s 232s Device File: "FileChgr2-Dev2" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) is not open. 232s Drive 0 is not loaded. 232s Available Space=16.19 GB 232s == 232s ==== 232s 232s Used Volume status: 232s ==== 232s 232s Attr spooling: 0 active jobs, 120,845 bytes; 1 total jobs, 120,845 max bytes. 232s ==== 232s 232s Connecting to Client autopkgtest-fd at localhost:9102 232s 232s autopkgtest-fd Version: 13.0.4 (12 February 2024) aarch64-unknown-linux-gnu ubuntu 25.04 232s Daemon started 02-May-25 07:02. Jobs: run=2 running=0. 232s Heap: heap=532,480 smbytes=240,101 max_bytes=1,123,364 bufs=102 max_bufs=150 232s Sizes: boffset_t=8 size_t=8 debug=0 trace=0 mode=0,0 bwlimit=0kB/s 232s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 232s Plugin: bpipe-fd.so(2) 232s 232s Running Jobs: 232s Director connected using TLS at: 02-May-25 07:02 232s No Jobs running. 232s ==== 232s 232s Terminated Jobs: 232s JobId Level Files Bytes Status Finished Name 232s =================================================================== 232s 1 Full 580 38.29 M OK 02-May-25 07:02 BackupClient1 232s 2 Rest 580 38.29 M OK 02-May-25 07:02 RestoreFiles 232s ==== 232s You have messages. 232s + grep 'bacula restore test' /tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-restores//usr/sbin/bacula-backup.test 232s bacula restore test 232s + echo 232s 232s + echo '------ compare original and restore ------' 232s ------ compare original and restore ------ 232s + debian/tests/scripts/diff.pl -s /usr/sbin -d /tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-restores/usr/sbin --acl --attr 238s + echo 238s 238s + echo '------ backup-test end ------' 238s ------ backup-test end ------ 239s autopkgtest [07:02:37]: test backup-test-pgsql: -----------------------] 239s backup-test-pgsql PASS 239s autopkgtest [07:02:37]: test backup-test-pgsql: - - - - - - - - - - results - - - - - - - - - - 240s autopkgtest [07:02:38]: test program-test-pgsql: preparing testbed 429s autopkgtest [07:05:47]: testbed dpkg architecture: arm64 429s autopkgtest [07:05:47]: testbed apt version: 3.0.0 430s autopkgtest [07:05:48]: @@@@@@@@@@@@@@@@@@@@ test bed setup 430s autopkgtest [07:05:48]: testbed release detected to be: questing 431s autopkgtest [07:05:49]: updating testbed package index (apt update) 431s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB] 431s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 432s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 432s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 432s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [57.4 kB] 432s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [184 kB] 432s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [2202 kB] 433s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 Packages [227 kB] 433s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/universe arm64 Packages [1472 kB] 434s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/multiverse arm64 Packages [16.5 kB] 434s Fetched 4269 kB in 3s (1624 kB/s) 435s Reading package lists... 436s autopkgtest [07:05:54]: upgrading testbed (apt dist-upgrade and autopurge) 436s Reading package lists... 437s Building dependency tree... 437s Reading state information... 438s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 438s Starting 2 pkgProblemResolver with broken count: 0 438s Done 440s Entering ResolveByKeep 440s 440s Calculating upgrade... 441s The following packages will be upgraded: 441s ucf 441s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 441s Need to get 43.6 kB of archives. 441s After this operation, 1024 B of additional disk space will be used. 441s Get:1 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 ucf all 3.0051 [43.6 kB] 442s Preconfiguring packages ... 442s Fetched 43.6 kB in 0s (152 kB/s) 443s (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 ... 117820 files and directories currently installed.) 443s Preparing to unpack .../archives/ucf_3.0051_all.deb ... 443s Unpacking ucf (3.0051) over (3.0050) ... 443s Setting up ucf (3.0051) ... 443s Processing triggers for man-db (2.13.0-1) ... 444s Reading package lists... 444s Building dependency tree... 444s Reading state information... 445s Starting pkgProblemResolver with broken count: 0 445s Starting 2 pkgProblemResolver with broken count: 0 445s Done 446s Solving dependencies... 446s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 449s Reading package lists... 450s Building dependency tree... 450s Reading state information... 450s Starting pkgProblemResolver with broken count: 0 451s Starting 2 pkgProblemResolver with broken count: 0 451s Done 452s The following NEW packages will be installed: 452s bacula bacula-bscan bacula-client bacula-common bacula-common-pgsql 452s bacula-console bacula-director bacula-director-pgsql bacula-fd bacula-sd 452s bacula-server bsd-mailx dbconfig-common dbconfig-pgsql libio-pty-perl 452s libipc-run-perl libjson-perl libllvm20 liblockfile-bin liblockfile1 libpq5 452s libxslt1.1 mtx postfix postgresql postgresql-17 postgresql-client 452s postgresql-client-17 postgresql-client-common postgresql-common 452s postgresql-common-dev ssl-cert 453s 0 upgraded, 32 newly installed, 0 to remove and 0 not upgraded. 453s Need to get 50.5 MB of archives. 453s After this operation, 211 MB of additional disk space will be used. 453s Get:1 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-common arm64 13.0.4-4build1 [827 kB] 453s Get:2 http://ftpmaster.internal/ubuntu questing/main arm64 libpq5 arm64 17.4-1 [142 kB] 453s Get:3 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-common-pgsql arm64 13.0.4-4build1 [14.8 kB] 453s Get:4 http://ftpmaster.internal/ubuntu questing/universe arm64 dbconfig-common all 2.0.24 [596 kB] 453s Get:5 http://ftpmaster.internal/ubuntu questing/main arm64 postgresql-client-common all 274 [47.6 kB] 453s Get:6 http://ftpmaster.internal/ubuntu questing/main arm64 postgresql-client-17 arm64 17.4-1 [1342 kB] 454s Get:7 http://ftpmaster.internal/ubuntu questing/main arm64 postgresql-client all 17+274 [13.3 kB] 454s Get:8 http://ftpmaster.internal/ubuntu questing/universe arm64 dbconfig-pgsql all 2.0.24 [914 B] 454s Get:9 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-director-pgsql all 13.0.4-4build1 [34.0 kB] 454s Get:10 http://ftpmaster.internal/ubuntu questing/main arm64 postfix arm64 3.9.1-10ubuntu1 [1286 kB] 454s Get:11 http://ftpmaster.internal/ubuntu questing/main arm64 liblockfile-bin arm64 1.17-2 [11.0 kB] 454s Get:12 http://ftpmaster.internal/ubuntu questing/main arm64 liblockfile1 arm64 1.17-2 [6982 B] 454s Get:13 http://ftpmaster.internal/ubuntu questing/main arm64 bsd-mailx arm64 8.1.2-0.20220412cvs-1build1 [66.2 kB] 454s Get:14 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-director arm64 13.0.4-4build1 [365 kB] 454s Get:15 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-fd arm64 13.0.4-4build1 [140 kB] 454s Get:16 http://ftpmaster.internal/ubuntu questing/main arm64 mtx arm64 1.3.12-18 [42.9 kB] 454s Get:17 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-sd arm64 13.0.4-4build1 [147 kB] 454s Get:18 http://ftpmaster.internal/ubuntu questing/main arm64 libjson-perl all 4.10000-1 [81.9 kB] 454s Get:19 http://ftpmaster.internal/ubuntu questing/main arm64 libio-pty-perl arm64 1:1.20-1build3 [31.3 kB] 454s Get:20 http://ftpmaster.internal/ubuntu questing/main arm64 libipc-run-perl all 20231003.0-2 [91.5 kB] 454s Get:21 http://ftpmaster.internal/ubuntu questing/main arm64 postgresql-common-dev all 274 [73.0 kB] 454s Get:22 http://ftpmaster.internal/ubuntu questing/main arm64 ssl-cert all 1.1.3ubuntu1 [18.7 kB] 454s Get:23 http://ftpmaster.internal/ubuntu questing/main arm64 postgresql-common all 274 [101 kB] 454s Get:24 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-console arm64 13.0.4-4build1 [27.8 kB] 454s Get:25 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-client all 13.0.4-4build1 [23.5 kB] 454s Get:26 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-bscan arm64 13.0.4-4build1 [24.6 kB] 454s Get:27 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-server all 13.0.4-4build1 [23.4 kB] 454s Get:28 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula all 13.0.4-4build1 [1036 B] 454s Get:29 http://ftpmaster.internal/ubuntu questing/main arm64 libllvm20 arm64 1:20.1.2-0ubuntu1 [29.1 MB] 457s Get:30 http://ftpmaster.internal/ubuntu questing/main arm64 libxslt1.1 arm64 1.1.39-0exp1ubuntu4 [168 kB] 457s Get:31 http://ftpmaster.internal/ubuntu questing/main arm64 postgresql-17 arm64 17.4-1 [15.6 MB] 457s Get:32 http://ftpmaster.internal/ubuntu questing/main arm64 postgresql all 17+274 [14.4 kB] 458s Preconfiguring packages ... 458s /var/cache/debconf/tmp.ci/postgresql.config.cSPxTQ: 12: pg_lsclusters: not found 458s Fetched 50.5 MB in 5s (10.8 MB/s) 458s Selecting previously unselected package bacula-common. 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 ... 117820 files and directories currently installed.) 458s Preparing to unpack .../00-bacula-common_13.0.4-4build1_arm64.deb ... 459s Adding user 'bacula'... Ok. 459s Unpacking bacula-common (13.0.4-4build1) ... 459s Selecting previously unselected package libpq5:arm64. 459s Preparing to unpack .../01-libpq5_17.4-1_arm64.deb ... 459s Unpacking libpq5:arm64 (17.4-1) ... 459s Selecting previously unselected package bacula-common-pgsql. 459s Preparing to unpack .../02-bacula-common-pgsql_13.0.4-4build1_arm64.deb ... 459s Unpacking bacula-common-pgsql (13.0.4-4build1) ... 459s Selecting previously unselected package dbconfig-common. 459s Preparing to unpack .../03-dbconfig-common_2.0.24_all.deb ... 459s Unpacking dbconfig-common (2.0.24) ... 459s Selecting previously unselected package postgresql-client-common. 459s Preparing to unpack .../04-postgresql-client-common_274_all.deb ... 459s Unpacking postgresql-client-common (274) ... 459s Selecting previously unselected package postgresql-client-17. 459s Preparing to unpack .../05-postgresql-client-17_17.4-1_arm64.deb ... 459s Unpacking postgresql-client-17 (17.4-1) ... 459s Selecting previously unselected package postgresql-client. 459s Preparing to unpack .../06-postgresql-client_17+274_all.deb ... 459s Unpacking postgresql-client (17+274) ... 459s Selecting previously unselected package dbconfig-pgsql. 459s Preparing to unpack .../07-dbconfig-pgsql_2.0.24_all.deb ... 459s Unpacking dbconfig-pgsql (2.0.24) ... 459s Selecting previously unselected package bacula-director-pgsql. 459s Preparing to unpack .../08-bacula-director-pgsql_13.0.4-4build1_all.deb ... 459s Unpacking bacula-director-pgsql (13.0.4-4build1) ... 459s Selecting previously unselected package postfix. 460s Preparing to unpack .../09-postfix_3.9.1-10ubuntu1_arm64.deb ... 460s Unpacking postfix (3.9.1-10ubuntu1) ... 460s Selecting previously unselected package liblockfile-bin. 460s Preparing to unpack .../10-liblockfile-bin_1.17-2_arm64.deb ... 460s Unpacking liblockfile-bin (1.17-2) ... 460s Selecting previously unselected package liblockfile1:arm64. 460s Preparing to unpack .../11-liblockfile1_1.17-2_arm64.deb ... 460s Unpacking liblockfile1:arm64 (1.17-2) ... 460s Selecting previously unselected package bsd-mailx. 460s Preparing to unpack .../12-bsd-mailx_8.1.2-0.20220412cvs-1build1_arm64.deb ... 460s Unpacking bsd-mailx (8.1.2-0.20220412cvs-1build1) ... 460s Selecting previously unselected package bacula-director. 460s Preparing to unpack .../13-bacula-director_13.0.4-4build1_arm64.deb ... 460s Unpacking bacula-director (13.0.4-4build1) ... 460s Selecting previously unselected package bacula-fd. 460s Preparing to unpack .../14-bacula-fd_13.0.4-4build1_arm64.deb ... 460s Unpacking bacula-fd (13.0.4-4build1) ... 460s Selecting previously unselected package mtx. 460s Preparing to unpack .../15-mtx_1.3.12-18_arm64.deb ... 460s Unpacking mtx (1.3.12-18) ... 460s Selecting previously unselected package bacula-sd. 460s Preparing to unpack .../16-bacula-sd_13.0.4-4build1_arm64.deb ... 460s Unpacking bacula-sd (13.0.4-4build1) ... 460s Selecting previously unselected package libjson-perl. 460s Preparing to unpack .../17-libjson-perl_4.10000-1_all.deb ... 460s Unpacking libjson-perl (4.10000-1) ... 460s Selecting previously unselected package libio-pty-perl. 460s Preparing to unpack .../18-libio-pty-perl_1%3a1.20-1build3_arm64.deb ... 460s Unpacking libio-pty-perl (1:1.20-1build3) ... 460s Selecting previously unselected package libipc-run-perl. 460s Preparing to unpack .../19-libipc-run-perl_20231003.0-2_all.deb ... 460s Unpacking libipc-run-perl (20231003.0-2) ... 460s Selecting previously unselected package postgresql-common-dev. 460s Preparing to unpack .../20-postgresql-common-dev_274_all.deb ... 460s Unpacking postgresql-common-dev (274) ... 460s Selecting previously unselected package ssl-cert. 460s Preparing to unpack .../21-ssl-cert_1.1.3ubuntu1_all.deb ... 460s Unpacking ssl-cert (1.1.3ubuntu1) ... 460s Selecting previously unselected package postgresql-common. 460s Preparing to unpack .../22-postgresql-common_274_all.deb ... 460s Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by postgresql-common' 461s Unpacking postgresql-common (274) ... 461s Selecting previously unselected package bacula-console. 461s Preparing to unpack .../23-bacula-console_13.0.4-4build1_arm64.deb ... 461s Unpacking bacula-console (13.0.4-4build1) ... 461s Selecting previously unselected package bacula-client. 461s Preparing to unpack .../24-bacula-client_13.0.4-4build1_all.deb ... 461s Unpacking bacula-client (13.0.4-4build1) ... 461s Selecting previously unselected package bacula-bscan. 461s Preparing to unpack .../25-bacula-bscan_13.0.4-4build1_arm64.deb ... 461s Unpacking bacula-bscan (13.0.4-4build1) ... 461s Selecting previously unselected package bacula-server. 461s Preparing to unpack .../26-bacula-server_13.0.4-4build1_all.deb ... 461s Unpacking bacula-server (13.0.4-4build1) ... 461s Selecting previously unselected package bacula. 461s Preparing to unpack .../27-bacula_13.0.4-4build1_all.deb ... 461s Unpacking bacula (13.0.4-4build1) ... 461s Selecting previously unselected package libllvm20:arm64. 461s Preparing to unpack .../28-libllvm20_1%3a20.1.2-0ubuntu1_arm64.deb ... 461s Unpacking libllvm20:arm64 (1:20.1.2-0ubuntu1) ... 462s Selecting previously unselected package libxslt1.1:arm64. 462s Preparing to unpack .../29-libxslt1.1_1.1.39-0exp1ubuntu4_arm64.deb ... 462s Unpacking libxslt1.1:arm64 (1.1.39-0exp1ubuntu4) ... 462s Selecting previously unselected package postgresql-17. 462s Preparing to unpack .../30-postgresql-17_17.4-1_arm64.deb ... 462s Unpacking postgresql-17 (17.4-1) ... 463s Selecting previously unselected package postgresql. 463s Preparing to unpack .../31-postgresql_17+274_all.deb ... 463s Unpacking postgresql (17+274) ... 463s Setting up postgresql-client-common (274) ... 463s Setting up liblockfile-bin (1.17-2) ... 463s Setting up libio-pty-perl (1:1.20-1build3) ... 463s Setting up libpq5:arm64 (17.4-1) ... 463s Setting up mtx (1.3.12-18) ... 463s Setting up dbconfig-common (2.0.24) ... 463s Creating config file /etc/dbconfig-common/config with new version 463s Setting up bacula-common (13.0.4-4build1) ... 463s Setting up bacula-sd (13.0.4-4build1) ... 464s Creating config file /etc/default/bacula-sd with new version 464s Creating config file /etc/bacula/bacula-sd.conf with new version 465s Created symlink '/etc/systemd/system/multi-user.target.wants/bacula-sd.service' → '/usr/lib/systemd/system/bacula-sd.service'. 465s Setting up ssl-cert (1.1.3ubuntu1) ... 466s Created symlink '/etc/systemd/system/multi-user.target.wants/ssl-cert.service' → '/usr/lib/systemd/system/ssl-cert.service'. 467s Setting up libllvm20:arm64 (1:20.1.2-0ubuntu1) ... 467s Setting up libipc-run-perl (20231003.0-2) ... 467s Setting up bacula-console (13.0.4-4build1) ... 467s Creating config file /etc/bacula/bconsole.conf with new version 467s Setting up postfix (3.9.1-10ubuntu1) ... 467s Created symlink '/etc/systemd/system/multi-user.target.wants/postfix.service' → '/usr/lib/systemd/system/postfix.service'. 468s info: Selecting UID from range 100 to 999 ... 468s 468s info: Selecting GID from range 100 to 999 ... 468s info: Adding system user `postfix' (UID 108) ... 468s info: Adding new group `postfix' (GID 112) ... 468s info: Adding new user `postfix' (UID 108) with group `postfix' ... 468s info: Not creating home directory `/var/spool/postfix'. 468s info: Selecting GID from range 100 to 999 ... 468s info: Adding group `postdrop' (GID 113) ... 468s Creating /etc/postfix/dynamicmaps.cf 468s setting myhostname: autopkgtest.local 468s setting alias maps 468s setting alias database 468s changing /etc/mailname to autopkgtest.local 468s setting myorigin 468s setting destinations: $myhostname, autopkgtest.local, localhost.local, , localhost 468s setting relayhost: 468s setting mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 468s clearing mailbox_command 468s setting mailbox_size_limit: 0 468s setting recipient_delimiter: + 470s setting inet_interfaces: all 472s setting inet_protocols: all 472s /etc/aliases does not exist, creating it. 472s WARNING: /etc/aliases exists, but does not have a root alias. 472s 472s Postfix (main.cf) is now set up with a default configuration. If you need to 472s make changes, edit /etc/postfix/main.cf (and others) as needed. To view 472s Postfix configuration values, see postconf(1). 472s 472s After modifying main.cf, be sure to run 'systemctl reload postfix'. 472s 474s Setting up libjson-perl (4.10000-1) ... 474s Setting up libxslt1.1:arm64 (1.1.39-0exp1ubuntu4) ... 474s Setting up liblockfile1:arm64 (1.17-2) ... 474s Setting up bacula-fd (13.0.4-4build1) ... 474s Creating config file /etc/default/bacula-fd with new version 475s Creating config file /etc/bacula/bacula-fd.conf with new version 475s Created symlink '/etc/systemd/system/multi-user.target.wants/bacula-fd.service' → '/usr/lib/systemd/system/bacula-fd.service'. 476s Setting up postgresql-common-dev (274) ... 476s Setting up bacula-client (13.0.4-4build1) ... 476s Setting up postgresql-client-17 (17.4-1) ... 477s 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 477s Setting up dbconfig-pgsql (2.0.24) ... 477s Setting up bacula-common-pgsql (13.0.4-4build1) ... 477s Setting up bsd-mailx (8.1.2-0.20220412cvs-1build1) ... 477s update-alternatives: using /usr/bin/bsd-mailx to provide /usr/bin/mailx (mailx) in auto mode 477s Setting up postgresql-common (274) ... 478s Creating config file /etc/postgresql-common/createcluster.conf with new version 478s Building PostgreSQL dictionaries from installed myspell/hunspell packages... 478s Removing obsolete dictionary files: 479s Created symlink '/etc/systemd/system/multi-user.target.wants/postgresql.service' → '/usr/lib/systemd/system/postgresql.service'. 480s Setting up bacula-bscan (13.0.4-4build1) ... 480s Setting up postgresql-17 (17.4-1) ... 481s Creating new PostgreSQL cluster 17/main ... 481s /usr/lib/postgresql/17/bin/initdb -D /var/lib/postgresql/17/main --auth-local peer --auth-host scram-sha-256 --no-instructions 481s The files belonging to this database system will be owned by user "postgres". 481s This user must also own the server process. 481s 481s The database cluster will be initialized with locale "C.UTF-8". 481s The default database encoding has accordingly been set to "UTF8". 481s The default text search configuration will be set to "english". 481s 481s Data page checksums are disabled. 481s 481s fixing permissions on existing directory /var/lib/postgresql/17/main ... ok 481s creating subdirectories ... ok 481s selecting dynamic shared memory implementation ... posix 481s selecting default "max_connections" ... 100 481s selecting default "shared_buffers" ... 128MB 481s selecting default time zone ... Etc/UTC 481s creating configuration files ... ok 482s running bootstrap script ... ok 482s performing post-bootstrap initialization ... ok 482s syncing data to disk ... ok 485s Setting up bacula-director-pgsql (13.0.4-4build1) ... 486s dbconfig-common: writing config to /etc/dbconfig-common/bacula-director-pgsql.conf 486s Creating config file /etc/dbconfig-common/bacula-director-pgsql.conf with new version 487s creating postgres user bacula: success. 487s verifying creation of user: success. 487s creating database bacula: success. 487s verifying database bacula exists: success. 487s populating database via administrative sql... done. 488s populating database via sql... done. 488s dbconfig-common: flushing administrative password 488s Setting up postgresql-client (17+274) ... 488s Setting up bacula-director (13.0.4-4build1) ... 488s Creating config file /etc/default/bacula-dir with new version 489s Creating config file /etc/bacula/bacula-dir.conf with new version 489s Creating config file /etc/bacula/scripts/delete_catalog_backup with new version 490s Creating config file /etc/bacula/scripts/make_catalog_backup with new version 491s Created symlink '/etc/systemd/system/bacula-dir.service' → '/usr/lib/systemd/system/bacula-director.service'. 491s Created symlink '/etc/systemd/system/multi-user.target.wants/bacula-director.service' → '/usr/lib/systemd/system/bacula-director.service'. 491s Setting up postgresql (17+274) ... 492s Setting up bacula-server (13.0.4-4build1) ... 492s Setting up bacula (13.0.4-4build1) ... 492s Processing triggers for rsyslog (8.2412.0-2ubuntu2) ... 492s Processing triggers for ufw (0.36.2-9) ... 492s Processing triggers for man-db (2.13.0-1) ... 494s Processing triggers for libc-bin (2.41-6ubuntu1) ... 494s Processing triggers for postfix (3.9.1-10ubuntu1) ... 494s Restarting postfix 501s autopkgtest [07:06:59]: test program-test-pgsql: [----------------------- 502s + echo '----- start testing -----' 502s ----- start testing ----- 502s + echo 'USER: root' 502s USER: root 502s + DBTYPE=pgsql 502s + echo '---- Preparing test files ----' 502s ---- Preparing test files ---- 502s + DATAFILE=/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/datafile 502s + cat 502s + echo 502s 502s + echo '---- Testing /usr/sbin/bregex ----' 502s ---- Testing /usr/sbin/bregex ---- 502s + echo -en 'line . of the message\r' 502s + /usr/sbin/bregex -f /tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/datafile 502s Enter regex pattern: 2: This is line 1 of the message. 502s 3: This is line 2 of the message. 502s 4: This is line 3 of the message. 502s 5: This is line 4 of the message. 502s Enter regex pattern: + echo 502s 502s + echo '---- Testing /usr/sbin/bwild ----' 502s ---- Testing /usr/sbin/bwild ---- 502s + echo -en '*line ? of the message.\r' 502s + /usr/sbin/bwild -f /tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/datafile 502s Enter a wild-card: 2: This is line 1 of the message. 502s 3: This is line 2 of the message. 502s 4: This is line 3 of the message. 502s 5: This is line 4 of the message. 502s Enter a wild-card: + echo 502s 502s + echo '---- Testing /usr/sbin/bbconsjson ----' 502s ---- Testing /usr/sbin/bbconsjson ---- 502s + /usr/sbin/bbconsjson 502s [ 502s { 502s "Director": { 502s "Name": "autopkgtest-dir", 502s "DirPort": 9101, 502s "Address": "localhost", 502s "Password": "J8Fk_F7JJ3_FnpmaFShhzrPEy2XjLh7Ev" 502s } 502s } 502s ] 502s + echo 502s 502s + echo '---- Testing /usr/sbin/bdirjson ----' 502s ---- Testing /usr/sbin/bdirjson ---- 502s + /usr/sbin/bdirjson 502s [ 502s { 502s "Director": { 502s "Name": "autopkgtest-dir", 502s "Messages": "Daemon", 502s "DirAddress": "127.0.0.1", 502s "QueryFile": "/etc/bacula/scripts/query.sql", 502s "WorkingDirectory": "/var/lib/bacula", 502s "PidDirectory": "/run/bacula", 502s "MaximumConcurrentJobs": 20, 502s "Password": "J8Fk_F7JJ3_FnpmaFShhzrPEy2XjLh7Ev" 502s } 502s }, 502s { 502s "Client": { 502s "Name": "autopkgtest-fd", 502s "Address": "localhost", 502s "FdPort": 9102, 502s "Password": "4xS9SLMfch4MFvgJCbk9QJWiWMwFte6gL", 502s "Catalog": "MyCatalog", 502s "FileRetention": 5184000, 502s "JobRetention": 15552000, 502s "AutoPrune": true 502s } 502s }, 502s { 502s "Job": { 502s "Name": "BackupCatalog", 502s "Type": "Backup", 502s "Level": "Full", 502s "Messages": "Standard", 502s "Storage": ["File1"], 502s "Pool": "File", 502s "Client": "autopkgtest-fd", 502s "Fileset": "Catalog", 502s "Schedule": "WeeklyCycleAfterBackup", 502s "JobDefs": "DefaultJob", 502s "WriteBootstrap": "/var/lib/bacula/%n.bsr", 502s "SpoolAttributes": true, 502s "Runscript": [ 502s { 502s "RunsWhen": "Before", 502s "RunsOnClient": false, 502s "Command": "/etc/bacula/scripts/make_catalog_backup.pl MyCatalog" 502s }, 502s { 502s "RunsWhen": "After", 502s "RunsOnClient": false, 502s "Command": "/etc/bacula/scripts/delete_catalog_backup" 502s } 502s ] 502s , 502s "Priority": 11 502s } 502s }, 502s { 502s "Job": { 502s "Name": "BackupClient1", 502s "Type": "Backup", 502s "Level": "Incremental", 502s "Messages": "Standard", 502s "Storage": ["File1"], 502s "Pool": "File", 502s "Client": "autopkgtest-fd", 502s "Fileset": "Full Set", 502s "Schedule": "WeeklyCycle", 502s "JobDefs": "DefaultJob", 502s "WriteBootstrap": "/var/lib/bacula/%c.bsr", 502s "SpoolAttributes": true, 502s "Priority": 10 502s } 502s }, 502s { 502s "Job": { 502s "Name": "RestoreFiles", 502s "Type": "Restore", 502s "Messages": "Standard", 502s "Storage": ["File1"], 502s "Pool": "File", 502s "Client": "autopkgtest-fd", 502s "Fileset": "Full Set", 502s "Where": "/nonexistent/path/to/file/archive/dir/bacula-restores" 502s } 502s }, 502s { 502s "Storage": { 502s "Name": "File1", 502s "SdPort": 9103, 502s "Address": "localhost", 502s "Password": "BgnyUnr-1EwZ6I1egKUuqOHazS2qFQ9fU", 502s "Device": ["FileChgr1"], 502s "MediaType": "File1", 502s "Autochanger": "File1", 502s "MaximumConcurrentJobs": 10 502s } 502s }, 502s { 502s "Storage": { 502s "Name": "File2", 502s "SdPort": 9103, 502s "Address": "localhost", 502s "Password": "BgnyUnr-1EwZ6I1egKUuqOHazS2qFQ9fU", 502s "Device": ["FileChgr2"], 502s "MediaType": "File2", 502s "Autochanger": "File2", 502s "MaximumConcurrentJobs": 10 502s } 502s }, 502s { 502s "Catalog": { 502s "Name": "MyCatalog", 502s "Address": "localhost", 502s "Password": "zGfxo3bITRoO", 502s "User": "bacula", 502s "DbName": "bacula" 502s } 502s }, 502s { 502s "Schedule": { 502s "Name": "WeeklyCycle", 502s "Run": [ 502s { 502s "Level": "Full", 502s "Level": "Full", 502s "Level": "Full", 502s "Hour": [23], 502s "Minute": 5, 502s "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], 502s "Month": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], 502s "DayOfWeek": [0], 502s "WeekOfMonth": [0], 502s "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] 502s }, 502s { 502s "Level": "Differential", 502s "Level": "Differential", 502s "Level": "Differential", 502s "Hour": [23], 502s "Minute": 5, 502s "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], 502s "Month": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], 502s "DayOfWeek": [0], 502s "WeekOfMonth": [1, 2, 3, 4], 502s "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] 502s }, 502s { 502s "Level": "Incremental", 502s "Level": "Incremental", 502s "Level": "Incremental", 502s "Hour": [23], 502s "Minute": 5, 502s "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], 502s "Month": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], 502s "DayOfWeek": [1, 2, 3, 4, 5, 6], 502s "WeekOfMonth": [0, 1, 2, 3, 4, 5], 502s "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] 502s } 502s ] 502s } 502s }, 502s { 502s "Schedule": { 502s "Name": "WeeklyCycleAfterBackup", 502s "Run": [ 502s { 502s "Level": "Full", 502s "Level": "Full", 502s "Level": "Full", 502s "Hour": [23], 502s "Minute": 10, 502s "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], 502s "Month": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], 502s "DayOfWeek": [0, 1, 2, 3, 4, 5, 6], 502s "WeekOfMonth": [0, 1, 2, 3, 4, 5], 502s "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] 502s } 502s ] 502s } 502s }, 502s { 502s "Fileset": { 502s "Name": "Catalog", 502s "Include": [{ 502s "File": ["/var/lib/bacula/bacula.sql"], 502s "Options": [ 502s { 502s "Signature": "Md5" 502s } 502s ] 502s }] 502s } 502s }, 502s { 502s "Fileset": { 502s "Name": "Full Set", 502s "Include": [{ 502s "File": ["/usr/sbin"], 502s "Options": [ 502s { 502s "Signature": "Md5" 502s } 502s ] 502s }], 502s "Exclude": { 502s "File": ["/var/lib/bacula", "/nonexistent/path/to/file/archive/dir", "/proc", "/tmp", "/sys", "/.journal", "/.fsck"] 502s } 502s } 502s }, 502s { 502s "Pool": { 502s "Name": "Default", 502s "PoolType": "Backup", 502s "MaximumVolumes": 100, 502s "MaximumVolumeBytes": 53687091200, 502s "VolumeRetention": 31536000, 502s "AutoPrune": true, 502s "Recycle": true 502s } 502s }, 502s { 502s "Pool": { 502s "Name": "File", 502s "PoolType": "Backup", 502s "LabelFormat": "Vol-", 502s "MaximumVolumes": 100, 502s "MaximumVolumeBytes": 53687091200, 502s "VolumeRetention": 31536000, 502s "AutoPrune": true, 502s "Recycle": true 502s } 502s }, 502s { 502s "Pool": { 502s "Name": "Scratch", 502s "PoolType": "Backup" 502s } 502s }, 502s { 502s "Messages": { 502s "Name": "Daemon", 502s "MailCommand": "/usr/sbin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s \"Bacula daemon message\" %r", 502s "Destinations": [ 502s { 502s "Type": "Mail", 502s "MsgTypes": ["All","!Skipped"], 502s "Where": ["root"], 502s "Command": "/usr/sbin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s \"Bacula daemon message\" %r" 502s }, 502s { 502s "Type": "Append", 502s "MsgTypes": ["All","!Skipped"], 502s "Where": ["/var/log/bacula/bacula.log"] 502s }, 502s { 502s "Type": "Console", 502s "MsgTypes": ["All","!Skipped"] 502s } 502s ] 502s } 502s }, 502s { 502s "Messages": { 502s "Name": "Standard", 502s "MailCommand": "/usr/sbin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s \"Bacula: %t %e of %c %l\" %r", 502s "OperatorCommand": "/usr/sbin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s \"Bacula: Intervention needed for %j\" %r", 502s "Destinations": [ 502s { 502s "Type": "Mail", 502s "MsgTypes": ["All","!Skipped"], 502s "Where": ["root"], 502s "Command": "/usr/sbin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s \"Bacula: %t %e of %c %l\" %r" 502s }, 502s { 502s "Type": "Append", 502s "MsgTypes": ["All","!Skipped"], 502s "Where": ["/var/log/bacula/bacula.log"] 502s }, 502s { 502s "Type": "Console", 502s "MsgTypes": ["All","!Skipped"] 502s }, 502s { 502s "Type": "Operator", 502s "MsgTypes": ["Mount"], 502s "Where": ["root"], 502s "Command": "/usr/sbin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s \"Bacula: Intervention needed for %j\" %r" 502s }, 502s { 502s "Type": "Catalog", 502s "MsgTypes": ["All"] 502s } 502s ] 502s } 502s }, 502s { 502s "Console": { 502s "Name": "autopkgtest-mon", 502s "Password": "pXznsyIFXpq50pVC-HFT0QUpULT2VkgaQ", 502s "CommandAcl": ["status", ".status"] 502s } 502s }, 502s { 502s "JobDefs": { 502s "Name": "DefaultJob", 502s "Type": "Backup", 502s "Level": "Incremental", 502s "Messages": "Standard", 502s "Storage": ["File1"], 502s "Pool": "File", 502s "Client": "autopkgtest-fd", 502s "Fileset": "Full Set", 502s "Schedule": "WeeklyCycle", 502s "WriteBootstrap": "/var/lib/bacula/%c.bsr", 502s "SpoolAttributes": true, 502s "Priority": 10 502s } 502s } 502s ] 502s + echo 502s 502s + echo '---- Testing /usr/sbin/bfdjson ----' 502s ---- Testing /usr/sbin/bfdjson ---- 502s + /usr/sbin/bfdjson 502s [{ 502s "Director": { 502s "Name": "autopkgtest-dir", 502s "Password": "4xS9SLMfch4MFvgJCbk9QJWiWMwFte6gL" 502s } 502s }, 502s { 502s "Director": { 502s "Name": "autopkgtest-mon", 502s "Password": "_-Bhke7sTNOaXurmO46zyFGhZvLq_yQV1", 502s "Monitor": true 502s } 502s }, 502s { 502s "FileDaemon": { 502s "Name": "autopkgtest-fd", 502s "FdAddress": "127.0.0.1", 502s "WorkingDirectory": "/var/lib/bacula", 502s "PidDirectory": "/run/bacula", 502s "PluginDirectory": "/usr/lib/bacula", 502s "MaximumConcurrentJobs": 20 502s } 502s }, 502s { 502s "Messages": { 502s "Name": "Standard", 502s "Destinations": [ 502s { 502s "Type": "Director", 502s "MsgTypes": ["All","!Skipped","!Restored","!Verified"], 502s "Where": ["autopkgtest-dir"] 502s } 502s ] 502s } 502s } 502s ] 502s + echo 502s 502s + echo '---- Testing /usr/sbin/bsdjson ----' 502s ---- Testing /usr/sbin/bsdjson ---- 502s + /usr/sbin/bsdjson 502s [ 502s { 502s "Director": { 502s "Name": "autopkgtest-dir", 502s "Password": "BgnyUnr-1EwZ6I1egKUuqOHazS2qFQ9fU" 502s } 502s }, 502s { 502s "Director": { 502s "Name": "autopkgtest-mon", 502s "Password": "uBxVNhsMUn3HuA0bbmP7QclI6J2vV_287", 502s "Monitor": true 502s } 502s }, 502s { 502s "Storage": { 502s "Name": "autopkgtest-sd", 502s "SdAddress": "127.0.0.1", 502s "WorkingDirectory": "/var/lib/bacula", 502s "PidDirectory": "/run/bacula", 502s "PluginDirectory": "/usr/lib/bacula", 502s "MaximumConcurrentJobs": 20 502s } 502s }, 502s { 502s "Device": { 502s "Name": "FileChgr1-Dev1", 502s "MediaType": "File1", 502s "ArchiveDevice": "/nonexistent/path/to/file/archive/dir", 502s "RemovableMedia": false, 502s "RandomAccess": true, 502s "AutomaticMount": true, 502s "LabelMedia": true, 502s "AlwaysOpen": false, 502s "MaximumConcurrentJobs": 5 502s } 502s }, 502s { 502s "Device": { 502s "Name": "FileChgr1-Dev2", 502s "MediaType": "File1", 502s "ArchiveDevice": "/nonexistent/path/to/file/archive/dir", 502s "RemovableMedia": false, 502s "RandomAccess": true, 502s "AutomaticMount": true, 502s "LabelMedia": true, 502s "AlwaysOpen": false, 502s "MaximumConcurrentJobs": 5 502s } 502s }, 502s { 502s "Device": { 502s "Name": "FileChgr2-Dev1", 502s "MediaType": "File2", 502s "ArchiveDevice": "/nonexistent/path/to/file/archive/dir", 502s "RemovableMedia": false, 502s "RandomAccess": true, 502s "AutomaticMount": true, 502s "LabelMedia": true, 502s "AlwaysOpen": false, 502s "MaximumConcurrentJobs": 5 502s } 502s }, 502s { 502s "Device": { 502s "Name": "FileChgr2-Dev2", 502s "MediaType": "File2", 502s "ArchiveDevice": "/nonexistent/path/to/file/archive/dir", 502s "RemovableMedia": false, 502s "RandomAccess": true, 502s "AutomaticMount": true, 502s "LabelMedia": true, 502s "AlwaysOpen": false, 502s "MaximumConcurrentJobs": 5 502s } 502s }, 502s { 502s "Messages": { 502s "Name": "Standard", 502s "Destinations": [ 502s { 502s "Type": "Director", 502s "MsgTypes": ["All"], 502s "Where": ["autopkgtest-dir"] 502s } 502s ] 502s } 502s }, 502s { 502s "Autochanger": { 502s "Name": "FileChgr1", 502s "Device": ["FileChgr1-Dev1", "FileChgr1-Dev2"], 502s "ChangerDevice": "/dev/null", 502s "ChangerCommand": "" 502s } 502s }, 502s { 502s "Autochanger": { 502s "Name": "FileChgr2", 502s "Device": ["FileChgr2-Dev1", "FileChgr2-Dev2"], 502s "ChangerDevice": "/dev/null", 502s "ChangerCommand": "" 502s } 502s } 502s ] 502s autopkgtest [07:07:00]: test program-test-pgsql: -----------------------] 503s autopkgtest [07:07:01]: test program-test-pgsql: - - - - - - - - - - results - - - - - - - - - - 503s program-test-pgsql PASS 503s autopkgtest [07:07:01]: test backup-test-mysql: preparing testbed 676s autopkgtest [07:09:54]: testbed dpkg architecture: arm64 676s autopkgtest [07:09:54]: testbed apt version: 3.0.0 676s autopkgtest [07:09:54]: @@@@@@@@@@@@@@@@@@@@ test bed setup 676s autopkgtest [07:09:54]: testbed release detected to be: questing 677s autopkgtest [07:09:55]: updating testbed package index (apt update) 678s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB] 678s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 678s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 678s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 678s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [57.4 kB] 678s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [2202 kB] 678s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [184 kB] 678s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 Packages [227 kB] 678s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/universe arm64 Packages [1472 kB] 678s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/multiverse arm64 Packages [16.5 kB] 679s Fetched 4269 kB in 1s (3411 kB/s) 680s Reading package lists... 680s autopkgtest [07:09:58]: upgrading testbed (apt dist-upgrade and autopurge) 681s Reading package lists... 681s Building dependency tree... 681s Reading state information... 681s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 682s Starting 2 pkgProblemResolver with broken count: 0 682s Done 682s Entering ResolveByKeep 683s 683s Calculating upgrade... 683s The following packages will be upgraded: 683s ucf 684s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 684s Need to get 43.6 kB of archives. 684s After this operation, 1024 B of additional disk space will be used. 684s Get:1 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 ucf all 3.0051 [43.6 kB] 684s Preconfiguring packages ... 685s Fetched 43.6 kB in 0s (147 kB/s) 685s (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 ... 117820 files and directories currently installed.) 685s Preparing to unpack .../archives/ucf_3.0051_all.deb ... 685s Unpacking ucf (3.0051) over (3.0050) ... 685s Setting up ucf (3.0051) ... 685s Processing triggers for man-db (2.13.0-1) ... 686s Reading package lists... 687s Building dependency tree... 687s Reading state information... 687s Starting pkgProblemResolver with broken count: 0 687s Starting 2 pkgProblemResolver with broken count: 0 687s Done 688s Solving dependencies... 688s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 691s Reading package lists... 691s Building dependency tree... 691s Reading state information... 692s Starting pkgProblemResolver with broken count: 0 692s Starting 2 pkgProblemResolver with broken count: 0 692s Done 693s The following NEW packages will be installed: 693s bacula bacula-bscan bacula-client bacula-common bacula-common-mysql 693s bacula-console bacula-director bacula-director-mysql bacula-fd bacula-sd 693s bacula-server bsd-mailx dbconfig-common dbconfig-mysql dbconfig-pgsql 693s default-mysql-client default-mysql-server liblockfile-bin liblockfile1 693s libmecab2 libmysqlclient24 libpq5 libprotobuf-lite32t64 mtx mysql-client 693s mysql-client-core mysql-common mysql-server mysql-server-core postfix 693s postgresql-client postgresql-client-17 postgresql-client-common 693s 0 upgraded, 33 newly installed, 0 to remove and 0 not upgraded. 693s Need to get 29.1 MB of archives. 693s After this operation, 206 MB of additional disk space will be used. 693s Get:1 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-common arm64 13.0.4-4build1 [827 kB] 693s Get:2 http://ftpmaster.internal/ubuntu questing/main arm64 mysql-common all 5.8+1.1.1ubuntu1 [6922 B] 693s Get:3 http://ftpmaster.internal/ubuntu questing/main arm64 libmysqlclient24 arm64 8.4.4-0ubuntu2 [1243 kB] 693s Get:4 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-common-mysql arm64 13.0.4-4build1 [11.0 kB] 693s Get:5 http://ftpmaster.internal/ubuntu questing/universe arm64 dbconfig-common all 2.0.24 [596 kB] 693s Get:6 http://ftpmaster.internal/ubuntu questing/main arm64 mysql-client-core arm64 8.4.4-0ubuntu2 [2094 kB] 694s Get:7 http://ftpmaster.internal/ubuntu questing/main arm64 mysql-client arm64 8.4.4-0ubuntu2 [9122 B] 694s Get:8 http://ftpmaster.internal/ubuntu questing/universe arm64 default-mysql-client all 1.1.1ubuntu1 [3072 B] 694s Get:9 http://ftpmaster.internal/ubuntu questing/universe arm64 dbconfig-mysql all 2.0.24 [938 B] 694s Get:10 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-director-mysql all 13.0.4-4build1 [32.3 kB] 694s Get:11 http://ftpmaster.internal/ubuntu questing/main arm64 postfix arm64 3.9.1-10ubuntu1 [1286 kB] 694s Get:12 http://ftpmaster.internal/ubuntu questing/main arm64 liblockfile-bin arm64 1.17-2 [11.0 kB] 694s Get:13 http://ftpmaster.internal/ubuntu questing/main arm64 liblockfile1 arm64 1.17-2 [6982 B] 694s Get:14 http://ftpmaster.internal/ubuntu questing/main arm64 bsd-mailx arm64 8.1.2-0.20220412cvs-1build1 [66.2 kB] 694s Get:15 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-director arm64 13.0.4-4build1 [365 kB] 694s Get:16 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-fd arm64 13.0.4-4build1 [140 kB] 694s Get:17 http://ftpmaster.internal/ubuntu questing/main arm64 mtx arm64 1.3.12-18 [42.9 kB] 694s Get:18 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-sd arm64 13.0.4-4build1 [147 kB] 694s Get:19 http://ftpmaster.internal/ubuntu questing/main arm64 libmecab2 arm64 0.996-15.1build2 [191 kB] 694s Get:20 http://ftpmaster.internal/ubuntu questing/main arm64 libprotobuf-lite32t64 arm64 3.21.12-10build2 [220 kB] 694s Get:21 http://ftpmaster.internal/ubuntu questing/main arm64 mysql-server-core arm64 8.4.4-0ubuntu2 [18.8 MB] 694s Get:22 http://ftpmaster.internal/ubuntu questing/main arm64 mysql-server arm64 8.4.4-0ubuntu2 [1364 kB] 694s Get:23 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-console arm64 13.0.4-4build1 [27.8 kB] 694s Get:24 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-client all 13.0.4-4build1 [23.5 kB] 694s Get:25 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-bscan arm64 13.0.4-4build1 [24.6 kB] 694s Get:26 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-server all 13.0.4-4build1 [23.4 kB] 694s Get:27 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula all 13.0.4-4build1 [1036 B] 694s Get:28 http://ftpmaster.internal/ubuntu questing/main arm64 libpq5 arm64 17.4-1 [142 kB] 694s Get:29 http://ftpmaster.internal/ubuntu questing/main arm64 postgresql-client-common all 274 [47.6 kB] 694s Get:30 http://ftpmaster.internal/ubuntu questing/main arm64 postgresql-client-17 arm64 17.4-1 [1342 kB] 694s Get:31 http://ftpmaster.internal/ubuntu questing/main arm64 postgresql-client all 17+274 [13.3 kB] 695s Get:32 http://ftpmaster.internal/ubuntu questing/universe arm64 dbconfig-pgsql all 2.0.24 [914 B] 695s Get:33 http://ftpmaster.internal/ubuntu questing/universe arm64 default-mysql-server all 1.1.1ubuntu1 [3088 B] 695s Preconfiguring packages ... 695s Fetched 29.1 MB in 2s (17.1 MB/s) 695s Selecting previously unselected package bacula-common. 695s (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 ... 117820 files and directories currently installed.) 695s Preparing to unpack .../00-bacula-common_13.0.4-4build1_arm64.deb ... 696s Adding user 'bacula'... Ok. 696s Unpacking bacula-common (13.0.4-4build1) ... 696s Selecting previously unselected package mysql-common. 696s Preparing to unpack .../01-mysql-common_5.8+1.1.1ubuntu1_all.deb ... 696s Unpacking mysql-common (5.8+1.1.1ubuntu1) ... 696s Selecting previously unselected package libmysqlclient24:arm64. 696s Preparing to unpack .../02-libmysqlclient24_8.4.4-0ubuntu2_arm64.deb ... 696s Unpacking libmysqlclient24:arm64 (8.4.4-0ubuntu2) ... 696s Selecting previously unselected package bacula-common-mysql. 696s Preparing to unpack .../03-bacula-common-mysql_13.0.4-4build1_arm64.deb ... 696s Unpacking bacula-common-mysql (13.0.4-4build1) ... 696s Selecting previously unselected package dbconfig-common. 696s Preparing to unpack .../04-dbconfig-common_2.0.24_all.deb ... 696s Unpacking dbconfig-common (2.0.24) ... 696s Selecting previously unselected package mysql-client-core. 696s Preparing to unpack .../05-mysql-client-core_8.4.4-0ubuntu2_arm64.deb ... 696s Unpacking mysql-client-core (8.4.4-0ubuntu2) ... 696s Selecting previously unselected package mysql-client. 696s Preparing to unpack .../06-mysql-client_8.4.4-0ubuntu2_arm64.deb ... 696s Unpacking mysql-client (8.4.4-0ubuntu2) ... 697s Selecting previously unselected package default-mysql-client. 697s Preparing to unpack .../07-default-mysql-client_1.1.1ubuntu1_all.deb ... 697s Unpacking default-mysql-client (1.1.1ubuntu1) ... 697s Selecting previously unselected package dbconfig-mysql. 697s Preparing to unpack .../08-dbconfig-mysql_2.0.24_all.deb ... 697s Unpacking dbconfig-mysql (2.0.24) ... 697s Selecting previously unselected package bacula-director-mysql. 697s Preparing to unpack .../09-bacula-director-mysql_13.0.4-4build1_all.deb ... 697s Unpacking bacula-director-mysql (13.0.4-4build1) ... 697s Selecting previously unselected package postfix. 697s Preparing to unpack .../10-postfix_3.9.1-10ubuntu1_arm64.deb ... 697s Unpacking postfix (3.9.1-10ubuntu1) ... 697s Selecting previously unselected package liblockfile-bin. 697s Preparing to unpack .../11-liblockfile-bin_1.17-2_arm64.deb ... 697s Unpacking liblockfile-bin (1.17-2) ... 697s Selecting previously unselected package liblockfile1:arm64. 697s Preparing to unpack .../12-liblockfile1_1.17-2_arm64.deb ... 697s Unpacking liblockfile1:arm64 (1.17-2) ... 697s Selecting previously unselected package bsd-mailx. 697s Preparing to unpack .../13-bsd-mailx_8.1.2-0.20220412cvs-1build1_arm64.deb ... 697s Unpacking bsd-mailx (8.1.2-0.20220412cvs-1build1) ... 697s Selecting previously unselected package bacula-director. 697s Preparing to unpack .../14-bacula-director_13.0.4-4build1_arm64.deb ... 697s Unpacking bacula-director (13.0.4-4build1) ... 697s Selecting previously unselected package bacula-fd. 697s Preparing to unpack .../15-bacula-fd_13.0.4-4build1_arm64.deb ... 697s Unpacking bacula-fd (13.0.4-4build1) ... 697s Selecting previously unselected package mtx. 697s Preparing to unpack .../16-mtx_1.3.12-18_arm64.deb ... 697s Unpacking mtx (1.3.12-18) ... 697s Selecting previously unselected package bacula-sd. 697s Preparing to unpack .../17-bacula-sd_13.0.4-4build1_arm64.deb ... 697s Unpacking bacula-sd (13.0.4-4build1) ... 697s Selecting previously unselected package libmecab2:arm64. 697s Preparing to unpack .../18-libmecab2_0.996-15.1build2_arm64.deb ... 697s Unpacking libmecab2:arm64 (0.996-15.1build2) ... 697s Selecting previously unselected package libprotobuf-lite32t64:arm64. 697s Preparing to unpack .../19-libprotobuf-lite32t64_3.21.12-10build2_arm64.deb ... 697s Unpacking libprotobuf-lite32t64:arm64 (3.21.12-10build2) ... 697s Selecting previously unselected package mysql-server-core. 697s Preparing to unpack .../20-mysql-server-core_8.4.4-0ubuntu2_arm64.deb ... 697s Unpacking mysql-server-core (8.4.4-0ubuntu2) ... 698s Setting up mysql-common (5.8+1.1.1ubuntu1) ... 698s update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode 698s Selecting previously unselected package mysql-server. 698s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 118778 files and directories currently installed.) 698s Preparing to unpack .../00-mysql-server_8.4.4-0ubuntu2_arm64.deb ... 699s Unpacking mysql-server (8.4.4-0ubuntu2) ... 699s Selecting previously unselected package bacula-console. 699s Preparing to unpack .../01-bacula-console_13.0.4-4build1_arm64.deb ... 699s Unpacking bacula-console (13.0.4-4build1) ... 699s Selecting previously unselected package bacula-client. 699s Preparing to unpack .../02-bacula-client_13.0.4-4build1_all.deb ... 699s Unpacking bacula-client (13.0.4-4build1) ... 699s Selecting previously unselected package bacula-bscan. 699s Preparing to unpack .../03-bacula-bscan_13.0.4-4build1_arm64.deb ... 699s Unpacking bacula-bscan (13.0.4-4build1) ... 699s Selecting previously unselected package bacula-server. 699s Preparing to unpack .../04-bacula-server_13.0.4-4build1_all.deb ... 699s Unpacking bacula-server (13.0.4-4build1) ... 699s Selecting previously unselected package bacula. 699s Preparing to unpack .../05-bacula_13.0.4-4build1_all.deb ... 699s Unpacking bacula (13.0.4-4build1) ... 699s Selecting previously unselected package libpq5:arm64. 699s Preparing to unpack .../06-libpq5_17.4-1_arm64.deb ... 699s Unpacking libpq5:arm64 (17.4-1) ... 699s Selecting previously unselected package postgresql-client-common. 699s Preparing to unpack .../07-postgresql-client-common_274_all.deb ... 699s Unpacking postgresql-client-common (274) ... 699s Selecting previously unselected package postgresql-client-17. 699s Preparing to unpack .../08-postgresql-client-17_17.4-1_arm64.deb ... 699s Unpacking postgresql-client-17 (17.4-1) ... 699s Selecting previously unselected package postgresql-client. 699s Preparing to unpack .../09-postgresql-client_17+274_all.deb ... 699s Unpacking postgresql-client (17+274) ... 699s Selecting previously unselected package dbconfig-pgsql. 699s Preparing to unpack .../10-dbconfig-pgsql_2.0.24_all.deb ... 699s Unpacking dbconfig-pgsql (2.0.24) ... 699s Selecting previously unselected package default-mysql-server. 699s Preparing to unpack .../11-default-mysql-server_1.1.1ubuntu1_all.deb ... 699s Unpacking default-mysql-server (1.1.1ubuntu1) ... 699s Setting up libprotobuf-lite32t64:arm64 (3.21.12-10build2) ... 699s Setting up postgresql-client-common (274) ... 699s Setting up libmecab2:arm64 (0.996-15.1build2) ... 699s Setting up liblockfile-bin (1.17-2) ... 699s Setting up libpq5:arm64 (17.4-1) ... 699s Setting up mtx (1.3.12-18) ... 699s Setting up dbconfig-common (2.0.24) ... 700s Creating config file /etc/dbconfig-common/config with new version 700s Setting up libmysqlclient24:arm64 (8.4.4-0ubuntu2) ... 700s Setting up bacula-common (13.0.4-4build1) ... 700s Setting up bacula-sd (13.0.4-4build1) ... 700s Creating config file /etc/default/bacula-sd with new version 701s Creating config file /etc/bacula/bacula-sd.conf with new version 701s Created symlink '/etc/systemd/system/multi-user.target.wants/bacula-sd.service' → '/usr/lib/systemd/system/bacula-sd.service'. 701s Setting up mysql-server-core (8.4.4-0ubuntu2) ... 701s Setting up bacula-console (13.0.4-4build1) ... 702s Creating config file /etc/bacula/bconsole.conf with new version 702s Setting up postfix (3.9.1-10ubuntu1) ... 702s Created symlink '/etc/systemd/system/multi-user.target.wants/postfix.service' → '/usr/lib/systemd/system/postfix.service'. 702s info: Selecting UID from range 100 to 999 ... 702s 702s info: Selecting GID from range 100 to 999 ... 702s info: Adding system user `postfix' (UID 109) ... 702s info: Adding new group `postfix' (GID 112) ... 702s info: Adding new user `postfix' (UID 109) with group `postfix' ... 703s info: Not creating home directory `/var/spool/postfix'. 703s info: Selecting GID from range 100 to 999 ... 703s info: Adding group `postdrop' (GID 113) ... 703s Creating /etc/postfix/dynamicmaps.cf 703s setting myhostname: autopkgtest.local 703s setting alias maps 703s setting alias database 703s changing /etc/mailname to autopkgtest.local 703s setting myorigin 703s setting destinations: $myhostname, autopkgtest.local, localhost.local, , localhost 703s setting relayhost: 703s setting mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 703s clearing mailbox_command 703s setting mailbox_size_limit: 0 703s setting recipient_delimiter: + 705s setting inet_interfaces: all 707s setting inet_protocols: all 707s /etc/aliases does not exist, creating it. 707s WARNING: /etc/aliases exists, but does not have a root alias. 707s 707s Postfix (main.cf) is now set up with a default configuration. If you need to 707s make changes, edit /etc/postfix/main.cf (and others) as needed. To view 707s Postfix configuration values, see postconf(1). 707s 707s After modifying main.cf, be sure to run 'systemctl reload postfix'. 707s 709s Setting up mysql-client-core (8.4.4-0ubuntu2) ... 709s Setting up liblockfile1:arm64 (1.17-2) ... 709s Setting up bacula-fd (13.0.4-4build1) ... 709s Creating config file /etc/default/bacula-fd with new version 709s Creating config file /etc/bacula/bacula-fd.conf with new version 710s Created symlink '/etc/systemd/system/multi-user.target.wants/bacula-fd.service' → '/usr/lib/systemd/system/bacula-fd.service'. 710s Setting up mysql-client (8.4.4-0ubuntu2) ... 710s Setting up bacula-client (13.0.4-4build1) ... 710s Setting up bacula-common-mysql (13.0.4-4build1) ... 710s Setting up postgresql-client-17 (17.4-1) ... 711s 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 711s Setting up dbconfig-pgsql (2.0.24) ... 711s Setting up dbconfig-mysql (2.0.24) ... 711s Setting up bsd-mailx (8.1.2-0.20220412cvs-1build1) ... 711s update-alternatives: using /usr/bin/bsd-mailx to provide /usr/bin/mailx (mailx) in auto mode 711s Setting up bacula-director-mysql (13.0.4-4build1) ... 711s dbconfig-common: writing config to /etc/dbconfig-common/bacula-director-mysql.conf 711s Creating config file /etc/dbconfig-common/bacula-director-mysql.conf with new version 711s ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2). 711s unable to connect to mysql server. 711s error encountered creating user: 711s ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) 711s dbconfig-common: bacula-director-mysql configure: noninteractive fail. 711s dbconfig-common: bacula-director-mysql configure: ignoring errors from here forwards 711s populating database via sql... done. 711s dbconfig-common: flushing administrative password 711s Setting up bacula-director (13.0.4-4build1) ... 712s Creating config file /etc/default/bacula-dir with new version 712s Creating config file /etc/bacula/bacula-dir.conf with new version 712s Creating config file /etc/bacula/scripts/delete_catalog_backup with new version 713s Creating config file /etc/bacula/scripts/make_catalog_backup with new version 713s Created symlink '/etc/systemd/system/bacula-dir.service' → '/usr/lib/systemd/system/bacula-director.service'. 713s Created symlink '/etc/systemd/system/multi-user.target.wants/bacula-director.service' → '/usr/lib/systemd/system/bacula-director.service'. 743s Could not execute systemctl: at /usr/bin/deb-systemd-invoke line 148. 743s Setting up bacula-bscan (13.0.4-4build1) ... 743s Setting up bacula-server (13.0.4-4build1) ... 743s Setting up default-mysql-client (1.1.1ubuntu1) ... 743s Setting up mysql-server (8.4.4-0ubuntu2) ... 744s update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode 744s Renaming removed key_buffer and myisam-recover options (if present) 750s Created symlink '/etc/systemd/system/multi-user.target.wants/mysql.service' → '/usr/lib/systemd/system/mysql.service'. 752s Setting up postgresql-client (17+274) ... 752s Setting up bacula (13.0.4-4build1) ... 752s Setting up default-mysql-server (1.1.1ubuntu1) ... 752s Processing triggers for libc-bin (2.41-6ubuntu1) ... 752s Processing triggers for rsyslog (8.2412.0-2ubuntu2) ... 752s Processing triggers for ufw (0.36.2-9) ... 752s Processing triggers for man-db (2.13.0-1) ... 753s Processing triggers for postfix (3.9.1-10ubuntu1) ... 753s Restarting postfix 758s autopkgtest [07:11:16]: test backup-test-mysql: [----------------------- 758s + apt-get -y install debconf-utils 758s Reading package lists... 758s Building dependency tree... 758s Reading state information... 759s Solving dependencies... 759s The following NEW packages will be installed: 759s debconf-utils 759s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 759s Need to get 49.5 kB of archives. 759s After this operation, 99.3 kB of additional disk space will be used. 759s Get:1 http://ftpmaster.internal/ubuntu questing/universe arm64 debconf-utils all 1.5.87ubuntu1 [49.5 kB] 760s Fetched 49.5 kB in 0s (162 kB/s) 760s Selecting previously unselected package debconf-utils. 760s (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 ... 119146 files and directories currently installed.) 760s Preparing to unpack .../debconf-utils_1.5.87ubuntu1_all.deb ... 760s Unpacking debconf-utils (1.5.87ubuntu1) ... 760s Setting up debconf-utils (1.5.87ubuntu1) ... 760s Processing triggers for man-db (2.13.0-1) ... 761s + debconf-get-selections 761s + awk '$3=="password"{print}' 761s + debconf-set-selections 761s + for pkg in bacula-director-mysql bacula-director-pgsql 761s ++ dpkg-query --showformat '${db:Status-Status}' -W bacula-director-mysql 761s + pkg_status=installed 761s + '[' installed = installed ']' 761s + echo 'bacula-director-mysql bacula-director-mysql/dbconfig-reinstall boolean true' 761s + debconf-set-selections 761s + DEBIAN_FRONTEND=noninteractive 761s + dpkg-reconfigure bacula-director-mysql 761s Determining localhost credentials from /etc/mysql/debian.cnf: succeeded. 762s Determining localhost credentials from /etc/mysql/debian.cnf: succeeded. 762s dbconfig-common: writing config to /etc/dbconfig-common/bacula-director-mysql.conf 762s Replacing config file /etc/dbconfig-common/bacula-director-mysql.conf with new version 762s checking privileges on database bacula for bacula@localhost: user creation needed. 762s granting access to database bacula for bacula@localhost: success. 762s verifying access for bacula@localhost: success. 762s dbconfig-common: dumping mysql database bacula to /var/tmp/bacula-director-mysql.bacula.2025-05-02-07.11.mysql.CrKQTV. 762s database does not exist. 762s dbconfig-common: dropping old mysql database bacula. 762s dropping database bacula: database does not exist. 762s creating database bacula: success. 762s verifying database bacula exists: success. 763s populating database via sql... done. 763s dbconfig-common: flushing administrative password 764s + for pkg in bacula-director-mysql bacula-director-pgsql 764s ++ dpkg-query --showformat '${db:Status-Status}' -W bacula-director-pgsql 764s + pkg_status=not-installed 764s + '[' not-installed = installed ']' 764s + echo 'start testing ... ' 764s start testing ... 764s + echo 'USER: root' 764s USER: root 764s + DBTYPE=mysql 764s + echo 'DBTYPE: mysql' 764s DBTYPE: mysql 764s + echo '--------- configuring Bacula daemons -----------' 764s --------- configuring Bacula daemons ----------- 764s + FILECHGRDIR=/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr 764s + RESTOREDIR=/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-restores 764s + mkdir -p /tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr 764s + chown -R bacula:tape /tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr 764s + sed -i s%/nonexistent/path/to/file/archive/dir%/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr% /etc/bacula/bacula-sd.conf 764s + sed -i 's%Where = /nonexistent/path/to/file/archive/dir/bacula-restores%Where = /tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-restores%' /etc/bacula/bacula-dir.conf 764s + sed -i 's/signature = MD5/signature = SHA1/' /etc/bacula/bacula-dir.conf 764s + sed -i 's/signature = MD5/signature = SHA1\naclsupport = yes/' /etc/bacula/bacula-dir.conf 764s + echo '--------- restarting services ----------- ' 764s --------- restarting services ----------- 764s + service bacula-director restart 764s + service bacula-sd restart 764s + service bacula-fd restart 764s + sleep 10 774s + echo '--------- checking services ----------- ' 774s --------- checking services ----------- 774s + service bacula-director status 774s ● bacula-director.service - Bacula Director Daemon service 774s Loaded: loaded (/usr/lib/systemd/system/bacula-director.service; enabled; preset: enabled) 774s Active: active (running) since Fri 2025-05-02 07:11:22 UTC; 10s ago 774s Invocation: 55095d67e49141399610c90e34b84bcd 774s Docs: man:bacula-dir(8) 774s Process: 5478 ExecStartPre=/usr/sbin/bacula-dir -t -c $CONFIG (code=exited, status=0/SUCCESS) 774s Main PID: 5480 (bacula-dir) 774s Tasks: 5 (limit: 4546) 774s Memory: 2.5M (peak: 2.7M) 774s CPU: 44ms 774s CGroup: /system.slice/bacula-director.service 774s └─5480 /usr/sbin/bacula-dir -fP -c /etc/bacula/bacula-dir.conf 774s 774s May 02 07:11:22 autopkgtest systemd[1]: Starting bacula-director.service - Bacula Director Daemon service... 774s May 02 07:11:22 autopkgtest bacula-dir[5478]: WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. 774s May 02 07:11:22 autopkgtest systemd[1]: Started bacula-director.service - Bacula Director Daemon service. 774s May 02 07:11:22 autopkgtest bacula-dir[5480]: WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. 774s May 02 07:11:22 autopkgtest bacula-dir[5480]: WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. 774s + service bacula-sd status 774s ● bacula-sd.service - Bacula Storage Daemon service 774s Loaded: loaded (/usr/lib/systemd/system/bacula-sd.service; enabled; preset: enabled) 774s Active: active (running) since Fri 2025-05-02 07:11:22 UTC; 10s ago 774s Invocation: 5cc6f8c079d24ea193717d73424f328e 774s Docs: man:bacula-sd(8) 774s Process: 5490 ExecStartPre=/usr/sbin/bacula-sd -t -c $CONFIG (code=exited, status=0/SUCCESS) 774s Main PID: 5492 (bacula-sd) 774s Tasks: 3 (limit: 4546) 774s Memory: 2M (peak: 2.2M) 774s CPU: 31ms 774s CGroup: /system.slice/bacula-sd.service 774s └─5492 /usr/sbin/bacula-sd -fP -c /etc/bacula/bacula-sd.conf 774s 774s May 02 07:11:22 autopkgtest systemd[1]: Starting bacula-sd.service - Bacula Storage Daemon service... 774s May 02 07:11:22 autopkgtest systemd[1]: Started bacula-sd.service - Bacula Storage Daemon service. 774s + service bacula-fd status 774s ● bacula-fd.service - Bacula File Daemon service 774s Loaded: loaded (/usr/lib/systemd/system/bacula-fd.service; enabled; preset: enabled) 774s Active: active (running) since Fri 2025-05-02 07:11:22 UTC; 10s ago 774s Invocation: bfaf702799b8455abe07380979ed7a27 774s Docs: man:bacula-fd(8) 774s Process: 5500 ExecStartPre=/usr/sbin/bacula-fd -t -c $CONFIG (code=exited, status=0/SUCCESS) 774s Main PID: 5502 (bacula-fd) 774s Tasks: 3 (limit: 4546) 774s Memory: 1.7M (peak: 1.9M) 774s CPU: 31ms 774s CGroup: /system.slice/bacula-fd.service 774s └─5502 /usr/sbin/bacula-fd -fP -c /etc/bacula/bacula-fd.conf 774s 774s May 02 07:11:22 autopkgtest systemd[1]: Starting bacula-fd.service - Bacula File Daemon service... 774s May 02 07:11:22 autopkgtest systemd[1]: Started bacula-fd.service - Bacula File Daemon service. 774s + ps auwwwx 774s + grep '[b]acula' 774s bacula 5480 0.1 0.3 322592 12244 ? Ssl 07:11 0:00 /usr/sbin/bacula-dir -fP -c /etc/bacula/bacula-dir.conf 774s bacula 5492 0.0 0.2 240996 10260 ? Ssl 07:11 0:00 /usr/sbin/bacula-sd -fP -c /etc/bacula/bacula-sd.conf 774s root 5502 0.0 0.2 167292 9740 ? Ssl 07:11 0:00 /usr/sbin/bacula-fd -fP -c /etc/bacula/bacula-fd.conf 774s + echo '----- create some file to test backup / restore ----' 774s ----- create some file to test backup / restore ---- 774s + BACKUP_TEST_FILE=/usr/sbin/bacula-backup.test 774s + echo 'bacula restore test' 774s + chown nobody:shadow /usr/sbin/bacula-backup.test 774s + chmod 2755 /usr/sbin/bacula-backup.test 774s + echo '---- status of all daemons ----' 774s ---- status of all daemons ---- 774s + echo -e 'status all' 774s + bconsole 774s Connecting to Director localhost:9101 774s 1000 OK: 10002 autopkgtest-dir Version: 13.0.4 (12 February 2024) 774s Enter a period to cancel a command. 774s status all 774s autopkgtest-dir Version: 13.0.4 (12 February 2024) aarch64-unknown-linux-gnu ubuntu 25.04 774s Daemon started 02-May-25 07:11, conf reloaded 02-May-2025 07:11:22 774s Jobs: run=0, running=0 mode=0,0 774s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 774s Heap: heap=946,176 smbytes=335,649 max_bytes=335,649 bufs=395 max_bufs=395 774s Res: njobs=3 nclients=1 nstores=2 npools=3 ncats=1 nfsets=2 nscheds=2 774s 774s Scheduled Jobs: 774s Level Type Pri Scheduled Job Name Volume 774s =================================================================================== 774s Incremental Backup 10 02-May-25 23:05 BackupClient1 *unknown* 774s Full Backup 11 02-May-25 23:10 BackupCatalog *unknown* 774s ==== 774s 774s Running Jobs: 774s Console connected using TLS at 02-May-25 07:11 774s No Jobs running. 774s ==== 774s No Terminated Jobs. 774s ==== 774s Connecting to Storage daemon File1 at localhost:9103 774s 775s autopkgtest-sd Version: 13.0.4 (12 February 2024) aarch64-unknown-linux-gnu ubuntu 25.04 775s Daemon started 02-May-25 07:11. Jobs: run=0, running=0. 775s Ulimits: nofile=1024 memlock=unlimited status=nofile 775s Heap: heap=643,072 smbytes=229,158 max_bytes=350,418 bufs=267 max_bufs=268 775s Sizes: boffset_t=8 size_t=8 int32_t=4 int64_t=8 mode=0,0 newbsr=0 775s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 775s Res: ndevices=4 nautochgr=2 775s 775s Running Jobs: 775s Director connected using TLS at: 02-May-25 07:11 775s No Jobs running. 775s ==== 775s 775s Jobs waiting to reserve a drive: 775s ==== 775s 775s Terminated Jobs: 775s ==== 775s 775s Device status: 775s Autochanger "FileChgr1" with devices: 775s "FileChgr1-Dev1" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) 775s "FileChgr1-Dev2" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) 775s Autochanger "FileChgr2" with devices: 775s "FileChgr2-Dev1" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) 775s "FileChgr2-Dev2" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) 775s 775s Device File: "FileChgr1-Dev1" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) is not open. 775s Drive 0 is not loaded. 775s Available Space=16.14 GB 775s == 775s 775s Device File: "FileChgr1-Dev2" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) is not open. 775s Drive 0 is not loaded. 775s Available Space=16.14 GB 775s == 775s 775s Device File: "FileChgr2-Dev1" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) is not open. 775s Drive 0 is not loaded. 775s Available Space=16.14 GB 775s == 775s 775s Device File: "FileChgr2-Dev2" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) is not open. 775s Drive 0 is not loaded. 775s Available Space=16.14 GB 775s == 775s ==== 775s 775s Used Volume status: 775s ==== 775s 775s ==== 775s 775s Connecting to Client autopkgtest-fd at localhost:9102 775s 775s autopkgtest-fd Version: 13.0.4 (12 February 2024) aarch64-unknown-linux-gnu ubuntu 25.04 775s Daemon started 02-May-25 07:11. Jobs: run=0 running=0. 775s Heap: heap=540,672 smbytes=197,998 max_bytes=198,015 bufs=101 max_bufs=101 775s Sizes: boffset_t=8 size_t=8 debug=0 trace=0 mode=0,0 bwlimit=0kB/s 775s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 775s Plugin: bpipe-fd.so(2) 775s 775s Running Jobs: 775s Director connected using TLS at: 02-May-25 07:11 775s No Jobs running. 775s ==== 775s 775s Terminated Jobs: 775s ==== 775s + echo 775s 775s + echo '---- label a volume ----' 775s ---- label a volume ---- 775s + echo -e 'label volume=testvol pool=File storage=File1 drive=0 slot=0' 775s + bconsole 775s Connecting to Director localhost:9101 775s 1000 OK: 10002 autopkgtest-dir Version: 13.0.4 (12 February 2024) 775s Enter a period to cancel a command. 775s label volume=testvol pool=File storage=File1 drive=0 slot=0 775s Automatically selected Catalog: MyCatalog 775s Using Catalog "MyCatalog" 775s Connecting to Storage daemon File1 at localhost:9103 ... 775s Sending label command for Volume "testvol" Slot 0 ... 775s 3000 OK label. VolBytes=226 VolABytes=0 VolType=1 Volume="testvol" Device="FileChgr1-Dev1" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) 775s Catalog record for Volume "testvol", Slot 0 successfully created. 775s Requesting to mount FileChgr1 ... 775s 3906 File device ""FileChgr1-Dev1" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr)" is always mounted. 775s + echo 775s 775s + echo '----- create some file to test backup / restore ----' 775s ----- create some file to test backup / restore ---- 775s + echo 'bacula restore test' 775s + echo 775s 775s + echo '------ trigger backup job -----' 775s ------ trigger backup job ----- 775s + echo -e 'run job=BackupClient1 yes\rwait' 775s + bconsole 775s + grep 'Job queued. JobId=' 779s Job queued. JobId=1 779s + echo 'status all' 779s + bconsole 779s Connecting to Director localhost:9101 779s 1000 OK: 10002 autopkgtest-dir Version: 13.0.4 (12 February 2024) 779s Enter a period to cancel a command. 779s status all 779s autopkgtest-dir Version: 13.0.4 (12 February 2024) aarch64-unknown-linux-gnu ubuntu 25.04 779s Daemon started 02-May-25 07:11, conf reloaded 02-May-2025 07:11:22 779s Jobs: run=1, running=0 mode=0,0 779s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 779s Heap: heap=946,176 smbytes=468,450 max_bytes=492,767 bufs=457 max_bufs=506 779s Res: njobs=3 nclients=1 nstores=2 npools=3 ncats=1 nfsets=2 nscheds=2 779s 779s Scheduled Jobs: 779s Level Type Pri Scheduled Job Name Volume 779s =================================================================================== 779s Incremental Backup 10 02-May-25 23:05 BackupClient1 testvol 779s Full Backup 11 02-May-25 23:10 BackupCatalog testvol 779s ==== 779s 779s Running Jobs: 779s Console connected using TLS at 02-May-25 07:11 779s No Jobs running. 779s ==== 779s 779s Terminated Jobs: 779s JobId Level Files Bytes Status Finished Name 779s ==================================================================== 779s 1 Full 579 98.61 M OK 02-May-25 07:11 BackupClient1 779s 779s ==== 779s Connecting to Storage daemon File1 at localhost:9103 779s 779s autopkgtest-sd Version: 13.0.4 (12 February 2024) aarch64-unknown-linux-gnu ubuntu 25.04 779s Daemon started 02-May-25 07:11. Jobs: run=1, running=0. 779s Ulimits: nofile=1024 memlock=unlimited status=nofile 779s Heap: heap=643,072 smbytes=671,396 max_bytes=1,064,181 bufs=283 max_bufs=305 779s Sizes: boffset_t=8 size_t=8 int32_t=4 int64_t=8 mode=0,0 newbsr=0 779s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 779s Res: ndevices=4 nautochgr=2 779s 779s Running Jobs: 779s Director connected using TLS at: 02-May-25 07:11 779s No Jobs running. 779s ==== 779s 779s Jobs waiting to reserve a drive: 779s ==== 779s 779s Terminated Jobs: 779s JobId Level Files Bytes Status Finished Name 779s =================================================================== 779s 1 Full 579 98.67 M OK 02-May-25 07:11 BackupClient1 779s ==== 779s 779s Device status: 779s Autochanger "FileChgr1" with devices: 779s "FileChgr1-Dev1" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) 779s "FileChgr1-Dev2" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) 779s Autochanger "FileChgr2" with devices: 779s "FileChgr2-Dev1" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) 779s "FileChgr2-Dev2" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) 779s 779s Device File: "FileChgr1-Dev1" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) is not open. 779s Drive 0 is not loaded. 779s Available Space=16.04 GB 779s == 779s 779s Device File: "FileChgr1-Dev2" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) is not open. 779s Drive 0 is not loaded. 779s Available Space=16.04 GB 779s == 779s 779s Device File: "FileChgr2-Dev1" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) is not open. 779s Drive 0 is not loaded. 779s Available Space=16.04 GB 779s == 779s 779s Device File: "FileChgr2-Dev2" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) is not open. 779s Drive 0 is not loaded. 779s Available Space=16.04 GB 779s == 779s ==== 779s 779s Used Volume status: 779s ==== 779s 779s Attr spooling: 0 active jobs, 120,618 bytes; 1 total jobs, 120,618 max bytes. 779s ==== 779s 779s Connecting to Client autopkgtest-fd at localhost:9102 779s 779s autopkgtest-fd Version: 13.0.4 (12 February 2024) aarch64-unknown-linux-gnu ubuntu 25.04 779s Daemon started 02-May-25 07:11. Jobs: run=1 running=0. 779s Heap: heap=540,672 smbytes=400,570 max_bytes=610,206 bufs=116 max_bufs=150 779s Sizes: boffset_t=8 size_t=8 debug=0 trace=0 mode=0,0 bwlimit=0kB/s 779s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 779s Plugin: bpipe-fd.so(2) 779s 779s Running Jobs: 779s Director connected using TLS at: 02-May-25 07:11 779s No Jobs running. 779s ==== 779s 779s Terminated Jobs: 779s JobId Level Files Bytes Status Finished Name 779s =================================================================== 779s 1 Full 579 98.61 M OK 02-May-25 07:11 BackupClient1 779s ==== 779s You have messages. 779s + echo 779s 779s + echo '------ trigger restore job -----' 779s ------ trigger restore job ----- 779s + echo -e 'restore select current\rls\rmark usr\rdone\ryes\rwait' 779s + bconsole 779s Connecting to Director localhost:9101 779s 1000 OK: 10002 autopkgtest-dir Version: 13.0.4 (12 February 2024) 779s Enter a period to cancel a command. 779s restore select current 779s Automatically selected Catalog: MyCatalog 779s Using Catalog "MyCatalog" 779s Automatically selected Client: autopkgtest-fd 779s Automatically selected FileSet: Full Set 779s +-------+-------+----------+------------+---------------------+------------+ 779s | JobId | Level | JobFiles | JobBytes | StartTime | VolumeName | 779s +-------+-------+----------+------------+---------------------+------------+ 779s | 1 | F | 579 | 98,615,343 | 2025-05-02 07:11:35 | testvol | 779s +-------+-------+----------+------------+---------------------+------------+ 779s You have selected the following JobId: 1 779s 780s Building directory tree for JobId(s) 1 ... ++++++++++++++++++++++++++++++++++++++++++++++++ 780s 578 files inserted into the tree. 780s 780s You are now entering file selection mode where you add (mark) and 780s remove (unmark) files to be restored. No files are initially added, unless 780s you used the "all" keyword on the command line. 780s Enter "done" to leave this mode. 780s 780s cwd is: / 780s $ ls 780s usr/ 780s $ mark usr 780s 579 files marked. 780s $ done 780s Bootstrap records written to /var/lib/bacula/autopkgtest-dir.restore.1.bsr 780s 780s The Job will require the following (*=>InChanger): 780s Volume(s) Storage(s) SD Device(s) 780s =========================================================================== 780s 780s testvol File1 FileChgr1 780s 780s Volumes marked with "*" are in the Autochanger. 780s 780s 780s 579 files selected to be restored. 780s 780s Using Catalog "MyCatalog" 780s Run Restore job 780s JobName: RestoreFiles 780s Bootstrap: /var/lib/bacula/autopkgtest-dir.restore.1.bsr 780s Where: /tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-restores 780s Replace: Always 780s FileSet: Full Set 780s Backup Client: autopkgtest-fd 780s Restore Client: autopkgtest-fd 780s Storage: File1 780s When: 2025-05-02 07:11:38 780s Catalog: MyCatalog 780s Priority: 10 780s Plugin Options: *None* 780s OK to run? (yes/mod/no): yes 780s Job queued. JobId=2 780s You have messages. 780s wait 783s + echo 'status all' 783s + bconsole 783s Connecting to Director localhost:9101 783s 1000 OK: 10002 autopkgtest-dir Version: 13.0.4 (12 February 2024) 783s Enter a period to cancel a command. 783s status all 783s autopkgtest-dir Version: 13.0.4 (12 February 2024) aarch64-unknown-linux-gnu ubuntu 25.04 783s Daemon started 02-May-25 07:11, conf reloaded 02-May-2025 07:11:22 783s Jobs: run=2, running=0 mode=0,0 783s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 783s Heap: heap=839,680 smbytes=464,760 max_bytes=1,677,019 bufs=459 max_bufs=521 783s Res: njobs=3 nclients=1 nstores=2 npools=3 ncats=1 nfsets=2 nscheds=2 783s 783s Scheduled Jobs: 783s Level Type Pri Scheduled Job Name Volume 783s =================================================================================== 783s Incremental Backup 10 02-May-25 23:05 BackupClient1 testvol 783s Full Backup 11 02-May-25 23:10 BackupCatalog testvol 783s ==== 783s 783s Running Jobs: 783s Console connected using TLS at 02-May-25 07:11 783s No Jobs running. 783s ==== 783s 783s Terminated Jobs: 783s JobId Level Files Bytes Status Finished Name 783s ==================================================================== 783s 1 Full 579 98.61 M OK 02-May-25 07:11 BackupClient1 783s 2 Restore 579 98.61 M OK 02-May-25 07:11 RestoreFiles 783s 783s ==== 783s Connecting to Storage daemon File1 at localhost:9103 783s 783s autopkgtest-sd Version: 13.0.4 (12 February 2024) aarch64-unknown-linux-gnu ubuntu 25.04 783s Daemon started 02-May-25 07:11. Jobs: run=2, running=0. 783s Ulimits: nofile=1024 memlock=unlimited status=nofile 783s Heap: heap=540,672 smbytes=644,462 max_bytes=1,064,181 bufs=277 max_bufs=315 783s Sizes: boffset_t=8 size_t=8 int32_t=4 int64_t=8 mode=0,0 newbsr=0 783s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 783s Res: ndevices=4 nautochgr=2 783s 783s Running Jobs: 783s Director connected using TLS at: 02-May-25 07:11 783s No Jobs running. 783s ==== 783s 783s Jobs waiting to reserve a drive: 783s ==== 783s 783s Terminated Jobs: 783s JobId Level Files Bytes Status Finished Name 783s =================================================================== 783s 1 Full 579 98.67 M OK 02-May-25 07:11 BackupClient1 783s 2 Rest 579 98.67 M OK 02-May-25 07:11 RestoreFiles 783s ==== 783s 783s Device status: 783s Autochanger "FileChgr1" with devices: 783s "FileChgr1-Dev1" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) 783s "FileChgr1-Dev2" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) 783s Autochanger "FileChgr2" with devices: 783s "FileChgr2-Dev1" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) 783s "FileChgr2-Dev2" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) 783s 783s Device File: "FileChgr1-Dev1" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) is not open. 783s Drive 0 is not loaded. 783s Available Space=15.94 GB 783s == 783s 783s Device File: "FileChgr1-Dev2" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) is not open. 783s Drive 0 is not loaded. 783s Available Space=15.94 GB 783s == 783s 783s Device File: "FileChgr2-Dev1" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) is not open. 783s Drive 0 is not loaded. 783s Available Space=15.94 GB 783s == 783s 783s Device File: "FileChgr2-Dev2" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) is not open. 783s Drive 0 is not loaded. 783s Available Space=15.94 GB 783s == 783s ==== 783s 783s Used Volume status: 783s ==== 783s 783s Attr spooling: 0 active jobs, 120,618 bytes; 1 total jobs, 120,618 max bytes. 783s ==== 783s 783s Connecting to Client autopkgtest-fd at localhost:9102 783s 783s autopkgtest-fd Version: 13.0.4 (12 February 2024) aarch64-unknown-linux-gnu ubuntu 25.04 783s Daemon started 02-May-25 07:11. Jobs: run=2 running=0. 783s Heap: heap=532,480 smbytes=240,101 max_bytes=1,176,024 bufs=102 max_bufs=150 783s Sizes: boffset_t=8 size_t=8 debug=0 trace=0 mode=0,0 bwlimit=0kB/s 783s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 783s Plugin: bpipe-fd.so(2) 783s 783s Running Jobs: 783s Director connected using TLS at: 02-May-25 07:11 783s No Jobs running. 783s ==== 783s 783s Terminated Jobs: 783s JobId Level Files Bytes Status Finished Name 783s =================================================================== 783s 1 Full 579 98.61 M OK 02-May-25 07:11 BackupClient1 783s 2 Rest 579 98.61 M OK 02-May-25 07:11 RestoreFiles 783s ==== 783s You have messages. 783s + grep 'bacula restore test' /tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-restores//usr/sbin/bacula-backup.test 783s bacula restore test 783s + echo 783s 783s + echo '------ compare original and restore ------' 783s ------ compare original and restore ------ 783s + debian/tests/scripts/diff.pl -s /usr/sbin -d /tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-restores/usr/sbin --acl --attr 789s + echo 789s 789s + echo '------ backup-test end ------' 789s ------ backup-test end ------ 790s autopkgtest [07:11:48]: test backup-test-mysql: -----------------------] 790s autopkgtest [07:11:48]: test backup-test-mysql: - - - - - - - - - - results - - - - - - - - - - 790s backup-test-mysql PASS 791s autopkgtest [07:11:49]: test program-test-mysql: preparing testbed 960s autopkgtest [07:14:38]: testbed dpkg architecture: arm64 960s autopkgtest [07:14:38]: testbed apt version: 3.0.0 960s autopkgtest [07:14:38]: @@@@@@@@@@@@@@@@@@@@ test bed setup 961s autopkgtest [07:14:39]: testbed release detected to be: questing 961s autopkgtest [07:14:39]: updating testbed package index (apt update) 962s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB] 962s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 962s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 962s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 962s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [184 kB] 962s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [2202 kB] 963s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [57.4 kB] 963s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 Packages [227 kB] 963s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/universe arm64 Packages [1472 kB] 963s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/multiverse arm64 Packages [16.5 kB] 963s Fetched 4269 kB in 1s (3389 kB/s) 964s Reading package lists... 965s autopkgtest [07:14:43]: upgrading testbed (apt dist-upgrade and autopurge) 965s Reading package lists... 965s Building dependency tree... 965s Reading state information... 966s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 966s Starting 2 pkgProblemResolver with broken count: 0 966s Done 967s Entering ResolveByKeep 967s 967s Calculating upgrade... 968s The following packages will be upgraded: 968s ucf 968s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 968s Need to get 43.6 kB of archives. 968s After this operation, 1024 B of additional disk space will be used. 968s Get:1 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 ucf all 3.0051 [43.6 kB] 968s Preconfiguring packages ... 968s Fetched 43.6 kB in 0s (154 kB/s) 969s (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 ... 117820 files and directories currently installed.) 969s Preparing to unpack .../archives/ucf_3.0051_all.deb ... 969s Unpacking ucf (3.0051) over (3.0050) ... 969s Setting up ucf (3.0051) ... 969s Processing triggers for man-db (2.13.0-1) ... 970s Reading package lists... 970s Building dependency tree... 970s Reading state information... 971s Starting pkgProblemResolver with broken count: 0 971s Starting 2 pkgProblemResolver with broken count: 0 971s Done 971s Solving dependencies... 972s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 975s Reading package lists... 975s Building dependency tree... 975s Reading state information... 975s Starting pkgProblemResolver with broken count: 0 976s Starting 2 pkgProblemResolver with broken count: 0 976s Done 976s The following NEW packages will be installed: 976s bacula bacula-bscan bacula-client bacula-common bacula-common-mysql 976s bacula-console bacula-director bacula-director-mysql bacula-fd bacula-sd 976s bacula-server bsd-mailx dbconfig-common dbconfig-mysql dbconfig-pgsql 976s default-mysql-client default-mysql-server liblockfile-bin liblockfile1 976s libmecab2 libmysqlclient24 libpq5 libprotobuf-lite32t64 mtx mysql-client 976s mysql-client-core mysql-common mysql-server mysql-server-core postfix 976s postgresql-client postgresql-client-17 postgresql-client-common 976s 0 upgraded, 33 newly installed, 0 to remove and 0 not upgraded. 976s Need to get 29.1 MB of archives. 976s After this operation, 206 MB of additional disk space will be used. 976s Get:1 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-common arm64 13.0.4-4build1 [827 kB] 977s Get:2 http://ftpmaster.internal/ubuntu questing/main arm64 mysql-common all 5.8+1.1.1ubuntu1 [6922 B] 977s Get:3 http://ftpmaster.internal/ubuntu questing/main arm64 libmysqlclient24 arm64 8.4.4-0ubuntu2 [1243 kB] 977s Get:4 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-common-mysql arm64 13.0.4-4build1 [11.0 kB] 977s Get:5 http://ftpmaster.internal/ubuntu questing/universe arm64 dbconfig-common all 2.0.24 [596 kB] 977s Get:6 http://ftpmaster.internal/ubuntu questing/main arm64 mysql-client-core arm64 8.4.4-0ubuntu2 [2094 kB] 977s Get:7 http://ftpmaster.internal/ubuntu questing/main arm64 mysql-client arm64 8.4.4-0ubuntu2 [9122 B] 977s Get:8 http://ftpmaster.internal/ubuntu questing/universe arm64 default-mysql-client all 1.1.1ubuntu1 [3072 B] 977s Get:9 http://ftpmaster.internal/ubuntu questing/universe arm64 dbconfig-mysql all 2.0.24 [938 B] 977s Get:10 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-director-mysql all 13.0.4-4build1 [32.3 kB] 977s Get:11 http://ftpmaster.internal/ubuntu questing/main arm64 postfix arm64 3.9.1-10ubuntu1 [1286 kB] 977s Get:12 http://ftpmaster.internal/ubuntu questing/main arm64 liblockfile-bin arm64 1.17-2 [11.0 kB] 977s Get:13 http://ftpmaster.internal/ubuntu questing/main arm64 liblockfile1 arm64 1.17-2 [6982 B] 977s Get:14 http://ftpmaster.internal/ubuntu questing/main arm64 bsd-mailx arm64 8.1.2-0.20220412cvs-1build1 [66.2 kB] 977s Get:15 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-director arm64 13.0.4-4build1 [365 kB] 977s Get:16 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-fd arm64 13.0.4-4build1 [140 kB] 977s Get:17 http://ftpmaster.internal/ubuntu questing/main arm64 mtx arm64 1.3.12-18 [42.9 kB] 977s Get:18 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-sd arm64 13.0.4-4build1 [147 kB] 977s Get:19 http://ftpmaster.internal/ubuntu questing/main arm64 libmecab2 arm64 0.996-15.1build2 [191 kB] 977s Get:20 http://ftpmaster.internal/ubuntu questing/main arm64 libprotobuf-lite32t64 arm64 3.21.12-10build2 [220 kB] 977s Get:21 http://ftpmaster.internal/ubuntu questing/main arm64 mysql-server-core arm64 8.4.4-0ubuntu2 [18.8 MB] 978s Get:22 http://ftpmaster.internal/ubuntu questing/main arm64 mysql-server arm64 8.4.4-0ubuntu2 [1364 kB] 978s Get:23 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-console arm64 13.0.4-4build1 [27.8 kB] 978s Get:24 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-client all 13.0.4-4build1 [23.5 kB] 978s Get:25 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-bscan arm64 13.0.4-4build1 [24.6 kB] 978s Get:26 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-server all 13.0.4-4build1 [23.4 kB] 978s Get:27 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula all 13.0.4-4build1 [1036 B] 978s Get:28 http://ftpmaster.internal/ubuntu questing/main arm64 libpq5 arm64 17.4-1 [142 kB] 978s Get:29 http://ftpmaster.internal/ubuntu questing/main arm64 postgresql-client-common all 274 [47.6 kB] 978s Get:30 http://ftpmaster.internal/ubuntu questing/main arm64 postgresql-client-17 arm64 17.4-1 [1342 kB] 978s Get:31 http://ftpmaster.internal/ubuntu questing/main arm64 postgresql-client all 17+274 [13.3 kB] 978s Get:32 http://ftpmaster.internal/ubuntu questing/universe arm64 dbconfig-pgsql all 2.0.24 [914 B] 978s Get:33 http://ftpmaster.internal/ubuntu questing/universe arm64 default-mysql-server all 1.1.1ubuntu1 [3088 B] 979s Preconfiguring packages ... 979s Fetched 29.1 MB in 2s (15.6 MB/s) 979s Selecting previously unselected package bacula-common. 979s (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 ... 117820 files and directories currently installed.) 979s Preparing to unpack .../00-bacula-common_13.0.4-4build1_arm64.deb ... 979s Adding user 'bacula'... Ok. 979s Unpacking bacula-common (13.0.4-4build1) ... 979s Selecting previously unselected package mysql-common. 979s Preparing to unpack .../01-mysql-common_5.8+1.1.1ubuntu1_all.deb ... 979s Unpacking mysql-common (5.8+1.1.1ubuntu1) ... 979s Selecting previously unselected package libmysqlclient24:arm64. 979s Preparing to unpack .../02-libmysqlclient24_8.4.4-0ubuntu2_arm64.deb ... 979s Unpacking libmysqlclient24:arm64 (8.4.4-0ubuntu2) ... 979s Selecting previously unselected package bacula-common-mysql. 979s Preparing to unpack .../03-bacula-common-mysql_13.0.4-4build1_arm64.deb ... 979s Unpacking bacula-common-mysql (13.0.4-4build1) ... 979s Selecting previously unselected package dbconfig-common. 979s Preparing to unpack .../04-dbconfig-common_2.0.24_all.deb ... 979s Unpacking dbconfig-common (2.0.24) ... 979s Selecting previously unselected package mysql-client-core. 979s Preparing to unpack .../05-mysql-client-core_8.4.4-0ubuntu2_arm64.deb ... 979s Unpacking mysql-client-core (8.4.4-0ubuntu2) ... 980s Selecting previously unselected package mysql-client. 980s Preparing to unpack .../06-mysql-client_8.4.4-0ubuntu2_arm64.deb ... 980s Unpacking mysql-client (8.4.4-0ubuntu2) ... 980s Selecting previously unselected package default-mysql-client. 980s Preparing to unpack .../07-default-mysql-client_1.1.1ubuntu1_all.deb ... 980s Unpacking default-mysql-client (1.1.1ubuntu1) ... 980s Selecting previously unselected package dbconfig-mysql. 980s Preparing to unpack .../08-dbconfig-mysql_2.0.24_all.deb ... 980s Unpacking dbconfig-mysql (2.0.24) ... 980s Selecting previously unselected package bacula-director-mysql. 980s Preparing to unpack .../09-bacula-director-mysql_13.0.4-4build1_all.deb ... 980s Unpacking bacula-director-mysql (13.0.4-4build1) ... 980s Selecting previously unselected package postfix. 980s Preparing to unpack .../10-postfix_3.9.1-10ubuntu1_arm64.deb ... 980s Unpacking postfix (3.9.1-10ubuntu1) ... 980s Selecting previously unselected package liblockfile-bin. 980s Preparing to unpack .../11-liblockfile-bin_1.17-2_arm64.deb ... 980s Unpacking liblockfile-bin (1.17-2) ... 980s Selecting previously unselected package liblockfile1:arm64. 980s Preparing to unpack .../12-liblockfile1_1.17-2_arm64.deb ... 980s Unpacking liblockfile1:arm64 (1.17-2) ... 980s Selecting previously unselected package bsd-mailx. 980s Preparing to unpack .../13-bsd-mailx_8.1.2-0.20220412cvs-1build1_arm64.deb ... 980s Unpacking bsd-mailx (8.1.2-0.20220412cvs-1build1) ... 980s Selecting previously unselected package bacula-director. 980s Preparing to unpack .../14-bacula-director_13.0.4-4build1_arm64.deb ... 980s Unpacking bacula-director (13.0.4-4build1) ... 980s Selecting previously unselected package bacula-fd. 980s Preparing to unpack .../15-bacula-fd_13.0.4-4build1_arm64.deb ... 980s Unpacking bacula-fd (13.0.4-4build1) ... 980s Selecting previously unselected package mtx. 980s Preparing to unpack .../16-mtx_1.3.12-18_arm64.deb ... 980s Unpacking mtx (1.3.12-18) ... 980s Selecting previously unselected package bacula-sd. 980s Preparing to unpack .../17-bacula-sd_13.0.4-4build1_arm64.deb ... 980s Unpacking bacula-sd (13.0.4-4build1) ... 980s Selecting previously unselected package libmecab2:arm64. 980s Preparing to unpack .../18-libmecab2_0.996-15.1build2_arm64.deb ... 980s Unpacking libmecab2:arm64 (0.996-15.1build2) ... 980s Selecting previously unselected package libprotobuf-lite32t64:arm64. 980s Preparing to unpack .../19-libprotobuf-lite32t64_3.21.12-10build2_arm64.deb ... 980s Unpacking libprotobuf-lite32t64:arm64 (3.21.12-10build2) ... 980s Selecting previously unselected package mysql-server-core. 980s Preparing to unpack .../20-mysql-server-core_8.4.4-0ubuntu2_arm64.deb ... 980s Unpacking mysql-server-core (8.4.4-0ubuntu2) ... 981s Setting up mysql-common (5.8+1.1.1ubuntu1) ... 981s update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode 981s Selecting previously unselected package mysql-server. 981s (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 ... 118778 files and directories currently installed.) 981s Preparing to unpack .../00-mysql-server_8.4.4-0ubuntu2_arm64.deb ... 981s Unpacking mysql-server (8.4.4-0ubuntu2) ... 981s Selecting previously unselected package bacula-console. 981s Preparing to unpack .../01-bacula-console_13.0.4-4build1_arm64.deb ... 981s Unpacking bacula-console (13.0.4-4build1) ... 981s Selecting previously unselected package bacula-client. 981s Preparing to unpack .../02-bacula-client_13.0.4-4build1_all.deb ... 981s Unpacking bacula-client (13.0.4-4build1) ... 981s Selecting previously unselected package bacula-bscan. 981s Preparing to unpack .../03-bacula-bscan_13.0.4-4build1_arm64.deb ... 981s Unpacking bacula-bscan (13.0.4-4build1) ... 982s Selecting previously unselected package bacula-server. 982s Preparing to unpack .../04-bacula-server_13.0.4-4build1_all.deb ... 982s Unpacking bacula-server (13.0.4-4build1) ... 982s Selecting previously unselected package bacula. 982s Preparing to unpack .../05-bacula_13.0.4-4build1_all.deb ... 982s Unpacking bacula (13.0.4-4build1) ... 982s Selecting previously unselected package libpq5:arm64. 982s Preparing to unpack .../06-libpq5_17.4-1_arm64.deb ... 982s Unpacking libpq5:arm64 (17.4-1) ... 982s Selecting previously unselected package postgresql-client-common. 982s Preparing to unpack .../07-postgresql-client-common_274_all.deb ... 982s Unpacking postgresql-client-common (274) ... 982s Selecting previously unselected package postgresql-client-17. 982s Preparing to unpack .../08-postgresql-client-17_17.4-1_arm64.deb ... 982s Unpacking postgresql-client-17 (17.4-1) ... 982s Selecting previously unselected package postgresql-client. 982s Preparing to unpack .../09-postgresql-client_17+274_all.deb ... 982s Unpacking postgresql-client (17+274) ... 982s Selecting previously unselected package dbconfig-pgsql. 982s Preparing to unpack .../10-dbconfig-pgsql_2.0.24_all.deb ... 982s Unpacking dbconfig-pgsql (2.0.24) ... 982s Selecting previously unselected package default-mysql-server. 982s Preparing to unpack .../11-default-mysql-server_1.1.1ubuntu1_all.deb ... 982s Unpacking default-mysql-server (1.1.1ubuntu1) ... 982s Setting up libprotobuf-lite32t64:arm64 (3.21.12-10build2) ... 982s Setting up postgresql-client-common (274) ... 982s Setting up libmecab2:arm64 (0.996-15.1build2) ... 982s Setting up liblockfile-bin (1.17-2) ... 982s Setting up libpq5:arm64 (17.4-1) ... 982s Setting up mtx (1.3.12-18) ... 982s Setting up dbconfig-common (2.0.24) ... 982s Creating config file /etc/dbconfig-common/config with new version 982s Setting up libmysqlclient24:arm64 (8.4.4-0ubuntu2) ... 982s Setting up bacula-common (13.0.4-4build1) ... 982s Setting up bacula-sd (13.0.4-4build1) ... 983s Creating config file /etc/default/bacula-sd with new version 983s Creating config file /etc/bacula/bacula-sd.conf with new version 983s Created symlink '/etc/systemd/system/multi-user.target.wants/bacula-sd.service' → '/usr/lib/systemd/system/bacula-sd.service'. 984s Setting up mysql-server-core (8.4.4-0ubuntu2) ... 984s Setting up bacula-console (13.0.4-4build1) ... 984s Creating config file /etc/bacula/bconsole.conf with new version 984s Setting up postfix (3.9.1-10ubuntu1) ... 984s Created symlink '/etc/systemd/system/multi-user.target.wants/postfix.service' → '/usr/lib/systemd/system/postfix.service'. 985s info: Selecting UID from range 100 to 999 ... 985s 985s info: Selecting GID from range 100 to 999 ... 985s info: Adding system user `postfix' (UID 109) ... 985s info: Adding new group `postfix' (GID 112) ... 985s info: Adding new user `postfix' (UID 109) with group `postfix' ... 985s info: Not creating home directory `/var/spool/postfix'. 985s info: Selecting GID from range 100 to 999 ... 985s info: Adding group `postdrop' (GID 113) ... 985s Creating /etc/postfix/dynamicmaps.cf 985s setting myhostname: autopkgtest.local 985s setting alias maps 985s setting alias database 985s changing /etc/mailname to autopkgtest.local 985s setting myorigin 985s setting destinations: $myhostname, autopkgtest.local, localhost.local, , localhost 985s setting relayhost: 985s setting mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 985s clearing mailbox_command 985s setting mailbox_size_limit: 0 985s setting recipient_delimiter: + 987s setting inet_interfaces: all 989s setting inet_protocols: all 989s /etc/aliases does not exist, creating it. 989s WARNING: /etc/aliases exists, but does not have a root alias. 989s 989s Postfix (main.cf) is now set up with a default configuration. If you need to 989s make changes, edit /etc/postfix/main.cf (and others) as needed. To view 989s Postfix configuration values, see postconf(1). 989s 989s After modifying main.cf, be sure to run 'systemctl reload postfix'. 989s 991s Setting up mysql-client-core (8.4.4-0ubuntu2) ... 991s Setting up liblockfile1:arm64 (1.17-2) ... 991s Setting up bacula-fd (13.0.4-4build1) ... 991s Creating config file /etc/default/bacula-fd with new version 992s Creating config file /etc/bacula/bacula-fd.conf with new version 992s Created symlink '/etc/systemd/system/multi-user.target.wants/bacula-fd.service' → '/usr/lib/systemd/system/bacula-fd.service'. 992s Setting up mysql-client (8.4.4-0ubuntu2) ... 992s Setting up bacula-client (13.0.4-4build1) ... 992s Setting up bacula-common-mysql (13.0.4-4build1) ... 992s Setting up postgresql-client-17 (17.4-1) ... 993s 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 993s Setting up dbconfig-pgsql (2.0.24) ... 993s Setting up dbconfig-mysql (2.0.24) ... 993s Setting up bsd-mailx (8.1.2-0.20220412cvs-1build1) ... 993s update-alternatives: using /usr/bin/bsd-mailx to provide /usr/bin/mailx (mailx) in auto mode 993s Setting up bacula-director-mysql (13.0.4-4build1) ... 993s dbconfig-common: writing config to /etc/dbconfig-common/bacula-director-mysql.conf 993s Creating config file /etc/dbconfig-common/bacula-director-mysql.conf with new version 993s ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2). 993s unable to connect to mysql server. 993s error encountered creating user: 993s ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) 993s dbconfig-common: bacula-director-mysql configure: noninteractive fail. 993s dbconfig-common: bacula-director-mysql configure: ignoring errors from here forwards 993s populating database via sql... done. 993s dbconfig-common: flushing administrative password 993s Setting up bacula-director (13.0.4-4build1) ... 994s Creating config file /etc/default/bacula-dir with new version 994s Creating config file /etc/bacula/bacula-dir.conf with new version 994s Creating config file /etc/bacula/scripts/delete_catalog_backup with new version 995s Creating config file /etc/bacula/scripts/make_catalog_backup with new version 995s Created symlink '/etc/systemd/system/bacula-dir.service' → '/usr/lib/systemd/system/bacula-director.service'. 995s Created symlink '/etc/systemd/system/multi-user.target.wants/bacula-director.service' → '/usr/lib/systemd/system/bacula-director.service'. 1025s Could not execute systemctl: at /usr/bin/deb-systemd-invoke line 148. 1025s Setting up bacula-bscan (13.0.4-4build1) ... 1025s Setting up bacula-server (13.0.4-4build1) ... 1025s Setting up default-mysql-client (1.1.1ubuntu1) ... 1025s Setting up mysql-server (8.4.4-0ubuntu2) ... 1026s update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode 1026s Renaming removed key_buffer and myisam-recover options (if present) 1031s Created symlink '/etc/systemd/system/multi-user.target.wants/mysql.service' → '/usr/lib/systemd/system/mysql.service'. 1032s Setting up postgresql-client (17+274) ... 1032s Setting up bacula (13.0.4-4build1) ... 1032s Setting up default-mysql-server (1.1.1ubuntu1) ... 1033s Processing triggers for libc-bin (2.41-6ubuntu1) ... 1033s Processing triggers for rsyslog (8.2412.0-2ubuntu2) ... 1033s Processing triggers for ufw (0.36.2-9) ... 1033s Processing triggers for man-db (2.13.0-1) ... 1034s Processing triggers for postfix (3.9.1-10ubuntu1) ... 1034s Restarting postfix 1039s autopkgtest [07:15:57]: test program-test-mysql: [----------------------- 1040s + echo '----- start testing -----' 1040s ----- start testing ----- 1040s + echo 'USER: root' 1040s USER: root 1040s + DBTYPE=mysql 1040s + echo '---- Preparing test files ----' 1040s ---- Preparing test files ---- 1040s + DATAFILE=/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/datafile 1040s + cat 1040s + echo 1040s 1040s + echo '---- Testing /usr/sbin/bregex ----' 1040s ---- Testing /usr/sbin/bregex ---- 1040s + echo -en 'line . of the message\r' 1040s + /usr/sbin/bregex -f /tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/datafile 1040s Enter regex pattern: 2: This is line 1 of the message. 1040s 3: This is line 2 of the message. 1040s 4: This is line 3 of the message. 1040s 5: This is line 4 of the message. 1040s Enter regex pattern: + echo 1040s 1040s + echo '---- Testing /usr/sbin/bwild ----' 1040s ---- Testing /usr/sbin/bwild ---- 1040s + echo -en '*line ? of the message.\r' 1040s + /usr/sbin/bwild -f /tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/datafile 1040s Enter a wild-card: 2: This is line 1 of the message. 1040s 3: This is line 2 of the message. 1040s 4: This is line 3 of the message. 1040s 5: This is line 4 of the message. 1040s Enter a wild-card: + echo 1040s 1040s + echo '---- Testing /usr/sbin/bbconsjson ----' 1040s ---- Testing /usr/sbin/bbconsjson ---- 1040s + /usr/sbin/bbconsjson 1040s [ 1040s { 1040s "Director": { 1040s "Name": "autopkgtest-dir", 1040s "DirPort": 9101, 1040s "Address": "localhost", 1040s "Password": "GIxb2Q5m9xTDFxy8CWAYvCqcw9oQ3xCuc" 1040s } 1040s } 1040s ] 1040s + echo 1040s 1040s + echo '---- Testing /usr/sbin/bdirjson ----' 1040s ---- Testing /usr/sbin/bdirjson ---- 1040s + /usr/sbin/bdirjson 1040s [ 1040s { 1040s "Director": { 1040s "Name": "autopkgtest-dir", 1040s "Messages": "Daemon", 1040s "DirAddress": "127.0.0.1", 1040s "QueryFile": "/etc/bacula/scripts/query.sql", 1040s "WorkingDirectory": "/var/lib/bacula", 1040s "PidDirectory": "/run/bacula", 1040s "MaximumConcurrentJobs": 20, 1040s "Password": "GIxb2Q5m9xTDFxy8CWAYvCqcw9oQ3xCuc" 1040s } 1040s }, 1040s { 1040s "Client": { 1040s "Name": "autopkgtest-fd", 1040s "Address": "localhost", 1040s "FdPort": 9102, 1040s "Password": "Jjnhvc5uO1n5etSZZeYVISgeSVY_S_Nro", 1040s "Catalog": "MyCatalog", 1040s "FileRetention": 5184000, 1040s "JobRetention": 15552000, 1040s "AutoPrune": true 1040s } 1040s }, 1040s { 1040s "Job": { 1040s "Name": "BackupCatalog", 1040s "Type": "Backup", 1040s "Level": "Full", 1040s "Messages": "Standard", 1040s "Storage": ["File1"], 1040s "Pool": "File", 1040s "Client": "autopkgtest-fd", 1040s "Fileset": "Catalog", 1040s "Schedule": "WeeklyCycleAfterBackup", 1040s "JobDefs": "DefaultJob", 1040s "WriteBootstrap": "/var/lib/bacula/%n.bsr", 1040s "SpoolAttributes": true, 1040s "Runscript": [ 1040s { 1040s "RunsWhen": "Before", 1040s "RunsOnClient": false, 1040s "Command": "/etc/bacula/scripts/make_catalog_backup.pl MyCatalog" 1040s }, 1040s { 1040s "RunsWhen": "After", 1040s "RunsOnClient": false, 1040s "Command": "/etc/bacula/scripts/delete_catalog_backup" 1040s } 1040s ] 1040s , 1040s "Priority": 11 1040s } 1040s }, 1040s { 1040s "Job": { 1040s "Name": "BackupClient1", 1040s "Type": "Backup", 1040s "Level": "Incremental", 1040s "Messages": "Standard", 1040s "Storage": ["File1"], 1040s "Pool": "File", 1040s "Client": "autopkgtest-fd", 1040s "Fileset": "Full Set", 1040s "Schedule": "WeeklyCycle", 1040s "JobDefs": "DefaultJob", 1040s "WriteBootstrap": "/var/lib/bacula/%c.bsr", 1040s "SpoolAttributes": true, 1040s "Priority": 10 1040s } 1040s }, 1040s { 1040s "Job": { 1040s "Name": "RestoreFiles", 1040s "Type": "Restore", 1040s "Messages": "Standard", 1040s "Storage": ["File1"], 1040s "Pool": "File", 1040s "Client": "autopkgtest-fd", 1040s "Fileset": "Full Set", 1040s "Where": "/nonexistent/path/to/file/archive/dir/bacula-restores" 1040s } 1040s }, 1040s { 1040s "Storage": { 1040s "Name": "File1", 1040s "SdPort": 9103, 1040s "Address": "localhost", 1040s "Password": "g7aM09FRConZu4NYb2tWhYbrbUc48i-Zm", 1040s "Device": ["FileChgr1"], 1040s "MediaType": "File1", 1040s "Autochanger": "File1", 1040s "MaximumConcurrentJobs": 10 1040s } 1040s }, 1040s { 1040s "Storage": { 1040s "Name": "File2", 1040s "SdPort": 9103, 1040s "Address": "localhost", 1040s "Password": "g7aM09FRConZu4NYb2tWhYbrbUc48i-Zm", 1040s "Device": ["FileChgr2"], 1040s "MediaType": "File2", 1040s "Autochanger": "File2", 1040s "MaximumConcurrentJobs": 10 1040s } 1040s }, 1040s { 1040s "Catalog": { 1040s "Name": "MyCatalog", 1040s "Address": "localhost", 1040s "DbPort": 3306, 1040s "Password": "MexLJkagIlzD", 1040s "User": "bacula", 1040s "DbName": "bacula" 1040s } 1040s }, 1040s { 1040s "Schedule": { 1040s "Name": "WeeklyCycle", 1040s "Run": [ 1040s { 1040s "Level": "Full", 1040s "Level": "Full", 1040s "Level": "Full", 1040s "Hour": [23], 1040s "Minute": 5, 1040s "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], 1040s "Month": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], 1040s "DayOfWeek": [0], 1040s "WeekOfMonth": [0], 1040s "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] 1040s }, 1040s { 1040s "Level": "Differential", 1040s "Level": "Differential", 1040s "Level": "Differential", 1040s "Hour": [23], 1040s "Minute": 5, 1040s "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], 1040s "Month": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], 1040s "DayOfWeek": [0], 1040s "WeekOfMonth": [1, 2, 3, 4], 1040s "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] 1040s }, 1040s { 1040s "Level": "Incremental", 1040s "Level": "Incremental", 1040s "Level": "Incremental", 1040s "Hour": [23], 1040s "Minute": 5, 1040s "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], 1040s "Month": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], 1040s "DayOfWeek": [1, 2, 3, 4, 5, 6], 1040s "WeekOfMonth": [0, 1, 2, 3, 4, 5], 1040s "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] 1040s } 1040s ] 1040s } 1040s }, 1040s { 1040s "Schedule": { 1040s "Name": "WeeklyCycleAfterBackup", 1040s "Run": [ 1040s { 1040s "Level": "Full", 1040s "Level": "Full", 1040s "Level": "Full", 1040s "Hour": [23], 1040s "Minute": 10, 1040s "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], 1040s "Month": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], 1040s "DayOfWeek": [0, 1, 2, 3, 4, 5, 6], 1040s "WeekOfMonth": [0, 1, 2, 3, 4, 5], 1040s "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] 1040s } 1040s ] 1040s } 1040s }, 1040s { 1040s "Fileset": { 1040s "Name": "Catalog", 1040s "Include": [{ 1040s "File": ["/var/lib/bacula/bacula.sql"], 1040s "Options": [ 1040s { 1040s "Signature": "Md5" 1040s } 1040s ] 1040s }] 1040s } 1040s }, 1040s { 1040s "Fileset": { 1040s "Name": "Full Set", 1040s "Include": [{ 1040s "File": ["/usr/sbin"], 1040s "Options": [ 1040s { 1040s "Signature": "Md5" 1040s } 1040s ] 1040s }], 1040s "Exclude": { 1040s "File": ["/var/lib/bacula", "/nonexistent/path/to/file/archive/dir", "/proc", "/tmp", "/sys", "/.journal", "/.fsck"] 1040s } 1040s } 1040s }, 1040s { 1040s "Pool": { 1040s "Name": "Default", 1040s "PoolType": "Backup", 1040s "MaximumVolumes": 100, 1040s "MaximumVolumeBytes": 53687091200, 1040s "VolumeRetention": 31536000, 1040s "AutoPrune": true, 1040s "Recycle": true 1040s } 1040s }, 1040s { 1040s "Pool": { 1040s "Name": "File", 1040s "PoolType": "Backup", 1040s "LabelFormat": "Vol-", 1040s "MaximumVolumes": 100, 1040s "MaximumVolumeBytes": 53687091200, 1040s "VolumeRetention": 31536000, 1040s "AutoPrune": true, 1040s "Recycle": true 1040s } 1040s }, 1040s { 1040s "Pool": { 1040s "Name": "Scratch", 1040s "PoolType": "Backup" 1040s } 1040s }, 1040s { 1040s "Messages": { 1040s "Name": "Daemon", 1040s "MailCommand": "/usr/sbin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s \"Bacula daemon message\" %r", 1040s "Destinations": [ 1040s { 1040s "Type": "Mail", 1040s "MsgTypes": ["All","!Skipped"], 1040s "Where": ["root"], 1040s "Command": "/usr/sbin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s \"Bacula daemon message\" %r" 1040s }, 1040s { 1040s "Type": "Append", 1040s "MsgTypes": ["All","!Skipped"], 1040s "Where": ["/var/log/bacula/bacula.log"] 1040s }, 1040s { 1040s "Type": "Console", 1040s "MsgTypes": ["All","!Skipped"] 1040s } 1040s ] 1040s } 1040s }, 1040s { 1040s "Messages": { 1040s "Name": "Standard", 1040s "MailCommand": "/usr/sbin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s \"Bacula: %t %e of %c %l\" %r", 1040s "OperatorCommand": "/usr/sbin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s \"Bacula: Intervention needed for %j\" %r", 1040s "Destinations": [ 1040s { 1040s "Type": "Mail", 1040s "MsgTypes": ["All","!Skipped"], 1040s "Where": ["root"], 1040s "Command": "/usr/sbin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s \"Bacula: %t %e of %c %l\" %r" 1040s }, 1040s { 1040s "Type": "Append", 1040s "MsgTypes": ["All","!Skipped"], 1040s "Where": ["/var/log/bacula/bacula.log"] 1040s }, 1040s { 1040s "Type": "Console", 1040s "MsgTypes": ["All","!Skipped"] 1040s }, 1040s { 1040s "Type": "Operator", 1040s "MsgTypes": ["Mount"], 1040s "Where": ["root"], 1040s "Command": "/usr/sbin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s \"Bacula: Intervention needed for %j\" %r" 1040s }, 1040s { 1040s "Type": "Catalog", 1040s "MsgTypes": ["All"] 1040s } 1040s ] 1040s } 1040s }, 1040s { 1040s "Console": { 1040s "Name": "autopkgtest-mon", 1040s "Password": "Fixacj0z9KZTLBXMNfofZ908qZQ2A0jD6", 1040s "CommandAcl": ["status", ".status"] 1040s } 1040s }, 1040s { 1040s "JobDefs": { 1040s "Name": "DefaultJob", 1040s "Type": "Backup", 1040s "Level": "Incremental", 1040s "Messages": "Standard", 1040s "Storage": ["File1"], 1040s "Pool": "File", 1040s "Client": "autopkgtest-fd", 1040s "Fileset": "Full Set", 1040s "Schedule": "WeeklyCycle", 1040s "WriteBootstrap": "/var/lib/bacula/%c.bsr", 1040s "SpoolAttributes": true, 1040s "Priority": 10 1040s } 1040s } 1040s ] 1040s + echo 1040s 1040s + echo '---- Testing /usr/sbin/bfdjson ----' 1040s ---- Testing /usr/sbin/bfdjson ---- 1040s + /usr/sbin/bfdjson 1040s [{ 1040s "Director": { 1040s "Name": "autopkgtest-dir", 1040s "Password": "Jjnhvc5uO1n5etSZZeYVISgeSVY_S_Nro" 1040s } 1040s }, 1040s { 1040s "Director": { 1040s "Name": "autopkgtest-mon", 1040s "Password": "EA6P7eIyJpWCUZA_4vCeYGa9JR3IyMwjf", 1040s "Monitor": true 1040s } 1040s }, 1040s { 1040s "FileDaemon": { 1040s "Name": "autopkgtest-fd", 1040s "FdAddress": "127.0.0.1", 1040s "WorkingDirectory": "/var/lib/bacula", 1040s "PidDirectory": "/run/bacula", 1040s "PluginDirectory": "/usr/lib/bacula", 1040s "MaximumConcurrentJobs": 20 1040s } 1040s }, 1040s { 1040s "Messages": { 1040s "Name": "Standard", 1040s "Destinations": [ 1040s { 1040s "Type": "Director", 1040s "MsgTypes": ["All","!Skipped","!Restored","!Verified"], 1040s "Where": ["autopkgtest-dir"] 1040s } 1040s ] 1040s } 1040s } 1040s ] 1040s + echo 1040s 1040s + echo '---- Testing /usr/sbin/bsdjson ----' 1040s ---- Testing /usr/sbin/bsdjson ---- 1040s + /usr/sbin/bsdjson 1040s [ 1040s { 1040s "Director": { 1040s "Name": "autopkgtest-dir", 1040s "Password": "g7aM09FRConZu4NYb2tWhYbrbUc48i-Zm" 1040s } 1040s }, 1040s { 1040s "Director": { 1040s "Name": "autopkgtest-mon", 1040s "Password": "4RNBq7oUY2QxM3ksCPlElZv_K-igvHsxw", 1040s "Monitor": true 1040s } 1040s }, 1040s { 1040s "Storage": { 1040s "Name": "autopkgtest-sd", 1040s "SdAddress": "127.0.0.1", 1040s "WorkingDirectory": "/var/lib/bacula", 1040s "PidDirectory": "/run/bacula", 1040s "PluginDirectory": "/usr/lib/bacula", 1040s "MaximumConcurrentJobs": 20 1040s } 1040s }, 1040s { 1040s "Device": { 1040s "Name": "FileChgr1-Dev1", 1040s "MediaType": "File1", 1040s "ArchiveDevice": "/nonexistent/path/to/file/archive/dir", 1040s "RemovableMedia": false, 1040s "RandomAccess": true, 1040s "AutomaticMount": true, 1040s "LabelMedia": true, 1040s "AlwaysOpen": false, 1040s "MaximumConcurrentJobs": 5 1040s } 1040s }, 1040s { 1040s "Device": { 1040s "Name": "FileChgr1-Dev2", 1040s "MediaType": "File1", 1040s "ArchiveDevice": "/nonexistent/path/to/file/archive/dir", 1040s "RemovableMedia": false, 1040s "RandomAccess": true, 1040s "AutomaticMount": true, 1040s "LabelMedia": true, 1040s "AlwaysOpen": false, 1040s "MaximumConcurrentJobs": 5 1040s } 1040s }, 1040s { 1040s "Device": { 1040s "Name": "FileChgr2-Dev1", 1040s "MediaType": "File2", 1040s "ArchiveDevice": "/nonexistent/path/to/file/archive/dir", 1040s "RemovableMedia": false, 1040s "RandomAccess": true, 1040s "AutomaticMount": true, 1040s "LabelMedia": true, 1040s "AlwaysOpen": false, 1040s "MaximumConcurrentJobs": 5 1040s } 1040s }, 1040s { 1040s "Device": { 1040s "Name": "FileChgr2-Dev2", 1040s "MediaType": "File2", 1040s "ArchiveDevice": "/nonexistent/path/to/file/archive/dir", 1040s "RemovableMedia": false, 1040s "RandomAccess": true, 1040s "AutomaticMount": true, 1040s "LabelMedia": true, 1040s "AlwaysOpen": false, 1040s "MaximumConcurrentJobs": 5 1040s } 1040s }, 1040s { 1040s "Messages": { 1040s "Name": "Standard", 1040s "Destinations": [ 1040s { 1040s "Type": "Director", 1040s "MsgTypes": ["All"], 1040s "Where": ["autopkgtest-dir"] 1040s } 1040s ] 1040s } 1040s }, 1040s { 1040s "Autochanger": { 1040s "Name": "FileChgr1", 1040s "Device": ["FileChgr1-Dev1", "FileChgr1-Dev2"], 1040s "ChangerDevice": "/dev/null", 1040s "ChangerCommand": "" 1040s } 1040s }, 1040s { 1040s "Autochanger": { 1040s "Name": "FileChgr2", 1040s "Device": ["FileChgr2-Dev1", "FileChgr2-Dev2"], 1040s "ChangerDevice": "/dev/null", 1040s "ChangerCommand": "" 1040s } 1040s } 1040s ] 1040s autopkgtest [07:15:58]: test program-test-mysql: -----------------------] 1040s autopkgtest [07:15:58]: test program-test-mysql: - - - - - - - - - - results - - - - - - - - - - 1040s program-test-mysql PASS 1041s autopkgtest [07:15:59]: test backup-test-sqlite3: preparing testbed 1184s autopkgtest [07:18:22]: testbed dpkg architecture: arm64 1184s autopkgtest [07:18:22]: testbed apt version: 3.0.0 1184s autopkgtest [07:18:22]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1185s autopkgtest [07:18:23]: testbed release detected to be: questing 1185s autopkgtest [07:18:23]: updating testbed package index (apt update) 1186s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB] 1186s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 1186s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 1186s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 1186s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [2202 kB] 1187s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [184 kB] 1187s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [57.4 kB] 1187s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 Packages [227 kB] 1187s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/universe arm64 Packages [1472 kB] 1187s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/multiverse arm64 Packages [16.5 kB] 1187s Fetched 4269 kB in 1s (2998 kB/s) 1188s Reading package lists... 1189s autopkgtest [07:18:27]: upgrading testbed (apt dist-upgrade and autopurge) 1189s Reading package lists... 1190s Building dependency tree... 1190s Reading state information... 1191s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 1192s Starting 2 pkgProblemResolver with broken count: 0 1192s Done 1193s Entering ResolveByKeep 1194s 1194s Calculating upgrade... 1195s The following packages will be upgraded: 1195s ucf 1195s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1195s Need to get 43.6 kB of archives. 1195s After this operation, 1024 B of additional disk space will be used. 1195s Get:1 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 ucf all 3.0051 [43.6 kB] 1196s Preconfiguring packages ... 1196s Fetched 43.6 kB in 0s (141 kB/s) 1197s (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 ... 117820 files and directories currently installed.) 1197s Preparing to unpack .../archives/ucf_3.0051_all.deb ... 1197s Unpacking ucf (3.0051) over (3.0050) ... 1197s Setting up ucf (3.0051) ... 1197s Processing triggers for man-db (2.13.0-1) ... 1198s Reading package lists... 1198s Building dependency tree... 1198s Reading state information... 1199s Starting pkgProblemResolver with broken count: 0 1199s Starting 2 pkgProblemResolver with broken count: 0 1199s Done 1199s Solving dependencies... 1200s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1203s Reading package lists... 1203s Building dependency tree... 1203s Reading state information... 1203s Starting pkgProblemResolver with broken count: 0 1204s Starting 2 pkgProblemResolver with broken count: 0 1204s Done 1204s The following NEW packages will be installed: 1204s bacula bacula-bscan bacula-client bacula-common bacula-common-sqlite3 1204s bacula-console bacula-director bacula-director-sqlite3 bacula-fd bacula-sd 1204s bacula-server bsd-mailx dbconfig-common dbconfig-pgsql dbconfig-sqlite3 1204s liblockfile-bin liblockfile1 libpq5 mtx postfix postgresql-client 1204s postgresql-client-17 postgresql-client-common sqlite3 1205s 0 upgraded, 24 newly installed, 0 to remove and 0 not upgraded. 1205s Need to get 5322 kB of archives. 1205s After this operation, 20.6 MB of additional disk space will be used. 1205s Get:1 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-common arm64 13.0.4-4build1 [827 kB] 1205s Get:2 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-common-sqlite3 arm64 13.0.4-4build1 [10.6 kB] 1205s Get:3 http://ftpmaster.internal/ubuntu questing/universe arm64 dbconfig-common all 2.0.24 [596 kB] 1205s Get:4 http://ftpmaster.internal/ubuntu questing/main arm64 sqlite3 arm64 3.46.1-3 [145 kB] 1205s Get:5 http://ftpmaster.internal/ubuntu questing/universe arm64 dbconfig-sqlite3 all 2.0.24 [892 B] 1205s Get:6 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-director-sqlite3 all 13.0.4-4build1 [31.6 kB] 1205s Get:7 http://ftpmaster.internal/ubuntu questing/main arm64 postfix arm64 3.9.1-10ubuntu1 [1286 kB] 1205s Get:8 http://ftpmaster.internal/ubuntu questing/main arm64 liblockfile-bin arm64 1.17-2 [11.0 kB] 1205s Get:9 http://ftpmaster.internal/ubuntu questing/main arm64 liblockfile1 arm64 1.17-2 [6982 B] 1205s Get:10 http://ftpmaster.internal/ubuntu questing/main arm64 bsd-mailx arm64 8.1.2-0.20220412cvs-1build1 [66.2 kB] 1205s Get:11 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-director arm64 13.0.4-4build1 [365 kB] 1205s Get:12 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-fd arm64 13.0.4-4build1 [140 kB] 1205s Get:13 http://ftpmaster.internal/ubuntu questing/main arm64 mtx arm64 1.3.12-18 [42.9 kB] 1205s Get:14 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-sd arm64 13.0.4-4build1 [147 kB] 1205s Get:15 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-console arm64 13.0.4-4build1 [27.8 kB] 1205s Get:16 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-client all 13.0.4-4build1 [23.5 kB] 1205s Get:17 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-bscan arm64 13.0.4-4build1 [24.6 kB] 1205s Get:18 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-server all 13.0.4-4build1 [23.4 kB] 1205s Get:19 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula all 13.0.4-4build1 [1036 B] 1205s Get:20 http://ftpmaster.internal/ubuntu questing/main arm64 libpq5 arm64 17.4-1 [142 kB] 1205s Get:21 http://ftpmaster.internal/ubuntu questing/main arm64 postgresql-client-common all 274 [47.6 kB] 1205s Get:22 http://ftpmaster.internal/ubuntu questing/main arm64 postgresql-client-17 arm64 17.4-1 [1342 kB] 1205s Get:23 http://ftpmaster.internal/ubuntu questing/main arm64 postgresql-client all 17+274 [13.3 kB] 1205s Get:24 http://ftpmaster.internal/ubuntu questing/universe arm64 dbconfig-pgsql all 2.0.24 [914 B] 1206s Preconfiguring packages ... 1206s Fetched 5322 kB in 1s (5642 kB/s) 1206s Selecting previously unselected package bacula-common. 1206s (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 ... 117820 files and directories currently installed.) 1206s Preparing to unpack .../00-bacula-common_13.0.4-4build1_arm64.deb ... 1206s Adding user 'bacula'... Ok. 1206s Unpacking bacula-common (13.0.4-4build1) ... 1206s Selecting previously unselected package bacula-common-sqlite3. 1206s Preparing to unpack .../01-bacula-common-sqlite3_13.0.4-4build1_arm64.deb ... 1206s Unpacking bacula-common-sqlite3 (13.0.4-4build1) ... 1206s Selecting previously unselected package dbconfig-common. 1207s Preparing to unpack .../02-dbconfig-common_2.0.24_all.deb ... 1207s Unpacking dbconfig-common (2.0.24) ... 1207s Selecting previously unselected package sqlite3. 1207s Preparing to unpack .../03-sqlite3_3.46.1-3_arm64.deb ... 1207s Unpacking sqlite3 (3.46.1-3) ... 1207s Selecting previously unselected package dbconfig-sqlite3. 1207s Preparing to unpack .../04-dbconfig-sqlite3_2.0.24_all.deb ... 1207s Unpacking dbconfig-sqlite3 (2.0.24) ... 1207s Selecting previously unselected package bacula-director-sqlite3. 1207s Preparing to unpack .../05-bacula-director-sqlite3_13.0.4-4build1_all.deb ... 1207s Unpacking bacula-director-sqlite3 (13.0.4-4build1) ... 1207s Selecting previously unselected package postfix. 1207s Preparing to unpack .../06-postfix_3.9.1-10ubuntu1_arm64.deb ... 1207s Unpacking postfix (3.9.1-10ubuntu1) ... 1207s Selecting previously unselected package liblockfile-bin. 1207s Preparing to unpack .../07-liblockfile-bin_1.17-2_arm64.deb ... 1207s Unpacking liblockfile-bin (1.17-2) ... 1207s Selecting previously unselected package liblockfile1:arm64. 1207s Preparing to unpack .../08-liblockfile1_1.17-2_arm64.deb ... 1207s Unpacking liblockfile1:arm64 (1.17-2) ... 1207s Selecting previously unselected package bsd-mailx. 1207s Preparing to unpack .../09-bsd-mailx_8.1.2-0.20220412cvs-1build1_arm64.deb ... 1207s Unpacking bsd-mailx (8.1.2-0.20220412cvs-1build1) ... 1207s Selecting previously unselected package bacula-director. 1207s Preparing to unpack .../10-bacula-director_13.0.4-4build1_arm64.deb ... 1207s Unpacking bacula-director (13.0.4-4build1) ... 1207s Selecting previously unselected package bacula-fd. 1207s Preparing to unpack .../11-bacula-fd_13.0.4-4build1_arm64.deb ... 1207s Unpacking bacula-fd (13.0.4-4build1) ... 1207s Selecting previously unselected package mtx. 1207s Preparing to unpack .../12-mtx_1.3.12-18_arm64.deb ... 1207s Unpacking mtx (1.3.12-18) ... 1207s Selecting previously unselected package bacula-sd. 1207s Preparing to unpack .../13-bacula-sd_13.0.4-4build1_arm64.deb ... 1207s Unpacking bacula-sd (13.0.4-4build1) ... 1207s Selecting previously unselected package bacula-console. 1207s Preparing to unpack .../14-bacula-console_13.0.4-4build1_arm64.deb ... 1207s Unpacking bacula-console (13.0.4-4build1) ... 1207s Selecting previously unselected package bacula-client. 1207s Preparing to unpack .../15-bacula-client_13.0.4-4build1_all.deb ... 1207s Unpacking bacula-client (13.0.4-4build1) ... 1207s Selecting previously unselected package bacula-bscan. 1207s Preparing to unpack .../16-bacula-bscan_13.0.4-4build1_arm64.deb ... 1207s Unpacking bacula-bscan (13.0.4-4build1) ... 1207s Selecting previously unselected package bacula-server. 1207s Preparing to unpack .../17-bacula-server_13.0.4-4build1_all.deb ... 1207s Unpacking bacula-server (13.0.4-4build1) ... 1207s Selecting previously unselected package bacula. 1207s Preparing to unpack .../18-bacula_13.0.4-4build1_all.deb ... 1207s Unpacking bacula (13.0.4-4build1) ... 1208s Selecting previously unselected package libpq5:arm64. 1208s Preparing to unpack .../19-libpq5_17.4-1_arm64.deb ... 1208s Unpacking libpq5:arm64 (17.4-1) ... 1208s Selecting previously unselected package postgresql-client-common. 1208s Preparing to unpack .../20-postgresql-client-common_274_all.deb ... 1208s Unpacking postgresql-client-common (274) ... 1208s Selecting previously unselected package postgresql-client-17. 1208s Preparing to unpack .../21-postgresql-client-17_17.4-1_arm64.deb ... 1208s Unpacking postgresql-client-17 (17.4-1) ... 1208s Selecting previously unselected package postgresql-client. 1208s Preparing to unpack .../22-postgresql-client_17+274_all.deb ... 1208s Unpacking postgresql-client (17+274) ... 1208s Selecting previously unselected package dbconfig-pgsql. 1208s Preparing to unpack .../23-dbconfig-pgsql_2.0.24_all.deb ... 1208s Unpacking dbconfig-pgsql (2.0.24) ... 1208s Setting up postgresql-client-common (274) ... 1208s Setting up liblockfile-bin (1.17-2) ... 1208s Setting up libpq5:arm64 (17.4-1) ... 1208s Setting up mtx (1.3.12-18) ... 1208s Setting up dbconfig-common (2.0.24) ... 1208s Creating config file /etc/dbconfig-common/config with new version 1208s Setting up bacula-common (13.0.4-4build1) ... 1208s Setting up bacula-sd (13.0.4-4build1) ... 1208s Creating config file /etc/default/bacula-sd with new version 1209s Creating config file /etc/bacula/bacula-sd.conf with new version 1209s Created symlink '/etc/systemd/system/multi-user.target.wants/bacula-sd.service' → '/usr/lib/systemd/system/bacula-sd.service'. 1210s Setting up bacula-console (13.0.4-4build1) ... 1210s Creating config file /etc/bacula/bconsole.conf with new version 1210s Setting up postfix (3.9.1-10ubuntu1) ... 1210s Created symlink '/etc/systemd/system/multi-user.target.wants/postfix.service' → '/usr/lib/systemd/system/postfix.service'. 1211s info: Selecting UID from range 100 to 999 ... 1211s 1211s info: Selecting GID from range 100 to 999 ... 1211s info: Adding system user `postfix' (UID 108) ... 1211s info: Adding new group `postfix' (GID 111) ... 1211s info: Adding new user `postfix' (UID 108) with group `postfix' ... 1211s info: Not creating home directory `/var/spool/postfix'. 1211s info: Selecting GID from range 100 to 999 ... 1211s info: Adding group `postdrop' (GID 112) ... 1211s Creating /etc/postfix/dynamicmaps.cf 1211s setting myhostname: autopkgtest.local 1211s setting alias maps 1211s setting alias database 1211s changing /etc/mailname to autopkgtest.local 1211s setting myorigin 1211s setting destinations: $myhostname, autopkgtest.local, localhost.local, , localhost 1211s setting relayhost: 1211s setting mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 1211s clearing mailbox_command 1211s setting mailbox_size_limit: 0 1211s setting recipient_delimiter: + 1213s setting inet_interfaces: all 1215s setting inet_protocols: all 1215s /etc/aliases does not exist, creating it. 1215s WARNING: /etc/aliases exists, but does not have a root alias. 1215s 1215s Postfix (main.cf) is now set up with a default configuration. If you need to 1215s make changes, edit /etc/postfix/main.cf (and others) as needed. To view 1215s Postfix configuration values, see postconf(1). 1215s 1215s After modifying main.cf, be sure to run 'systemctl reload postfix'. 1215s 1217s Setting up bacula-common-sqlite3 (13.0.4-4build1) ... 1217s Setting up liblockfile1:arm64 (1.17-2) ... 1217s Setting up bacula-bscan (13.0.4-4build1) ... 1217s Setting up sqlite3 (3.46.1-3) ... 1217s Setting up bacula-fd (13.0.4-4build1) ... 1217s Creating config file /etc/default/bacula-fd with new version 1218s Creating config file /etc/bacula/bacula-fd.conf with new version 1218s Created symlink '/etc/systemd/system/multi-user.target.wants/bacula-fd.service' → '/usr/lib/systemd/system/bacula-fd.service'. 1218s Setting up bacula-client (13.0.4-4build1) ... 1218s Setting up postgresql-client-17 (17.4-1) ... 1219s 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 1219s Setting up dbconfig-pgsql (2.0.24) ... 1219s Setting up bsd-mailx (8.1.2-0.20220412cvs-1build1) ... 1219s update-alternatives: using /usr/bin/bsd-mailx to provide /usr/bin/mailx (mailx) in auto mode 1219s Setting up dbconfig-sqlite3 (2.0.24) ... 1219s Setting up postgresql-client (17+274) ... 1219s Setting up bacula-director-sqlite3 (13.0.4-4build1) ... 1219s dbconfig-common: writing config to /etc/dbconfig-common/bacula-director-sqlite3.conf 1219s Creating config file /etc/dbconfig-common/bacula-director-sqlite3.conf with new version 1219s creating database bacula.db: success. 1219s verifying database bacula.db exists: success. 1219s populating database via sql... done. 1219s Setting up bacula-director (13.0.4-4build1) ... 1220s Creating config file /etc/default/bacula-dir with new version 1220s Creating config file /etc/bacula/bacula-dir.conf with new version 1220s Creating config file /etc/bacula/scripts/delete_catalog_backup with new version 1221s Creating config file /etc/bacula/scripts/make_catalog_backup with new version 1221s Created symlink '/etc/systemd/system/bacula-dir.service' → '/usr/lib/systemd/system/bacula-director.service'. 1221s Created symlink '/etc/systemd/system/multi-user.target.wants/bacula-director.service' → '/usr/lib/systemd/system/bacula-director.service'. 1221s Setting up bacula-server (13.0.4-4build1) ... 1221s Setting up bacula (13.0.4-4build1) ... 1221s Processing triggers for rsyslog (8.2412.0-2ubuntu2) ... 1222s Processing triggers for ufw (0.36.2-9) ... 1222s Processing triggers for man-db (2.13.0-1) ... 1223s Processing triggers for libc-bin (2.41-6ubuntu1) ... 1223s Processing triggers for postfix (3.9.1-10ubuntu1) ... 1223s Restarting postfix 1227s autopkgtest [07:19:05]: test backup-test-sqlite3: [----------------------- 1228s + apt-get -y install debconf-utils 1228s Reading package lists... 1228s Building dependency tree... 1228s Reading state information... 1228s Solving dependencies... 1229s The following NEW packages will be installed: 1229s debconf-utils 1229s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1229s Need to get 49.5 kB of archives. 1229s After this operation, 99.3 kB of additional disk space will be used. 1229s Get:1 http://ftpmaster.internal/ubuntu questing/universe arm64 debconf-utils all 1.5.87ubuntu1 [49.5 kB] 1229s Fetched 49.5 kB in 0s (174 kB/s) 1229s Selecting previously unselected package debconf-utils. 1230s (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 ... 118909 files and directories currently installed.) 1230s Preparing to unpack .../debconf-utils_1.5.87ubuntu1_all.deb ... 1230s Unpacking debconf-utils (1.5.87ubuntu1) ... 1230s Setting up debconf-utils (1.5.87ubuntu1) ... 1230s Processing triggers for man-db (2.13.0-1) ... 1230s + debconf-get-selections 1230s + awk '$3=="password"{print}' 1230s + debconf-set-selections 1231s + for pkg in bacula-director-mysql bacula-director-pgsql 1231s ++ dpkg-query --showformat '${db:Status-Status}' -W bacula-director-mysql 1231s + pkg_status=not-installed 1231s + '[' not-installed = installed ']' 1231s + for pkg in bacula-director-mysql bacula-director-pgsql 1231s ++ dpkg-query --showformat '${db:Status-Status}' -W bacula-director-pgsql 1231s + pkg_status=not-installed 1231s + '[' not-installed = installed ']' 1231s + echo 'start testing ... ' 1231s start testing ... 1231s + echo 'USER: root' 1231s USER: root 1231s + DBTYPE=sqlite3 1231s + echo 'DBTYPE: sqlite3' 1231s DBTYPE: sqlite3 1231s + echo '--------- configuring Bacula daemons -----------' 1231s --------- configuring Bacula daemons ----------- 1231s + FILECHGRDIR=/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr 1231s + RESTOREDIR=/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-restores 1231s + mkdir -p /tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr 1231s + chown -R bacula:tape /tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr 1231s + sed -i s%/nonexistent/path/to/file/archive/dir%/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr% /etc/bacula/bacula-sd.conf 1231s + sed -i 's%Where = /nonexistent/path/to/file/archive/dir/bacula-restores%Where = /tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-restores%' /etc/bacula/bacula-dir.conf 1231s + sed -i 's/signature = MD5/signature = SHA1/' /etc/bacula/bacula-dir.conf 1231s + sed -i 's/signature = MD5/signature = SHA1\naclsupport = yes/' /etc/bacula/bacula-dir.conf 1231s + echo '--------- restarting services ----------- ' 1231s --------- restarting services ----------- 1231s + service bacula-director restart 1231s + service bacula-sd restart 1231s + service bacula-fd restart 1231s + sleep 10 1241s + echo '--------- checking services ----------- ' 1241s --------- checking services ----------- 1241s + service bacula-director status 1241s ● bacula-director.service - Bacula Director Daemon service 1241s Loaded: loaded (/usr/lib/systemd/system/bacula-director.service; enabled; preset: enabled) 1241s Active: active (running) since Fri 2025-05-02 07:19:09 UTC; 10s ago 1241s Invocation: f9db91ac1eab49c0acf3e2a6685f2b11 1241s Docs: man:bacula-dir(8) 1241s Process: 4633 ExecStartPre=/usr/sbin/bacula-dir -t -c $CONFIG (code=exited, status=0/SUCCESS) 1241s Main PID: 4636 (bacula-dir) 1241s Tasks: 5 (limit: 4546) 1241s Memory: 2.3M (peak: 2.5M) 1241s CPU: 34ms 1241s CGroup: /system.slice/bacula-director.service 1241s └─4636 /usr/sbin/bacula-dir -fP -c /etc/bacula/bacula-dir.conf 1241s 1241s May 02 07:19:09 autopkgtest systemd[1]: Starting bacula-director.service - Bacula Director Daemon service... 1241s May 02 07:19:09 autopkgtest systemd[1]: Started bacula-director.service - Bacula Director Daemon service. 1241s + service bacula-sd status 1241s ● bacula-sd.service - Bacula Storage Daemon service 1241s Loaded: loaded (/usr/lib/systemd/system/bacula-sd.service; enabled; preset: enabled) 1241s Active: active (running) since Fri 2025-05-02 07:19:09 UTC; 10s ago 1241s Invocation: 333d0323a870461586cd2eaffc84b7aa 1241s Docs: man:bacula-sd(8) 1241s Process: 4645 ExecStartPre=/usr/sbin/bacula-sd -t -c $CONFIG (code=exited, status=0/SUCCESS) 1241s Main PID: 4647 (bacula-sd) 1241s Tasks: 3 (limit: 4546) 1241s Memory: 2M (peak: 2.1M) 1241s CPU: 29ms 1241s CGroup: /system.slice/bacula-sd.service 1241s └─4647 /usr/sbin/bacula-sd -fP -c /etc/bacula/bacula-sd.conf 1241s 1241s May 02 07:19:09 autopkgtest systemd[1]: Starting bacula-sd.service - Bacula Storage Daemon service... 1241s May 02 07:19:09 autopkgtest systemd[1]: Started bacula-sd.service - Bacula Storage Daemon service. 1241s + service bacula-fd status 1241s ● bacula-fd.service - Bacula File Daemon service 1241s Loaded: loaded (/usr/lib/systemd/system/bacula-fd.service; enabled; preset: enabled) 1241s Active: active (running) since Fri 2025-05-02 07:19:09 UTC; 10s ago 1241s Invocation: 9b487245c13e4b32bbdc2bf7b14b05dd 1241s Docs: man:bacula-fd(8) 1241s Process: 4655 ExecStartPre=/usr/sbin/bacula-fd -t -c $CONFIG (code=exited, status=0/SUCCESS) 1241s Main PID: 4657 (bacula-fd) 1241s Tasks: 3 (limit: 4546) 1241s Memory: 1.7M (peak: 2.1M) 1241s CPU: 27ms 1241s CGroup: /system.slice/bacula-fd.service 1241s └─4657 /usr/sbin/bacula-fd -fP -c /etc/bacula/bacula-fd.conf 1241s 1241s May 02 07:19:09 autopkgtest systemd[1]: Starting bacula-fd.service - Bacula File Daemon service... 1241s May 02 07:19:09 autopkgtest systemd[1]: Started bacula-fd.service - Bacula File Daemon service. 1241s + ps auwwwx 1241s + grep '[b]acula' 1241s bacula 4636 0.0 0.3 317372 12140 ? Ssl 07:19 0:00 /usr/sbin/bacula-dir -fP -c /etc/bacula/bacula-dir.conf 1241s bacula 4647 0.0 0.2 240996 10388 ? Ssl 07:19 0:00 /usr/sbin/bacula-sd -fP -c /etc/bacula/bacula-sd.conf 1241s root 4657 0.0 0.2 167292 9644 ? Ssl 07:19 0:00 /usr/sbin/bacula-fd -fP -c /etc/bacula/bacula-fd.conf 1241s + echo '----- create some file to test backup / restore ----' 1241s ----- create some file to test backup / restore ---- 1241s + BACKUP_TEST_FILE=/usr/sbin/bacula-backup.test 1241s + echo 'bacula restore test' 1241s + chown nobody:shadow /usr/sbin/bacula-backup.test 1241s + chmod 2755 /usr/sbin/bacula-backup.test 1241s + echo '---- status of all daemons ----' 1242s ---- status of all daemons ---- 1242s + echo -e 'status all' 1242s + bconsole 1242s Connecting to Director localhost:9101 1242s 1000 OK: 10002 autopkgtest-dir Version: 13.0.4 (12 February 2024) 1242s Enter a period to cancel a command. 1242s status all 1242s autopkgtest-dir Version: 13.0.4 (12 February 2024) aarch64-unknown-linux-gnu ubuntu 25.04 1242s Daemon started 02-May-25 07:19, conf reloaded 02-May-2025 07:19:09 1242s Jobs: run=0, running=0 mode=0,0 1242s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 1242s Heap: heap=962,560 smbytes=335,582 max_bytes=335,582 bufs=394 max_bufs=394 1242s Res: njobs=3 nclients=1 nstores=2 npools=3 ncats=1 nfsets=2 nscheds=2 1242s 1242s Scheduled Jobs: 1242s Level Type Pri Scheduled Job Name Volume 1242s =================================================================================== 1242s Incremental Backup 10 02-May-25 23:05 BackupClient1 *unknown* 1242s Full Backup 11 02-May-25 23:10 BackupCatalog *unknown* 1242s ==== 1242s 1242s Running Jobs: 1242s Console connected using TLS at 02-May-25 07:19 1242s No Jobs running. 1242s ==== 1242s No Terminated Jobs. 1242s ==== 1242s Connecting to Storage daemon File1 at localhost:9103 1242s 1242s autopkgtest-sd Version: 13.0.4 (12 February 2024) aarch64-unknown-linux-gnu ubuntu 25.04 1242s Daemon started 02-May-25 07:19. Jobs: run=0, running=0. 1242s Ulimits: nofile=1024 memlock=unlimited status=nofile 1242s Heap: heap=643,072 smbytes=229,158 max_bytes=350,418 bufs=267 max_bufs=268 1242s Sizes: boffset_t=8 size_t=8 int32_t=4 int64_t=8 mode=0,0 newbsr=0 1242s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 1242s Res: ndevices=4 nautochgr=2 1242s 1242s Running Jobs: 1242s Director connected using TLS at: 02-May-25 07:19 1242s No Jobs running. 1242s ==== 1242s 1242s Jobs waiting to reserve a drive: 1242s ==== 1242s 1242s Terminated Jobs: 1242s ==== 1242s 1242s Device status: 1242s Autochanger "FileChgr1" with devices: 1242s "FileChgr1-Dev1" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) 1242s "FileChgr1-Dev2" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) 1242s Autochanger "FileChgr2" with devices: 1242s "FileChgr2-Dev1" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) 1242s "FileChgr2-Dev2" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) 1242s 1242s Device File: "FileChgr1-Dev1" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) is not open. 1242s Drive 0 is not loaded. 1242s Available Space=16.57 GB 1242s == 1242s 1242s Device File: "FileChgr1-Dev2" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) is not open. 1242s Drive 0 is not loaded. 1242s Available Space=16.57 GB 1242s == 1242s 1242s Device File: "FileChgr2-Dev1" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) is not open. 1242s Drive 0 is not loaded. 1242s Available Space=16.57 GB 1242s == 1242s 1242s Device File: "FileChgr2-Dev2" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) is not open. 1242s Drive 0 is not loaded. 1242s Available Space=16.57 GB 1242s == 1242s ==== 1242s 1242s Used Volume status: 1242s ==== 1242s 1242s ==== 1242s 1242s Connecting to Client autopkgtest-fd at localhost:9102 1242s 1242s autopkgtest-fd Version: 13.0.4 (12 February 2024) aarch64-unknown-linux-gnu ubuntu 25.04 1242s Daemon started 02-May-25 07:19. Jobs: run=0 running=0. 1242s Heap: heap=540,672 smbytes=197,998 max_bytes=198,015 bufs=101 max_bufs=101 1242s Sizes: boffset_t=8 size_t=8 debug=0 trace=0 mode=0,0 bwlimit=0kB/s 1242s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 1242s Plugin: bpipe-fd.so(2) 1242s 1242s Running Jobs: 1242s Director connected using TLS at: 02-May-25 07:19 1242s No Jobs running. 1242s ==== 1242s 1242s Terminated Jobs: 1242s ==== 1242s + echo 1242s 1242s + echo '---- label a volume ----' 1242s ---- label a volume ---- 1242s + echo -e 'label volume=testvol pool=File storage=File1 drive=0 slot=0' 1242s + bconsole 1242s Connecting to Director localhost:9101 1242s 1000 OK: 10002 autopkgtest-dir Version: 13.0.4 (12 February 2024) 1242s Enter a period to cancel a command. 1242s label volume=testvol pool=File storage=File1 drive=0 slot=0 1242s Automatically selected Catalog: MyCatalog 1242s Using Catalog "MyCatalog" 1242s Connecting to Storage daemon File1 at localhost:9103 ... 1242s Sending label command for Volume "testvol" Slot 0 ... 1242s 3000 OK label. VolBytes=226 VolABytes=0 VolType=1 Volume="testvol" Device="FileChgr1-Dev1" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) 1242s Catalog record for Volume "testvol", Slot 0 successfully created. 1242s Requesting to mount FileChgr1 ... 1242s 3906 File device ""FileChgr1-Dev1" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr)" is always mounted. 1242s + echo 1242s 1242s + echo '----- create some file to test backup / restore ----' 1242s ----- create some file to test backup / restore ---- 1242s + echo 'bacula restore test' 1242s + echo 1242s 1242s + echo '------ trigger backup job -----' 1242s ------ trigger backup job ----- 1242s + echo -e 'run job=BackupClient1 yes\rwait' 1242s + bconsole 1242s + grep 'Job queued. JobId=' 1246s Job queued. JobId=1 1246s + echo 'status all' 1246s + bconsole 1246s Connecting to Director localhost:9101 1246s 1000 OK: 10002 autopkgtest-dir Version: 13.0.4 (12 February 2024) 1246s Enter a period to cancel a command. 1246s status all 1246s autopkgtest-dir Version: 13.0.4 (12 February 2024) aarch64-unknown-linux-gnu ubuntu 25.04 1246s Daemon started 02-May-25 07:19, conf reloaded 02-May-2025 07:19:09 1246s Jobs: run=1, running=0 mode=0,0 1246s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 1246s Heap: heap=962,560 smbytes=465,330 max_bytes=491,370 bufs=456 max_bufs=497 1246s Res: njobs=3 nclients=1 nstores=2 npools=3 ncats=1 nfsets=2 nscheds=2 1246s 1246s Scheduled Jobs: 1246s Level Type Pri Scheduled Job Name Volume 1246s =================================================================================== 1246s Incremental Backup 10 02-May-25 23:05 BackupClient1 testvol 1246s Full Backup 11 02-May-25 23:10 BackupCatalog testvol 1246s ==== 1246s 1246s Running Jobs: 1246s Console connected using TLS at 02-May-25 07:19 1246s No Jobs running. 1246s ==== 1246s 1246s Terminated Jobs: 1246s JobId Level Files Bytes Status Finished Name 1246s ==================================================================== 1246s 1 Full 578 38.28 M OK 02-May-25 07:19 BackupClient1 1246s 1246s ==== 1246s Connecting to Storage daemon File1 at localhost:9103 1246s 1246s autopkgtest-sd Version: 13.0.4 (12 February 2024) aarch64-unknown-linux-gnu ubuntu 25.04 1246s Daemon started 02-May-25 07:19. Jobs: run=1, running=0. 1246s Ulimits: nofile=1024 memlock=unlimited status=nofile 1246s Heap: heap=643,072 smbytes=650,848 max_bytes=1,011,521 bufs=283 max_bufs=305 1246s Sizes: boffset_t=8 size_t=8 int32_t=4 int64_t=8 mode=0,0 newbsr=0 1246s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 1246s Res: ndevices=4 nautochgr=2 1246s 1246s Running Jobs: 1246s Director connected using TLS at: 02-May-25 07:19 1246s No Jobs running. 1246s ==== 1246s 1246s Jobs waiting to reserve a drive: 1246s ==== 1246s 1246s Terminated Jobs: 1246s JobId Level Files Bytes Status Finished Name 1246s =================================================================== 1246s 1 Full 578 38.35 M OK 02-May-25 07:19 BackupClient1 1246s ==== 1246s 1246s Device status: 1246s Autochanger "FileChgr1" with devices: 1246s "FileChgr1-Dev1" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) 1246s "FileChgr1-Dev2" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) 1246s Autochanger "FileChgr2" with devices: 1246s "FileChgr2-Dev1" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) 1246s "FileChgr2-Dev2" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) 1246s 1246s Device File: "FileChgr1-Dev1" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) is not open. 1246s Drive 0 is not loaded. 1246s Available Space=16.53 GB 1246s == 1246s 1246s Device File: "FileChgr1-Dev2" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) is not open. 1246s Drive 0 is not loaded. 1246s Available Space=16.53 GB 1246s == 1246s 1246s Device File: "FileChgr2-Dev1" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) is not open. 1246s Drive 0 is not loaded. 1246s Available Space=16.53 GB 1246s == 1246s 1246s Device File: "FileChgr2-Dev2" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) is not open. 1246s Drive 0 is not loaded. 1246s Available Space=16.53 GB 1246s == 1246s ==== 1246s 1246s Used Volume status: 1246s ==== 1246s 1246s Attr spooling: 0 active jobs, 120,391 bytes; 1 total jobs, 120,391 max bytes. 1246s ==== 1246s 1246s Connecting to Client autopkgtest-fd at localhost:9102 1246s 1246s autopkgtest-fd Version: 13.0.4 (12 February 2024) aarch64-unknown-linux-gnu ubuntu 25.04 1246s Daemon started 02-May-25 07:19. Jobs: run=1 running=0. 1246s Heap: heap=540,672 smbytes=400,570 max_bytes=610,206 bufs=116 max_bufs=150 1246s Sizes: boffset_t=8 size_t=8 debug=0 trace=0 mode=0,0 bwlimit=0kB/s 1246s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 1246s Plugin: bpipe-fd.so(2) 1246s 1246s Running Jobs: 1246s Director connected using TLS at: 02-May-25 07:19 1246s No Jobs running. 1246s ==== 1246s 1246s Terminated Jobs: 1246s JobId Level Files Bytes Status Finished Name 1246s =================================================================== 1246s 1 Full 578 38.28 M OK 02-May-25 07:19 BackupClient1 1246s ==== 1246s You have messages. 1246s + echo 1246s 1246s + echo '------ trigger restore job -----' 1246s ------ trigger restore job ----- 1246s + echo -e 'restore select current\rls\rmark usr\rdone\ryes\rwait' 1246s + bconsole 1246s Connecting to Director localhost:9101 1247s 1000 OK: 10002 autopkgtest-dir Version: 13.0.4 (12 February 2024) 1247s Enter a period to cancel a command. 1247s restore select current 1247s Automatically selected Catalog: MyCatalog 1247s Using Catalog "MyCatalog" 1247s Automatically selected Client: autopkgtest-fd 1247s Automatically selected FileSet: Full Set 1247s +-------+-------+----------+----------+---------------------+------------+ 1247s | JobId | Level | JobFiles | JobBytes | StartTime | VolumeName | 1247s +-------+-------+----------+----------+---------------------+------------+ 1247s | 1 | F | 578 | 38287871 | 2025-05-02 07:19:22 | testvol | 1247s +-------+-------+----------+----------+---------------------+------------+ 1247s You have selected the following JobId: 1 1247s 1247s Building directory tree for JobId(s) 1 ... ++++++++++++++++++++++++++++++++++++++++++++++++ 1247s 577 files inserted into the tree. 1247s 1247s You are now entering file selection mode where you add (mark) and 1247s remove (unmark) files to be restored. No files are initially added, unless 1247s you used the "all" keyword on the command line. 1247s Enter "done" to leave this mode. 1247s 1247s cwd is: / 1247s $ ls 1247s usr/ 1247s $ mark usr 1247s 578 files marked. 1247s $ done 1247s Bootstrap records written to /var/lib/bacula/autopkgtest-dir.restore.1.bsr 1247s 1247s The Job will require the following (*=>InChanger): 1247s Volume(s) Storage(s) SD Device(s) 1247s =========================================================================== 1247s 1247s testvol File1 FileChgr1 1247s 1247s Volumes marked with "*" are in the Autochanger. 1247s 1247s 1247s 578 files selected to be restored. 1247s 1247s Using Catalog "MyCatalog" 1247s Run Restore job 1247s JobName: RestoreFiles 1247s Bootstrap: /var/lib/bacula/autopkgtest-dir.restore.1.bsr 1247s Where: /tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-restores 1247s Replace: Always 1247s FileSet: Full Set 1247s Backup Client: autopkgtest-fd 1247s Restore Client: autopkgtest-fd 1247s Storage: File1 1247s When: 2025-05-02 07:19:25 1247s Catalog: MyCatalog 1247s Priority: 10 1247s Plugin Options: *None* 1247s OK to run? (yes/mod/no): yes 1247s Job queued. JobId=2 1247s You have messages. 1247s wait 1250s + echo 'status all' 1250s + bconsole 1250s Connecting to Director localhost:9101 1250s 1000 OK: 10002 autopkgtest-dir Version: 13.0.4 (12 February 2024) 1250s Enter a period to cancel a command. 1250s status all 1250s autopkgtest-dir Version: 13.0.4 (12 February 2024) aarch64-unknown-linux-gnu ubuntu 25.04 1250s Daemon started 02-May-25 07:19, conf reloaded 02-May-2025 07:19:09 1250s Jobs: run=2, running=0 mode=0,0 1250s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 1250s Heap: heap=860,160 smbytes=464,693 max_bytes=1,672,569 bufs=458 max_bufs=512 1250s Res: njobs=3 nclients=1 nstores=2 npools=3 ncats=1 nfsets=2 nscheds=2 1250s 1250s Scheduled Jobs: 1250s Level Type Pri Scheduled Job Name Volume 1250s =================================================================================== 1250s Incremental Backup 10 02-May-25 23:05 BackupClient1 testvol 1250s Full Backup 11 02-May-25 23:10 BackupCatalog testvol 1250s ==== 1250s 1250s Running Jobs: 1250s Console connected using TLS at 02-May-25 07:19 1250s No Jobs running. 1250s ==== 1250s 1250s Terminated Jobs: 1250s JobId Level Files Bytes Status Finished Name 1250s ==================================================================== 1250s 1 Full 578 38.28 M OK 02-May-25 07:19 BackupClient1 1250s 2 Restore 578 38.28 M OK 02-May-25 07:19 RestoreFiles 1250s 1250s ==== 1250s Connecting to Storage daemon File1 at localhost:9103 1250s 1250s autopkgtest-sd Version: 13.0.4 (12 February 2024) aarch64-unknown-linux-gnu ubuntu 25.04 1250s Daemon started 02-May-25 07:19. Jobs: run=2, running=0. 1250s Ulimits: nofile=1024 memlock=unlimited status=nofile 1250s Heap: heap=540,672 smbytes=623,914 max_bytes=1,011,521 bufs=277 max_bufs=315 1250s Sizes: boffset_t=8 size_t=8 int32_t=4 int64_t=8 mode=0,0 newbsr=0 1250s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 1250s Res: ndevices=4 nautochgr=2 1250s 1250s Running Jobs: 1250s Director connected using TLS at: 02-May-25 07:19 1250s No Jobs running. 1250s ==== 1250s 1250s Jobs waiting to reserve a drive: 1250s ==== 1250s 1250s Terminated Jobs: 1250s JobId Level Files Bytes Status Finished Name 1250s =================================================================== 1250s 1 Full 578 38.35 M OK 02-May-25 07:19 BackupClient1 1250s 2 Rest 578 38.35 M OK 02-May-25 07:19 RestoreFiles 1250s ==== 1250s 1250s Device status: 1250s Autochanger "FileChgr1" with devices: 1250s "FileChgr1-Dev1" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) 1250s "FileChgr1-Dev2" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) 1250s Autochanger "FileChgr2" with devices: 1250s "FileChgr2-Dev1" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) 1250s "FileChgr2-Dev2" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) 1250s 1250s Device File: "FileChgr1-Dev1" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) is not open. 1250s Drive 0 is not loaded. 1250s Available Space=16.49 GB 1250s == 1250s 1250s Device File: "FileChgr1-Dev2" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) is not open. 1250s Drive 0 is not loaded. 1250s Available Space=16.49 GB 1250s == 1250s 1250s Device File: "FileChgr2-Dev1" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) is not open. 1250s Drive 0 is not loaded. 1250s Available Space=16.49 GB 1250s == 1250s 1250s Device File: "FileChgr2-Dev2" (/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-sd/filechgr) is not open. 1250s Drive 0 is not loaded. 1250s Available Space=16.49 GB 1250s == 1250s ==== 1250s 1250s Used Volume status: 1250s ==== 1250s 1250s Attr spooling: 0 active jobs, 120,391 bytes; 1 total jobs, 120,391 max bytes. 1250s ==== 1250s 1250s Connecting to Client autopkgtest-fd at localhost:9102 1250s 1250s autopkgtest-fd Version: 13.0.4 (12 February 2024) aarch64-unknown-linux-gnu ubuntu 25.04 1250s Daemon started 02-May-25 07:19. Jobs: run=2 running=0. 1250s Heap: heap=532,480 smbytes=240,101 max_bytes=1,123,364 bufs=102 max_bufs=150 1250s Sizes: boffset_t=8 size_t=8 debug=0 trace=0 mode=0,0 bwlimit=0kB/s 1250s Crypto: fips=N/A crypto=OpenSSL 3.4.0 22 Oct 2024 1250s Plugin: bpipe-fd.so(2) 1250s 1250s Running Jobs: 1250s Director connected using TLS at: 02-May-25 07:19 1250s No Jobs running. 1250s ==== 1250s 1250s Terminated Jobs: 1250s JobId Level Files Bytes Status Finished Name 1250s =================================================================== 1250s 1 Full 578 38.28 M OK 02-May-25 07:19 BackupClient1 1250s 2 Rest 578 38.28 M OK 02-May-25 07:19 RestoreFiles 1250s ==== 1250s You have messages. 1250s + grep 'bacula restore test' /tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-restores//usr/sbin/bacula-backup.test 1250s bacula restore test 1250s + echo 1250s 1250s + echo '------ compare original and restore ------' 1250s ------ compare original and restore ------ 1250s + debian/tests/scripts/diff.pl -s /usr/sbin -d /tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/bacula-restores/usr/sbin --acl --attr 1255s + echo 1255s 1255s + echo '------ backup-test end ------' 1255s ------ backup-test end ------ 1255s autopkgtest [07:19:33]: test backup-test-sqlite3: -----------------------] 1256s autopkgtest [07:19:34]: test backup-test-sqlite3: - - - - - - - - - - results - - - - - - - - - - 1256s backup-test-sqlite3 PASS 1256s autopkgtest [07:19:34]: test program-test-sqlite3: preparing testbed 1424s autopkgtest [07:22:22]: testbed dpkg architecture: arm64 1424s autopkgtest [07:22:22]: testbed apt version: 3.0.0 1425s autopkgtest [07:22:23]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1425s autopkgtest [07:22:23]: testbed release detected to be: questing 1426s autopkgtest [07:22:24]: updating testbed package index (apt update) 1426s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB] 1426s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 1426s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 1426s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 1427s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [57.4 kB] 1427s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [184 kB] 1427s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [2202 kB] 1427s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 Packages [227 kB] 1427s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/universe arm64 Packages [1472 kB] 1427s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/multiverse arm64 Packages [16.5 kB] 1427s Fetched 4269 kB in 1s (3074 kB/s) 1429s Reading package lists... 1429s autopkgtest [07:22:27]: upgrading testbed (apt dist-upgrade and autopurge) 1429s Reading package lists... 1430s Building dependency tree... 1430s Reading state information... 1430s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 1430s Starting 2 pkgProblemResolver with broken count: 0 1430s Done 1431s Entering ResolveByKeep 1431s 1432s Calculating upgrade... 1432s The following packages will be upgraded: 1432s ucf 1432s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1432s Need to get 43.6 kB of archives. 1432s After this operation, 1024 B of additional disk space will be used. 1432s Get:1 http://ftpmaster.internal/ubuntu questing-proposed/main arm64 ucf all 3.0051 [43.6 kB] 1433s Preconfiguring packages ... 1433s Fetched 43.6 kB in 0s (143 kB/s) 1433s (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 ... 117820 files and directories currently installed.) 1433s Preparing to unpack .../archives/ucf_3.0051_all.deb ... 1433s Unpacking ucf (3.0051) over (3.0050) ... 1433s Setting up ucf (3.0051) ... 1433s Processing triggers for man-db (2.13.0-1) ... 1435s Reading package lists... 1435s Building dependency tree... 1435s Reading state information... 1436s Starting pkgProblemResolver with broken count: 0 1436s Starting 2 pkgProblemResolver with broken count: 0 1436s Done 1437s Solving dependencies... 1437s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1440s Reading package lists... 1441s Building dependency tree... 1441s Reading state information... 1441s Starting pkgProblemResolver with broken count: 0 1441s Starting 2 pkgProblemResolver with broken count: 0 1441s Done 1442s The following NEW packages will be installed: 1442s bacula bacula-bscan bacula-client bacula-common bacula-common-sqlite3 1442s bacula-console bacula-director bacula-director-sqlite3 bacula-fd bacula-sd 1442s bacula-server bsd-mailx dbconfig-common dbconfig-pgsql dbconfig-sqlite3 1442s liblockfile-bin liblockfile1 libpq5 mtx postfix postgresql-client 1442s postgresql-client-17 postgresql-client-common sqlite3 1442s 0 upgraded, 24 newly installed, 0 to remove and 0 not upgraded. 1442s Need to get 5322 kB of archives. 1442s After this operation, 20.6 MB of additional disk space will be used. 1442s Get:1 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-common arm64 13.0.4-4build1 [827 kB] 1443s Get:2 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-common-sqlite3 arm64 13.0.4-4build1 [10.6 kB] 1443s Get:3 http://ftpmaster.internal/ubuntu questing/universe arm64 dbconfig-common all 2.0.24 [596 kB] 1443s Get:4 http://ftpmaster.internal/ubuntu questing/main arm64 sqlite3 arm64 3.46.1-3 [145 kB] 1443s Get:5 http://ftpmaster.internal/ubuntu questing/universe arm64 dbconfig-sqlite3 all 2.0.24 [892 B] 1443s Get:6 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-director-sqlite3 all 13.0.4-4build1 [31.6 kB] 1443s Get:7 http://ftpmaster.internal/ubuntu questing/main arm64 postfix arm64 3.9.1-10ubuntu1 [1286 kB] 1443s Get:8 http://ftpmaster.internal/ubuntu questing/main arm64 liblockfile-bin arm64 1.17-2 [11.0 kB] 1443s Get:9 http://ftpmaster.internal/ubuntu questing/main arm64 liblockfile1 arm64 1.17-2 [6982 B] 1443s Get:10 http://ftpmaster.internal/ubuntu questing/main arm64 bsd-mailx arm64 8.1.2-0.20220412cvs-1build1 [66.2 kB] 1443s Get:11 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-director arm64 13.0.4-4build1 [365 kB] 1444s Get:12 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-fd arm64 13.0.4-4build1 [140 kB] 1444s Get:13 http://ftpmaster.internal/ubuntu questing/main arm64 mtx arm64 1.3.12-18 [42.9 kB] 1444s Get:14 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-sd arm64 13.0.4-4build1 [147 kB] 1444s Get:15 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-console arm64 13.0.4-4build1 [27.8 kB] 1444s Get:16 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-client all 13.0.4-4build1 [23.5 kB] 1444s Get:17 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-bscan arm64 13.0.4-4build1 [24.6 kB] 1444s Get:18 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula-server all 13.0.4-4build1 [23.4 kB] 1444s Get:19 http://ftpmaster.internal/ubuntu questing/universe arm64 bacula all 13.0.4-4build1 [1036 B] 1444s Get:20 http://ftpmaster.internal/ubuntu questing/main arm64 libpq5 arm64 17.4-1 [142 kB] 1444s Get:21 http://ftpmaster.internal/ubuntu questing/main arm64 postgresql-client-common all 274 [47.6 kB] 1444s Get:22 http://ftpmaster.internal/ubuntu questing/main arm64 postgresql-client-17 arm64 17.4-1 [1342 kB] 1444s Get:23 http://ftpmaster.internal/ubuntu questing/main arm64 postgresql-client all 17+274 [13.3 kB] 1444s Get:24 http://ftpmaster.internal/ubuntu questing/universe arm64 dbconfig-pgsql all 2.0.24 [914 B] 1444s Preconfiguring packages ... 1444s Fetched 5322 kB in 2s (3365 kB/s) 1444s Selecting previously unselected package bacula-common. 1445s (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 ... 117820 files and directories currently installed.) 1445s Preparing to unpack .../00-bacula-common_13.0.4-4build1_arm64.deb ... 1445s Adding user 'bacula'... Ok. 1445s Unpacking bacula-common (13.0.4-4build1) ... 1445s Selecting previously unselected package bacula-common-sqlite3. 1445s Preparing to unpack .../01-bacula-common-sqlite3_13.0.4-4build1_arm64.deb ... 1445s Unpacking bacula-common-sqlite3 (13.0.4-4build1) ... 1445s Selecting previously unselected package dbconfig-common. 1445s Preparing to unpack .../02-dbconfig-common_2.0.24_all.deb ... 1445s Unpacking dbconfig-common (2.0.24) ... 1445s Selecting previously unselected package sqlite3. 1445s Preparing to unpack .../03-sqlite3_3.46.1-3_arm64.deb ... 1445s Unpacking sqlite3 (3.46.1-3) ... 1445s Selecting previously unselected package dbconfig-sqlite3. 1445s Preparing to unpack .../04-dbconfig-sqlite3_2.0.24_all.deb ... 1445s Unpacking dbconfig-sqlite3 (2.0.24) ... 1445s Selecting previously unselected package bacula-director-sqlite3. 1445s Preparing to unpack .../05-bacula-director-sqlite3_13.0.4-4build1_all.deb ... 1445s Unpacking bacula-director-sqlite3 (13.0.4-4build1) ... 1445s Selecting previously unselected package postfix. 1445s Preparing to unpack .../06-postfix_3.9.1-10ubuntu1_arm64.deb ... 1445s Unpacking postfix (3.9.1-10ubuntu1) ... 1445s Selecting previously unselected package liblockfile-bin. 1445s Preparing to unpack .../07-liblockfile-bin_1.17-2_arm64.deb ... 1445s Unpacking liblockfile-bin (1.17-2) ... 1445s Selecting previously unselected package liblockfile1:arm64. 1445s Preparing to unpack .../08-liblockfile1_1.17-2_arm64.deb ... 1445s Unpacking liblockfile1:arm64 (1.17-2) ... 1445s Selecting previously unselected package bsd-mailx. 1445s Preparing to unpack .../09-bsd-mailx_8.1.2-0.20220412cvs-1build1_arm64.deb ... 1445s Unpacking bsd-mailx (8.1.2-0.20220412cvs-1build1) ... 1445s Selecting previously unselected package bacula-director. 1445s Preparing to unpack .../10-bacula-director_13.0.4-4build1_arm64.deb ... 1445s Unpacking bacula-director (13.0.4-4build1) ... 1445s Selecting previously unselected package bacula-fd. 1445s Preparing to unpack .../11-bacula-fd_13.0.4-4build1_arm64.deb ... 1445s Unpacking bacula-fd (13.0.4-4build1) ... 1446s Selecting previously unselected package mtx. 1446s Preparing to unpack .../12-mtx_1.3.12-18_arm64.deb ... 1446s Unpacking mtx (1.3.12-18) ... 1446s Selecting previously unselected package bacula-sd. 1446s Preparing to unpack .../13-bacula-sd_13.0.4-4build1_arm64.deb ... 1446s Unpacking bacula-sd (13.0.4-4build1) ... 1446s Selecting previously unselected package bacula-console. 1446s Preparing to unpack .../14-bacula-console_13.0.4-4build1_arm64.deb ... 1446s Unpacking bacula-console (13.0.4-4build1) ... 1446s Selecting previously unselected package bacula-client. 1446s Preparing to unpack .../15-bacula-client_13.0.4-4build1_all.deb ... 1446s Unpacking bacula-client (13.0.4-4build1) ... 1446s Selecting previously unselected package bacula-bscan. 1446s Preparing to unpack .../16-bacula-bscan_13.0.4-4build1_arm64.deb ... 1446s Unpacking bacula-bscan (13.0.4-4build1) ... 1446s Selecting previously unselected package bacula-server. 1446s Preparing to unpack .../17-bacula-server_13.0.4-4build1_all.deb ... 1446s Unpacking bacula-server (13.0.4-4build1) ... 1446s Selecting previously unselected package bacula. 1446s Preparing to unpack .../18-bacula_13.0.4-4build1_all.deb ... 1446s Unpacking bacula (13.0.4-4build1) ... 1446s Selecting previously unselected package libpq5:arm64. 1446s Preparing to unpack .../19-libpq5_17.4-1_arm64.deb ... 1446s Unpacking libpq5:arm64 (17.4-1) ... 1446s Selecting previously unselected package postgresql-client-common. 1446s Preparing to unpack .../20-postgresql-client-common_274_all.deb ... 1446s Unpacking postgresql-client-common (274) ... 1446s Selecting previously unselected package postgresql-client-17. 1446s Preparing to unpack .../21-postgresql-client-17_17.4-1_arm64.deb ... 1446s Unpacking postgresql-client-17 (17.4-1) ... 1446s Selecting previously unselected package postgresql-client. 1446s Preparing to unpack .../22-postgresql-client_17+274_all.deb ... 1446s Unpacking postgresql-client (17+274) ... 1446s Selecting previously unselected package dbconfig-pgsql. 1446s Preparing to unpack .../23-dbconfig-pgsql_2.0.24_all.deb ... 1446s Unpacking dbconfig-pgsql (2.0.24) ... 1446s Setting up postgresql-client-common (274) ... 1446s Setting up liblockfile-bin (1.17-2) ... 1446s Setting up libpq5:arm64 (17.4-1) ... 1446s Setting up mtx (1.3.12-18) ... 1446s Setting up dbconfig-common (2.0.24) ... 1446s Creating config file /etc/dbconfig-common/config with new version 1447s Setting up bacula-common (13.0.4-4build1) ... 1447s Setting up bacula-sd (13.0.4-4build1) ... 1447s Creating config file /etc/default/bacula-sd with new version 1447s Creating config file /etc/bacula/bacula-sd.conf with new version 1448s Created symlink '/etc/systemd/system/multi-user.target.wants/bacula-sd.service' → '/usr/lib/systemd/system/bacula-sd.service'. 1448s Setting up bacula-console (13.0.4-4build1) ... 1448s Creating config file /etc/bacula/bconsole.conf with new version 1448s Setting up postfix (3.9.1-10ubuntu1) ... 1449s Created symlink '/etc/systemd/system/multi-user.target.wants/postfix.service' → '/usr/lib/systemd/system/postfix.service'. 1449s info: Selecting UID from range 100 to 999 ... 1449s 1449s info: Selecting GID from range 100 to 999 ... 1449s info: Adding system user `postfix' (UID 108) ... 1449s info: Adding new group `postfix' (GID 111) ... 1449s info: Adding new user `postfix' (UID 108) with group `postfix' ... 1449s info: Not creating home directory `/var/spool/postfix'. 1449s info: Selecting GID from range 100 to 999 ... 1449s info: Adding group `postdrop' (GID 112) ... 1449s Creating /etc/postfix/dynamicmaps.cf 1449s setting myhostname: autopkgtest.local 1449s setting alias maps 1449s setting alias database 1449s changing /etc/mailname to autopkgtest.local 1449s setting myorigin 1449s setting destinations: $myhostname, autopkgtest.local, localhost.local, , localhost 1449s setting relayhost: 1449s setting mynetworks: 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 1449s clearing mailbox_command 1449s setting mailbox_size_limit: 0 1449s setting recipient_delimiter: + 1451s setting inet_interfaces: all 1453s setting inet_protocols: all 1453s /etc/aliases does not exist, creating it. 1453s WARNING: /etc/aliases exists, but does not have a root alias. 1453s 1453s Postfix (main.cf) is now set up with a default configuration. If you need to 1453s make changes, edit /etc/postfix/main.cf (and others) as needed. To view 1453s Postfix configuration values, see postconf(1). 1453s 1453s After modifying main.cf, be sure to run 'systemctl reload postfix'. 1453s 1455s Setting up bacula-common-sqlite3 (13.0.4-4build1) ... 1455s Setting up liblockfile1:arm64 (1.17-2) ... 1455s Setting up bacula-bscan (13.0.4-4build1) ... 1455s Setting up sqlite3 (3.46.1-3) ... 1455s Setting up bacula-fd (13.0.4-4build1) ... 1455s Creating config file /etc/default/bacula-fd with new version 1455s Creating config file /etc/bacula/bacula-fd.conf with new version 1456s Created symlink '/etc/systemd/system/multi-user.target.wants/bacula-fd.service' → '/usr/lib/systemd/system/bacula-fd.service'. 1456s Setting up bacula-client (13.0.4-4build1) ... 1456s Setting up postgresql-client-17 (17.4-1) ... 1457s 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 1457s Setting up dbconfig-pgsql (2.0.24) ... 1457s Setting up bsd-mailx (8.1.2-0.20220412cvs-1build1) ... 1457s update-alternatives: using /usr/bin/bsd-mailx to provide /usr/bin/mailx (mailx) in auto mode 1457s Setting up dbconfig-sqlite3 (2.0.24) ... 1457s Setting up postgresql-client (17+274) ... 1457s Setting up bacula-director-sqlite3 (13.0.4-4build1) ... 1457s dbconfig-common: writing config to /etc/dbconfig-common/bacula-director-sqlite3.conf 1457s Creating config file /etc/dbconfig-common/bacula-director-sqlite3.conf with new version 1457s creating database bacula.db: success. 1457s verifying database bacula.db exists: success. 1457s populating database via sql... done. 1457s Setting up bacula-director (13.0.4-4build1) ... 1458s Creating config file /etc/default/bacula-dir with new version 1458s Creating config file /etc/bacula/bacula-dir.conf with new version 1458s Creating config file /etc/bacula/scripts/delete_catalog_backup with new version 1459s Creating config file /etc/bacula/scripts/make_catalog_backup with new version 1459s Created symlink '/etc/systemd/system/bacula-dir.service' → '/usr/lib/systemd/system/bacula-director.service'. 1459s Created symlink '/etc/systemd/system/multi-user.target.wants/bacula-director.service' → '/usr/lib/systemd/system/bacula-director.service'. 1459s Setting up bacula-server (13.0.4-4build1) ... 1459s Setting up bacula (13.0.4-4build1) ... 1459s Processing triggers for rsyslog (8.2412.0-2ubuntu2) ... 1460s Processing triggers for ufw (0.36.2-9) ... 1460s Processing triggers for man-db (2.13.0-1) ... 1461s Processing triggers for libc-bin (2.41-6ubuntu1) ... 1461s Processing triggers for postfix (3.9.1-10ubuntu1) ... 1461s Restarting postfix 1466s autopkgtest [07:23:04]: test program-test-sqlite3: [----------------------- 1466s + echo '----- start testing -----' 1466s ----- start testing ----- 1466s + echo 'USER: root' 1466s USER: root 1466s + DBTYPE=sqlite3 1466s + echo '---- Preparing test files ----' 1466s ---- Preparing test files ---- 1466s + DATAFILE=/tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/datafile 1466s + cat 1466s + echo 1466s 1466s + echo '---- Testing /usr/sbin/bregex ----' 1466s ---- Testing /usr/sbin/bregex ---- 1466s + echo -en 'line . of the message\r' 1466s + /usr/sbin/bregex -f /tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/datafile 1466s Enter regex pattern: 2: This is line 1 of the message. 1466s 3: This is line 2 of the message. 1466s 4: This is line 3 of the message. 1466s 5: This is line 4 of the message. 1466s Enter regex pattern: + echo 1466s 1466s + echo '---- Testing /usr/sbin/bwild ----' 1466s ---- Testing /usr/sbin/bwild ---- 1466s + echo -en '*line ? of the message.\r' 1466s + /usr/sbin/bwild -f /tmp/autopkgtest.pZ5ZR3/autopkgtest_tmp/datafile 1466s Enter a wild-card: 2: This is line 1 of the message. 1466s 3: This is line 2 of the message. 1466s 4: This is line 3 of the message. 1466s 5: This is line 4 of the message. 1466s Enter a wild-card: + echo 1466s 1466s + echo '---- Testing /usr/sbin/bbconsjson ----' 1466s ---- Testing /usr/sbin/bbconsjson ---- 1466s + /usr/sbin/bbconsjson 1466s [ 1466s { 1466s "Director": { 1466s "Name": "autopkgtest-dir", 1466s "DirPort": 9101, 1466s "Address": "localhost", 1466s "Password": "HHnibz8KMS-KKwKAQoUqb2HoanHM8F-MT" 1466s } 1466s } 1466s ] 1466s + echo 1466s 1466s + echo '---- Testing /usr/sbin/bdirjson ----' 1466s ---- Testing /usr/sbin/bdirjson ---- 1466s + /usr/sbin/bdirjson 1466s [ 1466s { 1466s "Director": { 1466s "Name": "autopkgtest-dir", 1466s "Messages": "Daemon", 1466s "DirAddress": "127.0.0.1", 1466s "QueryFile": "/etc/bacula/scripts/query.sql", 1466s "WorkingDirectory": "/var/lib/bacula", 1466s "PidDirectory": "/run/bacula", 1466s "MaximumConcurrentJobs": 20, 1466s "Password": "HHnibz8KMS-KKwKAQoUqb2HoanHM8F-MT" 1466s } 1466s }, 1466s { 1466s "Client": { 1466s "Name": "autopkgtest-fd", 1466s "Address": "localhost", 1466s "FdPort": 9102, 1466s "Password": "h0pVALJihy5A-ve8bZzBeIVbJhVD61Kdd", 1466s "Catalog": "MyCatalog", 1466s "FileRetention": 5184000, 1466s "JobRetention": 15552000, 1466s "AutoPrune": true 1466s } 1466s }, 1466s { 1466s "Job": { 1466s "Name": "BackupCatalog", 1466s "Type": "Backup", 1466s "Level": "Full", 1466s "Messages": "Standard", 1466s "Storage": ["File1"], 1466s "Pool": "File", 1466s "Client": "autopkgtest-fd", 1466s "Fileset": "Catalog", 1466s "Schedule": "WeeklyCycleAfterBackup", 1466s "JobDefs": "DefaultJob", 1466s "WriteBootstrap": "/var/lib/bacula/%n.bsr", 1466s "SpoolAttributes": true, 1466s "Runscript": [ 1466s { 1466s "RunsWhen": "Before", 1466s "RunsOnClient": false, 1466s "Command": "/etc/bacula/scripts/make_catalog_backup.pl MyCatalog" 1466s }, 1466s { 1466s "RunsWhen": "After", 1466s "RunsOnClient": false, 1466s "Command": "/etc/bacula/scripts/delete_catalog_backup" 1466s } 1466s ] 1466s , 1466s "Priority": 11 1466s } 1466s }, 1466s { 1466s "Job": { 1466s "Name": "BackupClient1", 1466s "Type": "Backup", 1466s "Level": "Incremental", 1466s "Messages": "Standard", 1466s "Storage": ["File1"], 1466s "Pool": "File", 1466s "Client": "autopkgtest-fd", 1466s "Fileset": "Full Set", 1466s "Schedule": "WeeklyCycle", 1466s "JobDefs": "DefaultJob", 1466s "WriteBootstrap": "/var/lib/bacula/%c.bsr", 1466s "SpoolAttributes": true, 1466s "Priority": 10 1466s } 1466s }, 1466s { 1466s "Job": { 1466s "Name": "RestoreFiles", 1466s "Type": "Restore", 1466s "Messages": "Standard", 1466s "Storage": ["File1"], 1466s "Pool": "File", 1466s "Client": "autopkgtest-fd", 1466s "Fileset": "Full Set", 1466s "Where": "/nonexistent/path/to/file/archive/dir/bacula-restores" 1466s } 1466s }, 1466s { 1466s "Storage": { 1466s "Name": "File1", 1466s "SdPort": 9103, 1466s "Address": "localhost", 1466s "Password": "3muadjgmQjon3d_IKqqTH-2pB-TnBxSQt", 1466s "Device": ["FileChgr1"], 1466s "MediaType": "File1", 1466s "Autochanger": "File1", 1466s "MaximumConcurrentJobs": 10 1466s } 1466s }, 1466s { 1466s "Storage": { 1466s "Name": "File2", 1466s "SdPort": 9103, 1466s "Address": "localhost", 1466s "Password": "3muadjgmQjon3d_IKqqTH-2pB-TnBxSQt", 1466s "Device": ["FileChgr2"], 1466s "MediaType": "File2", 1466s "Autochanger": "File2", 1466s "MaximumConcurrentJobs": 10 1466s } 1466s }, 1466s { 1466s "Catalog": { 1466s "Name": "MyCatalog", 1466s "Password": "", 1466s "User": "", 1466s "DbName": "bacula" 1466s } 1466s }, 1466s { 1466s "Schedule": { 1466s "Name": "WeeklyCycle", 1466s "Run": [ 1466s { 1466s "Level": "Full", 1466s "Level": "Full", 1466s "Level": "Full", 1466s "Hour": [23], 1466s "Minute": 5, 1466s "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], 1466s "Month": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], 1466s "DayOfWeek": [0], 1466s "WeekOfMonth": [0], 1466s "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] 1466s }, 1466s { 1466s "Level": "Differential", 1466s "Level": "Differential", 1466s "Level": "Differential", 1466s "Hour": [23], 1466s "Minute": 5, 1466s "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], 1466s "Month": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], 1466s "DayOfWeek": [0], 1466s "WeekOfMonth": [1, 2, 3, 4], 1466s "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] 1466s }, 1466s { 1466s "Level": "Incremental", 1466s "Level": "Incremental", 1466s "Level": "Incremental", 1466s "Hour": [23], 1466s "Minute": 5, 1466s "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], 1466s "Month": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], 1466s "DayOfWeek": [1, 2, 3, 4, 5, 6], 1466s "WeekOfMonth": [0, 1, 2, 3, 4, 5], 1466s "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] 1466s } 1466s ] 1466s } 1466s }, 1466s { 1466s "Schedule": { 1466s "Name": "WeeklyCycleAfterBackup", 1466s "Run": [ 1466s { 1466s "Level": "Full", 1466s "Level": "Full", 1466s "Level": "Full", 1466s "Hour": [23], 1466s "Minute": 10, 1466s "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], 1466s "Month": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], 1466s "DayOfWeek": [0, 1, 2, 3, 4, 5, 6], 1466s "WeekOfMonth": [0, 1, 2, 3, 4, 5], 1466s "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] 1466s } 1466s ] 1466s } 1466s }, 1466s { 1466s "Fileset": { 1466s "Name": "Catalog", 1466s "Include": [{ 1466s "File": ["/var/lib/bacula/bacula.sql"], 1466s "Options": [ 1466s { 1466s "Signature": "Md5" 1466s } 1466s ] 1466s }] 1466s } 1466s }, 1466s { 1466s "Fileset": { 1466s "Name": "Full Set", 1466s "Include": [{ 1466s "File": ["/usr/sbin"], 1466s "Options": [ 1466s { 1466s "Signature": "Md5" 1466s } 1466s ] 1466s }], 1466s "Exclude": { 1466s "File": ["/var/lib/bacula", "/nonexistent/path/to/file/archive/dir", "/proc", "/tmp", "/sys", "/.journal", "/.fsck"] 1466s } 1466s } 1466s }, 1466s { 1466s "Pool": { 1466s "Name": "Default", 1466s "PoolType": "Backup", 1466s "MaximumVolumes": 100, 1466s "MaximumVolumeBytes": 53687091200, 1466s "VolumeRetention": 31536000, 1466s "AutoPrune": true, 1466s "Recycle": true 1466s } 1466s }, 1466s { 1466s "Pool": { 1466s "Name": "File", 1466s "PoolType": "Backup", 1466s "LabelFormat": "Vol-", 1466s "MaximumVolumes": 100, 1466s "MaximumVolumeBytes": 53687091200, 1466s "VolumeRetention": 31536000, 1466s "AutoPrune": true, 1466s "Recycle": true 1466s } 1466s }, 1466s { 1466s "Pool": { 1466s "Name": "Scratch", 1466s "PoolType": "Backup" 1466s } 1466s }, 1466s { 1466s "Messages": { 1466s "Name": "Daemon", 1466s "MailCommand": "/usr/sbin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s \"Bacula daemon message\" %r", 1466s "Destinations": [ 1466s { 1466s "Type": "Mail", 1466s "MsgTypes": ["All","!Skipped"], 1466s "Where": ["root"], 1466s "Command": "/usr/sbin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s \"Bacula daemon message\" %r" 1466s }, 1466s { 1466s "Type": "Append", 1466s "MsgTypes": ["All","!Skipped"], 1466s "Where": ["/var/log/bacula/bacula.log"] 1466s }, 1466s { 1466s "Type": "Console", 1466s "MsgTypes": ["All","!Skipped"] 1466s } 1466s ] 1466s } 1466s }, 1466s { 1466s "Messages": { 1466s "Name": "Standard", 1466s "MailCommand": "/usr/sbin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s \"Bacula: %t %e of %c %l\" %r", 1466s "OperatorCommand": "/usr/sbin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s \"Bacula: Intervention needed for %j\" %r", 1466s "Destinations": [ 1466s { 1466s "Type": "Mail", 1466s "MsgTypes": ["All","!Skipped"], 1466s "Where": ["root"], 1466s "Command": "/usr/sbin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s \"Bacula: %t %e of %c %l\" %r" 1466s }, 1466s { 1466s "Type": "Append", 1466s "MsgTypes": ["All","!Skipped"], 1466s "Where": ["/var/log/bacula/bacula.log"] 1466s }, 1466s { 1466s "Type": "Console", 1466s "MsgTypes": ["All","!Skipped"] 1466s }, 1466s { 1466s "Type": "Operator", 1466s "MsgTypes": ["Mount"], 1466s "Where": ["root"], 1466s "Command": "/usr/sbin/bsmtp -h localhost -f \"(Bacula) <%r>\" -s \"Bacula: Intervention needed for %j\" %r" 1466s }, 1466s { 1466s "Type": "Catalog", 1466s "MsgTypes": ["All"] 1466s } 1466s ] 1466s } 1466s }, 1466s { 1466s "Console": { 1466s "Name": "autopkgtest-mon", 1466s "Password": "YOt5WCV39IMDV6RIt6ZqIGdzc3dlBYB2I", 1466s "CommandAcl": ["status", ".status"] 1466s } 1466s }, 1466s { 1466s "JobDefs": { 1466s "Name": "DefaultJob", 1466s "Type": "Backup", 1466s "Level": "Incremental", 1466s "Messages": "Standard", 1466s "Storage": ["File1"], 1466s "Pool": "File", 1466s "Client": "autopkgtest-fd", 1466s "Fileset": "Full Set", 1466s "Schedule": "WeeklyCycle", 1466s "WriteBootstrap": "/var/lib/bacula/%c.bsr", 1466s "SpoolAttributes": true, 1466s "Priority": 10 1466s } 1466s } 1466s ] 1466s + echo 1466s 1466s + echo '---- Testing /usr/sbin/bfdjson ----' 1466s ---- Testing /usr/sbin/bfdjson ---- 1466s + /usr/sbin/bfdjson 1466s [{ 1466s "Director": { 1466s "Name": "autopkgtest-dir", 1466s "Password": "h0pVALJihy5A-ve8bZzBeIVbJhVD61Kdd" 1466s } 1466s }, 1466s { 1466s "Director": { 1466s "Name": "autopkgtest-mon", 1466s "Password": "_pV7plqDUvr8-SeZ1xtHQlhW1UvLEK6s9", 1466s "Monitor": true 1466s } 1466s }, 1466s { 1466s "FileDaemon": { 1466s "Name": "autopkgtest-fd", 1466s "FdAddress": "127.0.0.1", 1466s "WorkingDirectory": "/var/lib/bacula", 1466s "PidDirectory": "/run/bacula", 1466s "PluginDirectory": "/usr/lib/bacula", 1466s "MaximumConcurrentJobs": 20 1466s } 1466s }, 1466s { 1466s "Messages": { 1466s "Name": "Standard", 1466s "Destinations": [ 1466s { 1466s "Type": "Director", 1466s "MsgTypes": ["All","!Skipped","!Restored","!Verified"], 1466s "Where": ["autopkgtest-dir"] 1466s } 1466s ] 1466s } 1466s } 1466s ] 1466s + echo 1466s 1466s + echo '---- Testing /usr/sbin/bsdjson ----' 1466s ---- Testing /usr/sbin/bsdjson ---- 1466s + /usr/sbin/bsdjson 1466s [ 1466s { 1466s "Director": { 1466s "Name": "autopkgtest-dir", 1466s "Password": "3muadjgmQjon3d_IKqqTH-2pB-TnBxSQt" 1466s } 1466s }, 1466s { 1466s "Director": { 1466s "Name": "autopkgtest-mon", 1466s "Password": "HSTfMtCtihv9A8UbGLp7a1ULF9m23hFYc", 1466s "Monitor": true 1466s } 1466s }, 1466s { 1466s "Storage": { 1466s "Name": "autopkgtest-sd", 1466s "SdAddress": "127.0.0.1", 1466s "WorkingDirectory": "/var/lib/bacula", 1466s "PidDirectory": "/run/bacula", 1466s "PluginDirectory": "/usr/lib/bacula", 1466s "MaximumConcurrentJobs": 20 1466s } 1466s }, 1466s { 1466s "Device": { 1466s "Name": "FileChgr1-Dev1", 1466s "MediaType": "File1", 1466s "ArchiveDevice": "/nonexistent/path/to/file/archive/dir", 1466s "RemovableMedia": false, 1466s "RandomAccess": true, 1466s "AutomaticMount": true, 1466s "LabelMedia": true, 1466s "AlwaysOpen": false, 1466s "MaximumConcurrentJobs": 5 1466s } 1466s }, 1466s { 1466s "Device": { 1466s "Name": "FileChgr1-Dev2", 1466s "MediaType": "File1", 1466s "ArchiveDevice": "/nonexistent/path/to/file/archive/dir", 1466s "RemovableMedia": false, 1466s "RandomAccess": true, 1466s "AutomaticMount": true, 1466s "LabelMedia": true, 1466s "AlwaysOpen": false, 1466s "MaximumConcurrentJobs": 5 1466s } 1466s }, 1466s { 1466s "Device": { 1466s "Name": "FileChgr2-Dev1", 1466s "MediaType": "File2", 1466s "ArchiveDevice": "/nonexistent/path/to/file/archive/dir", 1466s "RemovableMedia": false, 1466s "RandomAccess": true, 1466s "AutomaticMount": true, 1466s "LabelMedia": true, 1466s "AlwaysOpen": false, 1466s "MaximumConcurrentJobs": 5 1466s } 1466s }, 1466s { 1466s "Device": { 1466s "Name": "FileChgr2-Dev2", 1466s "MediaType": "File2", 1466s "ArchiveDevice": "/nonexistent/path/to/file/archive/dir", 1466s "RemovableMedia": false, 1466s "RandomAccess": true, 1466s "AutomaticMount": true, 1466s "LabelMedia": true, 1466s "AlwaysOpen": false, 1466s "MaximumConcurrentJobs": 5 1466s } 1466s }, 1466s { 1466s "Messages": { 1466s "Name": "Standard", 1466s "Destinations": [ 1466s { 1466s "Type": "Director", 1466s "MsgTypes": ["All"], 1466s "Where": ["autopkgtest-dir"] 1466s } 1466s ] 1466s } 1466s }, 1466s { 1466s "Autochanger": { 1466s "Name": "FileChgr1", 1466s "Device": ["FileChgr1-Dev1", "FileChgr1-Dev2"], 1466s "ChangerDevice": "/dev/null", 1466s "ChangerCommand": "" 1466s } 1466s }, 1466s { 1466s "Autochanger": { 1466s "Name": "FileChgr2", 1466s "Device": ["FileChgr2-Dev1", "FileChgr2-Dev2"], 1466s "ChangerDevice": "/dev/null", 1466s "ChangerCommand": "" 1466s } 1466s } 1466s ] 1467s autopkgtest [07:23:05]: test program-test-sqlite3: -----------------------] 1467s autopkgtest [07:23:05]: test program-test-sqlite3: - - - - - - - - - - results - - - - - - - - - - 1467s program-test-sqlite3 PASS 1467s autopkgtest [07:23:05]: @@@@@@@@@@@@@@@@@@@@ summary 1467s backup-test-pgsql PASS 1467s program-test-pgsql PASS 1467s backup-test-mysql PASS 1467s program-test-mysql PASS 1467s backup-test-sqlite3 PASS 1467s program-test-sqlite3 PASS 1510s nova [W] Using flock in prodstack6-arm64 1510s Creating nova instance adt-questing-arm64-bacula-20250502-063023-juju-7f2275-prod-proposed-migration-environment-2-ca9b1355-1c3b-4a88-970b-e0653aeeb244 from image adt/ubuntu-questing-arm64-server-20250502.img (UUID a0b7b7fd-ad05-4ea9-97eb-0f52dbbe98e1)... 1510s nova [W] Timed out waiting for e7e84b66-eba5-4650-9d82-90f92cf78b05 to get deleted. 1510s nova [W] Using flock in prodstack6-arm64 1510s flock: timeout while waiting to get lock 1510s Creating nova instance adt-questing-arm64-bacula-20250502-063023-juju-7f2275-prod-proposed-migration-environment-2-ca9b1355-1c3b-4a88-970b-e0653aeeb244 from image adt/ubuntu-questing-arm64-server-20250502.img (UUID a0b7b7fd-ad05-4ea9-97eb-0f52dbbe98e1)... 1510s nova [W] Timed out waiting for b065727d-63c0-4528-ac84-83a8bf6d8a99 to get deleted. 1510s nova [W] Using flock in prodstack6-arm64 1510s Creating nova instance adt-questing-arm64-bacula-20250502-063023-juju-7f2275-prod-proposed-migration-environment-2-ca9b1355-1c3b-4a88-970b-e0653aeeb244 from image adt/ubuntu-questing-arm64-server-20250502.img (UUID a0b7b7fd-ad05-4ea9-97eb-0f52dbbe98e1)... 1510s nova [W] Timed out waiting for cee23bd7-febb-4342-988e-bfa44d1d39e5 to get deleted. 1510s nova [W] Using flock in prodstack6-arm64 1510s Creating nova instance adt-questing-arm64-bacula-20250502-063023-juju-7f2275-prod-proposed-migration-environment-2-ca9b1355-1c3b-4a88-970b-e0653aeeb244 from image adt/ubuntu-questing-arm64-server-20250502.img (UUID a0b7b7fd-ad05-4ea9-97eb-0f52dbbe98e1)... 1510s nova [W] Timed out waiting for c47ba011-70d3-4c9c-a98a-5b921a741b61 to get deleted. 1510s nova [W] Using flock in prodstack6-arm64 1510s Creating nova instance adt-questing-arm64-bacula-20250502-063023-juju-7f2275-prod-proposed-migration-environment-2-ca9b1355-1c3b-4a88-970b-e0653aeeb244 from image adt/ubuntu-questing-arm64-server-20250502.img (UUID a0b7b7fd-ad05-4ea9-97eb-0f52dbbe98e1)... 1510s nova [W] Timed out waiting for c3595461-689f-436a-bf48-8e97ca392213 to get deleted. 1510s nova [W] Using flock in prodstack6-arm64 1510s Creating nova instance adt-questing-arm64-bacula-20250502-063023-juju-7f2275-prod-proposed-migration-environment-2-ca9b1355-1c3b-4a88-970b-e0653aeeb244 from image adt/ubuntu-questing-arm64-server-20250502.img (UUID a0b7b7fd-ad05-4ea9-97eb-0f52dbbe98e1)... 1510s nova [W] Timed out waiting for f4b853b2-0ee6-43f5-9cc2-023e23a145cd to get deleted.