Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-4053

MemoryPressureMesosTest tests fail on CentOS 6.6

    XMLWordPrintableJSON

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

          Activity

            People

              greggomann Greg Mann
              greggomann Greg Mann
              Jie Yu Jie Yu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: