Details
-
Bug
-
Status: Accepted
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
CentOS 6.6
-
Mesosphere Sprint 26, Mesosphere Sprint 27, Mesosphere Sprint 31, Mesosphere Sprint 32
-
3
Description
MemoryPressureMesosTest.CGROUPS_ROOT_Statistics and MemoryPressureMesosTest.CGROUPS_ROOT_SlaveRecovery fail on CentOS 6.6. It seems that mounted cgroups are not properly cleaned up after previous tests, so multiple hierarchies are detected and thus an error is produced:
[ 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)
Attachments
Issue Links
- is related to
-
MESOS-3215 CgroupsAnyHierarchyWithPerfEventTest failing on Ubuntu 14.04
- Accepted
- relates to
-
MESOS-3586 MemoryPressureMesosTest.CGROUPS_ROOT_Statistics and CGROUPS_ROOT_SlaveRecovery are flaky
- Resolved
-
MESOS-4047 MemoryPressureMesosTest.CGROUPS_ROOT_SlaveRecovery is flaky
- Resolved
-
MESOS-4940 MemoryPressureMesosTest.CGROUPS_ROOT_Statistics is flaky
- Resolved