Public bug reported:

https://autopkgtest.ubuntu.com/results/autopkgtest-
noble/noble/ppc64el/i/isc-kea/20240227_095821_776a7@/log.gz


241s ## With no /etc/kea/kea-api-password, the service must not be running
241s × kea-ctrl-agent.service - Kea Control Agent
241s      Loaded: loaded (/usr/lib/systemd/system/kea-ctrl-agent.service; 
enabled; preset: enabled)
241s      Active: failed (Result: core-dump) since Tue 2024-02-27 09:50:35 UTC; 
46ms ago
241s    Duration: 1.145s
241s   Condition: start condition unmet at Tue 2024-02-27 09:50:35 UTC; 45ms ago
241s              └─ ConditionFileNotEmpty=/etc/kea/kea-api-password was not met
241s        Docs: man:kea-ctrl-agent(8)
241s     Process: 2265 ExecStart=/usr/sbin/kea-ctrl-agent -c 
/etc/kea/kea-ctrl-agent.conf (code=dumped, signal=SEGV)
241s    Main PID: 2265 (code=dumped, signal=SEGV)
241s         CPU: 6ms
241s 
241s Feb 27 09:50:34 autopkgtest systemd[1]: Started kea-ctrl-agent.service - 
Kea Control Agent.
241s Feb 27 09:50:34 autopkgtest kea-ctrl-agent[2265]: 2024-02-27 09:50:34.681 
INFO  [kea-ctrl-agent.dctl/2265.114279535068448] DCTL_STARTING Control-agent 
starting, pid: 2265, version: 2.4.1 (stable)
241s Feb 27 09:50:34 autopkgtest kea-ctrl-agent[2265]: INFO  
CTRL_AGENT_HTTP_SERVICE_STARTED HTTP service bound to address 127.0.0.1:8000
241s Feb 27 09:50:34 autopkgtest kea-ctrl-agent[2265]: 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):
241s Feb 27 09:50:34 autopkgtest kea-ctrl-agent[2265]: INFO  CTRL_AGENT_STARTED 
Kea Control Agent version 2.4.1 started
241s Feb 27 09:50:35 autopkgtest systemd[1]: Stopping kea-ctrl-agent.service - 
Kea Control Agent...
241s Feb 27 09:50:35 autopkgtest systemd[1]: kea-ctrl-agent.service: Main 
process exited, code=dumped, status=11/SEGV
241s Feb 27 09:50:35 autopkgtest systemd[1]: kea-ctrl-agent.service: Failed 
with result 'core-dump'.
241s Feb 27 09:50:35 autopkgtest systemd[1]: Stopped kea-ctrl-agent.service - 
Kea Control Agent.
241s Feb 27 09:50:35 autopkgtest systemd[1]: kea-ctrl-agent.service - Kea 
Control Agent was skipped because of an unmet condition check 
(ConditionFileNotEmpty=/etc/kea/kea-api-password).
241s ## ERROR, service is failed
241s autopkgtest [09:50:36]: test kea-ctrl-agent-debconf: 
-----------------------]
241s kea-ctrl-agent-debconf FAIL non-zero exit status 1


smoke test is also failing, likely the same issue:
473s autopkgtest [09:54:28]: test smoke-tests: [-----------------------
473s + debconf-set-selections
473s + dpkg-reconfigure kea-ctrl-agent
474s + kea_password_file=/etc/kea/kea-api-password
474s + '[' -s /etc/kea/kea-api-password ']'
474s + 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
474s + test -f /run/kea/kea-dhcp4.kea-dhcp4.pid
474s + 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
474s + test -f /run/kea/kea-dhcp6.kea-dhcp6.pid
474s + 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
474s + test -f /run/kea/kea-ctrl-agent.kea-ctrl-agent.pid
474s + 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
474s + test -f /run/kea/kea-dhcp-ddns.kea-dhcp-ddns.pid
474s + for socket in kea-ddns-ctrl-socket kea4-ctrl-socket kea6-ctrl-socket
474s + test -S /run/kea/kea-ddns-ctrl-socket
474s + for socket in kea-ddns-ctrl-socket kea4-ctrl-socket kea6-ctrl-socket
474s + test -S /run/kea/kea4-ctrl-socket
474s + for socket in kea-ddns-ctrl-socket kea4-ctrl-socket kea6-ctrl-socket
474s + test -S /run/kea/kea6-ctrl-socket
474s + test -f /run/lock/kea/logger_lockfile
474s + kea-dhcp4 -t /etc/kea/kea-dhcp4.conf
474s + kea-dhcp6 -t /etc/kea/kea-dhcp6.conf
474s + auth_params=
474s + basic_auth_params=
474s + '[' -s /etc/kea/kea-api-password ']'
474s ++ cat /etc/kea/kea-api-password
474s + auth_params='--auth-user kea-api --auth-password oyfunXELI1RCrfeOJejd'
474s ++ cat /etc/kea/kea-api-password
474s + basic_auth_params='-u kea-api:oyfunXELI1RCrfeOJejd'
474s ++ curl -u kea-api:oyfunXELI1RCrfeOJejd -s -X POST -H 'Content-Type: 
application/json' -d '{ "command": "version-get", "service": [ "dhcp4" ] }' 
127.0.0.1:8000
474s ++ jq -r '.[0].text'
474s + TEST_KEA_VERSION=2.4.1
474s + check_kea_version 2.4.1
474s + CHECKED_VERSION=2.4.1
474s + [[ ! 2.4.1 =~ [0-9]+(\.[0-9]+){2} ]]
474s ++ echo
474s ++ kea-shell --service dhcp4 --host 127.0.0.1 --port 8000 --auth-user 
kea-api --auth-password oyfunXELI1RCrfeOJejd version-get
474s ++ jq -r '.[0].text'
475s jq: parse error: Invalid numeric literal at line 1, column 7
475s + TEST_KEA_VERSION=
475s autopkgtest [09:54:30]: test smoke-tests: -----------------------]
476s smoke-tests          FAIL non-zero exit status 5

** Affects: isc-kea (Ubuntu)
     Importance: High
         Status: New


** Tags: update-excuse

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2055151

Title:
  kea-ctrl-agent segfault in ppc64el dep8 test

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-kea/+bug/2055151/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to