{"action":"created","issue":{"url":"https://api.github.com/repos/opencontainers/runc/issues/915","repository_url":"https://api.github.com/repos/opencontainers/runc","labels_url":"https://api.github.com/repos/opencontainers/runc/issues/915/labels{/name}","comments_url":"https://api.github.com/repos/opencontainers/runc/issues/915/comments","events_url":"https://api.github.com/repos/opencontainers/runc/issues/915/events","html_url":"https://github.com/opencontainers/runc/issues/915","id":160213333,"number":915,"title":"TestInitJoinNetworkAndUser failed on RHEL 7","user":{"login":"hmeng-19","id":5217421,"avatar_url":"https://avatars.githubusercontent.com/u/5217421?v=3","gravatar_id":"","url":"https://api.github.com/users/hmeng-19","html_url":"https://github.com/hmeng-19","followers_url":"https://api.github.com/users/hmeng-19/followers","following_url":"https://api.github.com/users/hmeng-19/following{/other_user}","gists_url":"https://api.github.com/users/hmeng-19/gists{/gist_id}","starred_url":"https://api.github.com/users/hmeng-19/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmeng-19/subscriptions","organizations_url":"https://api.github.com/users/hmeng-19/orgs","repos_url":"https://api.github.com/users/hmeng-19/repos","events_url":"https://api.github.com/users/hmeng-19/events{/privacy}","received_events_url":"https://api.github.com/users/hmeng-19/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2016-06-14T15:35:56Z","updated_at":"2016-06-28T13:50:36Z","closed_at":null,"body":"I tested `make test` of runc after enabling user namespace on my RHEL 7 system, all the bats tests succeeded.\r\nHowever, there is one failure of the unit tests, and it ends up with a dead docker container.\r\n\r\n    === RUN   TestInitJoinNetworkAndUser\r\n    time=\"2016-06-14T14:31:04Z\" level=warning msg=\"os: process already finished\"\r\n    --- FAIL: TestInitJoinNetworkAndUser (0.31s)\r\n        utils_test.go:51: exec_test.go:1597: unexpected error: process_linux.go:245: running exec setns process for init caused \"exit status 1\"                                                  \r\nHere is the configuration of my RHEL 7 VM, which runs via `virt-manager`.\r\n   \r\n    [root@localhost runc]# uname -a\r\n    Linux localhost.localdomain 3.10.0-327.18.2.el7.x86_64 #1 SMP Fri Apr 8 05:09:53 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux\r\n    [root@localhost runc]# cat /etc/redhat-release \r\n    Red Hat Enterprise Linux Server release 7.2 (Maipo)\r\n    [root@localhost runc]# go version\r\n    go version go1.6.2 linux/amd64  \r\n    [root@localhost runc]# git branch\r\n    * master\r\n    [root@localhost runc]$ git log\r\n    commit 42dfd606437b538ffde4f0640d433916bee928e3\r\n    Merge: c046127 394610a\r\n    Author: Qiang Huang <h.huangqiang@huawei.com>\r\n    Date:   Tue Jun 14 14:19:20 2016 +0800\r\n   \r\n        Merge pull request #904 from euank/fix-cgroup-parsing-err\r\n   \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/opencontainers/runc/issues/comments/229054610","html_url":"https://github.com/opencontainers/runc/issues/915#issuecomment-229054610","issue_url":"https://api.github.com/repos/opencontainers/runc/issues/915","id":229054610,"user":{"login":"mrunalp","id":53798,"avatar_url":"https://avatars.githubusercontent.com/u/53798?v=3","gravatar_id":"","url":"https://api.github.com/users/mrunalp","html_url":"https://github.com/mrunalp","followers_url":"https://api.github.com/users/mrunalp/followers","following_url":"https://api.github.com/users/mrunalp/following{/other_user}","gists_url":"https://api.github.com/users/mrunalp/gists{/gist_id}","starred_url":"https://api.github.com/users/mrunalp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrunalp/subscriptions","organizations_url":"https://api.github.com/users/mrunalp/orgs","repos_url":"https://api.github.com/users/mrunalp/repos","events_url":"https://api.github.com/users/mrunalp/events{/privacy}","received_events_url":"https://api.github.com/users/mrunalp/received_events","type":"User","site_admin":false},"created_at":"2016-06-28T13:50:36Z","updated_at":"2016-06-28T13:50:36Z","body":"Have you enabled user namespaces in the kernel? \n\nSent from my iPhone\n\n> On Jun 28, 2016, at 6:40 AM, hmeng-19 <notifications@github.com> wrote:\n> \n> @rhatdan , I tried to run the test as root with selinux running in permissive mode, the same error still happened:\n> \n> [root@rhel7 runc]# setenforce 0\n> \n> [root@rhel7 runc]# sestatus \n> SELinux status:                 enabled\n> SELinuxfs mount:                /sys/fs/selinux\n> SELinux root directory:         /etc/selinux\n> Loaded policy name:             targeted\n> Current mode:                   permissive\n> Mode from config file:          enforcing\n> Policy MLS status:              enabled\n> Policy deny_unknown status:     allowed\n> Max kernel policy version:      28\n> \n> [root@rhel7 runc]# make \n> \n> [root@rhel7 runc]# make test\n> === RUN   TestInitJoinNetworkAndUser\n> time=\"2016-06-28T13:35:22Z\" level=warning msg=\"os: process already finished\"\n> --- FAIL: TestInitJoinNetworkAndUser (0.35s)\n>     utils_test.go:51: exec_test.go:1597: unexpected error: process_linux.go:245: running exec setns process for init caused \"exit status 1\"\n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly, view it on GitHub, or mute the thread.\n> \n"}}
{"actor":{"display_login":"mrunalp"}}