{"action":"opened","number":4473,"pull_request":{"url":"https://api.github.com/repos/systemd/systemd/pulls/4473","id":90647777,"html_url":"https://github.com/systemd/systemd/pull/4473","diff_url":"https://github.com/systemd/systemd/pull/4473.diff","patch_url":"https://github.com/systemd/systemd/pull/4473.patch","issue_url":"https://api.github.com/repos/systemd/systemd/issues/4473","number":4473,"state":"open","locked":false,"title":"test: skip exec tests when inaccessible dir is unavailable","user":{"login":"dongsupark","id":10096906,"avatar_url":"https://avatars.githubusercontent.com/u/10096906?v=3","gravatar_id":"","url":"https://api.github.com/users/dongsupark","html_url":"https://github.com/dongsupark","followers_url":"https://api.github.com/users/dongsupark/followers","following_url":"https://api.github.com/users/dongsupark/following{/other_user}","gists_url":"https://api.github.com/users/dongsupark/gists{/gist_id}","starred_url":"https://api.github.com/users/dongsupark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dongsupark/subscriptions","organizations_url":"https://api.github.com/users/dongsupark/orgs","repos_url":"https://api.github.com/users/dongsupark/repos","events_url":"https://api.github.com/users/dongsupark/events{/privacy}","received_events_url":"https://api.github.com/users/dongsupark/received_events","type":"User","site_admin":false},"body":"In case of running `test-execute` on systems with systemd < v232, several tests like `test_exec_privatedevices` or `test_exec_protectkernelmodules` fail because `/run/systemd/inaccessible/` is empty. In these cases, we should skip tests to avoid unnecessary errors.\r\n\r\nTest failure log, e.g.:\r\n```\r\nexec-protectkernelmodules-yes-capabilities.service: Failed at step NAMESPACE spawning /bin/sh: No such file or directory\r\nexec-protectkernelmodules-yes-capabilities.service: Main process exited, code=exited, status=226/NAMESPACE\r\nexec-protectkernelmodules-yes-capabilities.service: Unit entered failed state.\r\nexec-protectkernelmodules-yes-capabilities.service: Failed with result 'exit-code'.\r\nAssertion 'service->main_exec_status.status == status_expected' failed at src/test/test-execute.c:69, function check(). Aborting.\r\n```\r\n\r\nSee also https://github.com/systemd/systemd/pull/4243#issuecomment-253665566\r\n/cc @tixxdz @evverx ","created_at":"2016-10-24T16:31:04Z","updated_at":"2016-10-24T16:31:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"768550764d32a041d8350742a8fcd12c9b06751d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/systemd/systemd/pulls/4473/commits","review_comments_url":"https://api.github.com/repos/systemd/systemd/pulls/4473/comments","review_comment_url":"https://api.github.com/repos/systemd/systemd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/systemd/systemd/issues/4473/comments","statuses_url":"https://api.github.com/repos/systemd/systemd/statuses/704a3b464fb70203a70c0f9e70ce4742e11a3630","head":{"label":"endocode:dongsu/test-exec-inaccessible","ref":"dongsu/test-exec-inaccessible","sha":"704a3b464fb70203a70c0f9e70ce4742e11a3630","user":{"login":"endocode","id":4068543,"avatar_url":"https://avatars.githubusercontent.com/u/4068543?v=3","gravatar_id":"","url":"https://api.github.com/users/endocode","html_url":"https://github.com/endocode","followers_url":"https://api.github.com/users/endocode/followers","following_url":"https://api.github.com/users/endocode/following{/other_user}","gists_url":"https://api.github.com/users/endocode/gists{/gist_id}","starred_url":"https://api.github.com/users/endocode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endocode/subscriptions","organizations_url":"https://api.github.com/users/endocode/orgs","repos_url":"https://api.github.com/users/endocode/repos","events_url":"https://api.github.com/users/endocode/events{/privacy}","received_events_url":"https://api.github.com/users/endocode/received_events","type":"Organization","site_admin":false},"repo":{"id":36789448,"name":"systemd","full_name":"endocode/systemd","owner":{"login":"endocode","id":4068543,"avatar_url":"https://avatars.githubusercontent.com/u/4068543?v=3","gravatar_id":"","url":"https://api.github.com/users/endocode","html_url":"https://github.com/endocode","followers_url":"https://api.github.com/users/endocode/followers","following_url":"https://api.github.com/users/endocode/following{/other_user}","gists_url":"https://api.github.com/users/endocode/gists{/gist_id}","starred_url":"https://api.github.com/users/endocode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endocode/subscriptions","organizations_url":"https://api.github.com/users/endocode/orgs","repos_url":"https://api.github.com/users/endocode/repos","events_url":"https://api.github.com/users/endocode/events{/privacy}","received_events_url":"https://api.github.com/users/endocode/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/endocode/systemd","description":"systemd upstream","fork":true,"url":"https://api.github.com/repos/endocode/systemd","forks_url":"https://api.github.com/repos/endocode/systemd/forks","keys_url":"https://api.github.com/repos/endocode/systemd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/endocode/systemd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/endocode/systemd/teams","hooks_url":"https://api.github.com/repos/endocode/systemd/hooks","issue_events_url":"https://api.github.com/repos/endocode/systemd/issues/events{/number}","events_url":"https://api.github.com/repos/endocode/systemd/events","assignees_url":"https://api.github.com/repos/endocode/systemd/assignees{/user}","branches_url":"https://api.github.com/repos/endocode/systemd/branches{/branch}","tags_url":"https://api.github.com/repos/endocode/systemd/tags","blobs_url":"https://api.github.com/repos/endocode/systemd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/endocode/systemd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/endocode/systemd/git/refs{/sha}","trees_url":"https://api.github.com/repos/endocode/systemd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/endocode/systemd/statuses/{sha}","languages_url":"https://api.github.com/repos/endocode/systemd/languages","stargazers_url":"https://api.github.com/repos/endocode/systemd/stargazers","contributors_url":"https://api.github.com/repos/endocode/systemd/contributors","subscribers_url":"https://api.github.com/repos/endocode/systemd/subscribers","subscription_url":"https://api.github.com/repos/endocode/systemd/subscription","commits_url":"https://api.github.com/repos/endocode/systemd/commits{/sha}","git_commits_url":"https://api.github.com/repos/endocode/systemd/git/commits{/sha}","comments_url":"https://api.github.com/repos/endocode/systemd/comments{/number}","issue_comment_url":"https://api.github.com/repos/endocode/systemd/issues/comments{/number}","contents_url":"https://api.github.com/repos/endocode/systemd/contents/{+path}","compare_url":"https://api.github.com/repos/endocode/systemd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/endocode/systemd/merges","archive_url":"https://api.github.com/repos/endocode/systemd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/endocode/systemd/downloads","issues_url":"https://api.github.com/repos/endocode/systemd/issues{/number}","pulls_url":"https://api.github.com/repos/endocode/systemd/pulls{/number}","milestones_url":"https://api.github.com/repos/endocode/systemd/milestones{/number}","notifications_url":"https://api.github.com/repos/endocode/systemd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/endocode/systemd/labels{/name}","releases_url":"https://api.github.com/repos/endocode/systemd/releases{/id}","deployments_url":"https://api.github.com/repos/endocode/systemd/deployments","created_at":"2015-06-03T08:12:03Z","updated_at":"2016-01-13T17:22:24Z","pushed_at":"2016-10-24T16:26:28Z","git_url":"git://github.com/endocode/systemd.git","ssh_url":"git@github.com:endocode/systemd.git","clone_url":"https://github.com/endocode/systemd.git","svn_url":"https://github.com/endocode/systemd","homepage":"http://www.freedesktop.org/wiki/Software/systemd/","size":61685,"stargazers_count":0,"watchers_count":0,"language":"C","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":"systemd:master","ref":"master","sha":"229ba9fd57942fb7d1bb738ab1ad21356431d952","user":{"login":"systemd","id":1918868,"avatar_url":"https://avatars.githubusercontent.com/u/1918868?v=3","gravatar_id":"","url":"https://api.github.com/users/systemd","html_url":"https://github.com/systemd","followers_url":"https://api.github.com/users/systemd/followers","following_url":"https://api.github.com/users/systemd/following{/other_user}","gists_url":"https://api.github.com/users/systemd/gists{/gist_id}","starred_url":"https://api.github.com/users/systemd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/systemd/subscriptions","organizations_url":"https://api.github.com/users/systemd/orgs","repos_url":"https://api.github.com/users/systemd/repos","events_url":"https://api.github.com/users/systemd/events{/privacy}","received_events_url":"https://api.github.com/users/systemd/received_events","type":"Organization","site_admin":false},"repo":{"id":32873313,"name":"systemd","full_name":"systemd/systemd","owner":{"login":"systemd","id":1918868,"avatar_url":"https://avatars.githubusercontent.com/u/1918868?v=3","gravatar_id":"","url":"https://api.github.com/users/systemd","html_url":"https://github.com/systemd","followers_url":"https://api.github.com/users/systemd/followers","following_url":"https://api.github.com/users/systemd/following{/other_user}","gists_url":"https://api.github.com/users/systemd/gists{/gist_id}","starred_url":"https://api.github.com/users/systemd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/systemd/subscriptions","organizations_url":"https://api.github.com/users/systemd/orgs","repos_url":"https://api.github.com/users/systemd/repos","events_url":"https://api.github.com/users/systemd/events{/privacy}","received_events_url":"https://api.github.com/users/systemd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/systemd/systemd","description":"systemd upstream","fork":false,"url":"https://api.github.com/repos/systemd/systemd","forks_url":"https://api.github.com/repos/systemd/systemd/forks","keys_url":"https://api.github.com/repos/systemd/systemd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/systemd/systemd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/systemd/systemd/teams","hooks_url":"https://api.github.com/repos/systemd/systemd/hooks","issue_events_url":"https://api.github.com/repos/systemd/systemd/issues/events{/number}","events_url":"https://api.github.com/repos/systemd/systemd/events","assignees_url":"https://api.github.com/repos/systemd/systemd/assignees{/user}","branches_url":"https://api.github.com/repos/systemd/systemd/branches{/branch}","tags_url":"https://api.github.com/repos/systemd/systemd/tags","blobs_url":"https://api.github.com/repos/systemd/systemd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/systemd/systemd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/systemd/systemd/git/refs{/sha}","trees_url":"https://api.github.com/repos/systemd/systemd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/systemd/systemd/statuses/{sha}","languages_url":"https://api.github.com/repos/systemd/systemd/languages","stargazers_url":"https://api.github.com/repos/systemd/systemd/stargazers","contributors_url":"https://api.github.com/repos/systemd/systemd/contributors","subscribers_url":"https://api.github.com/repos/systemd/systemd/subscribers","subscription_url":"https://api.github.com/repos/systemd/systemd/subscription","commits_url":"https://api.github.com/repos/systemd/systemd/commits{/sha}","git_commits_url":"https://api.github.com/repos/systemd/systemd/git/commits{/sha}","comments_url":"https://api.github.com/repos/systemd/systemd/comments{/number}","issue_comment_url":"https://api.github.com/repos/systemd/systemd/issues/comments{/number}","contents_url":"https://api.github.com/repos/systemd/systemd/contents/{+path}","compare_url":"https://api.github.com/repos/systemd/systemd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/systemd/systemd/merges","archive_url":"https://api.github.com/repos/systemd/systemd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/systemd/systemd/downloads","issues_url":"https://api.github.com/repos/systemd/systemd/issues{/number}","pulls_url":"https://api.github.com/repos/systemd/systemd/pulls{/number}","milestones_url":"https://api.github.com/repos/systemd/systemd/milestones{/number}","notifications_url":"https://api.github.com/repos/systemd/systemd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/systemd/systemd/labels{/name}","releases_url":"https://api.github.com/repos/systemd/systemd/releases{/id}","deployments_url":"https://api.github.com/repos/systemd/systemd/deployments","created_at":"2015-03-25T15:27:27Z","updated_at":"2016-10-24T16:27:06Z","pushed_at":"2016-10-24T16:31:04Z","git_url":"git://github.com/systemd/systemd.git","ssh_url":"git@github.com:systemd/systemd.git","clone_url":"https://github.com/systemd/systemd.git","svn_url":"https://github.com/systemd/systemd","homepage":"http://www.freedesktop.org/wiki/Software/systemd/","size":76181,"stargazers_count":1424,"watchers_count":1424,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":602,"mirror_url":null,"open_issues_count":465,"forks":602,"open_issues":465,"watchers":1424,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/systemd/systemd/pulls/4473"},"html":{"href":"https://github.com/systemd/systemd/pull/4473"},"issue":{"href":"https://api.github.com/repos/systemd/systemd/issues/4473"},"comments":{"href":"https://api.github.com/repos/systemd/systemd/issues/4473/comments"},"review_comments":{"href":"https://api.github.com/repos/systemd/systemd/pulls/4473/comments"},"review_comment":{"href":"https://api.github.com/repos/systemd/systemd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/systemd/systemd/pulls/4473/commits"},"statuses":{"href":"https://api.github.com/repos/systemd/systemd/statuses/704a3b464fb70203a70c0f9e70ce4742e11a3630"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":92,"deletions":0,"changed_files":3}}
{"actor":{"display_login":"dongsupark"}}