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

NetClsIsolatorTest.ROOT_CGROUPS_NetClsIsolate fails on CentOS 6

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.27.0
    • None
    • CentOS 6, libevent and SSL enabled, gcc

    • Mesosphere Sprint 27
    • 1

    Description

      This test fails in my CentOS 6 VM due to a cgroups issue:

      [ RUN      ] NetClsIsolatorTest.ROOT_CGROUPS_NetClsIsolate
      I0127 19:15:06.637328 25347 exec.cpp:134] Version: 0.28.0
      I0127 19:15:06.648378 25378 exec.cpp:208] Executor registered on slave 6edafba0-9dbd-4e6e-b10e-c6f935e58d41-S0
      Registered executor on localhost
      Starting task b745d88e-3fbe-4af9-80b3-e43484e37acf
      sh -c 'sleep 1000'
      Forked command at 25385
      ../../src/tests/containerizer/isolator_tests.cpp:926: Failure
      pids: Failed to read cgroups control 'cgroup.procs': '/sys/fs/cgroup/net_cls' is not a valid hierarchy
      I0127 19:15:06.662083 25376 exec.cpp:381] Executor asked to shutdown
      Shutting down
      Sending SIGTERM to process tree at pid 25385
      [  FAILED  ] NetClsIsolatorTest.ROOT_CGROUPS_NetClsIsolate (335 ms)
      

      Attachments

        Issue Links

          Activity

            People

              avinash.mesos Avinash Sridharan
              greggomann Greg Mann
              Jie Yu Jie Yu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: