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

Greg Mann commented on MESOS-4038:
----------------------------------

[~nfnt] I tested on my CentOS 6.6 VM and I agree with your analysis. The tests 
failed with a fresh system and succeeded when {{perf_event}} was added to 
{{cgconfig.conf}}. Although, it looks like the tests are attempting to mount 
the {{perf_event}} subsystem but failing to do so because the subsystem's 
directory already exists, but it doesn't contain any file descriptors. Perhaps 
{{cgroups::mount}} should check for this and handle it appropriately?

> 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)

Reply via email to