Comment 31 for bug 1878973

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Prior to the fix following the tests steps:

Focal
Jun 23 09:10:03 focal systemd[1]: Started QEMU Guest Agent.
Jun 23 09:10:12 focal qemu-ga[2212]: info: guest-shutdown called, mode: (null)
Jun 23 09:10:12 focal qemu-ga[2212]: **
Jun 23 09:10:12 focal qemu-ga[2212]: ERROR:/build/qemu-FC5BvZ/qemu-4.2/qga/main.c:532:send_response: assertion failed: (rsp && s->channel)
Jun 23 09:10:12 focal qemu-ga[2212]: Bail out! ERROR:/build/qemu-FC5BvZ/qemu-4.2/qga/main.c:532:send_response: assertion failed: (rsp && s->channel)
Jun 23 09:10:12 focal systemd[1]: Stopping QEMU Guest Agent...

Eoan
Jun 23 09:09:56 eoan systemd[1]: Started QEMU Guest Agent.
Jun 23 09:10:17 eoan qemu-ga[2177]: info: guest-shutdown called, mode: (null)
Jun 23 09:10:17 eoan qemu-ga[2177]: **
Jun 23 09:10:17 eoan qemu-ga[2177]: ERROR:/build/qemu-alOsBA/qemu-4.0+dfsg/qga/main.c:532:send_response: assertion failed: (rsp && s->channel)
Jun 23 09:10:17 eoan qemu-ga[2177]: Bail out! ERROR:/build/qemu-alOsBA/qemu-4.0+dfsg/qga/main.c:532:send_response: assertion failed: (rsp && s->channel)
Jun 23 09:10:17 eoan systemd[1]: Stopping QEMU Guest Agent...
Jun 23 09:10:17 eoan systemd[1]: qemu-guest-agent.service: Main process exited, code=dumped, status=6/ABRT

Upgrading to -proposed

Focal
ubuntu@focal:~$ sudo apt install qemu-guest-agent
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  qemu-guest-agent
1 upgraded, 0 newly installed, 0 to remove and 22 not upgraded.
Need to get 194 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu focal-proposed/universe amd64 qemu-guest-agent amd64 1:4.2-3ubuntu6.3 [194 kB]
Fetched 194 kB in 0s (1185 kB/s)
(Reading database ... 63108 files and directories currently installed.)
Preparing to unpack .../qemu-guest-agent_1%3a4.2-3ubuntu6.3_amd64.deb ...
Unpacking qemu-guest-agent (1:4.2-3ubuntu6.3) over (1:4.2-3ubuntu6.2) ...
Setting up qemu-guest-agent (1:4.2-3ubuntu6.3) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for systemd (245.4-4ubuntu3.1) ...

Eoan
ubuntu@eoan:~$ sudo apt install qemu-guest-agent
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  qemu-guest-agent
1 upgraded, 0 newly installed, 0 to remove and 25 not upgraded.
Need to get 200 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu eoan-proposed/universe amd64 qemu-guest-agent amd64 1:4.0+dfsg-0ubuntu9.8 [200 kB]
Fetched 200 kB in 0s (1284 kB/s)
(Reading database ... 61964 files and directories currently installed.)
Preparing to unpack .../qemu-guest-agent_1%3a4.0+dfsg-0ubuntu9.8_amd64.deb ...
Unpacking qemu-guest-agent (1:4.0+dfsg-0ubuntu9.8) over (1:4.0+dfsg-0ubuntu9.7) ...
Setting up qemu-guest-agent (1:4.0+dfsg-0ubuntu9.8) ...
Processing triggers for man-db (2.8.7-3) ...
Processing triggers for systemd (242-7ubuntu3.9) ...

Newly testing the shutdown feature:

Focal
-- Reboot --
Jun 23 09:10:42 focal systemd[1]: Started QEMU Guest Agent.
Jun 23 09:12:49 focal systemd[1]: Stopping QEMU Guest Agent...
Jun 23 09:12:49 focal systemd[1]: qemu-guest-agent.service: Succeeded.
Jun 23 09:12:49 focal systemd[1]: Stopped QEMU Guest Agent.
Jun 23 09:12:49 focal systemd[1]: Started QEMU Guest Agent.
Jun 23 09:13:23 focal qemu-ga[1454]: info: guest-shutdown called, mode: (null)
Jun 23 09:13:23 focal systemd[1]: Stopping QEMU Guest Agent...
Jun 23 09:13:23 focal systemd[1]: qemu-guest-agent.service: Succeeded.
Jun 23 09:13:23 focal systemd[1]: Stopped QEMU Guest Agent.
-- Reboot --

Eoan:
-- Reboot --
Jun 23 09:10:44 eoan systemd[1]: Started QEMU Guest Agent.
Jun 23 09:12:41 eoan systemd[1]: Stopping QEMU Guest Agent...
Jun 23 09:12:41 eoan systemd[1]: qemu-guest-agent.service: Succeeded.
Jun 23 09:12:41 eoan systemd[1]: Stopped QEMU Guest Agent.
Jun 23 09:12:41 eoan systemd[1]: Started QEMU Guest Agent.
Jun 23 09:13:25 eoan qemu-ga[1458]: info: guest-shutdown called, mode: (null)
Jun 23 09:13:25 eoan systemd[1]: Stopping QEMU Guest Agent...
Jun 23 09:13:25 eoan systemd[1]: qemu-guest-agent.service: Succeeded.
Jun 23 09:13:25 eoan systemd[1]: Stopped QEMU Guest Agent.
-- Reboot --

Marking as verified for both releases