{"action":"opened","issue":{"url":"https://api.github.com/repos/boc-tothefuture/kitchen-blame/issues/1","repository_url":"https://api.github.com/repos/boc-tothefuture/kitchen-blame","labels_url":"https://api.github.com/repos/boc-tothefuture/kitchen-blame/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/boc-tothefuture/kitchen-blame/issues/1/comments","events_url":"https://api.github.com/repos/boc-tothefuture/kitchen-blame/issues/1/events","html_url":"https://github.com/boc-tothefuture/kitchen-blame/issues/1","id":240637604,"number":1,"title":"NoMethodError if underling kitchen log has an error","user":{"login":"boc-tothefuture","id":13153815,"avatar_url":"https://avatars1.githubusercontent.com/u/13153815?v=3","gravatar_id":"","url":"https://api.github.com/users/boc-tothefuture","html_url":"https://github.com/boc-tothefuture","followers_url":"https://api.github.com/users/boc-tothefuture/followers","following_url":"https://api.github.com/users/boc-tothefuture/following{/other_user}","gists_url":"https://api.github.com/users/boc-tothefuture/gists{/gist_id}","starred_url":"https://api.github.com/users/boc-tothefuture/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boc-tothefuture/subscriptions","organizations_url":"https://api.github.com/users/boc-tothefuture/orgs","repos_url":"https://api.github.com/users/boc-tothefuture/repos","events_url":"https://api.github.com/users/boc-tothefuture/events{/privacy}","received_events_url":"https://api.github.com/users/boc-tothefuture/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-05T12:40:00Z","updated_at":"2017-07-05T12:40:00Z","closed_at":null,"body":"This log entry: \r\n```\r\nE, [2017-07-05T08:31:22.995680 #27103] ERROR -- cloud-default-RHEL7: Message: SSH exited (1) for command: [sh -c '\r\nTEST_KITCHEN=\"1\"; export TEST_KITCHEN\r\nBUSSER_ROOT=\"/tmp/verifier\"; export BUSSER_ROOT\r\nGEM_HOME=\"/tmp/verifier/gems\"; export GEM_HOME\r\nGEM_PATH=\"/tmp/verifier/gems\"; export GEM_PATH\r\nGEM_CACHE=\"/tmp/verifier/gems/cache\"; export GEM_CACHE\r\n\r\nsudo -E /tmp/verifier/bin/busser test\r\n']\r\n```\r\nCauses this error\r\n```\r\nkitchen_blame.rb:25:in `extract_time': undefined method `[]' for nil:NilClass (NoMethodError)\r\n\tfrom /home/boc/.chefdk/gem/ruby/2.1.0/gems/kitchen_blame-0.2.0/lib/kitchen_blame.rb:94:in `block in analyze_duration'\r\n\tfrom /home/boc/.chefdk/gem/ruby/2.1.0/gems/kitchen_blame-0.2.0/lib/kitchen_blame.rb:91:in `map'\r\n\tfrom /home/boc/.chefdk/gem/ruby/2.1.0/gems/kitchen_blame-0.2.0/lib/kitchen_blame.rb:91:in `analyze_duration'\r\n\tfrom /home/boc/.chefdk/gem/ruby/2.1.0/gems/kitchen_blame-0.2.0/lib/kitchen_blame/cli.rb:34:in `duration'\r\n\tfrom /home/boc/.chefdk/gem/ruby/2.1.0/gems/thor-0.19.4/lib/thor/command.rb:27:in `run'\r\n\tfrom /home/boc/.chefdk/gem/ruby/2.1.0/gems/thor-0.19.4/lib/thor/invocation.rb:126:in `invoke_command'\r\n\tfrom /home/boc/.chefdk/gem/ruby/2.1.0/gems/thor-0.19.4/lib/thor.rb:369:in `dispatch'\r\n\tfrom /home/boc/.chefdk/gem/ruby/2.1.0/gems/thor-0.19.4/lib/thor/base.rb:444:in `start'\r\n\tfrom /home/boc/.chefdk/gem/ruby/2.1.0/gems/kitchen_blame-0.2.0/exe/blame:19:in `<top (required)>'\r\n\tfrom /home/boc/.chefdk/gem/ruby/2.1.0/bin/blame:22:in `load'\r\n\tfrom /home/boc/.chefdk/gem/ruby/2.1.0/bin/blame:22:in `<main>'\r\n```\r\n\r\n"}}
{"actor":{"display_login":"boc-tothefuture"}}