{"action":"created","comment":{"url":"https://api.github.com/repos/kubernetes-incubator/cri-o/pulls/comments/133310732","pull_request_review_id":56478056,"id":133310732,"diff_hunk":"@@ -0,0 +1,49 @@\n+#!/usr/bin/env bats\n+\n+load helpers\n+\n+IMAGE=\"redis:alpine\"\n+ROOT=\"$TESTDIR/crio\"\n+RUNROOT=\"$TESTDIR/crio-run\"\n+KPOD_OPTIONS=\"--root $ROOT --runroot $RUNROOT $STORAGE_OPTS\"\n+\n+function teardown() {\n+    cleanup_test\n+}\n+\n+@test \"kpod inspect image\" {\n+    run ${KPOD_BINARY} $KPOD_OPTIONS pull $IMAGE\n+    [ \"$status\" -eq 0 ]\n+    run bash -c \"${KPOD_BINARY} $KPOD_OPTIONS inspect $IMAGE | python -m json.tool\"\n+    echo \"$output\"\n+    [ \"$status\" -eq 0 ]\n+    run ${KPOD_BINARY} $KPOD_OPTIONS rmi $IMAGE\n+}\n+\n+\n+@test \"kpod inspect non-existent container\" {\n+    run ${KPOD_BINARY} $KPOD_OPTIONS inspect 14rcole/non-existent\n+    echo \"$output\"\n+    [ \"$status\" -ne 0 ]\n+}\n+\n+@test \"kpod inspect with format\" {\n+    run ${KPOD_BINARY} $KPOD_OPTIONS pull $IMAGE\n+    [ \"$status\" -eq 0 ]\n+    run ${KPOD_BINARY} $KPOD_OPTIONS --format {{.ID}} inspect $IMAGE\n+    [ \"$status\" -eq 0]","path":"test/kpod_inspect.bats","position":34,"original_position":34,"commit_id":"92ade4331a645cdc02feed257d48aca23bd992b1","original_commit_id":"92ade4331a645cdc02feed257d48aca23bd992b1","user":{"login":"nalind","id":1200159,"avatar_url":"https://avatars0.githubusercontent.com/u/1200159?v=4","gravatar_id":"","url":"https://api.github.com/users/nalind","html_url":"https://github.com/nalind","followers_url":"https://api.github.com/users/nalind/followers","following_url":"https://api.github.com/users/nalind/following{/other_user}","gists_url":"https://api.github.com/users/nalind/gists{/gist_id}","starred_url":"https://api.github.com/users/nalind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nalind/subscriptions","organizations_url":"https://api.github.com/users/nalind/orgs","repos_url":"https://api.github.com/users/nalind/repos","events_url":"https://api.github.com/users/nalind/events{/privacy}","received_events_url":"https://api.github.com/users/nalind/received_events","type":"User","site_admin":false},"body":"Missing whitespace between `0` and `]`.","created_at":"2017-08-15T21:37:43Z","updated_at":"2017-08-15T21:37:43Z","html_url":"https://github.com/kubernetes-incubator/cri-o/pull/763#discussion_r133310732","pull_request_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/pulls/763","_links":{"self":{"href":"https://api.github.com/repos/kubernetes-incubator/cri-o/pulls/comments/133310732"},"html":{"href":"https://github.com/kubernetes-incubator/cri-o/pull/763#discussion_r133310732"},"pull_request":{"href":"https://api.github.com/repos/kubernetes-incubator/cri-o/pulls/763"}}},"pull_request":{"url":"https://api.github.com/repos/kubernetes-incubator/cri-o/pulls/763","id":135594938,"html_url":"https://github.com/kubernetes-incubator/cri-o/pull/763","diff_url":"https://github.com/kubernetes-incubator/cri-o/pull/763.diff","patch_url":"https://github.com/kubernetes-incubator/cri-o/pull/763.patch","issue_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/issues/763","number":763,"state":"open","locked":false,"title":"Refactor kpod tests","user":{"login":"14rcole","id":10855607,"avatar_url":"https://avatars2.githubusercontent.com/u/10855607?v=4","gravatar_id":"","url":"https://api.github.com/users/14rcole","html_url":"https://github.com/14rcole","followers_url":"https://api.github.com/users/14rcole/followers","following_url":"https://api.github.com/users/14rcole/following{/other_user}","gists_url":"https://api.github.com/users/14rcole/gists{/gist_id}","starred_url":"https://api.github.com/users/14rcole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/14rcole/subscriptions","organizations_url":"https://api.github.com/users/14rcole/orgs","repos_url":"https://api.github.com/users/14rcole/repos","events_url":"https://api.github.com/users/14rcole/events{/privacy}","received_events_url":"https://api.github.com/users/14rcole/received_events","type":"User","site_admin":false},"body":"Move kpod tests from kpod.bats to kpod_[commandname].bats.  This makes it easier to run individual groups of tests.  Also changed the --storage-driver vfs flags to $STORAGE_OPTS","created_at":"2017-08-14T13:16:59Z","updated_at":"2017-08-15T21:37:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a2bf2544f89f1eb8b3edfddbfa0fca5a795889bb","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/pulls/763/commits","review_comments_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/pulls/763/comments","review_comment_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/issues/763/comments","statuses_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/statuses/92ade4331a645cdc02feed257d48aca23bd992b1","head":{"label":"14rcole:kpod-test-refactor","ref":"kpod-test-refactor","sha":"92ade4331a645cdc02feed257d48aca23bd992b1","user":{"login":"14rcole","id":10855607,"avatar_url":"https://avatars2.githubusercontent.com/u/10855607?v=4","gravatar_id":"","url":"https://api.github.com/users/14rcole","html_url":"https://github.com/14rcole","followers_url":"https://api.github.com/users/14rcole/followers","following_url":"https://api.github.com/users/14rcole/following{/other_user}","gists_url":"https://api.github.com/users/14rcole/gists{/gist_id}","starred_url":"https://api.github.com/users/14rcole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/14rcole/subscriptions","organizations_url":"https://api.github.com/users/14rcole/orgs","repos_url":"https://api.github.com/users/14rcole/repos","events_url":"https://api.github.com/users/14rcole/events{/privacy}","received_events_url":"https://api.github.com/users/14rcole/received_events","type":"User","site_admin":false},"repo":{"id":70831246,"name":"cri-o","full_name":"14rcole/cri-o","owner":{"login":"14rcole","id":10855607,"avatar_url":"https://avatars2.githubusercontent.com/u/10855607?v=4","gravatar_id":"","url":"https://api.github.com/users/14rcole","html_url":"https://github.com/14rcole","followers_url":"https://api.github.com/users/14rcole/followers","following_url":"https://api.github.com/users/14rcole/following{/other_user}","gists_url":"https://api.github.com/users/14rcole/gists{/gist_id}","starred_url":"https://api.github.com/users/14rcole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/14rcole/subscriptions","organizations_url":"https://api.github.com/users/14rcole/orgs","repos_url":"https://api.github.com/users/14rcole/repos","events_url":"https://api.github.com/users/14rcole/events{/privacy}","received_events_url":"https://api.github.com/users/14rcole/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/14rcole/cri-o","description":"Open Container Initiative-based implementation of Kubernetes Container Runtime Interface","fork":true,"url":"https://api.github.com/repos/14rcole/cri-o","forks_url":"https://api.github.com/repos/14rcole/cri-o/forks","keys_url":"https://api.github.com/repos/14rcole/cri-o/keys{/key_id}","collaborators_url":"https://api.github.com/repos/14rcole/cri-o/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/14rcole/cri-o/teams","hooks_url":"https://api.github.com/repos/14rcole/cri-o/hooks","issue_events_url":"https://api.github.com/repos/14rcole/cri-o/issues/events{/number}","events_url":"https://api.github.com/repos/14rcole/cri-o/events","assignees_url":"https://api.github.com/repos/14rcole/cri-o/assignees{/user}","branches_url":"https://api.github.com/repos/14rcole/cri-o/branches{/branch}","tags_url":"https://api.github.com/repos/14rcole/cri-o/tags","blobs_url":"https://api.github.com/repos/14rcole/cri-o/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/14rcole/cri-o/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/14rcole/cri-o/git/refs{/sha}","trees_url":"https://api.github.com/repos/14rcole/cri-o/git/trees{/sha}","statuses_url":"https://api.github.com/repos/14rcole/cri-o/statuses/{sha}","languages_url":"https://api.github.com/repos/14rcole/cri-o/languages","stargazers_url":"https://api.github.com/repos/14rcole/cri-o/stargazers","contributors_url":"https://api.github.com/repos/14rcole/cri-o/contributors","subscribers_url":"https://api.github.com/repos/14rcole/cri-o/subscribers","subscription_url":"https://api.github.com/repos/14rcole/cri-o/subscription","commits_url":"https://api.github.com/repos/14rcole/cri-o/commits{/sha}","git_commits_url":"https://api.github.com/repos/14rcole/cri-o/git/commits{/sha}","comments_url":"https://api.github.com/repos/14rcole/cri-o/comments{/number}","issue_comment_url":"https://api.github.com/repos/14rcole/cri-o/issues/comments{/number}","contents_url":"https://api.github.com/repos/14rcole/cri-o/contents/{+path}","compare_url":"https://api.github.com/repos/14rcole/cri-o/compare/{base}...{head}","merges_url":"https://api.github.com/repos/14rcole/cri-o/merges","archive_url":"https://api.github.com/repos/14rcole/cri-o/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/14rcole/cri-o/downloads","issues_url":"https://api.github.com/repos/14rcole/cri-o/issues{/number}","pulls_url":"https://api.github.com/repos/14rcole/cri-o/pulls{/number}","milestones_url":"https://api.github.com/repos/14rcole/cri-o/milestones{/number}","notifications_url":"https://api.github.com/repos/14rcole/cri-o/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/14rcole/cri-o/labels{/name}","releases_url":"https://api.github.com/repos/14rcole/cri-o/releases{/id}","deployments_url":"https://api.github.com/repos/14rcole/cri-o/deployments","created_at":"2016-10-13T17:29:46Z","updated_at":"2016-10-13T17:29:47Z","pushed_at":"2017-08-15T19:40:08Z","git_url":"git://github.com/14rcole/cri-o.git","ssh_url":"git@github.com:14rcole/cri-o.git","clone_url":"https://github.com/14rcole/cri-o.git","svn_url":"https://github.com/14rcole/cri-o","homepage":"","size":36052,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"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":"kubernetes-incubator:master","ref":"master","sha":"24476e9afb3711885a2012fc528b3ff2667036ea","user":{"login":"kubernetes-incubator","id":20862812,"avatar_url":"https://avatars2.githubusercontent.com/u/20862812?v=4","gravatar_id":"","url":"https://api.github.com/users/kubernetes-incubator","html_url":"https://github.com/kubernetes-incubator","followers_url":"https://api.github.com/users/kubernetes-incubator/followers","following_url":"https://api.github.com/users/kubernetes-incubator/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes-incubator/subscriptions","organizations_url":"https://api.github.com/users/kubernetes-incubator/orgs","repos_url":"https://api.github.com/users/kubernetes-incubator/repos","events_url":"https://api.github.com/users/kubernetes-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes-incubator/received_events","type":"Organization","site_admin":false},"repo":{"id":67828134,"name":"cri-o","full_name":"kubernetes-incubator/cri-o","owner":{"login":"kubernetes-incubator","id":20862812,"avatar_url":"https://avatars2.githubusercontent.com/u/20862812?v=4","gravatar_id":"","url":"https://api.github.com/users/kubernetes-incubator","html_url":"https://github.com/kubernetes-incubator","followers_url":"https://api.github.com/users/kubernetes-incubator/followers","following_url":"https://api.github.com/users/kubernetes-incubator/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes-incubator/subscriptions","organizations_url":"https://api.github.com/users/kubernetes-incubator/orgs","repos_url":"https://api.github.com/users/kubernetes-incubator/repos","events_url":"https://api.github.com/users/kubernetes-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes-incubator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kubernetes-incubator/cri-o","description":"Open Container Initiative-based implementation of Kubernetes Container Runtime Interface","fork":false,"url":"https://api.github.com/repos/kubernetes-incubator/cri-o","forks_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/forks","keys_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/teams","hooks_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/hooks","issue_events_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/issues/events{/number}","events_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/events","assignees_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/assignees{/user}","branches_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/branches{/branch}","tags_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/tags","blobs_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/git/refs{/sha}","trees_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/statuses/{sha}","languages_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/languages","stargazers_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/stargazers","contributors_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/contributors","subscribers_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/subscribers","subscription_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/subscription","commits_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/commits{/sha}","git_commits_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/git/commits{/sha}","comments_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/comments{/number}","issue_comment_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/issues/comments{/number}","contents_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/contents/{+path}","compare_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/merges","archive_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/downloads","issues_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/issues{/number}","pulls_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/pulls{/number}","milestones_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/milestones{/number}","notifications_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/labels{/name}","releases_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/releases{/id}","deployments_url":"https://api.github.com/repos/kubernetes-incubator/cri-o/deployments","created_at":"2016-09-09T19:56:31Z","updated_at":"2017-08-15T12:26:41Z","pushed_at":"2017-08-15T21:31:24Z","git_url":"git://github.com/kubernetes-incubator/cri-o.git","ssh_url":"git@github.com:kubernetes-incubator/cri-o.git","clone_url":"https://github.com/kubernetes-incubator/cri-o.git","svn_url":"https://github.com/kubernetes-incubator/cri-o","homepage":"","size":36627,"stargazers_count":534,"watchers_count":534,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":112,"mirror_url":null,"open_issues_count":71,"forks":112,"open_issues":71,"watchers":534,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kubernetes-incubator/cri-o/pulls/763"},"html":{"href":"https://github.com/kubernetes-incubator/cri-o/pull/763"},"issue":{"href":"https://api.github.com/repos/kubernetes-incubator/cri-o/issues/763"},"comments":{"href":"https://api.github.com/repos/kubernetes-incubator/cri-o/issues/763/comments"},"review_comments":{"href":"https://api.github.com/repos/kubernetes-incubator/cri-o/pulls/763/comments"},"review_comment":{"href":"https://api.github.com/repos/kubernetes-incubator/cri-o/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kubernetes-incubator/cri-o/pulls/763/commits"},"statuses":{"href":"https://api.github.com/repos/kubernetes-incubator/cri-o/statuses/92ade4331a645cdc02feed257d48aca23bd992b1"}}}}
{"actor":{"display_login":"nalind"}}