0s autopkgtest [22:04:39]: starting date and time: 2025-02-19 22:04:39+0000 0s autopkgtest [22:04:39]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [22:04:39]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.55tjros1/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:cdebconf --apt-upgrade openvpn --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=cdebconf/0.277ubuntu1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-s390x --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-s390x-30.secgroup --name adt-plucky-s390x-openvpn-20250219-220439-juju-7f2275-prod-proposed-migration-environment-2-7778f8ad-b6ea-424c-9322-a284d0cd6ec4 --image adt/ubuntu-plucky-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration-s390x -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 113s autopkgtest [22:06:32]: testbed dpkg architecture: s390x 114s autopkgtest [22:06:33]: testbed apt version: 2.9.30 114s autopkgtest [22:06:33]: @@@@@@@@@@@@@@@@@@@@ test bed setup 114s autopkgtest [22:06:33]: testbed release detected to be: None 115s autopkgtest [22:06:34]: updating testbed package index (apt update) 115s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [110 kB] 115s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 115s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 115s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 116s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.5 kB] 116s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [731 kB] 116s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [3120 B] 116s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [78.4 kB] 116s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [103 kB] 116s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted s390x Packages [760 B] 116s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [657 kB] 116s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [5272 B] 116s Fetched 1704 kB in 1s (1743 kB/s) 116s Reading package lists... 117s Reading package lists... 117s Building dependency tree... 117s Reading state information... 117s Calculating upgrade... 117s The following packages were automatically installed and are no longer required: 117s libnsl2 libpython3.12-minimal libpython3.12-stdlib libpython3.12t64 117s linux-headers-6.11.0-8 linux-headers-6.11.0-8-generic 117s linux-modules-6.11.0-8-generic linux-tools-6.11.0-8 117s linux-tools-6.11.0-8-generic 117s Use 'sudo apt autoremove' to remove them. 117s The following packages will be upgraded: 117s apparmor iproute2 libapparmor1 libgpgme11t64 liblsof0 libp11-kit0 117s liburcu8t64 lsof python-apt-common python3-apt sysvinit-utils 118s 11 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 118s Need to get 3066 kB of archives. 118s After this operation, 212 kB of additional disk space will be used. 118s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x sysvinit-utils s390x 3.14-1ubuntu1 [36.0 kB] 118s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x iproute2 s390x 6.13.0-1ubuntu1 [1174 kB] 118s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x libapparmor1 s390x 4.1.0~beta5-0ubuntu2 [54.1 kB] 118s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x libp11-kit0 s390x 0.25.5-2ubuntu3 [316 kB] 118s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x python-apt-common all 2.9.9 [21.2 kB] 118s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x python3-apt s390x 2.9.9 [185 kB] 118s Get:7 http://ftpmaster.internal/ubuntu plucky/main s390x apparmor s390x 4.1.0~beta5-0ubuntu2 [758 kB] 118s Get:8 http://ftpmaster.internal/ubuntu plucky/main s390x liburcu8t64 s390x 0.15.1-1 [66.0 kB] 118s Get:9 http://ftpmaster.internal/ubuntu plucky/main s390x lsof s390x 4.99.4+dfsg-1 [243 kB] 118s Get:10 http://ftpmaster.internal/ubuntu plucky/main s390x liblsof0 s390x 4.99.4+dfsg-1 [58.5 kB] 118s Get:11 http://ftpmaster.internal/ubuntu plucky/main s390x libgpgme11t64 s390x 1.24.2-1ubuntu1 [154 kB] 118s Preconfiguring packages ... 119s Fetched 3066 kB in 1s (3510 kB/s) 119s (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 ... 81030 files and directories currently installed.) 119s Preparing to unpack .../sysvinit-utils_3.14-1ubuntu1_s390x.deb ... 119s Unpacking sysvinit-utils (3.14-1ubuntu1) over (3.08-6ubuntu3) ... 119s Setting up sysvinit-utils (3.14-1ubuntu1) ... 119s (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 ... 81030 files and directories currently installed.) 119s Preparing to unpack .../0-iproute2_6.13.0-1ubuntu1_s390x.deb ... 119s Unpacking iproute2 (6.13.0-1ubuntu1) over (6.10.0-2ubuntu1) ... 119s Preparing to unpack .../1-libapparmor1_4.1.0~beta5-0ubuntu2_s390x.deb ... 119s Unpacking libapparmor1:s390x (4.1.0~beta5-0ubuntu2) over (4.1.0~beta1-0ubuntu5) ... 119s Preparing to unpack .../2-libp11-kit0_0.25.5-2ubuntu3_s390x.deb ... 119s Unpacking libp11-kit0:s390x (0.25.5-2ubuntu3) over (0.25.5-2ubuntu2) ... 119s Preparing to unpack .../3-python-apt-common_2.9.9_all.deb ... 119s Unpacking python-apt-common (2.9.9) over (2.9.8) ... 119s Preparing to unpack .../4-python3-apt_2.9.9_s390x.deb ... 119s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 119s for fn in glob1(directory, "%s.*" % fname): 119s Unpacking python3-apt (2.9.9) over (2.9.8) ... 119s Preparing to unpack .../5-apparmor_4.1.0~beta5-0ubuntu2_s390x.deb ... 119s Unpacking apparmor (4.1.0~beta5-0ubuntu2) over (4.1.0~beta1-0ubuntu5) ... 119s dpkg: warning: unable to delete old directory '/lib/apparmor': Directory not empty 119s Preparing to unpack .../6-liburcu8t64_0.15.1-1_s390x.deb ... 119s Unpacking liburcu8t64:s390x (0.15.1-1) over (0.15.0-1) ... 119s Preparing to unpack .../7-lsof_4.99.4+dfsg-1_s390x.deb ... 119s Unpacking lsof (4.99.4+dfsg-1) over (4.99.3+dfsg-2) ... 119s Preparing to unpack .../8-liblsof0_4.99.4+dfsg-1_s390x.deb ... 119s Unpacking liblsof0 (4.99.4+dfsg-1) over (4.99.3+dfsg-2) ... 119s Preparing to unpack .../9-libgpgme11t64_1.24.2-1ubuntu1_s390x.deb ... 119s Unpacking libgpgme11t64:s390x (1.24.2-1ubuntu1) over (1.24.1-4ubuntu1) ... 119s Setting up liburcu8t64:s390x (0.15.1-1) ... 119s Setting up libapparmor1:s390x (4.1.0~beta5-0ubuntu2) ... 119s Setting up liblsof0 (4.99.4+dfsg-1) ... 119s Setting up iproute2 (6.13.0-1ubuntu1) ... 120s Setting up apparmor (4.1.0~beta5-0ubuntu2) ... 120s Installing new version of config file /etc/apparmor.d/abstractions/dconf ... 120s Installing new version of config file /etc/apparmor.d/abstractions/mesa ... 120s Installing new version of config file /etc/apparmor.d/abstractions/nameservice ... 120s Installing new version of config file /etc/apparmor.d/abstractions/php ... 120s Installing new version of config file /etc/apparmor.d/abstractions/python ... 120s Installing new version of config file /etc/apparmor.d/slirp4netns ... 120s Installing new version of config file /etc/apparmor.d/toybox ... 120s Installing new version of config file /etc/apparmor.d/transmission ... 120s Installing new version of config file /etc/apparmor.d/tunables/global ... 120s Reloading AppArmor profiles 121s Setting up libp11-kit0:s390x (0.25.5-2ubuntu3) ... 121s Setting up lsof (4.99.4+dfsg-1) ... 121s Setting up python-apt-common (2.9.9) ... 121s Setting up libgpgme11t64:s390x (1.24.2-1ubuntu1) ... 121s Setting up python3-apt (2.9.9) ... 122s Processing triggers for systemd (257.2-3ubuntu1) ... 122s Processing triggers for man-db (2.13.0-1) ... 122s Processing triggers for libc-bin (2.40-4ubuntu1) ... 123s Reading package lists... 123s Building dependency tree... 123s Reading state information... 123s The following packages will be REMOVED: 123s libnsl2* libpython3.12-minimal* libpython3.12-stdlib* libpython3.12t64* 123s linux-headers-6.11.0-8* linux-headers-6.11.0-8-generic* 123s linux-modules-6.11.0-8-generic* linux-tools-6.11.0-8* 123s linux-tools-6.11.0-8-generic* 123s 0 upgraded, 0 newly installed, 9 to remove and 1 not upgraded. 123s After this operation, 167 MB disk space will be freed. 123s (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 ... 81079 files and directories currently installed.) 123s Removing linux-tools-6.11.0-8-generic (6.11.0-8.8) ... 123s Removing linux-tools-6.11.0-8 (6.11.0-8.8) ... 123s Removing libpython3.12t64:s390x (3.12.9-1) ... 123s Removing libpython3.12-stdlib:s390x (3.12.9-1) ... 123s Removing libnsl2:s390x (1.3.0-3build3) ... 123s Removing libpython3.12-minimal:s390x (3.12.9-1) ... 123s Removing linux-headers-6.11.0-8-generic (6.11.0-8.8) ... 123s Removing linux-headers-6.11.0-8 (6.11.0-8.8) ... 124s Removing linux-modules-6.11.0-8-generic (6.11.0-8.8) ... 124s Processing triggers for libc-bin (2.40-4ubuntu1) ... 124s (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 ... 55979 files and directories currently installed.) 124s Purging configuration files for libpython3.12-minimal:s390x (3.12.9-1) ... 124s Purging configuration files for linux-modules-6.11.0-8-generic (6.11.0-8.8) ... 124s autopkgtest [22:06:43]: upgrading testbed (apt dist-upgrade and autopurge) 124s Reading package lists... 125s Building dependency tree... 125s Reading state information... 125s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 125s Starting 2 pkgProblemResolver with broken count: 0 125s Done 125s Entering ResolveByKeep 125s 125s The following packages will be upgraded: 125s libdebconfclient0 125s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 125s Need to get 12.0 kB of archives. 125s After this operation, 1024 B of additional disk space will be used. 125s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x libdebconfclient0 s390x 0.277ubuntu1 [12.0 kB] 125s Fetched 12.0 kB in 0s (76.8 kB/s) 125s (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 ... 55977 files and directories currently installed.) 125s Preparing to unpack .../libdebconfclient0_0.277ubuntu1_s390x.deb ... 126s Unpacking libdebconfclient0:s390x (0.277ubuntu1) over (0.274ubuntu1) ... 126s Setting up libdebconfclient0:s390x (0.277ubuntu1) ... 126s Processing triggers for libc-bin (2.40-4ubuntu1) ... 126s Reading package lists... 126s Building dependency tree... 126s Reading state information... 126s Starting pkgProblemResolver with broken count: 0 126s Starting 2 pkgProblemResolver with broken count: 0 126s Done 126s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 126s autopkgtest [22:06:45]: rebooting testbed after setup commands that affected boot 144s autopkgtest [22:07:03]: testbed running kernel: Linux 6.12.0-15-generic #15-Ubuntu SMP Tue Feb 4 15:05:57 UTC 2025 147s autopkgtest [22:07:06]: @@@@@@@@@@@@@@@@@@@@ apt-source openvpn 148s Get:1 http://ftpmaster.internal/ubuntu plucky/main openvpn 2.6.13-1ubuntu1 (dsc) [2297 B] 148s Get:2 http://ftpmaster.internal/ubuntu plucky/main openvpn 2.6.13-1ubuntu1 (tar) [1912 kB] 148s Get:3 http://ftpmaster.internal/ubuntu plucky/main openvpn 2.6.13-1ubuntu1 (diff) [64.9 kB] 149s gpgv: Signature made Tue Feb 11 04:25:05 2025 UTC 149s gpgv: using RSA key 5C7ABEA20F8630459CC8C8B5E27F2CF8458C2FA4 149s gpgv: Can't check signature: No public key 149s dpkg-source: warning: cannot verify inline signature for ./openvpn_2.6.13-1ubuntu1.dsc: no acceptable signature found 149s autopkgtest [22:07:08]: testing package openvpn version 2.6.13-1ubuntu1 149s autopkgtest [22:07:08]: build not needed 150s autopkgtest [22:07:09]: test server-setup-with-ca: preparing testbed 151s Reading package lists... 151s Building dependency tree... 151s Reading state information... 151s Starting pkgProblemResolver with broken count: 0 151s Starting 2 pkgProblemResolver with broken count: 0 151s Done 151s The following NEW packages will be installed: 151s easy-rsa libpkcs11-helper1t64 openvpn 151s 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. 151s Need to get 804 kB of archives. 151s After this operation, 2213 kB of additional disk space will be used. 151s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x libpkcs11-helper1t64 s390x 1.30.0-1 [49.8 kB] 152s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x openvpn s390x 2.6.13-1ubuntu1 [686 kB] 152s Get:3 http://ftpmaster.internal/ubuntu plucky/universe s390x easy-rsa all 3.2.2-1 [68.6 kB] 152s Preconfiguring packages ... 152s Fetched 804 kB in 1s (1422 kB/s) 152s Selecting previously unselected package libpkcs11-helper1t64:s390x. 152s (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 ... 55977 files and directories currently installed.) 152s Preparing to unpack .../libpkcs11-helper1t64_1.30.0-1_s390x.deb ... 152s Unpacking libpkcs11-helper1t64:s390x (1.30.0-1) ... 152s Selecting previously unselected package openvpn. 152s Preparing to unpack .../openvpn_2.6.13-1ubuntu1_s390x.deb ... 152s Unpacking openvpn (2.6.13-1ubuntu1) ... 152s Selecting previously unselected package easy-rsa. 152s Preparing to unpack .../easy-rsa_3.2.2-1_all.deb ... 152s Unpacking easy-rsa (3.2.2-1) ... 152s Setting up libpkcs11-helper1t64:s390x (1.30.0-1) ... 152s Setting up easy-rsa (3.2.2-1) ... 152s Setting up openvpn (2.6.13-1ubuntu1) ... 152s Created symlink '/etc/systemd/system/multi-user.target.wants/openvpn.service' → '/usr/lib/systemd/system/openvpn.service'. 153s Processing triggers for man-db (2.13.0-1) ... 153s Processing triggers for libc-bin (2.40-4ubuntu1) ... 154s autopkgtest [22:07:13]: test server-setup-with-ca: [----------------------- 155s [I] Create the CA directory inside the config directory 155s + CONFIG_DIR=/etc/openvpn 155s + CA_DIR=easy-rsa 155s + CA_VARS_FILE=vars 155s + DEVICE=tun1 155s + IP_NETWORK=10.9.8.0 155s + NETWORK_MASK=255.255.255.0 155s + LOG_FILE=/tmp/autopkgtest.1QWcOU/autopkgtest_tmp/openvpn.log 155s + info 'Create the CA directory inside the config directory' 155s + echo '[I] Create the CA directory inside the config directory' 155s + cd /etc/openvpn 155s + make-cadir easy-rsa 155s + cd easy-rsa 155s + info 'Add some variables to the vars to build the CA and keys in a non interactive mode' 155s + echo '[I] Add some variables to the vars to build the CA and keys in a non interactive mode' 155s + cat 155s + info 'Setup the CA and the server keys' 155s + echo '[I] Setup the CA and the server keys' 155s + ./easyrsa --batch init-pki 155s [I] Add some variables to the vars to build the CA and keys in a non interactive mode 155s [I] Setup the CA and the server keys 155s Using Easy-RSA 'vars' configuration: 155s * /etc/openvpn/easy-rsa/vars 155s + rm -f vars 155s 155s Notice 155s ------ 155s 'init-pki' complete; you may now create a CA or requests. 155s 155s Your newly created PKI dir is: 155s * /etc/openvpn/easy-rsa/pki 155s 155s Using Easy-RSA configuration: 155s * /etc/openvpn/easy-rsa/vars 155s + ./easyrsa --batch build-ca nopass 155s 155s Notice 155s ------ 155s CA creation complete. Your new CA certificate is at: 155s * /etc/openvpn/easy-rsa/pki/ca.crt 155s 155s Create an OpenVPN TLS-AUTH|TLS-CRYPT-V1 key now: See 'help gen-tls' 155s 155s Build-ca completed successfully. 155s 155s + ./easyrsa --batch build-server-full server nopass 155s 155s Notice 155s ------ 155s Private-Key and Public-Certificate-Request files created. 155s Your files are: 155s * req: /etc/openvpn/easy-rsa/pki/reqs/server.req 155s * key: /etc/openvpn/easy-rsa/pki/private/server.key 155s 155s 155s Notice 155s ------ 155s Inline file created: 155s * /etc/openvpn/easy-rsa/pki/inline/private/server.inline 155s 155s 155s Notice 155s ------ 155s Certificate created at: 155s * /etc/openvpn/easy-rsa/pki/issued/server.crt 155s 155s + ./easyrsa --batch gen-dh 233s 233s Notice 233s ------ 233s 233s DH parameters of size 2048 created at: 233s * /etc/openvpn/easy-rsa/pki/dh.pem 233s 233s [I] Create the OpenVPN server config file 233s [I] Start an OpenVPN process in background and redirect its output to a file 233s [I] Give some time to start the process, check if the TUN device is opened 233s + info 'Create the OpenVPN server config file' 233s + echo '[I] Create the OpenVPN server config file' 233s + cat 233s + info 'Start an OpenVPN process in background and redirect its output to a file' 233s + echo '[I] Start an OpenVPN process in background and redirect its output to a file' 233s + info 'Give some time to start the process, check if the TUN device is opened' 233s + echo '[I] Give some time to start the process, check if the TUN device is opened' 233s + count=1 233s + '[' -f /tmp/autopkgtest.1QWcOU/autopkgtest_tmp/openvpn.log ']' 233s + openvpn --config /etc/openvpn/server.conf --verb 6 233s + '[' 1 -gt 9 ']' 233s ++ expr 1 + 1 233s + count=2 233s + sleep 1 234s + '[' -f /tmp/autopkgtest.1QWcOU/autopkgtest_tmp/openvpn.log ']' 234s + cat /tmp/autopkgtest.1QWcOU/autopkgtest_tmp/openvpn.log 234s + grep 'TUN/TAP device tun1 opened' 234s 2025-02-19 22:08:32 us=592854 TUN/TAP device tun1 opened 234s [I] Check if the tun1 was created and if the state is UNKNOWN at this point 234s 3: tun1: mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 500 234s [I] Check if OpenVPN is listening on port 1194 (default port) 234s + info 'Check if the tun1 was created and if the state is UNKNOWN at this point' 234s + echo '[I] Check if the tun1 was created and if the state is UNKNOWN at this point' 234s + ip address show tun1 234s + grep 'state UNKNOWN' 234s + info 'Check if OpenVPN is listening on port 1194 (default port)' 234s + echo '[I] Check if OpenVPN is listening on port 1194 (default port)' 234s + ss -lnptu 234s + grep -E '([0-9]{1,3}\.){3}[0-9]{1,3}:1194.*users:\(\(\"openvpn\"' 234s udp UNCONN 0 0 0.0.0.0:1194 0.0.0.0:* users:(("openvpn",pid=1637,fd=4)) 234s [I] Check if Diffie-Hellman was initialized 234s 2025-02-19 22:08:32 us=591903 Diffie-Hellman initialized with 2048 bit key 234s [I] Check if the tun1 is linked 234s 2025-02-19 22:08:32 us=592890 net_iface_up: set tun1 up 234s [I] Check if the network route was correctly configured 234s 2025-02-19 22:08:32 us=592997 net_route_v4_add: 10.9.8.0/24 via 10.9.8.2 dev [NULL] table 0 metric -1 234s [I] Check if the Initialization Sequence completed 234s 2025-02-19 22:08:32 us=593083 Initialization Sequence Completed 234s + info 'Check if Diffie-Hellman was initialized' 234s + echo '[I] Check if Diffie-Hellman was initialized' 234s + cat /tmp/autopkgtest.1QWcOU/autopkgtest_tmp/openvpn.log 234s + grep 'Diffie-Hellman initialized' 234s + info 'Check if the tun1 is linked' 234s + echo '[I] Check if the tun1 is linked' 234s + cat /tmp/autopkgtest.1QWcOU/autopkgtest_tmp/openvpn.log 234s + grep 'net_iface_up: set tun1 up' 234s + info 'Check if the network route was correctly configured' 234s + echo '[I] Check if the network route was correctly configured' 234s + cat /tmp/autopkgtest.1QWcOU/autopkgtest_tmp/openvpn.log 234s + grep 'net_route_v4_add: 10.9.8.0/24 via' 234s + info 'Check if the Initialization Sequence completed' 234s + echo '[I] Check if the Initialization Sequence completed' 234s + cat /tmp/autopkgtest.1QWcOU/autopkgtest_tmp/openvpn.log 234s + grep 'Initialization Sequence Completed' 234s + trap cleanup INT TERM EXIT 234s + cleanup 234s + pkill openvpn 234s + rm -rf /etc/openvpn/easy-rsa 234s /tmp/autopkgtest.1QWcOU/wrapper.sh: Killing leaked background processes: 1637 234s PID TTY STAT TIME COMMAND 234s 1637 ? D 0:00 openvpn --config /etc/openvpn/server.conf --verb 6 234s autopkgtest [22:08:33]: test server-setup-with-ca: -----------------------] 235s autopkgtest [22:08:34]: test server-setup-with-ca: - - - - - - - - - - results - - - - - - - - - - 235s server-setup-with-ca PASS 235s autopkgtest [22:08:34]: test server-setup-with-static-key: preparing testbed 310s autopkgtest [22:09:49]: testbed dpkg architecture: s390x 311s autopkgtest [22:09:50]: testbed apt version: 2.9.30 311s autopkgtest [22:09:50]: @@@@@@@@@@@@@@@@@@@@ test bed setup 311s autopkgtest [22:09:50]: testbed release detected to be: plucky 312s autopkgtest [22:09:51]: updating testbed package index (apt update) 312s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [110 kB] 312s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 312s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 313s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 313s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [731 kB] 313s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.5 kB] 313s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [3120 B] 313s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [78.4 kB] 313s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [103 kB] 313s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted s390x Packages [760 B] 313s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [657 kB] 313s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [5272 B] 313s Fetched 1704 kB in 1s (1820 kB/s) 314s Reading package lists... 314s Reading package lists... 314s Building dependency tree... 314s Reading state information... 314s Calculating upgrade... 315s The following packages were automatically installed and are no longer required: 315s libnsl2 libpython3.12-minimal libpython3.12-stdlib libpython3.12t64 315s linux-headers-6.11.0-8 linux-headers-6.11.0-8-generic 315s linux-modules-6.11.0-8-generic linux-tools-6.11.0-8 315s linux-tools-6.11.0-8-generic 315s Use 'sudo apt autoremove' to remove them. 315s The following packages will be upgraded: 315s apparmor iproute2 libapparmor1 libgpgme11t64 liblsof0 libp11-kit0 315s liburcu8t64 lsof python-apt-common python3-apt sysvinit-utils 315s 11 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 315s Need to get 3066 kB of archives. 315s After this operation, 212 kB of additional disk space will be used. 315s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x sysvinit-utils s390x 3.14-1ubuntu1 [36.0 kB] 315s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x iproute2 s390x 6.13.0-1ubuntu1 [1174 kB] 315s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x libapparmor1 s390x 4.1.0~beta5-0ubuntu2 [54.1 kB] 315s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x libp11-kit0 s390x 0.25.5-2ubuntu3 [316 kB] 315s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x python-apt-common all 2.9.9 [21.2 kB] 315s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x python3-apt s390x 2.9.9 [185 kB] 315s Get:7 http://ftpmaster.internal/ubuntu plucky/main s390x apparmor s390x 4.1.0~beta5-0ubuntu2 [758 kB] 315s Get:8 http://ftpmaster.internal/ubuntu plucky/main s390x liburcu8t64 s390x 0.15.1-1 [66.0 kB] 315s Get:9 http://ftpmaster.internal/ubuntu plucky/main s390x lsof s390x 4.99.4+dfsg-1 [243 kB] 315s Get:10 http://ftpmaster.internal/ubuntu plucky/main s390x liblsof0 s390x 4.99.4+dfsg-1 [58.5 kB] 315s Get:11 http://ftpmaster.internal/ubuntu plucky/main s390x libgpgme11t64 s390x 1.24.2-1ubuntu1 [154 kB] 315s Preconfiguring packages ... 315s Fetched 3066 kB in 1s (4568 kB/s) 316s (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 ... 81030 files and directories currently installed.) 316s Preparing to unpack .../sysvinit-utils_3.14-1ubuntu1_s390x.deb ... 316s Unpacking sysvinit-utils (3.14-1ubuntu1) over (3.08-6ubuntu3) ... 316s Setting up sysvinit-utils (3.14-1ubuntu1) ... 316s (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 ... 81030 files and directories currently installed.) 316s Preparing to unpack .../0-iproute2_6.13.0-1ubuntu1_s390x.deb ... 316s Unpacking iproute2 (6.13.0-1ubuntu1) over (6.10.0-2ubuntu1) ... 316s Preparing to unpack .../1-libapparmor1_4.1.0~beta5-0ubuntu2_s390x.deb ... 316s Unpacking libapparmor1:s390x (4.1.0~beta5-0ubuntu2) over (4.1.0~beta1-0ubuntu5) ... 316s Preparing to unpack .../2-libp11-kit0_0.25.5-2ubuntu3_s390x.deb ... 316s Unpacking libp11-kit0:s390x (0.25.5-2ubuntu3) over (0.25.5-2ubuntu2) ... 316s Preparing to unpack .../3-python-apt-common_2.9.9_all.deb ... 316s Unpacking python-apt-common (2.9.9) over (2.9.8) ... 316s Preparing to unpack .../4-python3-apt_2.9.9_s390x.deb ... 316s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 316s for fn in glob1(directory, "%s.*" % fname): 316s Unpacking python3-apt (2.9.9) over (2.9.8) ... 316s Preparing to unpack .../5-apparmor_4.1.0~beta5-0ubuntu2_s390x.deb ... 316s Unpacking apparmor (4.1.0~beta5-0ubuntu2) over (4.1.0~beta1-0ubuntu5) ... 316s dpkg: warning: unable to delete old directory '/lib/apparmor': Directory not empty 316s Preparing to unpack .../6-liburcu8t64_0.15.1-1_s390x.deb ... 316s Unpacking liburcu8t64:s390x (0.15.1-1) over (0.15.0-1) ... 316s Preparing to unpack .../7-lsof_4.99.4+dfsg-1_s390x.deb ... 316s Unpacking lsof (4.99.4+dfsg-1) over (4.99.3+dfsg-2) ... 316s Preparing to unpack .../8-liblsof0_4.99.4+dfsg-1_s390x.deb ... 316s Unpacking liblsof0 (4.99.4+dfsg-1) over (4.99.3+dfsg-2) ... 316s Preparing to unpack .../9-libgpgme11t64_1.24.2-1ubuntu1_s390x.deb ... 316s Unpacking libgpgme11t64:s390x (1.24.2-1ubuntu1) over (1.24.1-4ubuntu1) ... 316s Setting up liburcu8t64:s390x (0.15.1-1) ... 316s Setting up libapparmor1:s390x (4.1.0~beta5-0ubuntu2) ... 316s Setting up liblsof0 (4.99.4+dfsg-1) ... 316s Setting up iproute2 (6.13.0-1ubuntu1) ... 316s Setting up apparmor (4.1.0~beta5-0ubuntu2) ... 316s Installing new version of config file /etc/apparmor.d/abstractions/dconf ... 316s Installing new version of config file /etc/apparmor.d/abstractions/mesa ... 316s Installing new version of config file /etc/apparmor.d/abstractions/nameservice ... 316s Installing new version of config file /etc/apparmor.d/abstractions/php ... 316s Installing new version of config file /etc/apparmor.d/abstractions/python ... 317s Installing new version of config file /etc/apparmor.d/slirp4netns ... 317s Installing new version of config file /etc/apparmor.d/toybox ... 317s Installing new version of config file /etc/apparmor.d/transmission ... 317s Installing new version of config file /etc/apparmor.d/tunables/global ... 317s Reloading AppArmor profiles 318s Setting up libp11-kit0:s390x (0.25.5-2ubuntu3) ... 318s Setting up lsof (4.99.4+dfsg-1) ... 318s Setting up python-apt-common (2.9.9) ... 318s Setting up libgpgme11t64:s390x (1.24.2-1ubuntu1) ... 318s Setting up python3-apt (2.9.9) ... 318s Processing triggers for systemd (257.2-3ubuntu1) ... 319s Processing triggers for man-db (2.13.0-1) ... 319s Processing triggers for libc-bin (2.40-4ubuntu1) ... 320s Reading package lists... 320s Building dependency tree... 320s Reading state information... 320s The following packages will be REMOVED: 320s libnsl2* libpython3.12-minimal* libpython3.12-stdlib* libpython3.12t64* 320s linux-headers-6.11.0-8* linux-headers-6.11.0-8-generic* 320s linux-modules-6.11.0-8-generic* linux-tools-6.11.0-8* 320s linux-tools-6.11.0-8-generic* 320s 0 upgraded, 0 newly installed, 9 to remove and 1 not upgraded. 320s After this operation, 167 MB disk space will be freed. 320s (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 ... 81079 files and directories currently installed.) 320s Removing linux-tools-6.11.0-8-generic (6.11.0-8.8) ... 320s Removing linux-tools-6.11.0-8 (6.11.0-8.8) ... 320s Removing libpython3.12t64:s390x (3.12.9-1) ... 320s Removing libpython3.12-stdlib:s390x (3.12.9-1) ... 320s Removing libnsl2:s390x (1.3.0-3build3) ... 320s Removing libpython3.12-minimal:s390x (3.12.9-1) ... 320s Removing linux-headers-6.11.0-8-generic (6.11.0-8.8) ... 320s Removing linux-headers-6.11.0-8 (6.11.0-8.8) ... 321s Removing linux-modules-6.11.0-8-generic (6.11.0-8.8) ... 321s Processing triggers for libc-bin (2.40-4ubuntu1) ... 321s (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 ... 55979 files and directories currently installed.) 321s Purging configuration files for libpython3.12-minimal:s390x (3.12.9-1) ... 321s Purging configuration files for linux-modules-6.11.0-8-generic (6.11.0-8.8) ... 321s autopkgtest [22:10:00]: upgrading testbed (apt dist-upgrade and autopurge) 322s Reading package lists... 322s Building dependency tree... 322s Reading state information... 322s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 322s Starting 2 pkgProblemResolver with broken count: 0 322s Done 322s Entering ResolveByKeep 322s 322s The following packages will be upgraded: 322s libdebconfclient0 322s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 322s Need to get 12.0 kB of archives. 322s After this operation, 1024 B of additional disk space will be used. 322s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x libdebconfclient0 s390x 0.277ubuntu1 [12.0 kB] 323s Fetched 12.0 kB in 0s (82.2 kB/s) 323s (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 ... 55977 files and directories currently installed.) 323s Preparing to unpack .../libdebconfclient0_0.277ubuntu1_s390x.deb ... 323s Unpacking libdebconfclient0:s390x (0.277ubuntu1) over (0.274ubuntu1) ... 323s Setting up libdebconfclient0:s390x (0.277ubuntu1) ... 323s Processing triggers for libc-bin (2.40-4ubuntu1) ... 323s Reading package lists... 323s Building dependency tree... 323s Reading state information... 323s Starting pkgProblemResolver with broken count: 0 323s Starting 2 pkgProblemResolver with broken count: 0 323s Done 324s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 324s autopkgtest [22:10:03]: rebooting testbed after setup commands that affected boot 346s Reading package lists... 346s Building dependency tree... 346s Reading state information... 346s Starting pkgProblemResolver with broken count: 0 346s Starting 2 pkgProblemResolver with broken count: 0 346s Done 346s The following NEW packages will be installed: 346s libpkcs11-helper1t64 openvpn 347s 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 347s Need to get 736 kB of archives. 347s After this operation, 1960 kB of additional disk space will be used. 347s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x libpkcs11-helper1t64 s390x 1.30.0-1 [49.8 kB] 347s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x openvpn s390x 2.6.13-1ubuntu1 [686 kB] 347s Preconfiguring packages ... 347s Fetched 736 kB in 1s (1327 kB/s) 347s Selecting previously unselected package libpkcs11-helper1t64:s390x. 347s (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 ... 55977 files and directories currently installed.) 347s Preparing to unpack .../libpkcs11-helper1t64_1.30.0-1_s390x.deb ... 347s Unpacking libpkcs11-helper1t64:s390x (1.30.0-1) ... 347s Selecting previously unselected package openvpn. 347s Preparing to unpack .../openvpn_2.6.13-1ubuntu1_s390x.deb ... 347s Unpacking openvpn (2.6.13-1ubuntu1) ... 347s Setting up libpkcs11-helper1t64:s390x (1.30.0-1) ... 347s Setting up openvpn (2.6.13-1ubuntu1) ... 348s Created symlink '/etc/systemd/system/multi-user.target.wants/openvpn.service' → '/usr/lib/systemd/system/openvpn.service'. 348s Processing triggers for man-db (2.13.0-1) ... 348s Processing triggers for libc-bin (2.40-4ubuntu1) ... 352s autopkgtest [22:10:31]: test server-setup-with-static-key: [----------------------- 353s [I] Generate the static key inside the config directory 353s 2025-02-19 22:11:57 Cannot open file 'static.key' for write: Permission denied (errno=13) 353s 2025-02-19 22:11:57 Failed to write key file 353s 2025-02-19 22:11:57 Exiting due to fatal error 353s + CONFIG_DIR=/etc/openvpn 353s + STATIC_KEY=static.key 353s + DEVICE=tun0 353s + IP_SERVER=10.9.8.1 353s + IP_CLIENT=10.9.8.2 353s + LOG_FILE=/tmp/autopkgtest.1QWcOU/autopkgtest_tmp/openvpn.log 353s + info 'Generate the static key inside the config directory' 353s + echo '[I] Generate the static key inside the config directory' 353s + cd /etc/openvpn 353s + openvpn --genkey secret static.key 353s autopkgtest [22:10:32]: test server-setup-with-static-key: -----------------------] 353s server-setup-with-static-key FAIL non-zero exit status 1 353s autopkgtest [22:10:32]: test server-setup-with-static-key: - - - - - - - - - - results - - - - - - - - - - 354s autopkgtest [22:10:33]: @@@@@@@@@@@@@@@@@@@@ summary 354s server-setup-with-ca PASS 354s server-setup-with-static-key FAIL non-zero exit status 1 359s nova [W] Using flock in prodstack6-s390x 359s Creating nova instance adt-plucky-s390x-openvpn-20250219-220439-juju-7f2275-prod-proposed-migration-environment-2-7778f8ad-b6ea-424c-9322-a284d0cd6ec4 from image adt/ubuntu-plucky-s390x-server-20250219.img (UUID 7af5aa59-4155-4177-a560-02c7dd963d23)... 359s nova [W] Timed out waiting for 885915d8-2e7d-4fdd-a63e-b4927f3af2e1 to get deleted. 359s nova [W] Using flock in prodstack6-s390x 359s Creating nova instance adt-plucky-s390x-openvpn-20250219-220439-juju-7f2275-prod-proposed-migration-environment-2-7778f8ad-b6ea-424c-9322-a284d0cd6ec4 from image adt/ubuntu-plucky-s390x-server-20250219.img (UUID 7af5aa59-4155-4177-a560-02c7dd963d23)... 359s nova [W] Timed out waiting for f2c9698e-0101-4ea0-aa41-f6f27dfd1613 to get deleted.