Ben H. wrote: >Adam wrote: >> I've got it down to 10 (consistently) failing tests, but they don't >> seem too critical for my current experiments. Looks like all the test >> failures (except for MESOS-335, which doesn't repro reliably) are >> related to Linux cgroups. > > Is this on trunk?
Yep. I'm using a git clone of git://github.com/apache/mesos.git, checked out to the "trunk" branch. git commit b8d38f0476833. git-svn-id shows trunk r1444294. > What are the error messages of the failed tests? Update: I *had* 10 failed tests when running `sudo make check`, but after cleaning up what appears to be some left over cgroups detritus (using `umount /cgroup` and `sudo cgclear`), I now consistently get just one failed test, CgroupsNoHierarchyTest (again, using `sudo make check`): - 8< - [----------] 1 test from CgroupsNoHierarchyTest [ RUN ] CgroupsNoHierarchyTest.ROOT_CGROUPS_MountUnmountHierarchy tests/cgroups_tests.cpp:294: Failure cgroups::mount(HIERARCHY, "cpu,memory"): 'cpu' is already attached to another hierarchy [ FAILED ] CgroupsNoHierarchyTest.ROOT_CGROUPS_MountUnmountHierarchy (0 ms) [----------] 1 test from CgroupsNoHierarchyTest (0 ms total) - >8 - Interestingly, this test (CgroupsNoHierarchyTest) passes when I run it stand-alone (using the bin/mesos-tests syntax you provided below). > ./bin/mesos-tests --gtest_filter=CgroupsNoHierarchyTest.* > > Likewise, you can run all tests but the CgroupsNoHierarchyTests with: > > ./bin/mesos-tests --gtest_filter=-CgroupsNoHierarchyTest.* Perfect, thank you.
