0s autopkgtest [00:15:09]: starting date and time: 2024-07-13 00:15:09+0000 0s autopkgtest [00:15:09]: git checkout: fd3bed09 nova: allow more retries for quota issues 0s autopkgtest [00:15:09]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.y81vhe51/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:glibc --apt-upgrade openvpn --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=glibc/2.39-3.1ubuntu3 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-ppc64el-14.secgroup --name adt-oracular-ppc64el-openvpn-20240712-224832-juju-7f2275-prod-proposed-migration-environment-2-8b187d6d-722d-41ab-9224-265d4fa4039c --image adt/ubuntu-oracular-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration-ppc64el -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 58s autopkgtest [00:16:07]: testbed dpkg architecture: ppc64el 58s autopkgtest [00:16:07]: testbed apt version: 2.9.6 58s autopkgtest [00:16:07]: @@@@@@@@@@@@@@@@@@@@ test bed setup 59s Get:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease [126 kB] 59s Get:2 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse Sources [2576 B] 59s Get:3 http://ftpmaster.internal/ubuntu oracular-proposed/main Sources [47.1 kB] 59s Get:4 http://ftpmaster.internal/ubuntu oracular-proposed/restricted Sources [8548 B] 59s Get:5 http://ftpmaster.internal/ubuntu oracular-proposed/universe Sources [343 kB] 59s Get:6 http://ftpmaster.internal/ubuntu oracular-proposed/main ppc64el Packages [88.0 kB] 59s Get:7 http://ftpmaster.internal/ubuntu oracular-proposed/main ppc64el c-n-f Metadata [2116 B] 59s Get:8 http://ftpmaster.internal/ubuntu oracular-proposed/restricted ppc64el Packages [1368 B] 59s Get:9 http://ftpmaster.internal/ubuntu oracular-proposed/restricted ppc64el c-n-f Metadata [120 B] 59s Get:10 http://ftpmaster.internal/ubuntu oracular-proposed/universe ppc64el Packages [411 kB] 59s Get:11 http://ftpmaster.internal/ubuntu oracular-proposed/universe ppc64el c-n-f Metadata [8952 B] 59s Get:12 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse ppc64el Packages [1448 B] 59s Get:13 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse ppc64el c-n-f Metadata [120 B] 61s Fetched 1040 kB in 1s (1288 kB/s) 61s Reading package lists... 64s Reading package lists... 64s Building dependency tree... 64s Reading state information... 64s Calculating upgrade... 64s The following packages will be upgraded: 64s inetutils-telnet libc-bin libc-dev-bin libc-devtools libc6 libc6-dev 64s libssl3t64 locales openssh-client openssh-server openssh-sftp-server openssl 64s telnet 64s 13 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 64s Need to get 15.5 MB of archives. 64s After this operation, 1588 kB disk space will be freed. 64s Get:1 http://ftpmaster.internal/ubuntu oracular-proposed/main ppc64el libc-devtools ppc64el 2.39-3.1ubuntu3 [29.5 kB] 65s Get:2 http://ftpmaster.internal/ubuntu oracular-proposed/main ppc64el libc6-dev ppc64el 2.39-3.1ubuntu3 [1982 kB] 65s Get:3 http://ftpmaster.internal/ubuntu oracular-proposed/main ppc64el libc-dev-bin ppc64el 2.39-3.1ubuntu3 [21.0 kB] 65s Get:4 http://ftpmaster.internal/ubuntu oracular-proposed/main ppc64el libc6 ppc64el 2.39-3.1ubuntu3 [3174 kB] 65s Get:5 http://ftpmaster.internal/ubuntu oracular-proposed/main ppc64el libc-bin ppc64el 2.39-3.1ubuntu3 [720 kB] 65s Get:6 http://ftpmaster.internal/ubuntu oracular/main ppc64el libssl3t64 ppc64el 3.2.2-1ubuntu1 [2345 kB] 65s Get:7 http://ftpmaster.internal/ubuntu oracular/main ppc64el openssh-sftp-server ppc64el 1:9.6p1-3ubuntu17 [43.6 kB] 65s Get:8 http://ftpmaster.internal/ubuntu oracular/main ppc64el openssh-server ppc64el 1:9.6p1-3ubuntu17 [624 kB] 65s Get:9 http://ftpmaster.internal/ubuntu oracular/main ppc64el openssh-client ppc64el 1:9.6p1-3ubuntu17 [1108 kB] 65s Get:10 http://ftpmaster.internal/ubuntu oracular-proposed/main ppc64el locales all 2.39-3.1ubuntu3 [4220 kB] 65s Get:11 http://ftpmaster.internal/ubuntu oracular/main ppc64el openssl ppc64el 3.2.2-1ubuntu1 [1147 kB] 65s Get:12 http://ftpmaster.internal/ubuntu oracular/main ppc64el inetutils-telnet ppc64el 2:2.5-5ubuntu1 [120 kB] 65s Get:13 http://ftpmaster.internal/ubuntu oracular/main ppc64el telnet all 0.17+2.5-5ubuntu1 [3688 B] 66s Preconfiguring packages ... 66s Fetched 15.5 MB in 1s (14.6 MB/s) 66s (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 ... 72765 files and directories currently installed.) 66s Preparing to unpack .../libc-devtools_2.39-3.1ubuntu3_ppc64el.deb ... 66s Unpacking libc-devtools (2.39-3.1ubuntu3) over (2.39-0ubuntu9) ... 66s Preparing to unpack .../libc6-dev_2.39-3.1ubuntu3_ppc64el.deb ... 66s Unpacking libc6-dev:ppc64el (2.39-3.1ubuntu3) over (2.39-0ubuntu9) ... 66s Preparing to unpack .../libc-dev-bin_2.39-3.1ubuntu3_ppc64el.deb ... 66s Unpacking libc-dev-bin (2.39-3.1ubuntu3) over (2.39-0ubuntu9) ... 66s Preparing to unpack .../libc6_2.39-3.1ubuntu3_ppc64el.deb ... 66s Unpacking libc6:ppc64el (2.39-3.1ubuntu3) over (2.39-0ubuntu9) ... 67s Setting up libc6:ppc64el (2.39-3.1ubuntu3) ... 67s Error: Could not restart systemd, systemd binary not working 67s (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 ... 72765 files and directories currently installed.) 67s Preparing to unpack .../libc-bin_2.39-3.1ubuntu3_ppc64el.deb ... 67s Unpacking libc-bin (2.39-3.1ubuntu3) over (2.39-0ubuntu9) ... 67s Setting up libc-bin (2.39-3.1ubuntu3) ... 67s (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 ... 72765 files and directories currently installed.) 67s Preparing to unpack .../libssl3t64_3.2.2-1ubuntu1_ppc64el.deb ... 67s Unpacking libssl3t64:ppc64el (3.2.2-1ubuntu1) over (3.2.1-3ubuntu1) ... 67s Setting up libssl3t64:ppc64el (3.2.2-1ubuntu1) ... 67s (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 ... 72765 files and directories currently installed.) 67s Preparing to unpack .../0-openssh-sftp-server_1%3a9.6p1-3ubuntu17_ppc64el.deb ... 67s Unpacking openssh-sftp-server (1:9.6p1-3ubuntu17) over (1:9.6p1-3ubuntu15) ... 67s Preparing to unpack .../1-openssh-server_1%3a9.6p1-3ubuntu17_ppc64el.deb ... 67s Unpacking openssh-server (1:9.6p1-3ubuntu17) over (1:9.6p1-3ubuntu15) ... 67s Preparing to unpack .../2-openssh-client_1%3a9.6p1-3ubuntu17_ppc64el.deb ... 67s Unpacking openssh-client (1:9.6p1-3ubuntu17) over (1:9.6p1-3ubuntu15) ... 67s Preparing to unpack .../3-locales_2.39-3.1ubuntu3_all.deb ... 67s Unpacking locales (2.39-3.1ubuntu3) over (2.39-0ubuntu9) ... 67s Preparing to unpack .../4-openssl_3.2.2-1ubuntu1_ppc64el.deb ... 67s Unpacking openssl (3.2.2-1ubuntu1) over (3.2.1-3ubuntu1) ... 67s Preparing to unpack .../5-inetutils-telnet_2%3a2.5-5ubuntu1_ppc64el.deb ... 67s Unpacking inetutils-telnet (2:2.5-5ubuntu1) over (2:2.5-3ubuntu4) ... 67s Preparing to unpack .../6-telnet_0.17+2.5-5ubuntu1_all.deb ... 67s Unpacking telnet (0.17+2.5-5ubuntu1) over (0.17+2.5-3ubuntu4) ... 67s Setting up openssh-client (1:9.6p1-3ubuntu17) ... 67s Setting up inetutils-telnet (2:2.5-5ubuntu1) ... 67s Setting up locales (2.39-3.1ubuntu3) ... 68s Generating locales (this might take a while)... 69s en_US.UTF-8... done 69s Generation complete. 69s Setting up libc-dev-bin (2.39-3.1ubuntu3) ... 69s Setting up openssl (3.2.2-1ubuntu1) ... 69s Installing new version of config file /etc/ssl/openssl.cnf ... 69s Setting up libc-devtools (2.39-3.1ubuntu3) ... 69s Setting up openssh-sftp-server (1:9.6p1-3ubuntu17) ... 69s Setting up telnet (0.17+2.5-5ubuntu1) ... 69s Setting up openssh-server (1:9.6p1-3ubuntu17) ... 69s Installing new version of config file /etc/pam.d/sshd ... 71s Setting up libc6-dev:ppc64el (2.39-3.1ubuntu3) ... 71s Processing triggers for ufw (0.36.2-6) ... 71s Processing triggers for systemd (256-1ubuntu1) ... 71s Processing triggers for man-db (2.12.1-2) ... 73s Processing triggers for libc-bin (2.39-3.1ubuntu3) ... 73s Reading package lists... 73s Building dependency tree... 73s Reading state information... 74s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 74s Hit:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease 74s Hit:2 http://ftpmaster.internal/ubuntu oracular InRelease 74s Hit:3 http://ftpmaster.internal/ubuntu oracular-updates InRelease 74s Hit:4 http://ftpmaster.internal/ubuntu oracular-security InRelease 75s Reading package lists... 75s Reading package lists... 75s Building dependency tree... 75s Reading state information... 75s Calculating upgrade... 75s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 76s Reading package lists... 76s Building dependency tree... 76s Reading state information... 76s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 76s autopkgtest [00:16:25]: rebooting testbed after setup commands that affected boot 80s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 105s autopkgtest [00:16:54]: testbed running kernel: Linux 6.8.0-31-generic #31-Ubuntu SMP Sat Apr 20 00:05:55 UTC 2024 108s autopkgtest [00:16:57]: @@@@@@@@@@@@@@@@@@@@ apt-source openvpn 110s Get:1 http://ftpmaster.internal/ubuntu oracular/main openvpn 2.6.11-1ubuntu1 (dsc) [2218 B] 110s Get:2 http://ftpmaster.internal/ubuntu oracular/main openvpn 2.6.11-1ubuntu1 (tar) [1907 kB] 110s Get:3 http://ftpmaster.internal/ubuntu oracular/main openvpn 2.6.11-1ubuntu1 (diff) [64.7 kB] 110s gpgv: Signature made Mon Jul 8 13:45:03 2024 UTC 110s gpgv: using RSA key 92978A6E195E4921825F7FF0F34F09744E9F5DD9 110s gpgv: Can't check signature: No public key 110s dpkg-source: warning: cannot verify inline signature for ./openvpn_2.6.11-1ubuntu1.dsc: no acceptable signature found 111s autopkgtest [00:17:00]: testing package openvpn version 2.6.11-1ubuntu1 111s autopkgtest [00:17:00]: build not needed 112s autopkgtest [00:17:01]: test server-setup-with-ca: preparing testbed 113s Reading package lists... 113s Building dependency tree... 113s Reading state information... 113s Starting pkgProblemResolver with broken count: 0 113s Starting 2 pkgProblemResolver with broken count: 0 113s Done 113s The following additional packages will be installed: 113s easy-rsa libpkcs11-helper1t64 openvpn 113s Suggested packages: 113s openvpn-dco-dkms openvpn-systemd-resolved 113s Recommended packages: 113s opensc 113s The following NEW packages will be installed: 113s autopkgtest-satdep easy-rsa libpkcs11-helper1t64 openvpn 113s 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 113s Need to get 898 kB/899 kB of archives. 113s After this operation, 2788 kB of additional disk space will be used. 113s Get:1 /tmp/autopkgtest.3JLEhp/1-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [716 B] 114s Get:2 http://ftpmaster.internal/ubuntu oracular/main ppc64el libpkcs11-helper1t64 ppc64el 1.30.0-1 [59.1 kB] 114s Get:3 http://ftpmaster.internal/ubuntu oracular/main ppc64el openvpn ppc64el 2.6.11-1ubuntu1 [779 kB] 114s Get:4 http://ftpmaster.internal/ubuntu oracular/universe ppc64el easy-rsa all 3.2.0-1 [59.3 kB] 115s Preconfiguring packages ... 115s Fetched 898 kB in 1s (1036 kB/s) 115s Selecting previously unselected package libpkcs11-helper1t64:ppc64el. 115s (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 ... 72764 files and directories currently installed.) 115s Preparing to unpack .../libpkcs11-helper1t64_1.30.0-1_ppc64el.deb ... 115s Unpacking libpkcs11-helper1t64:ppc64el (1.30.0-1) ... 115s Selecting previously unselected package openvpn. 115s Preparing to unpack .../openvpn_2.6.11-1ubuntu1_ppc64el.deb ... 115s Unpacking openvpn (2.6.11-1ubuntu1) ... 115s Selecting previously unselected package easy-rsa. 115s Preparing to unpack .../easy-rsa_3.2.0-1_all.deb ... 115s Unpacking easy-rsa (3.2.0-1) ... 115s Selecting previously unselected package autopkgtest-satdep. 115s Preparing to unpack .../1-autopkgtest-satdep.deb ... 115s Unpacking autopkgtest-satdep (0) ... 115s Setting up libpkcs11-helper1t64:ppc64el (1.30.0-1) ... 115s Setting up easy-rsa (3.2.0-1) ... 115s Setting up openvpn (2.6.11-1ubuntu1) ... 116s Created symlink '/etc/systemd/system/multi-user.target.wants/openvpn.service' → '/usr/lib/systemd/system/openvpn.service'. 116s Setting up autopkgtest-satdep (0) ... 116s Processing triggers for man-db (2.12.1-2) ... 117s Processing triggers for libc-bin (2.39-3.1ubuntu3) ... 120s (Reading database ... 72886 files and directories currently installed.) 120s Removing autopkgtest-satdep (0) ... 120s autopkgtest [00:17:09]: test server-setup-with-ca: [----------------------- 121s [I] Create the CA directory inside the config directory 121s + CONFIG_DIR=/etc/openvpn 121s + CA_DIR=easy-rsa 121s + CA_VARS_FILE=vars 121s + DEVICE=tun1 121s + IP_NETWORK=10.9.8.0 121s + NETWORK_MASK=255.255.255.0 121s + LOG_FILE=/tmp/autopkgtest.3JLEhp/autopkgtest_tmp/openvpn.log 121s + info 'Create the CA directory inside the config directory' 121s + echo '[I] Create the CA directory inside the config directory' 121s + cd /etc/openvpn 121s + make-cadir easy-rsa 121s [I] Add some variables to the vars to build the CA and keys in a non interactive mode 121s + cd easy-rsa 121s + info 'Add some variables to the vars to build the CA and keys in a non interactive mode' 121s + echo '[I] Add some variables to the vars to build the CA and keys in a non interactive mode' 121s + cat 121s [I] Setup the CA and the server keys 121s + info 'Setup the CA and the server keys' 121s + echo '[I] Setup the CA and the server keys' 121s + ./easyrsa --batch init-pki 121s Using Easy-RSA 'vars' configuration: 121s * /etc/openvpn/easy-rsa/vars 121s 121s Notice 121s ------ 121s 'init-pki' complete; you may now create a CA or requests. 121s 121s Your newly created PKI dir is: 121s * /etc/openvpn/easy-rsa/pki 121s 121s 121s Using Easy-RSA configuration: 121s * /etc/openvpn/easy-rsa/vars 121s + rm -f vars 121s + ./easyrsa --batch build-ca nopass 121s 121s Notice 121s ------ 121s CA creation complete. Your new CA certificate is at: 121s * /etc/openvpn/easy-rsa/pki/ca.crt 121s 121s + ./easyrsa --batch build-server-full server nopass 121s 121s Notice 121s ------ 121s Private-Key and Public-Certificate-Request files created. 121s Your files are: 121s * req: /etc/openvpn/easy-rsa/pki/reqs/server.req 121s * key: /etc/openvpn/easy-rsa/pki/private/server.key 121s 121s 121s 121s Notice 121s ------ 121s Certificate created at: 121s * /etc/openvpn/easy-rsa/pki/issued/server.crt 121s 121s 121s Notice 121s ------ 121s Inline file created: 121s * /etc/openvpn/easy-rsa/pki/inline/server.inline 121s 121s + ./easyrsa --batch gen-dh 134s 134s Notice 134s ------ 134s 134s DH parameters of size 2048 created at: 134s * /etc/openvpn/easy-rsa/pki/dh.pem 134s 134s [I] Create the OpenVPN server config file 134s + info 'Create the OpenVPN server config file' 134s + echo '[I] Create the OpenVPN server config file' 134s + cat 134s [I] Start an OpenVPN process in background and redirect its output to a file 134s + info 'Start an OpenVPN process in background and redirect its output to a file' 134s + echo '[I] Start an OpenVPN process in background and redirect its output to a file' 134s [I] Give some time to start the process, check if the TUN device is opened 134s + info 'Give some time to start the process, check if the TUN device is opened' 134s + echo '[I] Give some time to start the process, check if the TUN device is opened' 134s + openvpn --config /etc/openvpn/server.conf --verb 6 134s + count=1 134s + '[' -f /tmp/autopkgtest.3JLEhp/autopkgtest_tmp/openvpn.log ']' 134s + '[' 1 -gt 9 ']' 134s ++ expr 1 + 1 134s + count=2 134s + sleep 1 135s + '[' -f /tmp/autopkgtest.3JLEhp/autopkgtest_tmp/openvpn.log ']' 135s + cat /tmp/autopkgtest.3JLEhp/autopkgtest_tmp/openvpn.log 135s + grep 'TUN/TAP device tun1 opened' 135s 2024-07-13 00:17:23 us=81636 TUN/TAP device tun1 opened 135s [I] Check if the tun1 was created and if the state is UNKNOWN at this point 135s + info 'Check if the tun1 was created and if the state is UNKNOWN at this point' 135s + echo '[I] Check if the tun1 was created and if the state is UNKNOWN at this point' 135s + grep 'state UNKNOWN' 135s + ip address show tun1 135s 3: tun1: mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 500 135s [I] Check if OpenVPN is listening on port 1194 (default port) 135s + info 'Check if OpenVPN is listening on port 1194 (default port)' 135s + echo '[I] Check if OpenVPN is listening on port 1194 (default port)' 135s + ss -lnptu 135s + grep -E '([0-9]{1,3}\.){3}[0-9]{1,3}:1194.*users:\(\(\"openvpn\"' 135s udp UNCONN 0 0 0.0.0.0:1194 0.0.0.0:* users:(("openvpn",pid=1765,fd=4)) 135s [I] Check if Diffie-Hellman was initialized 135s 2024-07-13 00:17:23 us=78409 Diffie-Hellman initialized with 2048 bit key 135s [I] Check if the tun1 is linked 135s 2024-07-13 00:17:23 us=81723 net_iface_up: set tun1 up 135s [I] Check if the network route was correctly configured 135s 2024-07-13 00:17:23 us=81915 net_route_v4_add: 10.9.8.0/24 via 10.9.8.2 dev [NULL] table 0 metric -1 135s [I] Check if the Initialization Sequence completed 135s 2024-07-13 00:17:23 us=82063 Initialization Sequence Completed 135s + info 'Check if Diffie-Hellman was initialized' 135s + echo '[I] Check if Diffie-Hellman was initialized' 135s + cat /tmp/autopkgtest.3JLEhp/autopkgtest_tmp/openvpn.log 135s + grep 'Diffie-Hellman initialized' 135s + info 'Check if the tun1 is linked' 135s + echo '[I] Check if the tun1 is linked' 135s + grep 'net_iface_up: set tun1 up' 135s + cat /tmp/autopkgtest.3JLEhp/autopkgtest_tmp/openvpn.log 135s + info 'Check if the network route was correctly configured' 135s + echo '[I] Check if the network route was correctly configured' 135s + cat /tmp/autopkgtest.3JLEhp/autopkgtest_tmp/openvpn.log 135s + grep 'net_route_v4_add: 10.9.8.0/24 via' 135s + info 'Check if the Initialization Sequence completed' 135s + echo '[I] Check if the Initialization Sequence completed' 135s + grep 'Initialization Sequence Completed' 135s + cat /tmp/autopkgtest.3JLEhp/autopkgtest_tmp/openvpn.log 135s + trap cleanup INT TERM EXIT 135s + cleanup 135s + pkill openvpn 135s + rm -rf /etc/openvpn/easy-rsa 135s /tmp/autopkgtest.3JLEhp/wrapper.sh: Killing leaked background processes: 1765 135s PID TTY STAT TIME COMMAND 135s /tmp/autopkgtest.3JLEhp/wrapper.sh: 235: kill: No such process 135s 135s /tmp/autopkgtest.3JLEhp/wrapper.sh: 237: kill: No such process 135s 135s autopkgtest [00:17:24]: test server-setup-with-ca: -----------------------] 135s autopkgtest [00:17:24]: test server-setup-with-ca: - - - - - - - - - - results - - - - - - - - - - 135s server-setup-with-ca PASS 136s autopkgtest [00:17:25]: test server-setup-with-static-key: preparing testbed 217s autopkgtest [00:18:46]: testbed dpkg architecture: ppc64el 217s autopkgtest [00:18:46]: testbed apt version: 2.9.6 217s autopkgtest [00:18:46]: @@@@@@@@@@@@@@@@@@@@ test bed setup 218s Get:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease [126 kB] 219s Get:2 http://ftpmaster.internal/ubuntu oracular-proposed/universe Sources [343 kB] 219s Get:3 http://ftpmaster.internal/ubuntu oracular-proposed/restricted Sources [8548 B] 219s Get:4 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse Sources [2576 B] 219s Get:5 http://ftpmaster.internal/ubuntu oracular-proposed/main Sources [47.1 kB] 219s Get:6 http://ftpmaster.internal/ubuntu oracular-proposed/main ppc64el Packages [88.0 kB] 219s Get:7 http://ftpmaster.internal/ubuntu oracular-proposed/main ppc64el c-n-f Metadata [2116 B] 219s Get:8 http://ftpmaster.internal/ubuntu oracular-proposed/restricted ppc64el Packages [1368 B] 219s Get:9 http://ftpmaster.internal/ubuntu oracular-proposed/restricted ppc64el c-n-f Metadata [120 B] 219s Get:10 http://ftpmaster.internal/ubuntu oracular-proposed/universe ppc64el Packages [411 kB] 219s Get:11 http://ftpmaster.internal/ubuntu oracular-proposed/universe ppc64el c-n-f Metadata [8952 B] 219s Get:12 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse ppc64el Packages [1448 B] 219s Get:13 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse ppc64el c-n-f Metadata [120 B] 221s Fetched 1040 kB in 1s (1282 kB/s) 221s Reading package lists... 224s Reading package lists... 224s Building dependency tree... 224s Reading state information... 224s Calculating upgrade... 224s The following packages will be upgraded: 224s inetutils-telnet libc-bin libc-dev-bin libc-devtools libc6 libc6-dev 224s libssl3t64 locales openssh-client openssh-server openssh-sftp-server openssl 224s telnet 224s 13 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 224s Need to get 15.5 MB of archives. 224s After this operation, 1588 kB disk space will be freed. 224s Get:1 http://ftpmaster.internal/ubuntu oracular-proposed/main ppc64el libc-devtools ppc64el 2.39-3.1ubuntu3 [29.5 kB] 225s Get:2 http://ftpmaster.internal/ubuntu oracular-proposed/main ppc64el libc6-dev ppc64el 2.39-3.1ubuntu3 [1982 kB] 225s Get:3 http://ftpmaster.internal/ubuntu oracular-proposed/main ppc64el libc-dev-bin ppc64el 2.39-3.1ubuntu3 [21.0 kB] 225s Get:4 http://ftpmaster.internal/ubuntu oracular-proposed/main ppc64el libc6 ppc64el 2.39-3.1ubuntu3 [3174 kB] 225s Get:5 http://ftpmaster.internal/ubuntu oracular-proposed/main ppc64el libc-bin ppc64el 2.39-3.1ubuntu3 [720 kB] 225s Get:6 http://ftpmaster.internal/ubuntu oracular/main ppc64el libssl3t64 ppc64el 3.2.2-1ubuntu1 [2345 kB] 225s Get:7 http://ftpmaster.internal/ubuntu oracular/main ppc64el openssh-sftp-server ppc64el 1:9.6p1-3ubuntu17 [43.6 kB] 225s Get:8 http://ftpmaster.internal/ubuntu oracular/main ppc64el openssh-server ppc64el 1:9.6p1-3ubuntu17 [624 kB] 225s Get:9 http://ftpmaster.internal/ubuntu oracular/main ppc64el openssh-client ppc64el 1:9.6p1-3ubuntu17 [1108 kB] 225s Get:10 http://ftpmaster.internal/ubuntu oracular-proposed/main ppc64el locales all 2.39-3.1ubuntu3 [4220 kB] 225s Get:11 http://ftpmaster.internal/ubuntu oracular/main ppc64el openssl ppc64el 3.2.2-1ubuntu1 [1147 kB] 225s Get:12 http://ftpmaster.internal/ubuntu oracular/main ppc64el inetutils-telnet ppc64el 2:2.5-5ubuntu1 [120 kB] 225s Get:13 http://ftpmaster.internal/ubuntu oracular/main ppc64el telnet all 0.17+2.5-5ubuntu1 [3688 B] 226s Preconfiguring packages ... 226s Fetched 15.5 MB in 1s (13.0 MB/s) 226s (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 ... 72765 files and directories currently installed.) 226s Preparing to unpack .../libc-devtools_2.39-3.1ubuntu3_ppc64el.deb ... 226s Unpacking libc-devtools (2.39-3.1ubuntu3) over (2.39-0ubuntu9) ... 226s Preparing to unpack .../libc6-dev_2.39-3.1ubuntu3_ppc64el.deb ... 226s Unpacking libc6-dev:ppc64el (2.39-3.1ubuntu3) over (2.39-0ubuntu9) ... 226s Preparing to unpack .../libc-dev-bin_2.39-3.1ubuntu3_ppc64el.deb ... 226s Unpacking libc-dev-bin (2.39-3.1ubuntu3) over (2.39-0ubuntu9) ... 226s Preparing to unpack .../libc6_2.39-3.1ubuntu3_ppc64el.deb ... 227s Unpacking libc6:ppc64el (2.39-3.1ubuntu3) over (2.39-0ubuntu9) ... 227s Setting up libc6:ppc64el (2.39-3.1ubuntu3) ... 227s Error: Could not restart systemd, systemd binary not working 227s (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 ... 72765 files and directories currently installed.) 227s Preparing to unpack .../libc-bin_2.39-3.1ubuntu3_ppc64el.deb ... 227s Unpacking libc-bin (2.39-3.1ubuntu3) over (2.39-0ubuntu9) ... 227s Setting up libc-bin (2.39-3.1ubuntu3) ... 227s (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 ... 72765 files and directories currently installed.) 227s Preparing to unpack .../libssl3t64_3.2.2-1ubuntu1_ppc64el.deb ... 227s Unpacking libssl3t64:ppc64el (3.2.2-1ubuntu1) over (3.2.1-3ubuntu1) ... 227s Setting up libssl3t64:ppc64el (3.2.2-1ubuntu1) ... 227s (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 ... 72765 files and directories currently installed.) 227s Preparing to unpack .../0-openssh-sftp-server_1%3a9.6p1-3ubuntu17_ppc64el.deb ... 227s Unpacking openssh-sftp-server (1:9.6p1-3ubuntu17) over (1:9.6p1-3ubuntu15) ... 227s Preparing to unpack .../1-openssh-server_1%3a9.6p1-3ubuntu17_ppc64el.deb ... 227s Unpacking openssh-server (1:9.6p1-3ubuntu17) over (1:9.6p1-3ubuntu15) ... 227s Preparing to unpack .../2-openssh-client_1%3a9.6p1-3ubuntu17_ppc64el.deb ... 227s Unpacking openssh-client (1:9.6p1-3ubuntu17) over (1:9.6p1-3ubuntu15) ... 227s Preparing to unpack .../3-locales_2.39-3.1ubuntu3_all.deb ... 227s Unpacking locales (2.39-3.1ubuntu3) over (2.39-0ubuntu9) ... 228s Preparing to unpack .../4-openssl_3.2.2-1ubuntu1_ppc64el.deb ... 228s Unpacking openssl (3.2.2-1ubuntu1) over (3.2.1-3ubuntu1) ... 228s Preparing to unpack .../5-inetutils-telnet_2%3a2.5-5ubuntu1_ppc64el.deb ... 228s Unpacking inetutils-telnet (2:2.5-5ubuntu1) over (2:2.5-3ubuntu4) ... 228s Preparing to unpack .../6-telnet_0.17+2.5-5ubuntu1_all.deb ... 228s Unpacking telnet (0.17+2.5-5ubuntu1) over (0.17+2.5-3ubuntu4) ... 228s Setting up openssh-client (1:9.6p1-3ubuntu17) ... 228s Setting up inetutils-telnet (2:2.5-5ubuntu1) ... 228s Setting up locales (2.39-3.1ubuntu3) ... 228s Generating locales (this might take a while)... 230s en_US.UTF-8... done 230s Generation complete. 230s Setting up libc-dev-bin (2.39-3.1ubuntu3) ... 230s Setting up openssl (3.2.2-1ubuntu1) ... 230s Installing new version of config file /etc/ssl/openssl.cnf ... 230s Setting up libc-devtools (2.39-3.1ubuntu3) ... 230s Setting up openssh-sftp-server (1:9.6p1-3ubuntu17) ... 230s Setting up telnet (0.17+2.5-5ubuntu1) ... 230s Setting up openssh-server (1:9.6p1-3ubuntu17) ... 230s Installing new version of config file /etc/pam.d/sshd ... 231s Setting up libc6-dev:ppc64el (2.39-3.1ubuntu3) ... 231s Processing triggers for ufw (0.36.2-6) ... 231s Processing triggers for systemd (256-1ubuntu1) ... 232s Processing triggers for man-db (2.12.1-2) ... 234s Processing triggers for libc-bin (2.39-3.1ubuntu3) ... 234s Reading package lists... 234s Building dependency tree... 234s Reading state information... 234s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 235s Hit:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease 235s Hit:2 http://ftpmaster.internal/ubuntu oracular InRelease 235s Hit:3 http://ftpmaster.internal/ubuntu oracular-updates InRelease 235s Hit:4 http://ftpmaster.internal/ubuntu oracular-security InRelease 236s Reading package lists... 236s Reading package lists... 236s Building dependency tree... 236s Reading state information... 236s Calculating upgrade... 236s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 236s Reading package lists... 236s Building dependency tree... 236s Reading state information... 237s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 237s autopkgtest [00:19:06]: rebooting testbed after setup commands that affected boot 271s Reading package lists... 271s Building dependency tree... 271s Reading state information... 271s Starting pkgProblemResolver with broken count: 0 271s Starting 2 pkgProblemResolver with broken count: 0 271s Done 272s The following additional packages will be installed: 272s libpkcs11-helper1t64 openvpn 272s Suggested packages: 272s openvpn-dco-dkms openvpn-systemd-resolved easy-rsa 272s The following NEW packages will be installed: 272s autopkgtest-satdep libpkcs11-helper1t64 openvpn 272s 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. 272s Need to get 839 kB/839 kB of archives. 272s After this operation, 2578 kB of additional disk space will be used. 272s Get:1 /tmp/autopkgtest.3JLEhp/2-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [708 B] 272s Get:2 http://ftpmaster.internal/ubuntu oracular/main ppc64el libpkcs11-helper1t64 ppc64el 1.30.0-1 [59.1 kB] 272s Get:3 http://ftpmaster.internal/ubuntu oracular/main ppc64el openvpn ppc64el 2.6.11-1ubuntu1 [779 kB] 272s Preconfiguring packages ... 272s Fetched 839 kB in 1s (1465 kB/s) 272s Selecting previously unselected package libpkcs11-helper1t64:ppc64el. 273s (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 ... 72764 files and directories currently installed.) 273s Preparing to unpack .../libpkcs11-helper1t64_1.30.0-1_ppc64el.deb ... 273s Unpacking libpkcs11-helper1t64:ppc64el (1.30.0-1) ... 273s Selecting previously unselected package openvpn. 273s Preparing to unpack .../openvpn_2.6.11-1ubuntu1_ppc64el.deb ... 273s Unpacking openvpn (2.6.11-1ubuntu1) ... 273s Selecting previously unselected package autopkgtest-satdep. 273s Preparing to unpack .../2-autopkgtest-satdep.deb ... 273s Unpacking autopkgtest-satdep (0) ... 273s Setting up libpkcs11-helper1t64:ppc64el (1.30.0-1) ... 273s Setting up openvpn (2.6.11-1ubuntu1) ... 273s Created symlink '/etc/systemd/system/multi-user.target.wants/openvpn.service' → '/usr/lib/systemd/system/openvpn.service'. 274s Setting up autopkgtest-satdep (0) ... 274s Processing triggers for man-db (2.12.1-2) ... 274s Processing triggers for libc-bin (2.39-3.1ubuntu3) ... 277s (Reading database ... 72859 files and directories currently installed.) 277s Removing autopkgtest-satdep (0) ... 279s autopkgtest [00:19:48]: test server-setup-with-static-key: [----------------------- 279s [I] Generate the static key inside the config directory 279s + CONFIG_DIR=/etc/openvpn 279s + STATIC_KEY=static.key 279s + DEVICE=tun0 279s + IP_SERVER=10.9.8.1 279s + IP_CLIENT=10.9.8.2 279s + LOG_FILE=/tmp/autopkgtest.3JLEhp/autopkgtest_tmp/openvpn.log 279s + info 'Generate the static key inside the config directory' 279s + echo '[I] Generate the static key inside the config directory' 279s + cd /etc/openvpn 279s + openvpn --genkey secret static.key 279s [I] Create the config file 279s + info 'Create the config file' 279s + echo '[I] Create the config file' 279s + cat 279s + info 'Start an OpenVPN process in background and redirect its output to a file' 279s + echo '[I] Start an OpenVPN process in background and redirect its output to a file' 279s + info 'Give some time to start the process, check if the TUN device is opened' 279s + echo '[I] Give some time to start the process, check if the TUN device is opened' 279s + count=1 279s + '[' -f /tmp/autopkgtest.3JLEhp/autopkgtest_tmp/openvpn.log ']' 279s + '[' 1 -gt 9 ']' 279s + openvpn --config /etc/openvpn/tun0.conf --verb 6 279s ++ expr 1 + 1 279s [I] Start an OpenVPN process in background and redirect its output to a file 279s [I] Give some time to start the process, check if the TUN device is opened 279s + count=2 279s + sleep 1 280s + '[' -f /tmp/autopkgtest.3JLEhp/autopkgtest_tmp/openvpn.log ']' 280s + grep 'TUN/TAP device tun0 opened' 280s + cat /tmp/autopkgtest.3JLEhp/autopkgtest_tmp/openvpn.log 280s 2024-07-13 00:19:47 us=808285 TUN/TAP device tun0 opened 280s + info 'Check if the tun0 was created and if the state is UNKNOWN at this point' 280s [I] Check if the tun0 was created and if the state is UNKNOWN at this point 280s + echo '[I] Check if the tun0 was created and if the state is UNKNOWN at this point' 280s + ip address show tun0 280s + grep 'state UNKNOWN' 280s 3: tun0: mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 500 280s + info 'Check if OpenVPN is listening on port 1194 (default port)' 280s + echo '[I] Check if OpenVPN is listening on port 1194 (default port)' 280s [I] Check if OpenVPN is listening on port 1194 (default port) 280s udp UNCONN 0 0 0.0.0.0:1194 0.0.0.0:* users:(("openvpn",pid=1569,fd=4)) 280s [I] Check if the static.key is used by OpenVPN 280s 2024-07-13 00:19:47 us=804826 shared_secret_file = '/etc/openvpn/static.key' 280s [I] Check if the tun0 is linked 280s 2024-07-13 00:19:47 us=808409 net_iface_up: set tun0 up 280s [I] Check if the specified IP addresses were configured 280s 2024-07-13 00:19:47 us=808522 net_addr_ptp_v4_add: 10.9.8.1 peer 10.9.8.2 dev tun0 280s + ss -lnptu 280s + grep -E '([0-9]{1,3}\.){3}[0-9]{1,3}:1194.*users:\(\(\"openvpn\"' 280s + info 'Check if the static.key is used by OpenVPN' 280s + echo '[I] Check if the static.key is used by OpenVPN' 280s + cat /tmp/autopkgtest.3JLEhp/autopkgtest_tmp/openvpn.log 280s + grep 'shared_secret_file = '\''/etc/openvpn/static.key'\''' 280s + info 'Check if the tun0 is linked' 280s + echo '[I] Check if the tun0 is linked' 280s + cat /tmp/autopkgtest.3JLEhp/autopkgtest_tmp/openvpn.log 280s + grep 'net_iface_up: set tun0 up' 280s + info 'Check if the specified IP addresses were configured' 280s + echo '[I] Check if the specified IP addresses were configured' 280s + cat /tmp/autopkgtest.3JLEhp/autopkgtest_tmp/openvpn.log 280s + grep 'net_addr_ptp_v4_add: 10.9.8.1 peer 10.9.8.2 dev tun0' 280s + trap cleanup INT TERM EXIT 280s + cleanup 280s + pkill openvpn 280s + rm /etc/openvpn/static.key 280s /tmp/autopkgtest.3JLEhp/wrapper.sh: Killing leaked background processes: 1569 280s PID TTY STAT TIME COMMAND 280s /tmp/autopkgtest.3JLEhp/wrapper.sh: 235: kill: No such process 280s 280s /tmp/autopkgtest.3JLEhp/wrapper.sh: 237: kill: No such process 280s 280s autopkgtest [00:19:49]: test server-setup-with-static-key: -----------------------] 281s autopkgtest [00:19:50]: test server-setup-with-static-key: - - - - - - - - - - results - - - - - - - - - - 281s server-setup-with-static-key PASS 281s autopkgtest [00:19:50]: @@@@@@@@@@@@@@@@@@@@ summary 281s server-setup-with-ca PASS 281s server-setup-with-static-key PASS 286s nova [W] Using flock in prodstack6-ppc64el 286s Creating nova instance adt-oracular-ppc64el-openvpn-20240712-224832-juju-7f2275-prod-proposed-migration-environment-2-8b187d6d-722d-41ab-9224-265d4fa4039c from image adt/ubuntu-oracular-ppc64el-server-20240712.img (UUID 5558a1c2-7b31-4e21-8e90-3a11f77b6744)... 286s nova [W] Using flock in prodstack6-ppc64el 286s Creating nova instance adt-oracular-ppc64el-openvpn-20240712-224832-juju-7f2275-prod-proposed-migration-environment-2-8b187d6d-722d-41ab-9224-265d4fa4039c from image adt/ubuntu-oracular-ppc64el-server-20240712.img (UUID 5558a1c2-7b31-4e21-8e90-3a11f77b6744)...