{"action":"created","issue":{"url":"https://api.github.com/repos/coreos/rkt/issues/1696","labels_url":"https://api.github.com/repos/coreos/rkt/issues/1696/labels{/name}","comments_url":"https://api.github.com/repos/coreos/rkt/issues/1696/comments","events_url":"https://api.github.com/repos/coreos/rkt/issues/1696/events","html_url":"https://github.com/coreos/rkt/pull/1696","id":114178821,"number":1696,"title":"tests: add functional tests for rkt api service.","user":{"login":"yifan-gu","id":3278588,"avatar_url":"https://avatars.githubusercontent.com/u/3278588?v=3","gravatar_id":"","url":"https://api.github.com/users/yifan-gu","html_url":"https://github.com/yifan-gu","followers_url":"https://api.github.com/users/yifan-gu/followers","following_url":"https://api.github.com/users/yifan-gu/following{/other_user}","gists_url":"https://api.github.com/users/yifan-gu/gists{/gist_id}","starred_url":"https://api.github.com/users/yifan-gu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yifan-gu/subscriptions","organizations_url":"https://api.github.com/users/yifan-gu/orgs","repos_url":"https://api.github.com/users/yifan-gu/repos","events_url":"https://api.github.com/users/yifan-gu/events{/privacy}","received_events_url":"https://api.github.com/users/yifan-gu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/coreos/rkt/labels/area/testing","name":"area/testing","color":"bfe5bf"},{"url":"https://api.github.com/repos/coreos/rkt/labels/component/api%20server","name":"component/api server","color":"0052cc"},{"url":"https://api.github.com/repos/coreos/rkt/labels/needs%20review","name":"needs review","color":"5319e7"},{"url":"https://api.github.com/repos/coreos/rkt/labels/priority/P1","name":"priority/P1","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/coreos/rkt/milestones/24","html_url":"https://github.com/coreos/rkt/milestones/v0.11.0","labels_url":"https://api.github.com/repos/coreos/rkt/milestones/24/labels","id":1360014,"number":24,"title":"v0.11.0","description":"","creator":{"login":"jonboulle","id":2601015,"avatar_url":"https://avatars.githubusercontent.com/u/2601015?v=3","gravatar_id":"","url":"https://api.github.com/users/jonboulle","html_url":"https://github.com/jonboulle","followers_url":"https://api.github.com/users/jonboulle/followers","following_url":"https://api.github.com/users/jonboulle/following{/other_user}","gists_url":"https://api.github.com/users/jonboulle/gists{/gist_id}","starred_url":"https://api.github.com/users/jonboulle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonboulle/subscriptions","organizations_url":"https://api.github.com/users/jonboulle/orgs","repos_url":"https://api.github.com/users/jonboulle/repos","events_url":"https://api.github.com/users/jonboulle/events{/privacy}","received_events_url":"https://api.github.com/users/jonboulle/received_events","type":"User","site_admin":false},"open_issues":55,"closed_issues":36,"state":"open","created_at":"2015-10-16T18:28:50Z","updated_at":"2015-11-11T11:25:44Z","due_on":"2015-11-11T23:00:00Z","closed_at":null},"comments":8,"created_at":"2015-10-30T01:15:39Z","updated_at":"2015-11-11T12:38:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/coreos/rkt/pulls/1696","html_url":"https://github.com/coreos/rkt/pull/1696","diff_url":"https://github.com/coreos/rkt/pull/1696.diff","patch_url":"https://github.com/coreos/rkt/pull/1696.patch"},"body":"Add tests for `GetInfo()`, `ListPods()`, `InspectPod()`\r\n`ListImages()` and `InspectImage()`.\r\n\r\nFix https://github.com/coreos/rkt/issues/1668\r\n\r\nWill be conflicted to https://github.com/coreos/rkt/pull/1688 which reduces the info returned by `ListPods()` and `ListImages()` "},"comment":{"url":"https://api.github.com/repos/coreos/rkt/issues/comments/155765975","html_url":"https://github.com/coreos/rkt/pull/1696#issuecomment-155765975","issue_url":"https://api.github.com/repos/coreos/rkt/issues/1696","id":155765975,"user":{"login":"alban","id":27575,"avatar_url":"https://avatars.githubusercontent.com/u/27575?v=3","gravatar_id":"","url":"https://api.github.com/users/alban","html_url":"https://github.com/alban","followers_url":"https://api.github.com/users/alban/followers","following_url":"https://api.github.com/users/alban/following{/other_user}","gists_url":"https://api.github.com/users/alban/gists{/gist_id}","starred_url":"https://api.github.com/users/alban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alban/subscriptions","organizations_url":"https://api.github.com/users/alban/orgs","repos_url":"https://api.github.com/users/alban/repos","events_url":"https://api.github.com/users/alban/events{/privacy}","received_events_url":"https://api.github.com/users/alban/received_events","type":"User","site_admin":false},"created_at":"2015-11-11T12:38:16Z","updated_at":"2015-11-11T12:38:16Z","body":"> It passes on my machine, Seems there is some flakiness.\r\n\r\nIndeed, the [failure](https://semaphoreci.com/coreos/rkt/branches/pull-request-1696/builds/12) does not seem to be related to your changes. I filed #1728 to improve the test output.\r\n\r\nPlease rebase.\r\n\r\nThis still fail on my Fedora because `/home/alban` is `drwx------.` and the tests try to run `rkt` as user `noody`:\r\n```\r\n\trkt_tests.go:297: cannot exec rkt: fork/exec /home/alban/go/src/github.com/coreos/rkt/build-rkt-0.10.0+git/bin/rkt: permission denied\r\n```\r\n\r\nThe tests pass if I change the permissions of `/home/alban` to be accessible by `nobody`. But the tests ought to work on a default installation.\r\n\r\n@krnowak what should we do here? Copy `rkt` somewhere in `/tmp` for the tests? Or do something with #1720?"}}