0s autopkgtest [12:29:50]: starting date and time: 2025-07-08 12:29:50+0000 0s autopkgtest [12:29:50]: git checkout: 508d4a25 a-v-ssh wait_for_ssh: demote "ssh connection failed" to a debug message 0s autopkgtest [12:29:50]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.82gmt84s/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_proxy=127.0.0.1,127.0.1.1,localhost,localdomain,internal,login.ubuntu.com,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com\n" >> /etc/environment' --apt-pocket=proposed=src:iproute2,src:dracut,src:initramfs-tools --apt-upgrade isc-kea --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=iproute2/6.14.0-1ubuntu3 dracut/107-1ubuntu4 initramfs-tools/0.149ubuntu2' -- lxd -r lxd-armhf-10.145.243.207 lxd-armhf-10.145.243.207:autopkgtest/ubuntu/questing/armhf 23s autopkgtest [12:30:13]: testbed dpkg architecture: armhf 25s autopkgtest [12:30:15]: testbed apt version: 3.1.3 28s autopkgtest [12:30:18]: @@@@@@@@@@@@@@@@@@@@ test bed setup 30s autopkgtest [12:30:20]: testbed release detected to be: None 38s autopkgtest [12:30:28]: updating testbed package index (apt update) 39s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [249 kB] 40s Get:2 http://ftpmaster.internal/ubuntu questing InRelease [249 kB] 40s Get:3 http://ftpmaster.internal/ubuntu questing-updates InRelease [110 kB] 40s Get:4 http://ftpmaster.internal/ubuntu questing-security InRelease [110 kB] 40s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [15.4 kB] 40s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [32.7 kB] 40s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [180 kB] 40s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/restricted Sources [2260 B] 40s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/main armhf Packages [56.2 kB] 40s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/universe armhf Packages [155 kB] 40s Get:11 http://ftpmaster.internal/ubuntu questing-proposed/multiverse armhf Packages [3452 B] 40s Get:12 http://ftpmaster.internal/ubuntu questing/main Sources [1386 kB] 40s Get:13 http://ftpmaster.internal/ubuntu questing/multiverse Sources [308 kB] 40s Get:14 http://ftpmaster.internal/ubuntu questing/universe Sources [21.1 MB] 41s Get:15 http://ftpmaster.internal/ubuntu questing/main armhf Packages [1357 kB] 41s Get:16 http://ftpmaster.internal/ubuntu questing/universe armhf Packages [15.2 MB] 41s Get:17 http://ftpmaster.internal/ubuntu questing/multiverse armhf Packages [183 kB] 45s Fetched 40.7 MB in 5s (7675 kB/s) 46s Reading package lists... 51s autopkgtest [12:30:41]: upgrading testbed (apt dist-upgrade and autopurge) 53s Reading package lists... 53s Building dependency tree... 53s Reading state information... 53s Calculating upgrade... 54s The following packages will be upgraded: 54s iproute2 54s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 54s Need to get 1098 kB of archives. 54s After this operation, 0 B of additional disk space will be used. 54s Get:1 http://ftpmaster.internal/ubuntu questing-proposed/main armhf iproute2 armhf 6.14.0-1ubuntu3 [1098 kB] 56s Preconfiguring packages ... 56s Fetched 1098 kB in 1s (742 kB/s) 56s (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 ... 59840 files and directories currently installed.) 56s Preparing to unpack .../iproute2_6.14.0-1ubuntu3_armhf.deb ... 56s Unpacking iproute2 (6.14.0-1ubuntu3) over (6.14.0-1ubuntu1) ... 56s Setting up iproute2 (6.14.0-1ubuntu3) ... 57s Processing triggers for man-db (2.13.1-1) ... 59s Reading package lists... 59s Building dependency tree... 59s Reading state information... 59s Solving dependencies... 60s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 62s autopkgtest [12:30:52]: rebooting testbed after setup commands that affected boot 100s autopkgtest [12:31:30]: testbed running kernel: Linux 6.8.0-58-generic #60~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 28 14:48:37 UTC 2 125s autopkgtest [12:31:55]: @@@@@@@@@@@@@@@@@@@@ apt-source isc-kea 175s Get:1 http://ftpmaster.internal/ubuntu questing/main isc-kea 2.6.3-1 (dsc) [2865 B] 175s Get:2 http://ftpmaster.internal/ubuntu questing/main isc-kea 2.6.3-1 (tar) [10.5 MB] 175s Get:3 http://ftpmaster.internal/ubuntu questing/main isc-kea 2.6.3-1 (asc) [833 B] 175s Get:4 http://ftpmaster.internal/ubuntu questing/main isc-kea 2.6.3-1 (diff) [42.4 kB] 175s gpgv: Signature made Tue Jun 3 12:31:32 2025 UTC 175s gpgv: using RSA key 561AD585EED766921BA8DD96D65861883E014DB9 175s gpgv: Can't check signature: No public key 175s dpkg-source: warning: cannot verify inline signature for ./isc-kea_2.6.3-1.dsc: no acceptable signature found 175s autopkgtest [12:32:45]: testing package isc-kea version 2.6.3-1 178s autopkgtest [12:32:48]: build not needed 183s autopkgtest [12:32:53]: test kea-ctrl-agent-debconf: preparing testbed 185s Reading package lists... 185s Building dependency tree... 185s Reading state information... 185s Solving dependencies... 186s The following NEW packages will be installed: 186s kea-common kea-ctrl-agent liblog4cplus-2.0.5t64 libmysqlclient24 libpq5 186s mysql-common python3-kea-connector 186s 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. 186s Need to get 5834 kB of archives. 186s After this operation, 22.2 MB of additional disk space will be used. 186s Get:1 http://ftpmaster.internal/ubuntu questing/main armhf liblog4cplus-2.0.5t64 armhf 2.0.8-1.1ubuntu3 [187 kB] 186s Get:2 http://ftpmaster.internal/ubuntu questing/main armhf mysql-common all 5.8+1.1.1ubuntu1 [6922 B] 186s Get:3 http://ftpmaster.internal/ubuntu questing/main armhf libmysqlclient24 armhf 8.4.5-0ubuntu3 [1264 kB] 187s Get:4 http://ftpmaster.internal/ubuntu questing/main armhf libpq5 armhf 17.5-1build1 [236 kB] 187s Get:5 http://ftpmaster.internal/ubuntu questing/main armhf kea-common armhf 2.6.3-1 [3980 kB] 188s Get:6 http://ftpmaster.internal/ubuntu questing/main armhf python3-kea-connector all 2.6.3-1 [16.9 kB] 188s Get:7 http://ftpmaster.internal/ubuntu questing/main armhf kea-ctrl-agent armhf 2.6.3-1 [145 kB] 188s Preconfiguring packages ... 189s Fetched 5834 kB in 2s (2650 kB/s) 189s Selecting previously unselected package liblog4cplus-2.0.5t64:armhf. 189s (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 ... 59840 files and directories currently installed.) 189s Preparing to unpack .../0-liblog4cplus-2.0.5t64_2.0.8-1.1ubuntu3_armhf.deb ... 189s Unpacking liblog4cplus-2.0.5t64:armhf (2.0.8-1.1ubuntu3) ... 189s Selecting previously unselected package mysql-common. 189s Preparing to unpack .../1-mysql-common_5.8+1.1.1ubuntu1_all.deb ... 189s Unpacking mysql-common (5.8+1.1.1ubuntu1) ... 189s Selecting previously unselected package libmysqlclient24:armhf. 189s Preparing to unpack .../2-libmysqlclient24_8.4.5-0ubuntu3_armhf.deb ... 189s Unpacking libmysqlclient24:armhf (8.4.5-0ubuntu3) ... 189s Selecting previously unselected package libpq5:armhf. 189s Preparing to unpack .../3-libpq5_17.5-1build1_armhf.deb ... 189s Unpacking libpq5:armhf (17.5-1build1) ... 189s Selecting previously unselected package kea-common. 189s Preparing to unpack .../4-kea-common_2.6.3-1_armhf.deb ... 189s Unpacking kea-common (2.6.3-1) ... 189s Selecting previously unselected package python3-kea-connector. 189s Preparing to unpack .../5-python3-kea-connector_2.6.3-1_all.deb ... 189s Unpacking python3-kea-connector (2.6.3-1) ... 189s Selecting previously unselected package kea-ctrl-agent. 189s Preparing to unpack .../6-kea-ctrl-agent_2.6.3-1_armhf.deb ... 189s Unpacking kea-ctrl-agent (2.6.3-1) ... 189s Setting up liblog4cplus-2.0.5t64:armhf (2.0.8-1.1ubuntu3) ... 189s Setting up mysql-common (5.8+1.1.1ubuntu1) ... 189s update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode 189s Setting up libpq5:armhf (17.5-1build1) ... 189s Setting up libmysqlclient24:armhf (8.4.5-0ubuntu3) ... 189s Setting up kea-common (2.6.3-1) ... 189s apparmor_parser: Unable to replace "kea-lfc". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 189s 189s Setting up python3-kea-connector (2.6.3-1) ... 189s Setting up kea-ctrl-agent (2.6.3-1) ... 190s apparmor_parser: Unable to replace "kea-ctrl-agent". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 190s 190s Created symlink '/etc/systemd/system/multi-user.target.wants/kea-ctrl-agent.service' → '/usr/lib/systemd/system/kea-ctrl-agent.service'. 190s Processing triggers for man-db (2.13.1-1) ... 191s Processing triggers for libc-bin (2.41-6ubuntu2) ... 198s autopkgtest [12:33:08]: test kea-ctrl-agent-debconf: [----------------------- 200s 200s ## Running test_fresh_install 200s ## Fresh install, default options, there must be no /etc/kea/kea-api-password file 200s total 8 200s drwxr-x--- 1 _kea _kea 38 Jul 8 12:32 . 200s drwxr-xr-x 1 root root 2894 Jul 8 12:33 .. 200s -rw-r--r-- 1 root root 5700 Jun 2 17:00 kea-ctrl-agent.conf 200s 200s ## With no /etc/kea/kea-api-password, the service must not be running 200s ○ kea-ctrl-agent.service - Kea Control Agent 200s Loaded: loaded (/usr/lib/systemd/system/kea-ctrl-agent.service; enabled; preset: enabled) 200s Drop-In: /run/systemd/system/kea-ctrl-agent.service.d 200s └─override.conf 200s Active: inactive (dead) 200s Condition: start condition unmet at Tue 2025-07-08 12:33:00 UTC; 10s ago 200s Docs: man:kea-ctrl-agent(8) 200s 200s Jul 08 12:33:00 autopkgtest-lxd-lzdgas systemd[1]: kea-ctrl-agent.service - Kea Control Agent was skipped because of an unmet condition check (ConditionFileNotEmpty=/etc/kea/kea-api-password). 200s ## OK, service is inactive 200s 200s 200s ## Running test_service_wont_start_without_pwfile 200s ## With no /etc/kea/kea-api-password, service must not start 200s total 8 200s drwxr-x--- 1 _kea _kea 38 Jul 8 12:32 . 200s drwxr-xr-x 1 root root 2894 Jul 8 12:33 .. 200s -rw-r--r-- 1 root root 5700 Jun 2 17:00 kea-ctrl-agent.conf 200s ## Current status: 200s ○ kea-ctrl-agent.service - Kea Control Agent 200s Loaded: loaded (/usr/lib/systemd/system/kea-ctrl-agent.service; enabled; preset: enabled) 200s Drop-In: /run/systemd/system/kea-ctrl-agent.service.d 200s └─override.conf 200s Active: inactive (dead) 200s Condition: start condition unmet at Tue 2025-07-08 12:33:00 UTC; 10s ago 200s Docs: man:kea-ctrl-agent(8) 200s 200s Jul 08 12:33:00 autopkgtest-lxd-lzdgas systemd[1]: kea-ctrl-agent.service - Kea Control Agent was skipped because of an unmet condition check (ConditionFileNotEmpty=/etc/kea/kea-api-password). 200s 200s ## Attempting to start kea-ctrl-agent.service 200s ○ kea-ctrl-agent.service - Kea Control Agent 200s Loaded: loaded (/usr/lib/systemd/system/kea-ctrl-agent.service; enabled; preset: enabled) 200s Drop-In: /run/systemd/system/kea-ctrl-agent.service.d 200s └─override.conf 200s Active: inactive (dead) 200s Condition: start condition unmet at Tue 2025-07-08 12:33:10 UTC; 26ms ago 200s └─ ConditionFileNotEmpty=/etc/kea/kea-api-password was not met 200s Docs: man:kea-ctrl-agent(8) 200s 200s Jul 08 12:33:00 autopkgtest-lxd-lzdgas systemd[1]: kea-ctrl-agent.service - Kea Control Agent was skipped because of an unmet condition check (ConditionFileNotEmpty=/etc/kea/kea-api-password). 200s Jul 08 12:33:10 autopkgtest-lxd-lzdgas systemd[1]: kea-ctrl-agent.service - Kea Control Agent was skipped because of an unmet condition check (ConditionFileNotEmpty=/etc/kea/kea-api-password). 200s ## OK, service is inactive 200s 200s 200s ## Running test_configured_password 200s ## Reconfiguring kea-ctrl-agent with password secret_password_28908 201s apparmor_parser: Unable to replace "kea-ctrl-agent". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 201s 201s ## Checking that /etc/kea/kea-api-password exists and has secret_password_28908 201s total 12 201s drwxr-x--- 1 _kea _kea 70 Jul 8 12:33 . 201s drwxr-xr-x 1 root root 2894 Jul 8 12:33 .. 201s -rw-r----- 1 root _kea 21 Jul 8 12:33 kea-api-password 201s -rw-r--r-- 1 root root 5700 Jun 2 17:00 kea-ctrl-agent.conf 201s ## OK, password from /etc/kea/kea-api-password is secret_password_28908 201s ## Checking that /etc/kea/kea-api-password has expected permissions and ownership 201s ## OK, permissions are root:_kea:640 201s 201s 201s ## Checking that the service is running 201s ● kea-ctrl-agent.service - Kea Control Agent 201s Loaded: loaded (/usr/lib/systemd/system/kea-ctrl-agent.service; enabled; preset: enabled) 201s Drop-In: /run/systemd/system/kea-ctrl-agent.service.d 201s └─override.conf 201s Active: active (running) since Tue 2025-07-08 12:33:11 UTC; 59ms ago 201s Invocation: a880d0173eb5476eadc2a62301fd32b5 201s Docs: man:kea-ctrl-agent(8) 201s Main PID: 1505 (kea-ctrl-agent) 201s Tasks: 5 (limit: 19091) 201s Memory: 1.3M 201s CGroup: /system.slice/kea-ctrl-agent.service 201s └─1505 /usr/sbin/kea-ctrl-agent -c /etc/kea/kea-ctrl-agent.conf 201s 201s Jul 08 12:33:11 autopkgtest-lxd-lzdgas systemd[1]: Started kea-ctrl-agent.service - Kea Control Agent. 201s Jul 08 12:33:11 autopkgtest-lxd-lzdgas (rl-agent)[1505]: kea-ctrl-agent.service: ConfigurationDirectory 'kea' already exists but the mode is different. (File system: 750 ConfigurationDirectoryMode: 755) 201s Jul 08 12:33:11 autopkgtest-lxd-lzdgas kea-ctrl-agent[1505]: 2025-07-08 12:33:11.895 INFO [kea-ctrl-agent.dctl/1505.4001414432] DCTL_STARTING Control-agent starting, pid: 1505, version: 2.6.3 (stable) 201s Jul 08 12:33:11 autopkgtest-lxd-lzdgas kea-ctrl-agent[1505]: INFO CTRL_AGENT_HTTP_SERVICE_STARTED HTTP service bound to address 127.0.0.1:8000 201s Jul 08 12:33:11 autopkgtest-lxd-lzdgas kea-ctrl-agent[1505]: INFO DCTL_CONFIG_COMPLETE server has completed configuration: listening on 127.0.0.1, port 8000, control sockets: d2 dhcp4 dhcp6, requires basic HTTP authentication, 0 lib(s): 201s Jul 08 12:33:11 autopkgtest-lxd-lzdgas kea-ctrl-agent[1505]: INFO CTRL_AGENT_STARTED Kea Control Agent version 2.6.3 started 201s ## OK, service is active 201s 201s ## Running test_configured_random_password 201s ## Reconfiguring kea-ctrl-agent with random password option 202s apparmor_parser: Unable to replace "kea-ctrl-agent". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 202s 202s ## Checking that /etc/kea/kea-api-password exists and has a password different from secret_password_28908 203s total 12 203s drwxr-x--- 1 _kea _kea 70 Jul 8 12:33 . 203s drwxr-xr-x 1 root root 2894 Jul 8 12:33 .. 203s -rw-r----- 1 root _kea 20 Jul 8 12:33 kea-api-password 203s -rw-r--r-- 1 root root 5700 Jun 2 17:00 kea-ctrl-agent.conf 203s ## OK, generated random password is "hc/KtXVqFnwGHoUQxgPH" 203s 203s ## Checking that /etc/kea/kea-api-password has expected permissions and ownership 203s ## OK, permissions are root:_kea:640 203s 203s 203s ## Checking that the service is running 203s ● kea-ctrl-agent.service - Kea Control Agent 203s Loaded: loaded (/usr/lib/systemd/system/kea-ctrl-agent.service; enabled; preset: enabled) 203s Drop-In: /run/systemd/system/kea-ctrl-agent.service.d 203s └─override.conf 203s Active: active (running) since Tue 2025-07-08 12:33:12 UTC; 60ms ago 203s Invocation: 1041299cb2cf49389bb79d0a19f22211 203s Docs: man:kea-ctrl-agent(8) 203s Main PID: 1638 (kea-ctrl-agent) 203s Tasks: 5 (limit: 19091) 203s Memory: 1M 203s CGroup: /system.slice/kea-ctrl-agent.service 203s └─1638 /usr/sbin/kea-ctrl-agent -c /etc/kea/kea-ctrl-agent.conf 203s 203s Jul 08 12:33:12 autopkgtest-lxd-lzdgas systemd[1]: Started kea-ctrl-agent.service - Kea Control Agent. 203s Jul 08 12:33:12 autopkgtest-lxd-lzdgas (rl-agent)[1638]: kea-ctrl-agent.service: ConfigurationDirectory 'kea' already exists but the mode is different. (File system: 750 ConfigurationDirectoryMode: 755) 203s Jul 08 12:33:12 autopkgtest-lxd-lzdgas kea-ctrl-agent[1638]: 2025-07-08 12:33:12.980 INFO [kea-ctrl-agent.dctl/1638.3986271520] DCTL_STARTING Control-agent starting, pid: 1638, version: 2.6.3 (stable) 203s Jul 08 12:33:12 autopkgtest-lxd-lzdgas kea-ctrl-agent[1638]: INFO CTRL_AGENT_HTTP_SERVICE_STARTED HTTP service bound to address 127.0.0.1:8000 203s Jul 08 12:33:12 autopkgtest-lxd-lzdgas kea-ctrl-agent[1638]: INFO DCTL_CONFIG_COMPLETE server has completed configuration: listening on 127.0.0.1, port 8000, control sockets: d2 dhcp4 dhcp6, requires basic HTTP authentication, 0 lib(s): 203s Jul 08 12:33:12 autopkgtest-lxd-lzdgas kea-ctrl-agent[1638]: INFO CTRL_AGENT_STARTED Kea Control Agent version 2.6.3 started 203s ## OK, service is active 203s 203s ## Running test_unconfigured 203s ## Reconfiguring kea-ctrl-agent with option "unconfigured" should leave things as they were 203s 203s ## Overwriting /etc/kea/kea-api-password with secret_password_28908secret_password_28908 203s ## Reconfiguring 203s apparmor_parser: Unable to replace "kea-ctrl-agent". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 203s 204s 204s ## /etc/kea/kea-api-password should still contain secret_password_28908secret_password_28908 204s ## OK, same content 204s ## Removing /etc/kea/kea-api-password and reconfiguring, a new one should not be created, and the service must be stopped 204s total 8 204s drwxr-x--- 1 _kea _kea 38 Jul 8 12:33 . 204s drwxr-xr-x 1 root root 2894 Jul 8 12:33 .. 204s -rw-r--r-- 1 root root 5700 Jun 2 17:00 kea-ctrl-agent.conf 204s ## Reconfiguring 204s apparmor_parser: Unable to replace "kea-ctrl-agent". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 204s 205s ## /etc/kea/kea-api-password was not recreated 205s total 8 205s drwxr-x--- 1 _kea _kea 38 Jul 8 12:33 . 205s drwxr-xr-x 1 root root 2894 Jul 8 12:33 .. 205s -rw-r--r-- 1 root root 5700 Jun 2 17:00 kea-ctrl-agent.conf 205s ## With no /etc/kea/kea-api-password, the service must not be running 205s ○ kea-ctrl-agent.service - Kea Control Agent 205s Loaded: loaded (/usr/lib/systemd/system/kea-ctrl-agent.service; enabled; preset: enabled) 205s Drop-In: /run/systemd/system/kea-ctrl-agent.service.d 205s └─override.conf 205s Active: inactive (dead) (Result: exit-code) since Tue 2025-07-08 12:33:15 UTC; 52ms ago 205s Duration: 260ms 205s Invocation: f17136b9599742ed8ddc8859cb1ade90 205s Condition: start condition unmet at Tue 2025-07-08 12:33:15 UTC; 52ms ago 205s └─ ConditionFileNotEmpty=/etc/kea/kea-api-password was not met 205s Docs: man:kea-ctrl-agent(8) 205s Process: 1867 ExecStart=/usr/sbin/kea-ctrl-agent -c /etc/kea/kea-ctrl-agent.conf (code=exited, status=1/FAILURE) 205s Main PID: 1867 (code=exited, status=1/FAILURE) 205s 205s Jul 08 12:33:15 autopkgtest-lxd-lzdgas systemd[1]: Stopped kea-ctrl-agent.service - Kea Control Agent. 205s Jul 08 12:33:15 autopkgtest-lxd-lzdgas systemd[1]: kea-ctrl-agent.service - Kea Control Agent was skipped because of an unmet condition check (ConditionFileNotEmpty=/etc/kea/kea-api-password). 205s ## OK, service is inactive 205s 205s ## Running test_no_start_with_empty_password 205s ## kea-ctrl-agent must not start with an empty password file 205s 205s ## Truncating /etc/kea/kea-api-password 205s total 8 205s drwxr-x--- 1 _kea _kea 70 Jul 8 12:33 . 205s drwxr-xr-x 1 root root 2894 Jul 8 12:33 .. 205s -rw-r--r-- 1 root root 0 Jul 8 12:33 kea-api-password 205s -rw-r--r-- 1 root root 5700 Jun 2 17:00 kea-ctrl-agent.conf 205s 205s ## Restarting kea-ctrl-agent 205s 205s ## Service must not be started 205s ○ kea-ctrl-agent.service - Kea Control Agent 205s Loaded: loaded (/usr/lib/systemd/system/kea-ctrl-agent.service; enabled; preset: enabled) 205s Drop-In: /run/systemd/system/kea-ctrl-agent.service.d 205s └─override.conf 205s Active: inactive (dead) (Result: exit-code) since Tue 2025-07-08 12:33:15 UTC; 95ms ago 205s Duration: 260ms 205s Invocation: f17136b9599742ed8ddc8859cb1ade90 205s Condition: start condition unmet at Tue 2025-07-08 12:33:15 UTC; 23ms ago 205s └─ ConditionFileNotEmpty=/etc/kea/kea-api-password was not met 205s Docs: man:kea-ctrl-agent(8) 205s Process: 1867 ExecStart=/usr/sbin/kea-ctrl-agent -c /etc/kea/kea-ctrl-agent.conf (code=exited, status=1/FAILURE) 205s Main PID: 1867 (code=exited, status=1/FAILURE) 205s 205s Jul 08 12:33:15 autopkgtest-lxd-lzdgas systemd[1]: Stopped kea-ctrl-agent.service - Kea Control Agent. 205s Jul 08 12:33:15 autopkgtest-lxd-lzdgas systemd[1]: kea-ctrl-agent.service - Kea Control Agent was skipped because of an unmet condition check (ConditionFileNotEmpty=/etc/kea/kea-api-password). 205s Jul 08 12:33:15 autopkgtest-lxd-lzdgas systemd[1]: kea-ctrl-agent.service - Kea Control Agent was skipped because of an unmet condition check (ConditionFileNotEmpty=/etc/kea/kea-api-password). 205s ## OK, service is inactive 205s 205s ## Running test_empty_password_via_debconf 205s ## Reconfiguring with password set to secret_password_28908 205s apparmor_parser: Unable to replace "kea-ctrl-agent". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 205s 206s 206s ## /etc/kea/kea-api-password must now contain secret_password_28908 206s ## OK, same content 206s 206s ## Service must be running 206s ● kea-ctrl-agent.service - Kea Control Agent 206s Loaded: loaded (/usr/lib/systemd/system/kea-ctrl-agent.service; enabled; preset: enabled) 206s Drop-In: /run/systemd/system/kea-ctrl-agent.service.d 206s └─override.conf 206s Active: active (running) since Tue 2025-07-08 12:33:16 UTC; 57ms ago 206s Invocation: a3c39266418e45589a4667f7d684d6d4 206s Docs: man:kea-ctrl-agent(8) 206s Main PID: 2038 (kea-ctrl-agent) 206s Tasks: 5 (limit: 19091) 206s Memory: 1.1M 206s CGroup: /system.slice/kea-ctrl-agent.service 206s └─2038 /usr/sbin/kea-ctrl-agent -c /etc/kea/kea-ctrl-agent.conf 206s 206s Jul 08 12:33:16 autopkgtest-lxd-lzdgas systemd[1]: Started kea-ctrl-agent.service - Kea Control Agent. 206s Jul 08 12:33:16 autopkgtest-lxd-lzdgas (rl-agent)[2038]: kea-ctrl-agent.service: ConfigurationDirectory 'kea' already exists but the mode is different. (File system: 750 ConfigurationDirectoryMode: 755) 206s Jul 08 12:33:16 autopkgtest-lxd-lzdgas kea-ctrl-agent[2038]: 2025-07-08 12:33:16.257 INFO [kea-ctrl-agent.dctl/2038.4037917984] DCTL_STARTING Control-agent starting, pid: 2038, version: 2.6.3 (stable) 206s Jul 08 12:33:16 autopkgtest-lxd-lzdgas kea-ctrl-agent[2038]: INFO CTRL_AGENT_HTTP_SERVICE_STARTED HTTP service bound to address 127.0.0.1:8000 206s Jul 08 12:33:16 autopkgtest-lxd-lzdgas kea-ctrl-agent[2038]: INFO DCTL_CONFIG_COMPLETE server has completed configuration: listening on 127.0.0.1, port 8000, control sockets: d2 dhcp4 dhcp6, requires basic HTTP authentication, 0 lib(s): 206s Jul 08 12:33:16 autopkgtest-lxd-lzdgas kea-ctrl-agent[2038]: INFO CTRL_AGENT_STARTED Kea Control Agent version 2.6.3 started 206s ## OK, service is active 206s 206s ## Reconfiguring with an empty password should not change the existing password 206s apparmor_parser: Unable to replace "kea-ctrl-agent". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 206s 207s total 12 207s drwxr-x--- 1 _kea _kea 70 Jul 8 12:33 . 207s drwxr-xr-x 1 root root 2894 Jul 8 12:33 .. 207s -rw-r----- 1 root _kea 21 Jul 8 12:33 kea-api-password 207s -rw-r--r-- 1 root root 5700 Jun 2 17:00 kea-ctrl-agent.conf 207s ## OK, same content 207s 207s ## Service must be running 207s ● kea-ctrl-agent.service - Kea Control Agent 207s Loaded: loaded (/usr/lib/systemd/system/kea-ctrl-agent.service; enabled; preset: enabled) 207s Drop-In: /run/systemd/system/kea-ctrl-agent.service.d 207s └─override.conf 207s Active: active (running) since Tue 2025-07-08 12:33:17 UTC; 54ms ago 207s Invocation: 9ff6241e42914375bf0679a403a2f49e 207s Docs: man:kea-ctrl-agent(8) 207s Main PID: 2157 (kea-ctrl-agent) 207s Tasks: 5 (limit: 19091) 207s Memory: 1.3M 207s CGroup: /system.slice/kea-ctrl-agent.service 207s └─2157 /usr/sbin/kea-ctrl-agent -c /etc/kea/kea-ctrl-agent.conf 207s 207s Jul 08 12:33:17 autopkgtest-lxd-lzdgas systemd[1]: Started kea-ctrl-agent.service - Kea Control Agent. 207s Jul 08 12:33:17 autopkgtest-lxd-lzdgas (rl-agent)[2157]: kea-ctrl-agent.service: ConfigurationDirectory 'kea' already exists but the mode is different. (File system: 750 ConfigurationDirectoryMode: 755) 207s Jul 08 12:33:17 autopkgtest-lxd-lzdgas kea-ctrl-agent[2157]: 2025-07-08 12:33:17.360 INFO [kea-ctrl-agent.dctl/2157.4054134048] DCTL_STARTING Control-agent starting, pid: 2157, version: 2.6.3 (stable) 207s Jul 08 12:33:17 autopkgtest-lxd-lzdgas kea-ctrl-agent[2157]: INFO CTRL_AGENT_HTTP_SERVICE_STARTED HTTP service bound to address 127.0.0.1:8000 207s Jul 08 12:33:17 autopkgtest-lxd-lzdgas kea-ctrl-agent[2157]: INFO DCTL_CONFIG_COMPLETE server has completed configuration: listening on 127.0.0.1, port 8000, control sockets: d2 dhcp4 dhcp6, requires basic HTTP authentication, 0 lib(s): 207s Jul 08 12:33:17 autopkgtest-lxd-lzdgas kea-ctrl-agent[2157]: INFO CTRL_AGENT_STARTED Kea Control Agent version 2.6.3 started 207s ## OK, service is active 207s autopkgtest [12:33:17]: test kea-ctrl-agent-debconf: -----------------------] 211s kea-ctrl-agent-debconf PASS 211s autopkgtest [12:33:21]: test kea-ctrl-agent-debconf: - - - - - - - - - - results - - - - - - - - - - 215s autopkgtest [12:33:25]: test smoke-tests: preparing testbed 240s autopkgtest [12:33:50]: testbed dpkg architecture: armhf 242s autopkgtest [12:33:52]: testbed apt version: 3.1.3 245s autopkgtest [12:33:55]: @@@@@@@@@@@@@@@@@@@@ test bed setup 247s autopkgtest [12:33:57]: testbed release detected to be: questing 254s autopkgtest [12:34:04]: updating testbed package index (apt update) 256s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [249 kB] 256s Get:2 http://ftpmaster.internal/ubuntu questing InRelease [249 kB] 256s Get:3 http://ftpmaster.internal/ubuntu questing-updates InRelease [110 kB] 256s Get:4 http://ftpmaster.internal/ubuntu questing-security InRelease [110 kB] 256s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [15.4 kB] 256s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/restricted Sources [2260 B] 256s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [32.7 kB] 256s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [180 kB] 256s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/main armhf Packages [56.2 kB] 256s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/universe armhf Packages [155 kB] 256s Get:11 http://ftpmaster.internal/ubuntu questing-proposed/multiverse armhf Packages [3452 B] 256s Get:12 http://ftpmaster.internal/ubuntu questing/main Sources [1386 kB] 257s Get:13 http://ftpmaster.internal/ubuntu questing/multiverse Sources [308 kB] 257s Get:14 http://ftpmaster.internal/ubuntu questing/universe Sources [21.1 MB] 257s Get:15 http://ftpmaster.internal/ubuntu questing/main armhf Packages [1357 kB] 257s Get:16 http://ftpmaster.internal/ubuntu questing/universe armhf Packages [15.2 MB] 258s Get:17 http://ftpmaster.internal/ubuntu questing/multiverse armhf Packages [183 kB] 261s Fetched 40.7 MB in 6s (7316 kB/s) 262s Reading package lists... 268s autopkgtest [12:34:18]: upgrading testbed (apt dist-upgrade and autopurge) 269s Reading package lists... 269s Building dependency tree... 269s Reading state information... 270s Calculating upgrade... 270s The following packages will be upgraded: 270s iproute2 270s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 270s Need to get 1098 kB of archives. 270s After this operation, 0 B of additional disk space will be used. 270s Get:1 http://ftpmaster.internal/ubuntu questing-proposed/main armhf iproute2 armhf 6.14.0-1ubuntu3 [1098 kB] 271s Preconfiguring packages ... 271s Fetched 1098 kB in 1s (1972 kB/s) 271s (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 ... 59840 files and directories currently installed.) 271s Preparing to unpack .../iproute2_6.14.0-1ubuntu3_armhf.deb ... 272s Unpacking iproute2 (6.14.0-1ubuntu3) over (6.14.0-1ubuntu1) ... 272s Setting up iproute2 (6.14.0-1ubuntu3) ... 272s Processing triggers for man-db (2.13.1-1) ... 274s Reading package lists... 275s Building dependency tree... 275s Reading state information... 275s Solving dependencies... 275s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 277s autopkgtest [12:34:27]: rebooting testbed after setup commands that affected boot 341s Reading package lists... 341s Building dependency tree... 341s Reading state information... 341s Solving dependencies... 342s The following NEW packages will be installed: 342s jq kea kea-admin kea-common kea-ctrl-agent kea-dhcp-ddns-server 342s kea-dhcp4-server kea-dhcp6-server libjq1 liblog4cplus-2.0.5t64 342s libmysqlclient24 libonig5 libpq5 mysql-common python3-kea-connector 342s 0 upgraded, 15 newly installed, 0 to remove and 0 not upgraded. 342s Need to get 7390 kB of archives. 342s After this operation, 27.5 MB of additional disk space will be used. 342s Get:1 http://ftpmaster.internal/ubuntu questing/main armhf liblog4cplus-2.0.5t64 armhf 2.0.8-1.1ubuntu3 [187 kB] 342s Get:2 http://ftpmaster.internal/ubuntu questing/main armhf mysql-common all 5.8+1.1.1ubuntu1 [6922 B] 342s Get:3 http://ftpmaster.internal/ubuntu questing/main armhf libmysqlclient24 armhf 8.4.5-0ubuntu3 [1264 kB] 343s Get:4 http://ftpmaster.internal/ubuntu questing/main armhf libpq5 armhf 17.5-1build1 [236 kB] 343s Get:5 http://ftpmaster.internal/ubuntu questing/main armhf kea-common armhf 2.6.3-1 [3980 kB] 344s Get:6 http://ftpmaster.internal/ubuntu questing/main armhf python3-kea-connector all 2.6.3-1 [16.9 kB] 344s Get:7 http://ftpmaster.internal/ubuntu questing/main armhf kea-ctrl-agent armhf 2.6.3-1 [145 kB] 344s Get:8 http://ftpmaster.internal/ubuntu questing/main armhf kea-dhcp-ddns-server armhf 2.6.3-1 [195 kB] 344s Get:9 http://ftpmaster.internal/ubuntu questing/main armhf kea-dhcp4-server armhf 2.6.3-1 [376 kB] 344s Get:10 http://ftpmaster.internal/ubuntu questing/main armhf kea-dhcp6-server armhf 2.6.3-1 [364 kB] 344s Get:11 http://ftpmaster.internal/ubuntu questing/main armhf libonig5 armhf 6.9.9-1build1 [148 kB] 344s Get:12 http://ftpmaster.internal/ubuntu questing/main armhf libjq1 armhf 1.7.1-6ubuntu1 [158 kB] 344s Get:13 http://ftpmaster.internal/ubuntu questing/main armhf jq armhf 1.7.1-6ubuntu1 [65.3 kB] 344s Get:14 http://ftpmaster.internal/ubuntu questing/main armhf kea-admin armhf 2.6.3-1 [242 kB] 344s Get:15 http://ftpmaster.internal/ubuntu questing/main armhf kea all 2.6.3-1 [7554 B] 344s Preconfiguring packages ... 344s Fetched 7390 kB in 2s (3453 kB/s) 344s Selecting previously unselected package liblog4cplus-2.0.5t64:armhf. 345s (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 ... 59840 files and directories currently installed.) 345s Preparing to unpack .../00-liblog4cplus-2.0.5t64_2.0.8-1.1ubuntu3_armhf.deb ... 345s Unpacking liblog4cplus-2.0.5t64:armhf (2.0.8-1.1ubuntu3) ... 345s Selecting previously unselected package mysql-common. 345s Preparing to unpack .../01-mysql-common_5.8+1.1.1ubuntu1_all.deb ... 345s Unpacking mysql-common (5.8+1.1.1ubuntu1) ... 345s Selecting previously unselected package libmysqlclient24:armhf. 345s Preparing to unpack .../02-libmysqlclient24_8.4.5-0ubuntu3_armhf.deb ... 345s Unpacking libmysqlclient24:armhf (8.4.5-0ubuntu3) ... 345s Selecting previously unselected package libpq5:armhf. 345s Preparing to unpack .../03-libpq5_17.5-1build1_armhf.deb ... 345s Unpacking libpq5:armhf (17.5-1build1) ... 345s Selecting previously unselected package kea-common. 345s Preparing to unpack .../04-kea-common_2.6.3-1_armhf.deb ... 345s Unpacking kea-common (2.6.3-1) ... 345s Selecting previously unselected package python3-kea-connector. 345s Preparing to unpack .../05-python3-kea-connector_2.6.3-1_all.deb ... 345s Unpacking python3-kea-connector (2.6.3-1) ... 345s Selecting previously unselected package kea-ctrl-agent. 345s Preparing to unpack .../06-kea-ctrl-agent_2.6.3-1_armhf.deb ... 345s Unpacking kea-ctrl-agent (2.6.3-1) ... 345s Selecting previously unselected package kea-dhcp-ddns-server. 345s Preparing to unpack .../07-kea-dhcp-ddns-server_2.6.3-1_armhf.deb ... 345s Unpacking kea-dhcp-ddns-server (2.6.3-1) ... 345s Selecting previously unselected package kea-dhcp4-server. 345s Preparing to unpack .../08-kea-dhcp4-server_2.6.3-1_armhf.deb ... 345s Unpacking kea-dhcp4-server (2.6.3-1) ... 345s Selecting previously unselected package kea-dhcp6-server. 345s Preparing to unpack .../09-kea-dhcp6-server_2.6.3-1_armhf.deb ... 345s Unpacking kea-dhcp6-server (2.6.3-1) ... 345s Selecting previously unselected package libonig5:armhf. 345s Preparing to unpack .../10-libonig5_6.9.9-1build1_armhf.deb ... 345s Unpacking libonig5:armhf (6.9.9-1build1) ... 345s Selecting previously unselected package libjq1:armhf. 345s Preparing to unpack .../11-libjq1_1.7.1-6ubuntu1_armhf.deb ... 345s Unpacking libjq1:armhf (1.7.1-6ubuntu1) ... 345s Selecting previously unselected package jq. 345s Preparing to unpack .../12-jq_1.7.1-6ubuntu1_armhf.deb ... 345s Unpacking jq (1.7.1-6ubuntu1) ... 345s Selecting previously unselected package kea-admin. 345s Preparing to unpack .../13-kea-admin_2.6.3-1_armhf.deb ... 345s Unpacking kea-admin (2.6.3-1) ... 345s Selecting previously unselected package kea. 345s Preparing to unpack .../14-kea_2.6.3-1_all.deb ... 345s Unpacking kea (2.6.3-1) ... 345s Setting up liblog4cplus-2.0.5t64:armhf (2.0.8-1.1ubuntu3) ... 345s Setting up mysql-common (5.8+1.1.1ubuntu1) ... 345s update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode 345s Setting up libpq5:armhf (17.5-1build1) ... 345s Setting up libmysqlclient24:armhf (8.4.5-0ubuntu3) ... 345s Setting up kea-common (2.6.3-1) ... 345s apparmor_parser: Unable to replace "kea-lfc". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 345s 345s Setting up kea-dhcp4-server (2.6.3-1) ... 345s apparmor_parser: Unable to replace "kea-dhcp4". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 345s 346s Created symlink '/etc/systemd/system/multi-user.target.wants/kea-dhcp4-server.service' → '/usr/lib/systemd/system/kea-dhcp4-server.service'. 346s Setting up python3-kea-connector (2.6.3-1) ... 346s Setting up libonig5:armhf (6.9.9-1build1) ... 346s Setting up kea-admin (2.6.3-1) ... 346s Setting up libjq1:armhf (1.7.1-6ubuntu1) ... 346s Setting up kea-dhcp-ddns-server (2.6.3-1) ... 346s apparmor_parser: Unable to replace "kea-dhcp-ddns". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 346s 347s Created symlink '/etc/systemd/system/multi-user.target.wants/kea-dhcp-ddns-server.service' → '/usr/lib/systemd/system/kea-dhcp-ddns-server.service'. 347s Setting up kea-dhcp6-server (2.6.3-1) ... 347s apparmor_parser: Unable to replace "kea-dhcp6". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 347s 347s Created symlink '/etc/systemd/system/multi-user.target.wants/kea-dhcp6-server.service' → '/usr/lib/systemd/system/kea-dhcp6-server.service'. 348s Setting up jq (1.7.1-6ubuntu1) ... 348s Setting up kea-ctrl-agent (2.6.3-1) ... 348s apparmor_parser: Unable to replace "kea-ctrl-agent". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 348s 348s Created symlink '/etc/systemd/system/multi-user.target.wants/kea-ctrl-agent.service' → '/usr/lib/systemd/system/kea-ctrl-agent.service'. 349s Setting up kea (2.6.3-1) ... 349s Processing triggers for man-db (2.13.1-1) ... 349s Processing triggers for libc-bin (2.41-6ubuntu2) ... 367s autopkgtest [12:35:57]: test smoke-tests: [----------------------- 369s + debconf-set-selections 369s + dpkg-reconfigure kea-ctrl-agent 369s apparmor_parser: Unable to replace "kea-ctrl-agent". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 369s 370s + kea_password_file=/etc/kea/kea-api-password 370s + '[' -s /etc/kea/kea-api-password ']' 370s + sleep 5 375s + for f in kea-dhcp4.kea-dhcp4.pid kea-dhcp6.kea-dhcp6.pid kea-ctrl-agent.kea-ctrl-agent.pid kea-dhcp-ddns.kea-dhcp-ddns.pid 375s + test -f /run/kea/kea-dhcp4.kea-dhcp4.pid 375s + for f in kea-dhcp4.kea-dhcp4.pid kea-dhcp6.kea-dhcp6.pid kea-ctrl-agent.kea-ctrl-agent.pid kea-dhcp-ddns.kea-dhcp-ddns.pid 375s + test -f /run/kea/kea-dhcp6.kea-dhcp6.pid 375s + for f in kea-dhcp4.kea-dhcp4.pid kea-dhcp6.kea-dhcp6.pid kea-ctrl-agent.kea-ctrl-agent.pid kea-dhcp-ddns.kea-dhcp-ddns.pid 375s + test -f /run/kea/kea-ctrl-agent.kea-ctrl-agent.pid 375s + for f in kea-dhcp4.kea-dhcp4.pid kea-dhcp6.kea-dhcp6.pid kea-ctrl-agent.kea-ctrl-agent.pid kea-dhcp-ddns.kea-dhcp-ddns.pid 375s + test -f /run/kea/kea-dhcp-ddns.kea-dhcp-ddns.pid 375s + for socket in kea-ddns-ctrl-socket kea4-ctrl-socket kea6-ctrl-socket 375s + test -S /run/kea/kea-ddns-ctrl-socket 375s + for socket in kea-ddns-ctrl-socket kea4-ctrl-socket kea6-ctrl-socket 375s + test -S /run/kea/kea4-ctrl-socket 375s + for socket in kea-ddns-ctrl-socket kea4-ctrl-socket kea6-ctrl-socket 375s + test -S /run/kea/kea6-ctrl-socket 375s + test -f /run/lock/kea/logger_lockfile 375s + sudo -u _kea -- kea-dhcp4 -t /etc/kea/kea-dhcp4.conf 375s + sudo -u _kea -- kea-dhcp6 -t /etc/kea/kea-dhcp6.conf 375s + auth_params= 375s + basic_auth_params= 375s + '[' -s /etc/kea/kea-api-password ']' 375s ++ cat /etc/kea/kea-api-password 375s + auth_params='--auth-user kea-api --auth-password CW3eM1scbJZ7ROlOMomy' 375s ++ cat /etc/kea/kea-api-password 375s + basic_auth_params='-u kea-api:CW3eM1scbJZ7ROlOMomy' 375s ++ curl -u kea-api:CW3eM1scbJZ7ROlOMomy -s -X POST -H 'Content-Type: application/json' -d '{ "command": "version-get", "service": [ "dhcp4" ] }' 127.0.0.1:8000 375s ++ jq -r '.[0].text' 375s + TEST_KEA_VERSION=2.6.3 375s + check_kea_version 2.6.3 375s + CHECKED_VERSION=2.6.3 375s + [[ ! 2.6.3 =~ [0-9]+(\.[0-9]+){2} ]] 375s ++ echo 375s ++ kea-shell --service dhcp4 --host 127.0.0.1 --port 8000 --auth-user kea-api --auth-password CW3eM1scbJZ7ROlOMomy version-get 375s ++ jq -r '.[0].text' 375s + TEST_KEA_VERSION=2.6.3 375s + check_kea_version 2.6.3 375s + CHECKED_VERSION=2.6.3 375s + [[ ! 2.6.3 =~ [0-9]+(\.[0-9]+){2} ]] 376s autopkgtest [12:36:06]: test smoke-tests: -----------------------] 379s smoke-tests PASS 379s autopkgtest [12:36:09]: test smoke-tests: - - - - - - - - - - results - - - - - - - - - - 383s autopkgtest [12:36:13]: test kea-dhcp4: preparing testbed 408s autopkgtest [12:36:38]: testbed dpkg architecture: armhf 410s autopkgtest [12:36:40]: testbed apt version: 3.1.3 413s autopkgtest [12:36:43]: @@@@@@@@@@@@@@@@@@@@ test bed setup 415s autopkgtest [12:36:45]: testbed release detected to be: questing 422s autopkgtest [12:36:52]: updating testbed package index (apt update) 424s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [249 kB] 424s Get:2 http://ftpmaster.internal/ubuntu questing InRelease [249 kB] 425s Get:3 http://ftpmaster.internal/ubuntu questing-updates InRelease [110 kB] 425s Get:4 http://ftpmaster.internal/ubuntu questing-security InRelease [110 kB] 425s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [180 kB] 425s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [15.4 kB] 425s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/restricted Sources [2260 B] 425s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [32.7 kB] 425s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/main armhf Packages [56.2 kB] 425s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/universe armhf Packages [155 kB] 425s Get:11 http://ftpmaster.internal/ubuntu questing-proposed/multiverse armhf Packages [3452 B] 425s Get:12 http://ftpmaster.internal/ubuntu questing/main Sources [1386 kB] 425s Get:13 http://ftpmaster.internal/ubuntu questing/universe Sources [21.1 MB] 427s Get:14 http://ftpmaster.internal/ubuntu questing/multiverse Sources [308 kB] 427s Get:15 http://ftpmaster.internal/ubuntu questing/main armhf Packages [1357 kB] 427s Get:16 http://ftpmaster.internal/ubuntu questing/universe armhf Packages [15.2 MB] 428s Get:17 http://ftpmaster.internal/ubuntu questing/multiverse armhf Packages [183 kB] 431s Fetched 40.7 MB in 7s (5953 kB/s) 432s Reading package lists... 437s autopkgtest [12:37:07]: upgrading testbed (apt dist-upgrade and autopurge) 439s Reading package lists... 440s Building dependency tree... 440s Reading state information... 440s Calculating upgrade... 441s The following packages will be upgraded: 441s iproute2 442s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 442s Need to get 1098 kB of archives. 442s After this operation, 0 B of additional disk space will be used. 442s Get:1 http://ftpmaster.internal/ubuntu questing-proposed/main armhf iproute2 armhf 6.14.0-1ubuntu3 [1098 kB] 442s Preconfiguring packages ... 443s Fetched 1098 kB in 1s (1916 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 ... 59840 files and directories currently installed.) 443s Preparing to unpack .../iproute2_6.14.0-1ubuntu3_armhf.deb ... 443s Unpacking iproute2 (6.14.0-1ubuntu3) over (6.14.0-1ubuntu1) ... 443s Setting up iproute2 (6.14.0-1ubuntu3) ... 443s Processing triggers for man-db (2.13.1-1) ... 446s Reading package lists... 446s Building dependency tree... 446s Reading state information... 446s Solving dependencies... 447s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 448s autopkgtest [12:37:18]: rebooting testbed after setup commands that affected boot 511s Reading package lists... 511s Building dependency tree... 511s Reading state information... 511s Solving dependencies... 512s The following NEW packages will be installed: 512s bridge-utils isc-dhcp-client jq kea-common kea-ctrl-agent kea-dhcp4-server 512s libjq1 liblog4cplus-2.0.5t64 libmysqlclient24 libonig5 libpq5 mysql-common 512s python3-kea-connector 512s 0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded. 512s Need to get 7638 kB of archives. 512s After this operation, 26.4 MB of additional disk space will be used. 512s Get:1 http://ftpmaster.internal/ubuntu questing/main armhf liblog4cplus-2.0.5t64 armhf 2.0.8-1.1ubuntu3 [187 kB] 512s Get:2 http://ftpmaster.internal/ubuntu questing/main armhf mysql-common all 5.8+1.1.1ubuntu1 [6922 B] 512s Get:3 http://ftpmaster.internal/ubuntu questing/main armhf libmysqlclient24 armhf 8.4.5-0ubuntu3 [1264 kB] 512s Get:4 http://ftpmaster.internal/ubuntu questing/main armhf libpq5 armhf 17.5-1build1 [236 kB] 512s Get:5 http://ftpmaster.internal/ubuntu questing/main armhf kea-common armhf 2.6.3-1 [3980 kB] 513s Get:6 http://ftpmaster.internal/ubuntu questing/main armhf python3-kea-connector all 2.6.3-1 [16.9 kB] 513s Get:7 http://ftpmaster.internal/ubuntu questing/main armhf kea-ctrl-agent armhf 2.6.3-1 [145 kB] 513s Get:8 http://ftpmaster.internal/ubuntu questing/main armhf kea-dhcp4-server armhf 2.6.3-1 [376 kB] 513s Get:9 http://ftpmaster.internal/ubuntu questing/main armhf bridge-utils armhf 1.7.1-4ubuntu1 [34.8 kB] 513s Get:10 http://ftpmaster.internal/ubuntu questing/universe armhf isc-dhcp-client armhf 4.4.3-P1-4ubuntu2 [1022 kB] 513s Get:11 http://ftpmaster.internal/ubuntu questing/main armhf libonig5 armhf 6.9.9-1build1 [148 kB] 513s Get:12 http://ftpmaster.internal/ubuntu questing/main armhf libjq1 armhf 1.7.1-6ubuntu1 [158 kB] 513s Get:13 http://ftpmaster.internal/ubuntu questing/main armhf jq armhf 1.7.1-6ubuntu1 [65.3 kB] 513s Preconfiguring packages ... 513s Fetched 7638 kB in 1s (7756 kB/s) 513s Selecting previously unselected package liblog4cplus-2.0.5t64:armhf. 513s (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 ... 59840 files and directories currently installed.) 513s Preparing to unpack .../00-liblog4cplus-2.0.5t64_2.0.8-1.1ubuntu3_armhf.deb ... 513s Unpacking liblog4cplus-2.0.5t64:armhf (2.0.8-1.1ubuntu3) ... 513s Selecting previously unselected package mysql-common. 513s Preparing to unpack .../01-mysql-common_5.8+1.1.1ubuntu1_all.deb ... 513s Unpacking mysql-common (5.8+1.1.1ubuntu1) ... 513s Selecting previously unselected package libmysqlclient24:armhf. 513s Preparing to unpack .../02-libmysqlclient24_8.4.5-0ubuntu3_armhf.deb ... 513s Unpacking libmysqlclient24:armhf (8.4.5-0ubuntu3) ... 513s Selecting previously unselected package libpq5:armhf. 513s Preparing to unpack .../03-libpq5_17.5-1build1_armhf.deb ... 513s Unpacking libpq5:armhf (17.5-1build1) ... 513s Selecting previously unselected package kea-common. 513s Preparing to unpack .../04-kea-common_2.6.3-1_armhf.deb ... 513s Unpacking kea-common (2.6.3-1) ... 513s Selecting previously unselected package python3-kea-connector. 513s Preparing to unpack .../05-python3-kea-connector_2.6.3-1_all.deb ... 513s Unpacking python3-kea-connector (2.6.3-1) ... 513s Selecting previously unselected package kea-ctrl-agent. 513s Preparing to unpack .../06-kea-ctrl-agent_2.6.3-1_armhf.deb ... 513s Unpacking kea-ctrl-agent (2.6.3-1) ... 513s Selecting previously unselected package kea-dhcp4-server. 514s Preparing to unpack .../07-kea-dhcp4-server_2.6.3-1_armhf.deb ... 514s Unpacking kea-dhcp4-server (2.6.3-1) ... 514s Selecting previously unselected package bridge-utils. 514s Preparing to unpack .../08-bridge-utils_1.7.1-4ubuntu1_armhf.deb ... 514s Unpacking bridge-utils (1.7.1-4ubuntu1) ... 514s Selecting previously unselected package isc-dhcp-client. 514s Preparing to unpack .../09-isc-dhcp-client_4.4.3-P1-4ubuntu2_armhf.deb ... 514s Unpacking isc-dhcp-client (4.4.3-P1-4ubuntu2) ... 514s Selecting previously unselected package libonig5:armhf. 514s Preparing to unpack .../10-libonig5_6.9.9-1build1_armhf.deb ... 514s Unpacking libonig5:armhf (6.9.9-1build1) ... 514s Selecting previously unselected package libjq1:armhf. 514s Preparing to unpack .../11-libjq1_1.7.1-6ubuntu1_armhf.deb ... 514s Unpacking libjq1:armhf (1.7.1-6ubuntu1) ... 514s Selecting previously unselected package jq. 514s Preparing to unpack .../12-jq_1.7.1-6ubuntu1_armhf.deb ... 514s Unpacking jq (1.7.1-6ubuntu1) ... 514s Setting up liblog4cplus-2.0.5t64:armhf (2.0.8-1.1ubuntu3) ... 514s Setting up mysql-common (5.8+1.1.1ubuntu1) ... 514s update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode 514s Setting up libpq5:armhf (17.5-1build1) ... 514s Setting up isc-dhcp-client (4.4.3-P1-4ubuntu2) ... 514s apparmor_parser: Unable to replace "/usr/lib/NetworkManager/nm-dhcp-client.action". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 514s 514s Setting up libmysqlclient24:armhf (8.4.5-0ubuntu3) ... 514s Setting up kea-common (2.6.3-1) ... 514s apparmor_parser: Unable to replace "kea-lfc". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 514s 514s Setting up bridge-utils (1.7.1-4ubuntu1) ... 514s Setting up kea-dhcp4-server (2.6.3-1) ... 514s apparmor_parser: Unable to replace "kea-dhcp4". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 514s 515s Created symlink '/etc/systemd/system/multi-user.target.wants/kea-dhcp4-server.service' → '/usr/lib/systemd/system/kea-dhcp4-server.service'. 515s Setting up python3-kea-connector (2.6.3-1) ... 515s Setting up libonig5:armhf (6.9.9-1build1) ... 515s Setting up libjq1:armhf (1.7.1-6ubuntu1) ... 515s Setting up jq (1.7.1-6ubuntu1) ... 515s Setting up kea-ctrl-agent (2.6.3-1) ... 515s apparmor_parser: Unable to replace "kea-ctrl-agent". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 515s 516s Created symlink '/etc/systemd/system/multi-user.target.wants/kea-ctrl-agent.service' → '/usr/lib/systemd/system/kea-ctrl-agent.service'. 516s Processing triggers for man-db (2.13.1-1) ... 517s Processing triggers for libc-bin (2.41-6ubuntu2) ... 533s autopkgtest [12:38:43]: test kea-dhcp4: [----------------------- 535s apparmor_parser: Unable to replace "kea-ctrl-agent". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 535s 536s 536s ## Cleaning up 536s 536s ## Configuring kea-dhcp4 and restarting the service 536s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 538s 538s ## Obtaining IP via dhclient 538s Internet Systems Consortium DHCP Client 4.4.3-P1 538s Copyright 2004-2022 Internet Systems Consortium. 538s All rights reserved. 538s For info, please visit https://www.isc.org/software/dhcp/ 538s 538s Listening on LPF/client0/02:4e:33:b7:81:52 538s Sending on LPF/client0/02:4e:33:b7:81:52 538s Sending on Socket/fallback 538s xid: warning: no netdev with useable HWADDR found for seed's uniqueness enforcement 538s xid: rand init seed (0x68121059) built using gethostid 538s DHCPDISCOVER on client0 to 255.255.255.255 port 67 interval 3 (xid=0x626b6c0f) 538s DHCPOFFER of 192.168.127.10 from 192.168.127.1 538s DHCPREQUEST for 192.168.127.10 on client0 to 255.255.255.255 port 67 (xid=0xf6c6b62) 538s DHCPACK of 192.168.127.10 from 192.168.127.1 (xid=0x626b6c0f) 545s Setting LLMNR support level "yes" for "11", but the global support level is "no". 545s bound to 192.168.127.10 -- renewal in 754 seconds. 545s ## OK 546s 546s ## Got ip=192.168.127.10 546s 546s ## Checking leases that match client's ethernet address 02:4e:33:b7:81:52 546s ## Leases: 546s [ 546s { 546s "arguments": { 546s "leases": [ 546s { 546s "cltt": 1751978328, 546s "fqdn-fwd": false, 546s "fqdn-rev": false, 546s "hostname": "autopkgtest-lxd-mrqpwg", 546s "hw-address": "02:4e:33:b7:81:52", 546s "ip-address": "192.168.127.10", 546s "state": 0, 546s "subnet-id": 1, 546s "valid-lft": 3600 546s } 546s ] 546s }, 546s "result": 0, 546s "text": "1 IPv4 lease(s) found." 546s } 546s ] 546s ## OK 546s 546s ## INFO: Networking in the clientns namespace: 546s 546s ## Interfaces 546s 1: lo: mtu 65536 qdisc noop state DOWN group default qlen 1000 546s link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 546s 2: gre0@NONE: mtu 1476 qdisc noop state DOWN group default qlen 1000 546s link/gre 0.0.0.0 brd 0.0.0.0 546s 3: gretap0@NONE: mtu 1462 qdisc noop state DOWN group default qlen 1000 546s link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff 546s 4: erspan0@NONE: mtu 1450 qdisc noop state DOWN group default qlen 1000 546s link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff 546s 5: ip6tnl0@NONE: mtu 1452 qdisc noop state DOWN group default qlen 1000 546s link/tunnel6 :: brd :: permaddr 660c:7bea:538:: 546s 6: ip6gre0@NONE: mtu 1448 qdisc noop state DOWN group default qlen 1000 546s link/gre6 :: brd :: permaddr 5a30:c30f:d053:: 546s 7: tunl0@NONE: mtu 1480 qdisc noop state DOWN group default qlen 1000 546s link/ipip 0.0.0.0 brd 0.0.0.0 546s 8: sit0@NONE: mtu 1480 qdisc noop state DOWN group default qlen 1000 546s link/sit 0.0.0.0 brd 0.0.0.0 546s 9: ip_vti0@NONE: mtu 1480 qdisc noop state DOWN group default qlen 1000 546s link/ipip 0.0.0.0 brd 0.0.0.0 546s 10: ip6_vti0@NONE: mtu 1332 qdisc noop state DOWN group default qlen 1000 546s link/tunnel6 :: brd :: permaddr 3a96:2d20:6d49:: 546s 11: client0@if11: mtu 1500 qdisc noqueue state UP group default qlen 1000 546s link/ether 02:4e:33:b7:81:52 brd ff:ff:ff:ff:ff:ff link-netnsid 0 546s inet 192.168.127.10/24 brd 192.168.127.255 scope global dynamic client0 546s valid_lft 3593sec preferred_lft 3593sec 546s inet6 fe80::4e:33ff:feb7:8152/64 scope link proto kernel_ll 546s valid_lft forever preferred_lft forever 546s 546s ## Routes 546s default via 192.168.127.1 dev client0 546s 192.168.127.0/24 dev client0 proto kernel scope link src 192.168.127.10 546s 546s ## DNS 546s Global 546s Protocols: -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported 546s resolv.conf mode: stub 546s 546s Link 2 (gre0) 546s Current Scopes: none 546s Protocols: -DefaultRoute -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported 546s Default Route: no 546s Killed old client process 546s 546s Link 3 (gretap0) 546s Current Scopes: none 546s Protocols: -DefaultRoute -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported 546s Default Route: no 546s 546s Link 4 (erspan0) 546s Current Scopes: none 546s Protocols: -DefaultRoute -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported 546s Default Route: no 546s 546s Link 5 (ip6tnl0) 546s Current Scopes: none 546s Protocols: -DefaultRoute -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported 546s Default Route: no 546s 546s Link 6 (ip6gre0) 546s Current Scopes: none 546s Protocols: -DefaultRoute -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported 546s Default Route: no 546s 546s Link 7 (tunl0) 546s Current Scopes: none 546s Protocols: -DefaultRoute -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported 546s Default Route: no 546s 546s Link 8 (sit0) 546s Current Scopes: none 546s Protocols: -DefaultRoute -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported 546s Default Route: no 546s 546s Link 9 (ip_vti0) 546s Current Scopes: none 546s Protocols: -DefaultRoute -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported 546s Default Route: no 546s 546s Link 10 (ip6_vti0) 546s Current Scopes: none 546s Protocols: -DefaultRoute -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported 546s Default Route: no 546s 546s Link 11 (client0) 546s Current Scopes: none 546s Protocols: -DefaultRoute -LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported 546s DNS Servers: 192.168.127.1 546s DNS Domain: example.autopkgtest 546s Default Route: no 546s 546s ## Checking that the DNS domain "example.autopkgtest" was added to resolv.conf 546s ## OK 546s 546s ## Releasing IP via dhclient -r 547s Internet Systems Consortium DHCP Client 4.4.3-P1 547s Copyright 2004-2022 Internet Systems Consortium. 547s All rights reserved. 547s For info, please visit https://www.isc.org/software/dhcp/ 547s 547s Listening on LPF/client0/02:4e:33:b7:81:52 547s Sending on LPF/client0/02:4e:33:b7:81:52 547s Listening on LPF/erspan0/00:00:00:00:00:00 547s Sending on LPF/erspan0/00:00:00:00:00:00 547s Listening on LPF/gretap0/00:00:00:00:00:00 547s Sending on LPF/gretap0/00:00:00:00:00:00 547s Sending on Socket/fallback 547s xid: warning: no netdev with useable HWADDR found for seed's uniqueness enforcement 547s xid: rand init seed (0x68121060) built using gethostid 547s DHCPRELEASE of 192.168.127.10 on client0 to 192.168.127.1 port 67 (xid=0x1077e3b9) 547s ## OK 547s 547s ## Checking that the lease was expired 547s [ 547s { 547s "arguments": { 547s "leases": [ 547s { 547s "cltt": 1751978328, 547s "fqdn-fwd": false, 547s "fqdn-rev": false, 547s "hostname": "autopkgtest-lxd-mrqpwg", 547s "hw-address": "02:4e:33:b7:81:52", 547s "ip-address": "192.168.127.10", 547s "state": 0, 547s "subnet-id": 1, 547s "valid-lft": 0 547s } 547s ] 547s }, 547s "result": 0, 547s "text": "1 IPv4 lease(s) found." 547s } 547s ] 547s ## OK 547s 547s ## Cleaning up 547s autopkgtest [12:38:57]: test kea-dhcp4: -----------------------] 551s autopkgtest [12:39:01]: test kea-dhcp4: - - - - - - - - - - results - - - - - - - - - - 551s kea-dhcp4 PASS 555s autopkgtest [12:39:05]: @@@@@@@@@@@@@@@@@@@@ summary 555s kea-ctrl-agent-debconf PASS 555s smoke-tests PASS 555s kea-dhcp4 PASS