See <https://builds.apache.org/job/Mesos-Trunk-Ubuntu-Build-Out-Of-Src-Set-JAVA_HOME/311/changes>
Changes: [vinodkone] Refactored cgroups tests and made the root cgroup used by cgroups isolation module configurable. From: Vinod Kone <[email protected]> Review: https://reviews.apache.org/r/9814 ------------------------------------------ [...truncated 5430 lines...] 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 (0 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 (1 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 (0 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 (0 ms) [----------] 5 tests from CgroupsAnyHierarchyWithCpuMemoryTest (2 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 (0 ms) [----------] 1 test from CgroupsAnyHierarchyWithCpuAcctMemoryTest (0 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 (1 ms) [----------] 3 tests from CgroupsAnyHierarchyWithCpuMemoryFreezerTest (2 ms total) [----------] 3 tests from FsTest [ RUN ] FsTest.MountTableRead [ OK ] FsTest.MountTableRead (0 ms) [ RUN ] FsTest.MountTableHasOption [ OK ] FsTest.MountTableHasOption (0 ms) [ RUN ] FsTest.FileSystemTableRead [ OK ] FsTest.FileSystemTableRead (7 ms) [----------] 3 tests from FsTest (7 ms total) [----------] 4 tests from ProcTest [ RUN ] ProcTest.Pids [ OK ] ProcTest.Pids (1 ms) [ RUN ] ProcTest.Cpus [ OK ] ProcTest.Cpus (1 ms) [ RUN ] ProcTest.SystemStatistics [ OK ] ProcTest.SystemStatistics (0 ms) [ RUN ] ProcTest.ProcessStatistics [ OK ] ProcTest.ProcessStatistics (0 ms) [----------] 4 tests from ProcTest (2 ms total) [----------] 15 tests from ZooKeeperTest [ RUN ] ZooKeeperTest.Auth [ OK ] ZooKeeperTest.Auth (4094 ms) [ RUN ] ZooKeeperTest.Create [ OK ] ZooKeeperTest.Create (4064 ms) [ RUN ] ZooKeeperTest.MasterDetector [ OK ] ZooKeeperTest.MasterDetector (24 ms) [ RUN ] ZooKeeperTest.MasterDetectors [ OK ] ZooKeeperTest.MasterDetectors (49 ms) [ RUN ] ZooKeeperTest.MasterDetectorShutdownNetwork 2013-03-09 00:02:35,774:24820(0x2ba42161e700):ZOO_ERROR@handle_socket_error_msg@1603: Socket [127.0.0.1:33971] zk retcode=-4, errno=112(Host is down): failed while receiving a server response [ OK ] ZooKeeperTest.MasterDetectorShutdownNetwork (3379 ms) [ RUN ] ZooKeeperTest.MasterDetectorExpireMasterZKSession 2013-03-09 00:02:39,171:24820(0x2ba42121c700):ZOO_ERROR@handle_socket_error_msg@1603: Socket [127.0.0.1:46263] zk retcode=-4, errno=112(Host is down): failed while receiving a server response E0309 00:02:39.172189 24841 detector.cpp:477] Master detector ((746)@140.211.11.27:33669) failed to get masters: connection loss 2013-03-09 00:02:42,505:24820(0x2ba42121c700):ZOO_ERROR@handle_socket_error_msg@1621: Socket [127.0.0.1:46263] zk retcode=-112, errno=116(Stale NFS file handle): sessionId=0x13d4c74d9a00000 has expired. [ OK ] ZooKeeperTest.MasterDetectorExpireMasterZKSession (3392 ms) [ RUN ] ZooKeeperTest.MasterDetectorExpireSlaveZKSession 2013-03-09 00:02:42,562:24820(0x2ba42161e700):ZOO_ERROR@handle_socket_error_msg@1603: Socket [127.0.0.1:33180] zk retcode=-4, errno=112(Host is down): failed while receiving a server response 2013-03-09 00:02:45,899:24820(0x2ba42161e700):ZOO_ERROR@handle_socket_error_msg@1621: Socket [127.0.0.1:33180] zk retcode=-112, errno=116(Stale NFS file handle): sessionId=0x13d4c74e6e00001 has expired. [ OK ] ZooKeeperTest.MasterDetectorExpireSlaveZKSession (4040 ms) [ RUN ] ZooKeeperTest.MasterDetectorExpireSlaveZKSessionNewMaster 2013-03-09 00:02:46,622:24820(0x2ba42181f700):ZOO_ERROR@handle_socket_error_msg@1603: Socket [127.0.0.1:34933] zk retcode=-4, errno=112(Host is down): failed while receiving a server response 2013-03-09 00:02:46,623:24820(0x2ba421c21700):ZOO_ERROR@handle_socket_error_msg@1603: Socket [127.0.0.1:34933] zk retcode=-4, errno=112(Host is down): failed while receiving a server response E0309 00:02:46.624691 24856 detector.cpp:477] Master detector ((760)@140.211.11.27:33669) failed to get masters: connection loss 2013-03-09 00:02:49,960:24820(0x2ba42181f700):ZOO_ERROR@handle_socket_error_msg@1621: Socket [127.0.0.1:34933] zk retcode=-112, errno=116(Stale NFS file handle): sessionId=0x13d4c74f6a80002 has expired. 2013-03-09 00:02:49,961:24820(0x2ba421c21700):ZOO_ERROR@handle_socket_error_msg@1621: Socket [127.0.0.1:34933] zk retcode=-112, errno=116(Stale NFS file handle): sessionId=0x13d4c74f6a80000 has expired. [ OK ] ZooKeeperTest.MasterDetectorExpireSlaveZKSessionNewMaster (3420 ms) [ RUN ] ZooKeeperTest.Group [ OK ] ZooKeeperTest.Group (24 ms) [ RUN ] ZooKeeperTest.GroupJoinWithDisconnect 2013-03-09 00:02:50,016:24820(0x2ba42181f700):ZOO_ERROR@handle_socket_error_msg@1579: Socket [127.0.0.1:46143] zk retcode=-4, errno=111(Connection refused): server refused to accept the client [ OK ] ZooKeeperTest.GroupJoinWithDisconnect (1687 ms) [ RUN ] ZooKeeperTest.GroupDataWithDisconnect 2013-03-09 00:02:51,708:24820(0x2ba42121c700):ZOO_ERROR@handle_socket_error_msg@1603: Socket [127.0.0.1:44368] zk retcode=-4, errno=112(Host is down): failed while receiving a server response [ OK ] ZooKeeperTest.GroupDataWithDisconnect (2021 ms) [ RUN ] ZooKeeperTest.GroupCancelWithDisconnect 2013-03-09 00:02:53,735:24820(0x2ba42121c700):ZOO_ERROR@handle_socket_error_msg@1603: Socket [127.0.0.1:55177] zk retcode=-4, errno=112(Host is down): failed while receiving a server response [ OK ] ZooKeeperTest.GroupCancelWithDisconnect (2030 ms) [ RUN ] ZooKeeperTest.GroupWatchWithSessionExpiration 2013-03-09 00:02:55,760:24820(0x2ba42161e700):ZOO_ERROR@handle_socket_error_msg@1603: Socket [127.0.0.1:50785] zk retcode=-4, errno=112(Host is down): failed while receiving a server response 2013-03-09 00:02:57,762:24820(0x2ba42161e700):ZOO_ERROR@handle_socket_error_msg@1621: Socket [127.0.0.1:50785] zk retcode=-112, errno=116(Stale NFS file handle): sessionId=0x13d4c751a870000 has expired. [ OK ] ZooKeeperTest.GroupWatchWithSessionExpiration (2023 ms) [ RUN ] ZooKeeperTest.MultipleGroups 2013-03-09 00:02:57,796:24820(0x2ba421c21700):ZOO_ERROR@handle_socket_error_msg@1603: Socket [127.0.0.1:56031] zk retcode=-4, errno=112(Host is down): failed while receiving a server response [ OK ] ZooKeeperTest.MultipleGroups (30 ms) [ RUN ] ZooKeeperTest.GroupPathWithRestrictivePerms [ OK ] ZooKeeperTest.GroupPathWithRestrictivePerms (8046 ms) [----------] 15 tests from ZooKeeperTest (38325 ms total) [----------] 2 tests from AllocatorZooKeeperTest/0, where TypeParam = mesos::internal::master::HierarchicalAllocatorProcess<mesos::internal::master::DRFSorter, mesos::internal::master::DRFSorter> [ RUN ] AllocatorZooKeeperTest/0.FrameworkReregistersFirst [ OK ] AllocatorZooKeeperTest/0.FrameworkReregistersFirst (2049 ms) [ RUN ] AllocatorZooKeeperTest/0.SlaveReregisterFirst [ OK ] AllocatorZooKeeperTest/0.SlaveReregisterFirst (3048 ms) [----------] 2 tests from AllocatorZooKeeperTest/0 (5097 ms total) [----------] Global test environment tear-down [==========] 202 tests from 42 test cases ran. (85261 ms total) [ PASSED ] 183 tests. [ FAILED ] 19 tests, listed below: [ 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 19 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 `/x1/jenkins/jenkins-slave/workspace/Mesos-Trunk-Ubuntu-Build-Out-Of-Src-Set-JAVA_HOME/build/src' make[2]: *** [check-am] Error 2 make[2]: Leaving directory `/x1/jenkins/jenkins-slave/workspace/Mesos-Trunk-Ubuntu-Build-Out-Of-Src-Set-JAVA_HOME/build/src' make[1]: *** [check] Error 2 make[1]: Leaving directory `/x1/jenkins/jenkins-slave/workspace/Mesos-Trunk-Ubuntu-Build-Out-Of-Src-Set-JAVA_HOME/build/src' make: *** [check-recursive] Error 1 Build step 'Execute shell' marked build as failure
