{"action":"created","issue":{"url":"https://api.github.com/repos/cockpit-project/cockpit/issues/2940","labels_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/2940/labels{/name}","comments_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/2940/comments","events_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/2940/events","html_url":"https://github.com/cockpit-project/cockpit/pull/2940","id":110825965,"number":2940,"title":"Test: add alternate way to detect system reboot","user":{"login":"dperpeet","id":8711649,"avatar_url":"https://avatars.githubusercontent.com/u/8711649?v=3","gravatar_id":"","url":"https://api.github.com/users/dperpeet","html_url":"https://github.com/dperpeet","followers_url":"https://api.github.com/users/dperpeet/followers","following_url":"https://api.github.com/users/dperpeet/following{/other_user}","gists_url":"https://api.github.com/users/dperpeet/gists{/gist_id}","starred_url":"https://api.github.com/users/dperpeet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dperpeet/subscriptions","organizations_url":"https://api.github.com/users/dperpeet/orgs","repos_url":"https://api.github.com/users/dperpeet/repos","events_url":"https://api.github.com/users/dperpeet/events{/privacy}","received_events_url":"https://api.github.com/users/dperpeet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cockpit-project/cockpit/labels/needswork","name":"needswork","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-11T00:37:41Z","updated_at":"2015-10-11T08:00:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cockpit-project/cockpit/pulls/2940","html_url":"https://github.com/cockpit-project/cockpit/pull/2940","diff_url":"https://github.com/cockpit-project/cockpit/pull/2940.diff","patch_url":"https://github.com/cockpit-project/cockpit/pull/2940.patch"},"body":"The libvirt \"reboot\" event doesn't always get sent.\r\nWhen waiting for a reboot, wait for this event\r\nor port 22 to be closed - whichever comes first.\r\n\r\nFixes #2915 "},"comment":{"url":"https://api.github.com/repos/cockpit-project/cockpit/issues/comments/147170428","html_url":"https://github.com/cockpit-project/cockpit/pull/2940#issuecomment-147170428","issue_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/2940","id":147170428,"user":{"login":"stefwalter","id":795070,"avatar_url":"https://avatars.githubusercontent.com/u/795070?v=3","gravatar_id":"","url":"https://api.github.com/users/stefwalter","html_url":"https://github.com/stefwalter","followers_url":"https://api.github.com/users/stefwalter/followers","following_url":"https://api.github.com/users/stefwalter/following{/other_user}","gists_url":"https://api.github.com/users/stefwalter/gists{/gist_id}","starred_url":"https://api.github.com/users/stefwalter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefwalter/subscriptions","organizations_url":"https://api.github.com/users/stefwalter/orgs","repos_url":"https://api.github.com/users/stefwalter/repos","events_url":"https://api.github.com/users/stefwalter/events{/privacy}","received_events_url":"https://api.github.com/users/stefwalter/received_events","type":"User","site_admin":false},"created_at":"2015-10-11T08:00:03Z","updated_at":"2015-10-11T08:00:03Z","body":"I think the problem is that we're shutting down the system before it is booted:\r\n\r\n```\r\nOkt 10 13:08:14 f3 cockpit-bridge[1789]: Reauthorizing unix-user:admin\r\nOkt 10 13:08:14 f3 cockpit-bridge[1789]: cockpit-polkit: user admin was reauthorized\r\nOkt 10 13:08:14 f3 cockpit-bridge[1789]: cockpit-polkit helper exited with status: 0\r\nOkt 10 13:08:14 f3 polkitd[523]: Operator of unix-session:3 successfully authenticated as unix-user:admin to gain ONE-SHOT authorization for action org.free\r\nOkt 10 13:08:14 f3 pkexec[2018]: pam_unix(polkit-1:session): session opened for user root by (uid=1000)\r\nOkt 10 13:08:14 f3 pkexec[2018]: admin: Executing command [USER=root] [TTY=unknown] [CWD=/run/user/1000] [COMMAND=/bin/cockpit-bridge]\r\nOkt 10 13:08:14 f3 cockpit-ws[1711]: localhost: remove channel 1:2!16 for session\r\nOkt 10 13:08:14 f3 cockpit-ws[1711]: localhost: removed channel 1:2!16 for session\r\nOkt 10 13:08:14 f3 cockpit-ws[1711]: 1: remove channel 1:2!16 for socket\r\nOkt 10 13:08:15 f3 kdumpctl[860]: No memory reserved for crash kernel.\r\nOkt 10 13:08:15 f3 kdumpctl[860]: Starting kdump: [FAILED]\r\nOkt 10 13:08:15 f3 systemd[1]: kdump.service: main process exited, code=exited, status=1/FAILURE\r\nOkt 10 13:08:15 f3 systemd[1]: Failed to start Crash recovery kernel arming.\r\nOkt 10 13:08:15 f3 systemd[1]: Unit kdump.service entered failed state.\r\nOkt 10 13:08:15 f3 systemd[1]: Starting Multi-User System.\r\nOkt 10 13:08:15 f3 systemd[1]: Reached target Multi-User System.\r\nOkt 10 13:08:15 f3 systemd[1]: Starting Update UTMP about System Runlevel Changes...\r\nOkt 10 13:08:15 f3 systemd[1]: Started Stop Read-Ahead Data Collection 10s After Completed Startup.\r\nOkt 10 13:08:15 f3 systemd[1]: Started Update UTMP about System Runlevel Changes.\r\nOkt 10 13:08:15 f3 systemd[1]: Startup finished in 1.639s (kernel) + 7.156s (initrd) + 16.362s (userspace) = 25.157s.\r\nOkt 10 13:10:14 f3 systemd[1]: Started OpenSSH Server Key Generation.\r\nOkt 10 13:10:14 f3 systemd[1]: Starting OpenSSH per-connection server daemon...\r\nOkt 10 13:10:14 f3 systemd[1]: Started OpenSSH per-connection server daemon.\r\nOkt 10 13:10:14 f3 sshd[2227]: Accepted publickey for root from 10.111.112.1 port 53433 ssh2: RSA 9f:92:a1:54:9f:32:f7:40:17:39:0f:bc:4e:0c:39:90\r\nOkt 10 13:10:14 f3 systemd[1]: Created slice user-0.slice.\r\nOkt 10 13:10:14 f3 systemd[1]: Starting Session 4 of user root.\r\nOkt 10 13:10:14 f3 systemd[1]: Started Session 4 of user root.\r\nOkt 10 13:10:14 f3 systemd-logind[405]: New session 4 of user root.\r\nOkt 10 13:10:14 f3 sshd[2227]: pam_unix(sshd:session): session opened for user root by (uid=0)\r\n```"}}