[
https://issues.apache.org/jira/browse/MESOS-4038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15096674#comment-15096674
]
Till Toenshoff commented on MESOS-4038:
---------------------------------------
{noformat}
commit dd185246446c50b0e7e6499642219570a3557ce2
Author: Jan Schlicht <[email protected]>
Date: Wed Jan 13 18:47:18 2016 +0100
Added cgroup instructions for CentOS 6.6.
By default cgroup management is not enabled on CentOS 6.6. As process
isolation can use cgroups, documentation on how to activate cgroup
management using cgconfig has been added.
Furthermore the Mesos tests need the 'perf_event' cgroup subsystem to
be present. Instructions on how to do this have been added as well.
Review: https://reviews.apache.org/r/42196/
{noformat}
> SlaveRecoveryTests, UserCgroupIsolatorTests fail on CentOS 6.6
> --------------------------------------------------------------
>
> Key: MESOS-4038
> URL: https://issues.apache.org/jira/browse/MESOS-4038
> Project: Mesos
> Issue Type: Bug
> Environment: CentOS 6.6
> Reporter: Greg Mann
> Assignee: Jan Schlicht
> Labels: mesosphere, test-failure
>
> All {{SlaveRecoveryTest.\*}} tests,
> {{MesosContainerizerSlaveRecoveryTest.\*}} tests, and
> {{UserCgroupIsolatorTest*}} tests fail on CentOS 6.6 with {{TypeParam =
> mesos::internal::slave::MesosContainerizer}}. They all fail with the same
> error:
> {code}
> [----------] 1 test from SlaveRecoveryTest/0, where TypeParam =
> mesos::internal::slave::MesosContainerizer
> [ RUN ] SlaveRecoveryTest/0.ReconnectExecutor
> ../../src/tests/mesos.cpp:722: Failure
> cgroups::mount(hierarchy, subsystem): '/cgroup/perf_event' already exists in
> the file system
> -------------------------------------------------------------
> We cannot run any cgroups tests that require
> a hierarchy with subsystem 'perf_event'
> because we failed to find an existing hierarchy
> or create a new one (tried '/cgroup/perf_event').
> You can either remove all existing
> hierarchies, or disable this test case
> (i.e., --gtest_filter=-SlaveRecoveryTest/0.*).
> -------------------------------------------------------------
> ../../src/tests/mesos.cpp:776: Failure
> cgroups: '/cgroup/perf_event' is not a valid hierarchy
> [ FAILED ] SlaveRecoveryTest/0.ReconnectExecutor, where TypeParam =
> mesos::internal::slave::MesosContainerizer (8 ms)
> [----------] 1 test from SlaveRecoveryTest/0 (9 ms total)
> [----------] Global test environment tear-down
> [==========] 1 test from 1 test case ran. (15 ms total)
> [ PASSED ] 0 tests.
> [ FAILED ] 1 test, listed below:
> [ FAILED ] SlaveRecoveryTest/0.ReconnectExecutor, where TypeParam =
> mesos::internal::slave::MesosContainerizer
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)