{"action":"created","comment":{"url":"https://api.github.com/repos/taskcluster/docker-worker/pulls/comments/29062715","id":29062715,"diff_hunk":"@@ -532,9 +546,22 @@ export default class Task {\n     this.stream.write(this.logHeader());\n \n     // Build the list of container links...\n-    let links =\n-      await stats.timeGen('tasks.time.states.linked', this.states.link(this));\n+    let links;\n+    try {\n+      links =\n+        await stats.timeGen('tasks.time.states.linked', this.states.link(this));\n+    }\n+    catch (e) {\n+      // If this state threw an exception because the task is being aborted,\n+      // debug the error and continue where it will be aborted properly\n+      if (this.isCanceled() || this.isAborted()) {\n+        debug(e);","path":"lib/task.js","position":531,"original_position":531,"commit_id":"922e9a06c8f52803c0c5f4a8481cb362d155ba49","original_commit_id":"922e9a06c8f52803c0c5f4a8481cb362d155ba49","user":{"login":"lightsofapollo-taskcluster","id":11325338,"avatar_url":"https://avatars.githubusercontent.com/u/11325338?v=3","gravatar_id":"","url":"https://api.github.com/users/lightsofapollo-taskcluster","html_url":"https://github.com/lightsofapollo-taskcluster","followers_url":"https://api.github.com/users/lightsofapollo-taskcluster/followers","following_url":"https://api.github.com/users/lightsofapollo-taskcluster/following{/other_user}","gists_url":"https://api.github.com/users/lightsofapollo-taskcluster/gists{/gist_id}","starred_url":"https://api.github.com/users/lightsofapollo-taskcluster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lightsofapollo-taskcluster/subscriptions","organizations_url":"https://api.github.com/users/lightsofapollo-taskcluster/orgs","repos_url":"https://api.github.com/users/lightsofapollo-taskcluster/repos","events_url":"https://api.github.com/users/lightsofapollo-taskcluster/events{/privacy}","received_events_url":"https://api.github.com/users/lightsofapollo-taskcluster/received_events","type":"User","site_admin":false},"body":"nit: ideally we could prefix this...","created_at":"2015-04-24T16:21:33Z","updated_at":"2015-04-24T16:21:33Z","html_url":"https://github.com/taskcluster/docker-worker/pull/78#discussion_r29062715","pull_request_url":"https://api.github.com/repos/taskcluster/docker-worker/pulls/78","_links":{"self":{"href":"https://api.github.com/repos/taskcluster/docker-worker/pulls/comments/29062715"},"html":{"href":"https://github.com/taskcluster/docker-worker/pull/78#discussion_r29062715"},"pull_request":{"href":"https://api.github.com/repos/taskcluster/docker-worker/pulls/78"}}},"pull_request":{"url":"https://api.github.com/repos/taskcluster/docker-worker/pulls/78","id":33488923,"html_url":"https://github.com/taskcluster/docker-worker/pull/78","diff_url":"https://github.com/taskcluster/docker-worker/pull/78.diff","patch_url":"https://github.com/taskcluster/docker-worker/pull/78.patch","issue_url":"https://api.github.com/repos/taskcluster/docker-worker/issues/78","number":78,"state":"open","locked":false,"title":"Maxruntime adjustment","user":{"login":"gregarndt","id":2592630,"avatar_url":"https://avatars.githubusercontent.com/u/2592630?v=3","gravatar_id":"","url":"https://api.github.com/users/gregarndt","html_url":"https://github.com/gregarndt","followers_url":"https://api.github.com/users/gregarndt/followers","following_url":"https://api.github.com/users/gregarndt/following{/other_user}","gists_url":"https://api.github.com/users/gregarndt/gists{/gist_id}","starred_url":"https://api.github.com/users/gregarndt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregarndt/subscriptions","organizations_url":"https://api.github.com/users/gregarndt/orgs","repos_url":"https://api.github.com/users/gregarndt/repos","events_url":"https://api.github.com/users/gregarndt/events{/privacy}","received_events_url":"https://api.github.com/users/gregarndt/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-16T20:23:38Z","updated_at":"2015-04-24T16:21:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a1cf6ede7c10e3dfc9aa7bb2d13207fb6e47983c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/taskcluster/docker-worker/pulls/78/commits","review_comments_url":"https://api.github.com/repos/taskcluster/docker-worker/pulls/78/comments","review_comment_url":"https://api.github.com/repos/taskcluster/docker-worker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/taskcluster/docker-worker/issues/78/comments","statuses_url":"https://api.github.com/repos/taskcluster/docker-worker/statuses/922e9a06c8f52803c0c5f4a8481cb362d155ba49","head":{"label":"gregarndt:maxruntime_adjustment","ref":"maxruntime_adjustment","sha":"922e9a06c8f52803c0c5f4a8481cb362d155ba49","user":{"login":"gregarndt","id":2592630,"avatar_url":"https://avatars.githubusercontent.com/u/2592630?v=3","gravatar_id":"","url":"https://api.github.com/users/gregarndt","html_url":"https://github.com/gregarndt","followers_url":"https://api.github.com/users/gregarndt/followers","following_url":"https://api.github.com/users/gregarndt/following{/other_user}","gists_url":"https://api.github.com/users/gregarndt/gists{/gist_id}","starred_url":"https://api.github.com/users/gregarndt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregarndt/subscriptions","organizations_url":"https://api.github.com/users/gregarndt/orgs","repos_url":"https://api.github.com/users/gregarndt/repos","events_url":"https://api.github.com/users/gregarndt/events{/privacy}","received_events_url":"https://api.github.com/users/gregarndt/received_events","type":"User","site_admin":false},"repo":{"id":23439744,"name":"docker-worker","full_name":"gregarndt/docker-worker","owner":{"login":"gregarndt","id":2592630,"avatar_url":"https://avatars.githubusercontent.com/u/2592630?v=3","gravatar_id":"","url":"https://api.github.com/users/gregarndt","html_url":"https://github.com/gregarndt","followers_url":"https://api.github.com/users/gregarndt/followers","following_url":"https://api.github.com/users/gregarndt/following{/other_user}","gists_url":"https://api.github.com/users/gregarndt/gists{/gist_id}","starred_url":"https://api.github.com/users/gregarndt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregarndt/subscriptions","organizations_url":"https://api.github.com/users/gregarndt/orgs","repos_url":"https://api.github.com/users/gregarndt/repos","events_url":"https://api.github.com/users/gregarndt/events{/privacy}","received_events_url":"https://api.github.com/users/gregarndt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gregarndt/docker-worker","description":"Docker worker for the cluster","fork":true,"url":"https://api.github.com/repos/gregarndt/docker-worker","forks_url":"https://api.github.com/repos/gregarndt/docker-worker/forks","keys_url":"https://api.github.com/repos/gregarndt/docker-worker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gregarndt/docker-worker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gregarndt/docker-worker/teams","hooks_url":"https://api.github.com/repos/gregarndt/docker-worker/hooks","issue_events_url":"https://api.github.com/repos/gregarndt/docker-worker/issues/events{/number}","events_url":"https://api.github.com/repos/gregarndt/docker-worker/events","assignees_url":"https://api.github.com/repos/gregarndt/docker-worker/assignees{/user}","branches_url":"https://api.github.com/repos/gregarndt/docker-worker/branches{/branch}","tags_url":"https://api.github.com/repos/gregarndt/docker-worker/tags","blobs_url":"https://api.github.com/repos/gregarndt/docker-worker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gregarndt/docker-worker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gregarndt/docker-worker/git/refs{/sha}","trees_url":"https://api.github.com/repos/gregarndt/docker-worker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gregarndt/docker-worker/statuses/{sha}","languages_url":"https://api.github.com/repos/gregarndt/docker-worker/languages","stargazers_url":"https://api.github.com/repos/gregarndt/docker-worker/stargazers","contributors_url":"https://api.github.com/repos/gregarndt/docker-worker/contributors","subscribers_url":"https://api.github.com/repos/gregarndt/docker-worker/subscribers","subscription_url":"https://api.github.com/repos/gregarndt/docker-worker/subscription","commits_url":"https://api.github.com/repos/gregarndt/docker-worker/commits{/sha}","git_commits_url":"https://api.github.com/repos/gregarndt/docker-worker/git/commits{/sha}","comments_url":"https://api.github.com/repos/gregarndt/docker-worker/comments{/number}","issue_comment_url":"https://api.github.com/repos/gregarndt/docker-worker/issues/comments{/number}","contents_url":"https://api.github.com/repos/gregarndt/docker-worker/contents/{+path}","compare_url":"https://api.github.com/repos/gregarndt/docker-worker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gregarndt/docker-worker/merges","archive_url":"https://api.github.com/repos/gregarndt/docker-worker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gregarndt/docker-worker/downloads","issues_url":"https://api.github.com/repos/gregarndt/docker-worker/issues{/number}","pulls_url":"https://api.github.com/repos/gregarndt/docker-worker/pulls{/number}","milestones_url":"https://api.github.com/repos/gregarndt/docker-worker/milestones{/number}","notifications_url":"https://api.github.com/repos/gregarndt/docker-worker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gregarndt/docker-worker/labels{/name}","releases_url":"https://api.github.com/repos/gregarndt/docker-worker/releases{/id}","created_at":"2014-08-28T19:09:49Z","updated_at":"2015-04-24T15:06:16Z","pushed_at":"2015-04-24T15:06:16Z","git_url":"git://github.com/gregarndt/docker-worker.git","ssh_url":"git@github.com:gregarndt/docker-worker.git","clone_url":"https://github.com/gregarndt/docker-worker.git","svn_url":"https://github.com/gregarndt/docker-worker","homepage":"","size":20017,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"taskcluster:master","ref":"master","sha":"88a36fe13f132e3ceac236ea5544cb82ca552631","user":{"login":"taskcluster","id":6257436,"avatar_url":"https://avatars.githubusercontent.com/u/6257436?v=3","gravatar_id":"","url":"https://api.github.com/users/taskcluster","html_url":"https://github.com/taskcluster","followers_url":"https://api.github.com/users/taskcluster/followers","following_url":"https://api.github.com/users/taskcluster/following{/other_user}","gists_url":"https://api.github.com/users/taskcluster/gists{/gist_id}","starred_url":"https://api.github.com/users/taskcluster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taskcluster/subscriptions","organizations_url":"https://api.github.com/users/taskcluster/orgs","repos_url":"https://api.github.com/users/taskcluster/repos","events_url":"https://api.github.com/users/taskcluster/events{/privacy}","received_events_url":"https://api.github.com/users/taskcluster/received_events","type":"Organization","site_admin":false},"repo":{"id":15545665,"name":"docker-worker","full_name":"taskcluster/docker-worker","owner":{"login":"taskcluster","id":6257436,"avatar_url":"https://avatars.githubusercontent.com/u/6257436?v=3","gravatar_id":"","url":"https://api.github.com/users/taskcluster","html_url":"https://github.com/taskcluster","followers_url":"https://api.github.com/users/taskcluster/followers","following_url":"https://api.github.com/users/taskcluster/following{/other_user}","gists_url":"https://api.github.com/users/taskcluster/gists{/gist_id}","starred_url":"https://api.github.com/users/taskcluster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taskcluster/subscriptions","organizations_url":"https://api.github.com/users/taskcluster/orgs","repos_url":"https://api.github.com/users/taskcluster/repos","events_url":"https://api.github.com/users/taskcluster/events{/privacy}","received_events_url":"https://api.github.com/users/taskcluster/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/taskcluster/docker-worker","description":"Docker worker for the cluster","fork":false,"url":"https://api.github.com/repos/taskcluster/docker-worker","forks_url":"https://api.github.com/repos/taskcluster/docker-worker/forks","keys_url":"https://api.github.com/repos/taskcluster/docker-worker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/taskcluster/docker-worker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/taskcluster/docker-worker/teams","hooks_url":"https://api.github.com/repos/taskcluster/docker-worker/hooks","issue_events_url":"https://api.github.com/repos/taskcluster/docker-worker/issues/events{/number}","events_url":"https://api.github.com/repos/taskcluster/docker-worker/events","assignees_url":"https://api.github.com/repos/taskcluster/docker-worker/assignees{/user}","branches_url":"https://api.github.com/repos/taskcluster/docker-worker/branches{/branch}","tags_url":"https://api.github.com/repos/taskcluster/docker-worker/tags","blobs_url":"https://api.github.com/repos/taskcluster/docker-worker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/taskcluster/docker-worker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/taskcluster/docker-worker/git/refs{/sha}","trees_url":"https://api.github.com/repos/taskcluster/docker-worker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/taskcluster/docker-worker/statuses/{sha}","languages_url":"https://api.github.com/repos/taskcluster/docker-worker/languages","stargazers_url":"https://api.github.com/repos/taskcluster/docker-worker/stargazers","contributors_url":"https://api.github.com/repos/taskcluster/docker-worker/contributors","subscribers_url":"https://api.github.com/repos/taskcluster/docker-worker/subscribers","subscription_url":"https://api.github.com/repos/taskcluster/docker-worker/subscription","commits_url":"https://api.github.com/repos/taskcluster/docker-worker/commits{/sha}","git_commits_url":"https://api.github.com/repos/taskcluster/docker-worker/git/commits{/sha}","comments_url":"https://api.github.com/repos/taskcluster/docker-worker/comments{/number}","issue_comment_url":"https://api.github.com/repos/taskcluster/docker-worker/issues/comments{/number}","contents_url":"https://api.github.com/repos/taskcluster/docker-worker/contents/{+path}","compare_url":"https://api.github.com/repos/taskcluster/docker-worker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/taskcluster/docker-worker/merges","archive_url":"https://api.github.com/repos/taskcluster/docker-worker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/taskcluster/docker-worker/downloads","issues_url":"https://api.github.com/repos/taskcluster/docker-worker/issues{/number}","pulls_url":"https://api.github.com/repos/taskcluster/docker-worker/pulls{/number}","milestones_url":"https://api.github.com/repos/taskcluster/docker-worker/milestones{/number}","notifications_url":"https://api.github.com/repos/taskcluster/docker-worker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/taskcluster/docker-worker/labels{/name}","releases_url":"https://api.github.com/repos/taskcluster/docker-worker/releases{/id}","created_at":"2013-12-31T07:38:22Z","updated_at":"2015-04-24T12:32:17Z","pushed_at":"2015-04-24T12:32:16Z","git_url":"git://github.com/taskcluster/docker-worker.git","ssh_url":"git@github.com:taskcluster/docker-worker.git","clone_url":"https://github.com/taskcluster/docker-worker.git","svn_url":"https://github.com/taskcluster/docker-worker","homepage":"","size":21951,"stargazers_count":10,"watchers_count":10,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":5,"forks":10,"open_issues":5,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/taskcluster/docker-worker/pulls/78"},"html":{"href":"https://github.com/taskcluster/docker-worker/pull/78"},"issue":{"href":"https://api.github.com/repos/taskcluster/docker-worker/issues/78"},"comments":{"href":"https://api.github.com/repos/taskcluster/docker-worker/issues/78/comments"},"review_comments":{"href":"https://api.github.com/repos/taskcluster/docker-worker/pulls/78/comments"},"review_comment":{"href":"https://api.github.com/repos/taskcluster/docker-worker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/taskcluster/docker-worker/pulls/78/commits"},"statuses":{"href":"https://api.github.com/repos/taskcluster/docker-worker/statuses/922e9a06c8f52803c0c5f4a8481cb362d155ba49"}}}}