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

Miguel Bernadin commented on MESOS-2982:
----------------------------------------

Thanks again. Yes, here are the test below as requested. I will be able to 
update the kernel to something more recent. I will do so and provide and update 
here.

MESOS_VERBOSE=1 ./bin/mesos-tests.sh 
--gtest_filter="SlaveRecoveryTest/0.RecoverSlaveState"

Source directory: /usr/local/mesos-0.22.1
Build directory: /usr/local/mesos-0.22.1/build
-------------------------------------------------------------
We cannot run any cgroups tests that require mounting
hierarchies because you have the following hierarchies mounted:
/cgroup/blkio, /cgroup/cpu, /cgroup/cpuacct, /cgroup/cpuset, /cgroup/devices, 
/cgroup/freezer, /cgroup/memory, /cgroup/net_cls, 
/tmp/mesos_test_cgroup/perf_event
We'll disable the CgroupsNoHierarchyTest test fixture for now.
-------------------------------------------------------------
Note: Google Test filter = 
SlaveRecoveryTest/0.RecoverSlaveState-CgroupsNoHierarchyTest.ROOT_CGROUPS_NOHIERARCHY_MountUnmountHierarchy:SlaveCount/Registrar_BENCHMARK_Test.performance/0:SlaveCount/Registrar_BENCHMARK_Test.performance/1:SlaveCount/Registrar_BENCHMARK_Test.performance/2:SlaveCount/Registrar_BENCHMARK_Test.performance/3
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from SlaveRecoveryTest/0, where TypeParam = 
mesos::internal::slave::MesosContainerizer
../../src/tests/mesos.cpp:501: Failure
(cgroups::cleanup(hierarchy)).failure(): Failed to remove cgroup 
'/tmp/mesos_test_cgroup/perf_event/mesos_test': Device or resource busy
[ RUN      ] SlaveRecoveryTest/0.RecoverSlaveState
Using temporary directory '/tmp/SlaveRecoveryTest_0_RecoverSlaveState_InpqgG'
../../src/tests/mesos.cpp:562: Failure
cgroups::mount(hierarchy, subsystem): 'freezer' is already attached to another 
hierarchy
-------------------------------------------------------------
We cannot run any cgroups tests that require
a hierarchy with subsystem 'freezer'
because we failed to find an existing hierarchy
or create a new one (tried '/tmp/mesos_test_cgroup/freezer').
You can either remove all existing
hierarchies, or disable this test case
(i.e., --gtest_filter=-SlaveRecoveryTest/0.*).
-------------------------------------------------------------
../../src/tests/mesos.cpp:598: Failure
(cgroups::destroy(hierarchy, cgroup)).failure(): Failed to remove cgroup 
'/tmp/mesos_test_cgroup/perf_event/mesos_test': Device or resource busy
[  FAILED  ] SlaveRecoveryTest/0.RecoverSlaveState, where TypeParam = 
mesos::internal::slave::MesosContainerizer (7 ms)
../../src/tests/mesos.cpp:519: Failure
(cgroups::cleanup(hierarchy)).failure(): Failed to remove cgroup 
'/tmp/mesos_test_cgroup/perf_event/mesos_test': Device or resource busy
[----------] 1 test from SlaveRecoveryTest/0 (7 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (32 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] SlaveRecoveryTest/0.RecoverSlaveState, where TypeParam = 
mesos::internal::slave::MesosContainerizer

 1 FAILED TEST
  YOU HAVE 9 DISABLED TESTS


> Make Check Fails on RHEL 6
> --------------------------
>
>                 Key: MESOS-2982
>                 URL: https://issues.apache.org/jira/browse/MESOS-2982
>             Project: Mesos
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.22.1
>         Environment: Linux xxx 2.6.32-504.16.2.el6.x86_64 #1 SMP Tue Mar 10 
> 17:01:00 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux
> Red Hat Enterprise Linux Server release 6.6 (Santiago)
>            Reporter: Miguel Bernadin
>
> After downloading Mesos 22.1 and attemted to build it, I've encountered 
> failures on the build process below:
>   FAILED  ] UserCgroupIsolatorTest/0.ROOT_CGROUPS_UserCgroup, where TypeParam 
> = mesos::internal::slave::CgroupsMemIsolatorProcess (149 ms)
> [----------] 1 test from UserCgroupIsolatorTest/0 (149 ms total)
> [----------] 1 test from UserCgroupIsolatorTest/1, where TypeParam = 
> mesos::internal::slave::CgroupsCpushareIsolatorProcess
> userdel: user 'mesos.test.unprivileged.user' does not exist
> [ RUN      ] UserCgroupIsolatorTest/1.ROOT_CGROUPS_UserCgroup
> -bash: /sys/fs/cgroup/cpuacct/mesos/container/cgroup.procs: No such file or 
> directory



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to