Regarding the cgroups unit test,

To run the cgroups unit test, make sure:
1) you are root
2) cgroups is enabled by the kernel (proc file /proc/cgroups exists)
3) cgroups subsystems are not currently mounted (to check that, check the
output from /proc/cgroups)

I think we should disable the cgroups unit test if (3) is not satisfied
(rather than fail it)

- Jie

On Thu, Sep 6, 2012 at 3:27 PM, David Boyd <[email protected]> wrote:

> Pardon the newbie question please.
> I am attempting to build mesos on Centos 6
> and following the instructions in the README.
>
> When I run make check, it hangs up on the AllocatorZooKeeperTest/0.**
> FrameworkReregistersFirst
> test.  After a short run it goes into a loop with the log
> showing ping responses.
>
> If if use the --gtest_filter to turn off the AllocatorZooKeeperTest
> then things hang on the ZooKeeperTest.MultipleGroups.
>
> If I skip that test then the following cgroup tests fail:
> [  FAILED  ] CgroupsSimpleTest.ROOT_**CGROUPS_CreateRemoveHierarchy
> [  FAILED  ] CgroupsSimpleTest.ROOT_**CGROUPS_CreateRemoveCgroup
> [  FAILED  ] CgroupsTest.ROOT_CGROUPS_Busy
> [  FAILED  ] CgroupsTest.ROOT_CGROUPS_**SubsystemsHierarchy
> [  FAILED  ] CgroupsTest.ROOT_CGROUPS_**CheckHierarchy
> [  FAILED  ] CgroupsTest.ROOT_CGROUPS_**CheckHierarchySubsystems
> [  FAILED  ] CgroupsTest.ROOT_CGROUPS_**ReadControl
> [  FAILED  ] CgroupsTest.ROOT_CGROUPS_**WriteControl
> [  FAILED  ] CgroupsTest.ROOT_CGROUPS_**GetCgroups
> [  FAILED  ] CgroupsTest.ROOT_CGROUPS_**GetTasks
> [  FAILED  ] CgroupsTest.ROOT_CGROUPS_**ListenEvent
> [  FAILED  ] CgroupsTest.ROOT_CGROUPS_**Freezer
> [  FAILED  ] CgroupsTest.ROOT_CGROUPS_**KillTasks
> [  FAILED  ] CgroupsTest.ROOT_CGROUPS_**DestroyCgroup
> [  FAILED  ] CgroupsIsolation.ROOT_CGROUPS_**BalloonFramework
>
>
> This is likely something very simple and stupid that I am missing.
> I have captured log files if that would help.
>
>
> --
> ========= mailto:dboyd@lorenzresearch.**com 
> <[email protected]>============
> David W. Boyd
> Vice President, Operations
> Lorenz Research, a Data Tactics corporation
> 7901 Jones Branch, Suite 610
> Mclean, VA 22102
> office:   +1-703-506-3735, ext 308
> fax:     +1-703-506-6703
> cell:     +1-703-402-7908
> ============== http://www.lorenzresearch.com/ ============
>
>
> The information contained in this message may be privileged
> and/or confidential and protected from disclosure.
> If the reader of this message is not the intended recipient
> or an employee or agent responsible for delivering this message
> to the intended recipient, you are hereby notified that any
> dissemination, distribution or copying of this communication
> is strictly prohibited.  If you have received this communication
> in error, please notify the sender immediately by replying to
> this message and deleting the material from any computer.
>
>
>

Reply via email to