Greg Mann created MESOS-4053: -------------------------------- Summary: MemoryPressureMesosTest tests fail on CentOS 6.6 Key: MESOS-4053 URL: https://issues.apache.org/jira/browse/MESOS-4053 Project: Mesos Issue Type: Bug Environment: CentOS 6.6 Reporter: Greg Mann
{{MemoryPressureMesosTest.CGROUPS_ROOT_Statistics}} and {{MemoryPressureMesosTest.CGROUPS_ROOT_SlaveRecovery}} fail on CentOS 6.6. It seems the tests fail to correctly identify the base cgroups hierarchy: {code} [ RUN ] CgroupsAnyHierarchyMemoryPressureTest.ROOT_IncreasePageCache [ OK ] CgroupsAnyHierarchyMemoryPressureTest.ROOT_IncreasePageCache (2091 ms) ../../src/tests/containerizer/cgroups_tests.cpp:84: Failure (cgroups::cleanup(TEST_CGROUPS_HIERARCHY)).failure(): Operation not permitted [----------] 2 tests from CgroupsAnyHierarchyMemoryPressureTest (2109 ms total) [----------] 2 tests from MemoryPressureMesosTest 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.0011065 s, 948 MB/s [ RUN ] MemoryPressureMesosTest.CGROUPS_ROOT_Statistics ../../src/tests/mesos.cpp:849: Failure Value of: _baseHierarchy.get() Actual: "/cgroup" Expected: baseHierarchy Which is: "/tmp/mesos_test_cgroup" ------------------------------------------------------------- Multiple cgroups base hierarchies detected: '/tmp/mesos_test_cgroup' '/cgroup' Mesos does not support multiple cgroups base hierarchies. Please unmount the corresponding (or all) subsystems. ------------------------------------------------------------- ../../src/tests/mesos.cpp:932: Failure (cgroups::destroy(hierarchy, cgroup)).failure(): Failed to remove cgroup '/tmp/mesos_test_cgroup/perf_event/mesos_test': Device or resource busy [ FAILED ] MemoryPressureMesosTest.CGROUPS_ROOT_Statistics (12 ms) [ RUN ] MemoryPressureMesosTest.CGROUPS_ROOT_SlaveRecovery ../../src/tests/mesos.cpp:849: Failure Value of: _baseHierarchy.get() Actual: "/cgroup" Expected: baseHierarchy Which is: "/tmp/mesos_test_cgroup" ------------------------------------------------------------- Multiple cgroups base hierarchies detected: '/tmp/mesos_test_cgroup' '/cgroup' Mesos does not support multiple cgroups base hierarchies. Please unmount the corresponding (or all) subsystems. ------------------------------------------------------------- ../../src/tests/mesos.cpp:932: Failure (cgroups::destroy(hierarchy, cgroup)).failure(): Failed to remove cgroup '/tmp/mesos_test_cgroup/perf_event/mesos_test': Device or resource busy [ FAILED ] MemoryPressureMesosTest.CGROUPS_ROOT_SlaveRecovery (7 ms) {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)