{"action":"closed","issue":{"url":"https://api.github.com/repos/spotify/helios/issues/933","repository_url":"https://api.github.com/repos/spotify/helios","labels_url":"https://api.github.com/repos/spotify/helios/issues/933/labels{/name}","comments_url":"https://api.github.com/repos/spotify/helios/issues/933/comments","events_url":"https://api.github.com/repos/spotify/helios/issues/933/events","html_url":"https://github.com/spotify/helios/issues/933","id":157227099,"number":933,"title":"After undeploy, job keeps running for a few minutes","user":{"login":"elifarley","id":519940,"avatar_url":"https://avatars.githubusercontent.com/u/519940?v=3","gravatar_id":"","url":"https://api.github.com/users/elifarley","html_url":"https://github.com/elifarley","followers_url":"https://api.github.com/users/elifarley/followers","following_url":"https://api.github.com/users/elifarley/following{/other_user}","gists_url":"https://api.github.com/users/elifarley/gists{/gist_id}","starred_url":"https://api.github.com/users/elifarley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elifarley/subscriptions","organizations_url":"https://api.github.com/users/elifarley/orgs","repos_url":"https://api.github.com/users/elifarley/repos","events_url":"https://api.github.com/users/elifarley/events{/privacy}","received_events_url":"https://api.github.com/users/elifarley/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-27T15:05:25Z","updated_at":"2016-05-31T20:53:45Z","closed_at":"2016-05-31T20:53:45Z","body":"\r\n$> alias helios='helios -z http://localhost:5801'\r\n$> helios create testjob:1 ubuntu:12.04 -- /bin/sh -c 'while true; do date; sleep 60; done'\r\n$> helios deploy testjob:1 localhost\r\n$> helios history testjob:1\r\n\r\nlocalhost    2016-05-27 11:28:47.651    PULLING_IMAGE    NO           <none>                                                              \r\nlocalhost    2016-05-27 11:29:04.336    CREATING         NO           <none>                                                              \r\nlocalhost    2016-05-27 11:29:04.516    STARTING         NO           c764d9303c8d355c26fb6c5029a19749d339775b93de82628f28d85e7f225427    \r\nlocalhost    2016-05-27 11:29:05.161    RUNNING          NO           c764d9303c8d355c26fb6c5029a19749d339775b93de82628f28d85e7f225427    \r\n\r\n$> helios undeploy testjob:1 localhost\r\nUndeploying testjob:1:4f7125bff35d3cecaac237da3ab17efca8a765f9 from [localhost]\r\nlocalhost: done\r\n$> helios history testjob:1 | grep STOPPED\r\n<nothing shown>\r\n$> helios history testjob:1 | grep STOPPING\r\n<nothing shown>\r\n\r\nIf I wait for about 4 minutes, then I get:\r\n\r\n$> helios history testjob:1 | grep STOPPED\r\nlocalhost    2016-05-27 11:43:20.309    STOPPED          NO           25a642d9e6f2203743bd326f2309ff3f7bdc04f3fd850e60a75aa1afa4339769 \r\n\r\nPerhaps the job state should immediately change to STOPPING after issuing the undeploy command.\r\n"}}
{"actor":{"display_login":"mattnworb"}}