{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vsts-agent/issues/1718","repository_url":"https://api.github.com/repos/Microsoft/vsts-agent","labels_url":"https://api.github.com/repos/Microsoft/vsts-agent/issues/1718/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vsts-agent/issues/1718/comments","events_url":"https://api.github.com/repos/Microsoft/vsts-agent/issues/1718/events","html_url":"https://github.com/Microsoft/vsts-agent/issues/1718","id":342992693,"node_id":"MDU6SXNzdWUzNDI5OTI2OTM=","number":1718,"title":"Job cancellation timeout setting is not respected","user":{"login":"vitru","id":17321281,"node_id":"MDQ6VXNlcjE3MzIxMjgx","avatar_url":"https://avatars3.githubusercontent.com/u/17321281?v=4","gravatar_id":"","url":"https://api.github.com/users/vitru","html_url":"https://github.com/vitru","followers_url":"https://api.github.com/users/vitru/followers","following_url":"https://api.github.com/users/vitru/following{/other_user}","gists_url":"https://api.github.com/users/vitru/gists{/gist_id}","starred_url":"https://api.github.com/users/vitru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitru/subscriptions","organizations_url":"https://api.github.com/users/vitru/orgs","repos_url":"https://api.github.com/users/vitru/repos","events_url":"https://api.github.com/users/vitru/events{/privacy}","received_events_url":"https://api.github.com/users/vitru/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-20T06:50:03Z","updated_at":"2018-07-20T14:08:52Z","closed_at":null,"author_association":"MEMBER","body":"## Have you tried trouble shooting?\r\nYes\r\n\r\n## Agent Version and Platform\r\nAgent 2.131.0\r\n\r\nMacOS 10.13.2\r\n\r\n## VSTS Type and Version\r\nhttp://office.visualstudio.com\r\n\r\n## What's not working?\r\n\"Build job cancel timeout in minutes\" property in the build definition is not respected and agent is only given 1 minute to process cancellation.\r\n\r\n## Agent and Worker's Diagnostic Logs\r\nBuild: https://office.visualstudio.com/OE/_build/results?buildId=828374&view=results\r\nBuild definition \"build job cancel timeout in minutes\" setting is set to 5.\r\n\r\nFrom the Agent log:\r\n[2018-07-20 05:42:59Z INFO MessageListener] Message '626' received from session '326de705-4179-4b82-86f0-93b75c2c9e34'.\r\n[2018-07-20 05:42:59Z INFO JobDispatcher] Job cancellation request df143ba0-1c7a-5b21-02e1-d41a394e29c9 received, cancellation timeout 1 minutes.\r\n[2018-07-20 05:42:59Z INFO JobDispatcher] Send job cancellation message to worker for job df143ba0-1c7a-5b21-02e1-d41a394e29c9."},"comment":{"url":"https://api.github.com/repos/Microsoft/vsts-agent/issues/comments/406611737","html_url":"https://github.com/Microsoft/vsts-agent/issues/1718#issuecomment-406611737","issue_url":"https://api.github.com/repos/Microsoft/vsts-agent/issues/1718","id":406611737,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjYxMTczNw==","user":{"login":"TingluoHuang","id":1750815,"node_id":"MDQ6VXNlcjE3NTA4MTU=","avatar_url":"https://avatars3.githubusercontent.com/u/1750815?v=4","gravatar_id":"","url":"https://api.github.com/users/TingluoHuang","html_url":"https://github.com/TingluoHuang","followers_url":"https://api.github.com/users/TingluoHuang/followers","following_url":"https://api.github.com/users/TingluoHuang/following{/other_user}","gists_url":"https://api.github.com/users/TingluoHuang/gists{/gist_id}","starred_url":"https://api.github.com/users/TingluoHuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TingluoHuang/subscriptions","organizations_url":"https://api.github.com/users/TingluoHuang/orgs","repos_url":"https://api.github.com/users/TingluoHuang/repos","events_url":"https://api.github.com/users/TingluoHuang/events{/privacy}","received_events_url":"https://api.github.com/users/TingluoHuang/received_events","type":"User","site_admin":false},"created_at":"2018-07-20T14:08:52Z","updated_at":"2018-07-20T14:08:52Z","author_association":"MEMBER","body":"@vitru this is not an agent issue, the server control how to construct the cancellation message, look like it doesn't respect cancel timeout."}}
{"actor":{"display_login":"TingluoHuang"}}