[ 
https://issues.apache.org/jira/browse/MESOS-4540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15122949#comment-15122949
 ] 

Michael Park commented on MESOS-4540:
-------------------------------------

{noformat}
commit 1a35d59e9933e43328a92ba72160f9e0f28e5ee0
Author: Avinash sridharan <[email protected]>
Date:   Wed Jan 27 17:31:14 2016 -0800

    Fixed the NetClsIsolatorTest to correctly learn the net_cls hierarchy.

    The test relied on the flags.cgroups_hierarchy to learn the net_cls
    hierarchy, instead it should be making a call to cgroups::hierarchy to
    learn the hierarchy.

    Review: https://reviews.apache.org/r/42878/
{noformat}

> 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
>             Fix For: 0.27.0
>
>
> 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)

Reply via email to