{"action":"created","comment":{"url":"https://api.github.com/repos/puppetlabs/beaker/pulls/comments/57249931","id":57249931,"diff_hunk":"@@ -113,6 +113,15 @@ def execute!\n         end\n       #cleanup phase\n       rescue => e\n+        begin\n+          if @options[:fail_mode].to_s =~ /slow/","path":"lib/beaker/cli.rb","position":5,"original_position":5,"commit_id":"8023c1a137fcfbd4081214cf79e2fc9291e5c741","original_commit_id":"8023c1a137fcfbd4081214cf79e2fc9291e5c741","user":{"login":"highb","id":759848,"avatar_url":"https://avatars.githubusercontent.com/u/759848?v=3","gravatar_id":"","url":"https://api.github.com/users/highb","html_url":"https://github.com/highb","followers_url":"https://api.github.com/users/highb/followers","following_url":"https://api.github.com/users/highb/following{/other_user}","gists_url":"https://api.github.com/users/highb/gists{/gist_id}","starred_url":"https://api.github.com/users/highb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/highb/subscriptions","organizations_url":"https://api.github.com/users/highb/orgs","repos_url":"https://api.github.com/users/highb/repos","events_url":"https://api.github.com/users/highb/events{/privacy}","received_events_url":"https://api.github.com/users/highb/received_events","type":"User","site_admin":false},"body":"Wasn't sure if the pre-cleanup should ignore the slow fail mode or not. Maybe it should, since I'm billing that it will \"always run\"?","created_at":"2016-03-23T22:42:14Z","updated_at":"2016-03-23T22:42:14Z","html_url":"https://github.com/puppetlabs/beaker/pull/1084#discussion_r57249931","pull_request_url":"https://api.github.com/repos/puppetlabs/beaker/pulls/1084","_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/beaker/pulls/comments/57249931"},"html":{"href":"https://github.com/puppetlabs/beaker/pull/1084#discussion_r57249931"},"pull_request":{"href":"https://api.github.com/repos/puppetlabs/beaker/pulls/1084"}}},"pull_request":{"url":"https://api.github.com/repos/puppetlabs/beaker/pulls/1084","id":63964751,"html_url":"https://github.com/puppetlabs/beaker/pull/1084","diff_url":"https://github.com/puppetlabs/beaker/pull/1084.diff","patch_url":"https://github.com/puppetlabs/beaker/pull/1084.patch","issue_url":"https://api.github.com/repos/puppetlabs/beaker/issues/1084","number":1084,"state":"open","locked":false,"title":"(BKR-750) Add pre-cleanup option","user":{"login":"highb","id":759848,"avatar_url":"https://avatars.githubusercontent.com/u/759848?v=3","gravatar_id":"","url":"https://api.github.com/users/highb","html_url":"https://github.com/highb","followers_url":"https://api.github.com/users/highb/followers","following_url":"https://api.github.com/users/highb/following{/other_user}","gists_url":"https://api.github.com/users/highb/gists{/gist_id}","starred_url":"https://api.github.com/users/highb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/highb/subscriptions","organizations_url":"https://api.github.com/users/highb/orgs","repos_url":"https://api.github.com/users/highb/repos","events_url":"https://api.github.com/users/highb/events{/privacy}","received_events_url":"https://api.github.com/users/highb/received_events","type":"User","site_admin":false},"body":"Adds a `--pre-cleanup` suite, that will *always* run before the\r\nVM cleanup step. Useful for saving logs before the VMs disappear.","created_at":"2016-03-23T22:41:32Z","updated_at":"2016-03-23T22:42:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"481c35977cb9369c395cab770491af90aeb2e398","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/puppetlabs/beaker/pulls/1084/commits","review_comments_url":"https://api.github.com/repos/puppetlabs/beaker/pulls/1084/comments","review_comment_url":"https://api.github.com/repos/puppetlabs/beaker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/puppetlabs/beaker/issues/1084/comments","statuses_url":"https://api.github.com/repos/puppetlabs/beaker/statuses/8023c1a137fcfbd4081214cf79e2fc9291e5c741","head":{"label":"highb:add_pre_cleanup_suite","ref":"add_pre_cleanup_suite","sha":"8023c1a137fcfbd4081214cf79e2fc9291e5c741","user":{"login":"highb","id":759848,"avatar_url":"https://avatars.githubusercontent.com/u/759848?v=3","gravatar_id":"","url":"https://api.github.com/users/highb","html_url":"https://github.com/highb","followers_url":"https://api.github.com/users/highb/followers","following_url":"https://api.github.com/users/highb/following{/other_user}","gists_url":"https://api.github.com/users/highb/gists{/gist_id}","starred_url":"https://api.github.com/users/highb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/highb/subscriptions","organizations_url":"https://api.github.com/users/highb/orgs","repos_url":"https://api.github.com/users/highb/repos","events_url":"https://api.github.com/users/highb/events{/privacy}","received_events_url":"https://api.github.com/users/highb/received_events","type":"User","site_admin":false},"repo":{"id":54510740,"name":"beaker","full_name":"highb/beaker","owner":{"login":"highb","id":759848,"avatar_url":"https://avatars.githubusercontent.com/u/759848?v=3","gravatar_id":"","url":"https://api.github.com/users/highb","html_url":"https://github.com/highb","followers_url":"https://api.github.com/users/highb/followers","following_url":"https://api.github.com/users/highb/following{/other_user}","gists_url":"https://api.github.com/users/highb/gists{/gist_id}","starred_url":"https://api.github.com/users/highb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/highb/subscriptions","organizations_url":"https://api.github.com/users/highb/orgs","repos_url":"https://api.github.com/users/highb/repos","events_url":"https://api.github.com/users/highb/events{/privacy}","received_events_url":"https://api.github.com/users/highb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/highb/beaker","description":"Puppet Acceptance Testing Harness","fork":true,"url":"https://api.github.com/repos/highb/beaker","forks_url":"https://api.github.com/repos/highb/beaker/forks","keys_url":"https://api.github.com/repos/highb/beaker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/highb/beaker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/highb/beaker/teams","hooks_url":"https://api.github.com/repos/highb/beaker/hooks","issue_events_url":"https://api.github.com/repos/highb/beaker/issues/events{/number}","events_url":"https://api.github.com/repos/highb/beaker/events","assignees_url":"https://api.github.com/repos/highb/beaker/assignees{/user}","branches_url":"https://api.github.com/repos/highb/beaker/branches{/branch}","tags_url":"https://api.github.com/repos/highb/beaker/tags","blobs_url":"https://api.github.com/repos/highb/beaker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/highb/beaker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/highb/beaker/git/refs{/sha}","trees_url":"https://api.github.com/repos/highb/beaker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/highb/beaker/statuses/{sha}","languages_url":"https://api.github.com/repos/highb/beaker/languages","stargazers_url":"https://api.github.com/repos/highb/beaker/stargazers","contributors_url":"https://api.github.com/repos/highb/beaker/contributors","subscribers_url":"https://api.github.com/repos/highb/beaker/subscribers","subscription_url":"https://api.github.com/repos/highb/beaker/subscription","commits_url":"https://api.github.com/repos/highb/beaker/commits{/sha}","git_commits_url":"https://api.github.com/repos/highb/beaker/git/commits{/sha}","comments_url":"https://api.github.com/repos/highb/beaker/comments{/number}","issue_comment_url":"https://api.github.com/repos/highb/beaker/issues/comments{/number}","contents_url":"https://api.github.com/repos/highb/beaker/contents/{+path}","compare_url":"https://api.github.com/repos/highb/beaker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/highb/beaker/merges","archive_url":"https://api.github.com/repos/highb/beaker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/highb/beaker/downloads","issues_url":"https://api.github.com/repos/highb/beaker/issues{/number}","pulls_url":"https://api.github.com/repos/highb/beaker/pulls{/number}","milestones_url":"https://api.github.com/repos/highb/beaker/milestones{/number}","notifications_url":"https://api.github.com/repos/highb/beaker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/highb/beaker/labels{/name}","releases_url":"https://api.github.com/repos/highb/beaker/releases{/id}","deployments_url":"https://api.github.com/repos/highb/beaker/deployments","created_at":"2016-03-22T21:43:20Z","updated_at":"2016-03-22T21:43:22Z","pushed_at":"2016-03-23T22:41:07Z","git_url":"git://github.com/highb/beaker.git","ssh_url":"git@github.com:highb/beaker.git","clone_url":"https://github.com/highb/beaker.git","svn_url":"https://github.com/highb/beaker","homepage":"https://groups.google.com/forum/#!forum/puppet-beaker","size":12242,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"puppetlabs:master","ref":"master","sha":"e698825240a70e732597f0f9e067d3dd79e2016d","user":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars.githubusercontent.com/u/234268?v=3","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":12164675,"name":"beaker","full_name":"puppetlabs/beaker","owner":{"login":"puppetlabs","id":234268,"avatar_url":"https://avatars.githubusercontent.com/u/234268?v=3","gravatar_id":"","url":"https://api.github.com/users/puppetlabs","html_url":"https://github.com/puppetlabs","followers_url":"https://api.github.com/users/puppetlabs/followers","following_url":"https://api.github.com/users/puppetlabs/following{/other_user}","gists_url":"https://api.github.com/users/puppetlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/puppetlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puppetlabs/subscriptions","organizations_url":"https://api.github.com/users/puppetlabs/orgs","repos_url":"https://api.github.com/users/puppetlabs/repos","events_url":"https://api.github.com/users/puppetlabs/events{/privacy}","received_events_url":"https://api.github.com/users/puppetlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/puppetlabs/beaker","description":"Puppet Acceptance Testing Harness","fork":false,"url":"https://api.github.com/repos/puppetlabs/beaker","forks_url":"https://api.github.com/repos/puppetlabs/beaker/forks","keys_url":"https://api.github.com/repos/puppetlabs/beaker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/puppetlabs/beaker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/puppetlabs/beaker/teams","hooks_url":"https://api.github.com/repos/puppetlabs/beaker/hooks","issue_events_url":"https://api.github.com/repos/puppetlabs/beaker/issues/events{/number}","events_url":"https://api.github.com/repos/puppetlabs/beaker/events","assignees_url":"https://api.github.com/repos/puppetlabs/beaker/assignees{/user}","branches_url":"https://api.github.com/repos/puppetlabs/beaker/branches{/branch}","tags_url":"https://api.github.com/repos/puppetlabs/beaker/tags","blobs_url":"https://api.github.com/repos/puppetlabs/beaker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/puppetlabs/beaker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/puppetlabs/beaker/git/refs{/sha}","trees_url":"https://api.github.com/repos/puppetlabs/beaker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/puppetlabs/beaker/statuses/{sha}","languages_url":"https://api.github.com/repos/puppetlabs/beaker/languages","stargazers_url":"https://api.github.com/repos/puppetlabs/beaker/stargazers","contributors_url":"https://api.github.com/repos/puppetlabs/beaker/contributors","subscribers_url":"https://api.github.com/repos/puppetlabs/beaker/subscribers","subscription_url":"https://api.github.com/repos/puppetlabs/beaker/subscription","commits_url":"https://api.github.com/repos/puppetlabs/beaker/commits{/sha}","git_commits_url":"https://api.github.com/repos/puppetlabs/beaker/git/commits{/sha}","comments_url":"https://api.github.com/repos/puppetlabs/beaker/comments{/number}","issue_comment_url":"https://api.github.com/repos/puppetlabs/beaker/issues/comments{/number}","contents_url":"https://api.github.com/repos/puppetlabs/beaker/contents/{+path}","compare_url":"https://api.github.com/repos/puppetlabs/beaker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/puppetlabs/beaker/merges","archive_url":"https://api.github.com/repos/puppetlabs/beaker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/puppetlabs/beaker/downloads","issues_url":"https://api.github.com/repos/puppetlabs/beaker/issues{/number}","pulls_url":"https://api.github.com/repos/puppetlabs/beaker/pulls{/number}","milestones_url":"https://api.github.com/repos/puppetlabs/beaker/milestones{/number}","notifications_url":"https://api.github.com/repos/puppetlabs/beaker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/puppetlabs/beaker/labels{/name}","releases_url":"https://api.github.com/repos/puppetlabs/beaker/releases{/id}","deployments_url":"https://api.github.com/repos/puppetlabs/beaker/deployments","created_at":"2013-08-16T17:57:03Z","updated_at":"2016-03-22T20:35:29Z","pushed_at":"2016-03-23T22:41:33Z","git_url":"git://github.com/puppetlabs/beaker.git","ssh_url":"git@github.com:puppetlabs/beaker.git","clone_url":"https://github.com/puppetlabs/beaker.git","svn_url":"https://github.com/puppetlabs/beaker","homepage":"https://groups.google.com/forum/#!forum/puppet-beaker","size":14812,"stargazers_count":229,"watchers_count":229,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":201,"mirror_url":null,"open_issues_count":4,"forks":201,"open_issues":4,"watchers":229,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/puppetlabs/beaker/pulls/1084"},"html":{"href":"https://github.com/puppetlabs/beaker/pull/1084"},"issue":{"href":"https://api.github.com/repos/puppetlabs/beaker/issues/1084"},"comments":{"href":"https://api.github.com/repos/puppetlabs/beaker/issues/1084/comments"},"review_comments":{"href":"https://api.github.com/repos/puppetlabs/beaker/pulls/1084/comments"},"review_comment":{"href":"https://api.github.com/repos/puppetlabs/beaker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/puppetlabs/beaker/pulls/1084/commits"},"statuses":{"href":"https://api.github.com/repos/puppetlabs/beaker/statuses/8023c1a137fcfbd4081214cf79e2fc9291e5c741"}}}}