See 
<https://builds.apache.org/job/Mesos-Trunk-Ubuntu-Build-Out-Of-Src-Disable-Java-Disable-Python-Disable-Webui/277/changes>

Changes:

[vinodkone] Fixed the monitor test to spawn the isolation module.

Review: https://reviews.apache.org/r/9836

[vinodkone] Fixed a bug in resource monitor to dispatch to 
IsolationModule::usage()
instead of invoking usage() directly.

Review: https://reviews.apache.org/r/9834

------------------------------------------
[...truncated 4960 lines...]
../../src/tests/utils.hpp:286: Failure
cgroups: '' is not a valid hierarchy
[  FAILED  ] CgroupsAnyHierarchyTest.ROOT_CGROUPS_NestedCgroups (0 ms)
[ RUN      ] CgroupsAnyHierarchyTest.ROOT_CGROUPS_Tasks
../../src/tests/utils.hpp:251: Failure
cgroups::mount(TEST_CGROUPS_HIERARCHY, subsystems): Failed to mount 'cpu' at 
'/tmp/mesos_test_cgroup': Operation not permitted
-------------------------------------------------------------
We cannot run any cgroups tests that require
a hierarchy with subsystems 'cpu'
because we failed to find an existing hierarchy
or create a new one. You can either remove all existing
hierarchies, or disable this test case
(i.e., --gtest_filter=-CgroupsAnyHierarchyTest.*).
-------------------------------------------------------------
../../src/tests/utils.hpp:286: Failure
cgroups: '' is not a valid hierarchy
[  FAILED  ] CgroupsAnyHierarchyTest.ROOT_CGROUPS_Tasks (1 ms)
[ RUN      ] CgroupsAnyHierarchyTest.ROOT_CGROUPS_Read
../../src/tests/utils.hpp:251: Failure
cgroups::mount(TEST_CGROUPS_HIERARCHY, subsystems): Failed to mount 'cpu' at 
'/tmp/mesos_test_cgroup': Operation not permitted
-------------------------------------------------------------
We cannot run any cgroups tests that require
a hierarchy with subsystems 'cpu'
because we failed to find an existing hierarchy
or create a new one. You can either remove all existing
hierarchies, or disable this test case
(i.e., --gtest_filter=-CgroupsAnyHierarchyTest.*).
-------------------------------------------------------------
../../src/tests/utils.hpp:286: Failure
cgroups: '' is not a valid hierarchy
[  FAILED  ] CgroupsAnyHierarchyTest.ROOT_CGROUPS_Read (1 ms)
[ RUN      ] CgroupsAnyHierarchyTest.ROOT_CGROUPS_Write
../../src/tests/utils.hpp:251: Failure
cgroups::mount(TEST_CGROUPS_HIERARCHY, subsystems): Failed to mount 'cpu' at 
'/tmp/mesos_test_cgroup': Operation not permitted
-------------------------------------------------------------
We cannot run any cgroups tests that require
a hierarchy with subsystems 'cpu'
because we failed to find an existing hierarchy
or create a new one. You can either remove all existing
hierarchies, or disable this test case
(i.e., --gtest_filter=-CgroupsAnyHierarchyTest.*).
-------------------------------------------------------------
../../src/tests/utils.hpp:286: Failure
cgroups: '' is not a valid hierarchy
[  FAILED  ] CgroupsAnyHierarchyTest.ROOT_CGROUPS_Write (0 ms)
[----------] 8 tests from CgroupsAnyHierarchyTest (5 ms total)

[----------] 5 tests from CgroupsAnyHierarchyWithCpuMemoryTest
[ RUN      ] CgroupsAnyHierarchyWithCpuMemoryTest.ROOT_CGROUPS_Busy
../../src/tests/utils.hpp:251: Failure
cgroups::mount(TEST_CGROUPS_HIERARCHY, subsystems): Failed to mount 
'cpu,memory' at '/tmp/mesos_test_cgroup': Operation not permitted
-------------------------------------------------------------
We cannot run any cgroups tests that require
a hierarchy with subsystems 'cpu,memory'
because we failed to find an existing hierarchy
or create a new one. You can either remove all existing
hierarchies, or disable this test case
(i.e., --gtest_filter=-CgroupsAnyHierarchyWithCpuMemoryTest.*).
-------------------------------------------------------------
../../src/tests/utils.hpp:286: Failure
cgroups: '' is not a valid hierarchy
[  FAILED  ] CgroupsAnyHierarchyWithCpuMemoryTest.ROOT_CGROUPS_Busy (1 ms)
[ RUN      ] 
CgroupsAnyHierarchyWithCpuMemoryTest.ROOT_CGROUPS_SubsystemsHierarchy
../../src/tests/utils.hpp:251: Failure
cgroups::mount(TEST_CGROUPS_HIERARCHY, subsystems): Failed to mount 
'cpu,memory' at '/tmp/mesos_test_cgroup': Operation not permitted
-------------------------------------------------------------
We cannot run any cgroups tests that require
a hierarchy with subsystems 'cpu,memory'
because we failed to find an existing hierarchy
or create a new one. You can either remove all existing
hierarchies, or disable this test case
(i.e., --gtest_filter=-CgroupsAnyHierarchyWithCpuMemoryTest.*).
-------------------------------------------------------------
../../src/tests/utils.hpp:286: Failure
cgroups: '' is not a valid hierarchy
[  FAILED  ] 
CgroupsAnyHierarchyWithCpuMemoryTest.ROOT_CGROUPS_SubsystemsHierarchy (1 ms)
[ RUN      ] CgroupsAnyHierarchyWithCpuMemoryTest.ROOT_CGROUPS_MountedSubsystems
../../src/tests/utils.hpp:251: Failure
cgroups::mount(TEST_CGROUPS_HIERARCHY, subsystems): Failed to mount 
'cpu,memory' at '/tmp/mesos_test_cgroup': Operation not permitted
-------------------------------------------------------------
We cannot run any cgroups tests that require
a hierarchy with subsystems 'cpu,memory'
because we failed to find an existing hierarchy
or create a new one. You can either remove all existing
hierarchies, or disable this test case
(i.e., --gtest_filter=-CgroupsAnyHierarchyWithCpuMemoryTest.*).
-------------------------------------------------------------
../../src/tests/utils.hpp:286: Failure
cgroups: '' is not a valid hierarchy
[  FAILED  ] 
CgroupsAnyHierarchyWithCpuMemoryTest.ROOT_CGROUPS_MountedSubsystems (0 ms)
[ RUN      ] CgroupsAnyHierarchyWithCpuMemoryTest.ROOT_CGROUPS_CreateRemove
../../src/tests/utils.hpp:251: Failure
cgroups::mount(TEST_CGROUPS_HIERARCHY, subsystems): Failed to mount 
'cpu,memory' at '/tmp/mesos_test_cgroup': Operation not permitted
-------------------------------------------------------------
We cannot run any cgroups tests that require
a hierarchy with subsystems 'cpu,memory'
because we failed to find an existing hierarchy
or create a new one. You can either remove all existing
hierarchies, or disable this test case
(i.e., --gtest_filter=-CgroupsAnyHierarchyWithCpuMemoryTest.*).
-------------------------------------------------------------
../../src/tests/utils.hpp:286: Failure
cgroups: '' is not a valid hierarchy
[  FAILED  ] CgroupsAnyHierarchyWithCpuMemoryTest.ROOT_CGROUPS_CreateRemove (1 
ms)
[ RUN      ] CgroupsAnyHierarchyWithCpuMemoryTest.ROOT_CGROUPS_Listen
../../src/tests/utils.hpp:251: Failure
cgroups::mount(TEST_CGROUPS_HIERARCHY, subsystems): Failed to mount 
'cpu,memory' at '/tmp/mesos_test_cgroup': Operation not permitted
-------------------------------------------------------------
We cannot run any cgroups tests that require
a hierarchy with subsystems 'cpu,memory'
because we failed to find an existing hierarchy
or create a new one. You can either remove all existing
hierarchies, or disable this test case
(i.e., --gtest_filter=-CgroupsAnyHierarchyWithCpuMemoryTest.*).
-------------------------------------------------------------
../../src/tests/utils.hpp:286: Failure
cgroups: '' is not a valid hierarchy
[  FAILED  ] CgroupsAnyHierarchyWithCpuMemoryTest.ROOT_CGROUPS_Listen (1 ms)
[----------] 5 tests from CgroupsAnyHierarchyWithCpuMemoryTest (4 ms total)

[----------] 1 test from CgroupsNoHierarchyTest
[ RUN      ] CgroupsNoHierarchyTest.ROOT_CGROUPS_MountUnmountHierarchy
../../src/tests/cgroups_tests.cpp:142: Failure
cgroups::mount(TEST_CGROUPS_HIERARCHY, "cpu,memory"): Failed to mount 
'cpu,memory' at '/tmp/mesos_test_cgroup': Operation not permitted
[  FAILED  ] CgroupsNoHierarchyTest.ROOT_CGROUPS_MountUnmountHierarchy (0 ms)
[----------] 1 test from CgroupsNoHierarchyTest (0 ms total)

[----------] 1 test from CgroupsAnyHierarchyWithCpuAcctMemoryTest
[ RUN      ] CgroupsAnyHierarchyWithCpuAcctMemoryTest.ROOT_CGROUPS_Stat
../../src/tests/utils.hpp:251: Failure
cgroups::mount(TEST_CGROUPS_HIERARCHY, subsystems): Failed to mount 
'cpuacct,memory' at '/tmp/mesos_test_cgroup': Operation not permitted
-------------------------------------------------------------
We cannot run any cgroups tests that require
a hierarchy with subsystems 'cpuacct,memory'
because we failed to find an existing hierarchy
or create a new one. You can either remove all existing
hierarchies, or disable this test case
(i.e., --gtest_filter=-CgroupsAnyHierarchyWithCpuAcctMemoryTest.*).
-------------------------------------------------------------
../../src/tests/utils.hpp:286: Failure
cgroups: '' is not a valid hierarchy
[  FAILED  ] CgroupsAnyHierarchyWithCpuAcctMemoryTest.ROOT_CGROUPS_Stat (1 ms)
[----------] 1 test from CgroupsAnyHierarchyWithCpuAcctMemoryTest (1 ms total)

[----------] 3 tests from CgroupsAnyHierarchyWithCpuMemoryFreezerTest
[ RUN      ] CgroupsAnyHierarchyWithCpuMemoryFreezerTest.ROOT_CGROUPS_Freeze
../../src/tests/utils.hpp:251: Failure
cgroups::mount(TEST_CGROUPS_HIERARCHY, subsystems): Failed to mount 
'cpu,memory,freezer' at '/tmp/mesos_test_cgroup': Operation not permitted
-------------------------------------------------------------
We cannot run any cgroups tests that require
a hierarchy with subsystems 'cpu,memory,freezer'
because we failed to find an existing hierarchy
or create a new one. You can either remove all existing
hierarchies, or disable this test case
(i.e., --gtest_filter=-CgroupsAnyHierarchyWithCpuMemoryFreezerTest.*).
-------------------------------------------------------------
../../src/tests/utils.hpp:286: Failure
cgroups: '' is not a valid hierarchy
[  FAILED  ] CgroupsAnyHierarchyWithCpuMemoryFreezerTest.ROOT_CGROUPS_Freeze (1 
ms)
[ RUN      ] CgroupsAnyHierarchyWithCpuMemoryFreezerTest.ROOT_CGROUPS_Kill
../../src/tests/utils.hpp:251: Failure
cgroups::mount(TEST_CGROUPS_HIERARCHY, subsystems): Failed to mount 
'cpu,memory,freezer' at '/tmp/mesos_test_cgroup': Operation not permitted
-------------------------------------------------------------
We cannot run any cgroups tests that require
a hierarchy with subsystems 'cpu,memory,freezer'
because we failed to find an existing hierarchy
or create a new one. You can either remove all existing
hierarchies, or disable this test case
(i.e., --gtest_filter=-CgroupsAnyHierarchyWithCpuMemoryFreezerTest.*).
-------------------------------------------------------------
../../src/tests/utils.hpp:286: Failure
cgroups: '' is not a valid hierarchy
[  FAILED  ] CgroupsAnyHierarchyWithCpuMemoryFreezerTest.ROOT_CGROUPS_Kill (0 
ms)
[ RUN      ] CgroupsAnyHierarchyWithCpuMemoryFreezerTest.ROOT_CGROUPS_Destroy
../../src/tests/utils.hpp:251: Failure
cgroups::mount(TEST_CGROUPS_HIERARCHY, subsystems): Failed to mount 
'cpu,memory,freezer' at '/tmp/mesos_test_cgroup': Operation not permitted
-------------------------------------------------------------
We cannot run any cgroups tests that require
a hierarchy with subsystems 'cpu,memory,freezer'
because we failed to find an existing hierarchy
or create a new one. You can either remove all existing
hierarchies, or disable this test case
(i.e., --gtest_filter=-CgroupsAnyHierarchyWithCpuMemoryFreezerTest.*).
-------------------------------------------------------------
../../src/tests/utils.hpp:286: Failure
cgroups: '' is not a valid hierarchy
[  FAILED  ] CgroupsAnyHierarchyWithCpuMemoryFreezerTest.ROOT_CGROUPS_Destroy 
(76 ms)
[----------] 3 tests from CgroupsAnyHierarchyWithCpuMemoryFreezerTest (77 ms 
total)

[----------] 3 tests from FsTest
[ RUN      ] FsTest.MountTableRead
[       OK ] FsTest.MountTableRead (1 ms)
[ RUN      ] FsTest.MountTableHasOption
[       OK ] FsTest.MountTableHasOption (0 ms)
[ RUN      ] FsTest.FileSystemTableRead
[       OK ] FsTest.FileSystemTableRead (0 ms)
[----------] 3 tests from FsTest (1 ms total)

[----------] 4 tests from ProcTest
[ RUN      ] ProcTest.Pids
[       OK ] ProcTest.Pids (1 ms)
[ RUN      ] ProcTest.Cpus
[       OK ] ProcTest.Cpus (0 ms)
[ RUN      ] ProcTest.SystemStatistics
[       OK ] ProcTest.SystemStatistics (0 ms)
[ RUN      ] ProcTest.ProcessStatistics
[       OK ] ProcTest.ProcessStatistics (0 ms)
[----------] 4 tests from ProcTest (1 ms total)

[----------] Global test environment tear-down
[==========] 178 tests from 39 test cases ran. (53913 ms total)
[  PASSED  ] 158 tests.
[  FAILED  ] 20 tests, listed below:
[  FAILED  ] AllocatorTest/0.TaskFinished, where TypeParam = 
mesos::internal::master::HierarchicalAllocatorProcess<mesos::internal::master::DRFSorter,
 mesos::internal::master::DRFSorter>
[  FAILED  ] CgroupsIsolationTest.ROOT_CGROUPS_BalloonFramework
[  FAILED  ] CgroupsAnyHierarchyTest.ROOT_CGROUPS_Enabled
[  FAILED  ] CgroupsAnyHierarchyTest.ROOT_CGROUPS_Subsystems
[  FAILED  ] CgroupsAnyHierarchyTest.ROOT_CGROUPS_Mounted
[  FAILED  ] CgroupsAnyHierarchyTest.ROOT_CGROUPS_Get
[  FAILED  ] CgroupsAnyHierarchyTest.ROOT_CGROUPS_NestedCgroups
[  FAILED  ] CgroupsAnyHierarchyTest.ROOT_CGROUPS_Tasks
[  FAILED  ] CgroupsAnyHierarchyTest.ROOT_CGROUPS_Read
[  FAILED  ] CgroupsAnyHierarchyTest.ROOT_CGROUPS_Write
[  FAILED  ] CgroupsAnyHierarchyWithCpuMemoryTest.ROOT_CGROUPS_Busy
[  FAILED  ] 
CgroupsAnyHierarchyWithCpuMemoryTest.ROOT_CGROUPS_SubsystemsHierarchy
[  FAILED  ] CgroupsAnyHierarchyWithCpuMemoryTest.ROOT_CGROUPS_MountedSubsystems
[  FAILED  ] CgroupsAnyHierarchyWithCpuMemoryTest.ROOT_CGROUPS_CreateRemove
[  FAILED  ] CgroupsAnyHierarchyWithCpuMemoryTest.ROOT_CGROUPS_Listen
[  FAILED  ] CgroupsNoHierarchyTest.ROOT_CGROUPS_MountUnmountHierarchy
[  FAILED  ] CgroupsAnyHierarchyWithCpuAcctMemoryTest.ROOT_CGROUPS_Stat
[  FAILED  ] CgroupsAnyHierarchyWithCpuMemoryFreezerTest.ROOT_CGROUPS_Freeze
[  FAILED  ] CgroupsAnyHierarchyWithCpuMemoryFreezerTest.ROOT_CGROUPS_Kill
[  FAILED  ] CgroupsAnyHierarchyWithCpuMemoryFreezerTest.ROOT_CGROUPS_Destroy

20 FAILED TESTS
  YOU HAVE 1 DISABLED TEST

FAIL: mesos-tests
==================
1 of 1 test failed
==================
make[3]: *** [check-TESTS] Error 1
make[3]: Leaving directory 
`<https://builds.apache.org/job/Mesos-Trunk-Ubuntu-Build-Out-Of-Src-Disable-Java-Disable-Python-Disable-Webui/ws/build/src'>
make[2]: *** [check-am] Error 2
make[2]: Leaving directory 
`<https://builds.apache.org/job/Mesos-Trunk-Ubuntu-Build-Out-Of-Src-Disable-Java-Disable-Python-Disable-Webui/ws/build/src'>
make[1]: *** [check] Error 2
make[1]: Leaving directory 
`<https://builds.apache.org/job/Mesos-Trunk-Ubuntu-Build-Out-Of-Src-Disable-Java-Disable-Python-Disable-Webui/ws/build/src'>
make: *** [check-recursive] Error 1
Build step 'Execute shell' marked build as failure

Reply via email to