{"action":"created","issue":{"url":"https://api.github.com/repos/containerd/cri/issues/871","repository_url":"https://api.github.com/repos/containerd/cri","labels_url":"https://api.github.com/repos/containerd/cri/issues/871/labels{/name}","comments_url":"https://api.github.com/repos/containerd/cri/issues/871/comments","events_url":"https://api.github.com/repos/containerd/cri/issues/871/events","html_url":"https://github.com/containerd/cri/issues/871","id":347880739,"node_id":"MDU6SXNzdWUzNDc4ODA3Mzk=","number":871,"title":"validation test failure related to SELinux","user":{"login":"vitt-bagal","id":31851690,"node_id":"MDQ6VXNlcjMxODUxNjkw","avatar_url":"https://avatars3.githubusercontent.com/u/31851690?v=4","gravatar_id":"","url":"https://api.github.com/users/vitt-bagal","html_url":"https://github.com/vitt-bagal","followers_url":"https://api.github.com/users/vitt-bagal/followers","following_url":"https://api.github.com/users/vitt-bagal/following{/other_user}","gists_url":"https://api.github.com/users/vitt-bagal/gists{/gist_id}","starred_url":"https://api.github.com/users/vitt-bagal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitt-bagal/subscriptions","organizations_url":"https://api.github.com/users/vitt-bagal/orgs","repos_url":"https://api.github.com/users/vitt-bagal/repos","events_url":"https://api.github.com/users/vitt-bagal/events{/privacy}","received_events_url":"https://api.github.com/users/vitt-bagal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-08-06T11:13:34Z","updated_at":"2018-08-08T07:37:24Z","closed_at":null,"author_association":"NONE","body":"Built cri from source. Able to run unit test, integration test. while running validation tests using command `make test-cri`, one test related `SELinux` module is failing on RHEL 7.3:\r\n`[k8s.io] SELinux runtime should support selinux [It] should error on create with wrong options`.          This test failures is observed only with `Enforcing` SELinux mode & with `Permissive` mode, All tests of SELinux module are getting skipped\r\n\r\n## Expected Behavior\r\ntest should pass \r\n\r\n## Current Behavior\r\n[BeforeEach] [k8s.io] SELinux\r\n  /tmp/cri-install-crictl.STRb/src/github.com/kubernetes-incubator/cri-tools/pkg/framework/framework.go:50\r\n[BeforeEach] [k8s.io] SELinux\r\n  /tmp/cri-install-crictl.STRb/src/github.com/kubernetes-incubator/cri-tools/pkg/validate/selinux_linux.go:38\r\n[BeforeEach] runtime should support selinux\r\n  /tmp/cri-install-crictl.STRb/src/github.com/kubernetes-incubator/cri-tools/pkg/validate/selinux_linux.go:47\r\n[It] should error on create with wrong options\r\n  /tmp/cri-install-crictl.STRb/src/github.com/kubernetes-incubator/cri-tools/pkg/validate/selinux_linux.go:77\r\nSTEP: create a container with selinux\r\nSTEP: Get image status for image: busybox:1.28\r\nSTEP: Create container.\r\n[AfterEach] runtime should support selinux\r\n  /tmp/cri-install-crictl.STRb/src/github.com/kubernetes-incubator/cri-tools/pkg/validate/selinux_linux.go:51\r\nSTEP: stop PodSandbox\r\nSTEP: delete PodSandbox\r\n[AfterEach] [k8s.io] SELinux\r\n  /tmp/cri-install-crictl.STRb/src/github.com/kubernetes-incubator/cri-tools/pkg/framework/framework.go:51\r\n\r\n\r\nтв Failure [0.803 seconds]\r\n[k8s.io] SELinux\r\n/tmp/cri-install-crictl.STRb/src/github.com/kubernetes-incubator/cri-tools/pkg/framework/framework.go:72\r\n  runtime should support selinux\r\n  /tmp/cri-install-crictl.STRb/src/github.com/kubernetes-incubator/cri-tools/pkg/validate/selinux_linux.go:43\r\n    should error on create with wrong options [It]\r\n    /tmp/cri-install-crictl.STRb/src/github.com/kubernetes-incubator/cri-tools/pkg/validate/selinux_linux.go:77\r\n\r\n    Expected an error to have occurred.  Got:\r\n        <nil>: nil\r\n\r\n    /tmp/cri-install-crictl.STRb/src/github.com/kubernetes-incubator/cri-tools/pkg/validate/selinux_linux.go:106\r\n\r\n## Steps to Reproduce \r\n\r\ngit clone https://github.com/containerd/cri $GOPATH/src/github.com/containerd/cri\r\ncd $GOPATH/src/github.com/containerd/cri\r\ngit checkout v1.0.4\r\nmake install.deps\r\nmake\r\nsudo make install\r\nmake test\r\nmake test-integration\r\nmake test-cri     \r\n\r\n## Your Environment\r\n\r\n* $ go version\r\ngo version go1.10.1 linux/amd64\r\n\r\n* Operating System and version:\r\nNAME=\"Red Hat Enterprise Linux Server\"\r\nVERSION=\"7.3 (Maipo)\"\r\n\r\n* $ getenforce\r\nEnforcing\r\n\r\n\r\nCan anyone please help in this?"},"comment":{"url":"https://api.github.com/repos/containerd/cri/issues/comments/411315590","html_url":"https://github.com/containerd/cri/issues/871#issuecomment-411315590","issue_url":"https://api.github.com/repos/containerd/cri/issues/871","id":411315590,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTMxNTU5MA==","user":{"login":"miaoyq","id":17755856,"node_id":"MDQ6VXNlcjE3NzU1ODU2","avatar_url":"https://avatars2.githubusercontent.com/u/17755856?v=4","gravatar_id":"","url":"https://api.github.com/users/miaoyq","html_url":"https://github.com/miaoyq","followers_url":"https://api.github.com/users/miaoyq/followers","following_url":"https://api.github.com/users/miaoyq/following{/other_user}","gists_url":"https://api.github.com/users/miaoyq/gists{/gist_id}","starred_url":"https://api.github.com/users/miaoyq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miaoyq/subscriptions","organizations_url":"https://api.github.com/users/miaoyq/orgs","repos_url":"https://api.github.com/users/miaoyq/repos","events_url":"https://api.github.com/users/miaoyq/events{/privacy}","received_events_url":"https://api.github.com/users/miaoyq/received_events","type":"User","site_admin":false},"created_at":"2018-08-08T07:37:24Z","updated_at":"2018-08-08T07:37:24Z","author_association":"MEMBER","body":"@vitt-bagal I will fix this failure. It‘s because the `level` of selinux options has not been verified."}}
{"actor":{"display_login":"miaoyq"}}