[
https://issues.apache.org/jira/browse/MESOS-4540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15120589#comment-15120589
]
Avinash Sridharan commented on MESOS-4540:
------------------------------------------
In the test-case we were using flags.cgroups_hierarchy to build the mountpoint
of the net_cls subsystem. The correct way to do this would be to use
cgroups::hierarchy.
> NetClsIsolatorTest.ROOT_CGROUPS_NetClsIsolate fails on CentOS 6
> ---------------------------------------------------------------
>
> Key: MESOS-4540
> URL: https://issues.apache.org/jira/browse/MESOS-4540
> Project: Mesos
> Issue Type: Bug
> Environment: CentOS 6, libevent and SSL enabled, gcc
> Reporter: Greg Mann
> Assignee: Avinash Sridharan
> Labels: cgroups, mesosphere, test-failure, tests
>
> This test fails in my CentOS 6 VM due to a cgroups issue:
> {code}
> [ RUN ] NetClsIsolatorTest.ROOT_CGROUPS_NetClsIsolate
> I0127 19:15:06.637328 25347 exec.cpp:134] Version: 0.28.0
> I0127 19:15:06.648378 25378 exec.cpp:208] Executor registered on slave
> 6edafba0-9dbd-4e6e-b10e-c6f935e58d41-S0
> Registered executor on localhost
> Starting task b745d88e-3fbe-4af9-80b3-e43484e37acf
> sh -c 'sleep 1000'
> Forked command at 25385
> ../../src/tests/containerizer/isolator_tests.cpp:926: Failure
> pids: Failed to read cgroups control 'cgroup.procs': '/sys/fs/cgroup/net_cls'
> is not a valid hierarchy
> I0127 19:15:06.662083 25376 exec.cpp:381] Executor asked to shutdown
> Shutting down
> Sending SIGTERM to process tree at pid 25385
> [ FAILED ] NetClsIsolatorTest.ROOT_CGROUPS_NetClsIsolate (335 ms)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)