Re: Running Docker Tests

2014-10-15 Thread Timothy Chen
Hi Ryan, You need to enable cgroups, mount the cpu subsystem and run your tests under root to run the docker tests. Also you need to run on Linux with docker version at least 1.0+ with docker daemon running. The warning you saw for the CgroupsNoHierarchyTest is specifically for that set of

Re: Running Docker Tests

2014-10-15 Thread Ryan Thomas
Thanks Tim, I'm not sure what I'm doing wrong here, as it complains about the cpu group being mounted (and runs no tests). $ sudo bin/mesos-tests.sh --gtest_filter=DockerTest --verbose Source directory: /vagrant Build directory: /vagrant/build

Re: Running Docker Tests

2014-10-15 Thread Timothy Chen
Hi Ryan, The gtest_filter is doing a exact match, so it won't find any test that is named DockerTest. Try using gtest_filter=*DOCKER* Tim On Wed, Oct 15, 2014 at 1:07 AM, Ryan Thomas r...@ryant.org wrote: Thanks Tim, I'm not sure what I'm doing wrong here, as it complains about the cpu group

Re: Running Docker Tests

2014-10-15 Thread Ryan Thomas
Great, thanks mate! One step closer :) Cheers, Ryan On 15 October 2014 19:13, Timothy Chen tnac...@gmail.com wrote: Hi Ryan, The gtest_filter is doing a exact match, so it won't find any test that is named DockerTest. Try using gtest_filter=*DOCKER* Tim On Wed, Oct 15, 2014 at 1:07

Running Docker Tests

2014-10-14 Thread Ryan Thomas
Hi, I am trying to run the docker test-suite for some changes that I have made, and I am encountering the following situation which I can't seem to remedy. After doing a full make check, I attempt to run the tests like this: $ bin/mesos-tests.sh --gtest_filter=Docker --verbose However, I get a