See 
<https://builds.apache.org/job/Mesos-Trunk-Ubuntu-Build-Out-Of-Src-Set-JAVA_HOME/310/changes>

Changes:

[vinodkone] Fixed cgroups isolation module to close the lock
file on finalize and cleaned up cgroups tests.

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

[vinodkone] Changed command executor id to use task id.

From: Ben Mahler <[email protected]>
Review: https://reviews.apache.org/r/9792

[vinodkone] Changed the default cgroup hierarcy path in slave
flags to "/cgroup".

From: Ben Mahler <[email protected]>
Review: https://reviews.apache.org/r/9791

------------------------------------------
[...truncated 5436 lines...]
[ RUN      ] 
CgroupsAnyHierarchyWithCpuMemoryTest.ROOT_CGROUPS_SubsystemsHierarchy
../../src/tests/cgroups_tests.cpp:147: Failure
cgroups::mount(TEST_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/cgroups_tests.cpp:182: Failure
cgroups: '' is not a valid hierarchy
[  FAILED  ] 
CgroupsAnyHierarchyWithCpuMemoryTest.ROOT_CGROUPS_SubsystemsHierarchy (0 ms)
[ RUN      ] CgroupsAnyHierarchyWithCpuMemoryTest.ROOT_CGROUPS_MountedSubsystems
../../src/tests/cgroups_tests.cpp:147: Failure
cgroups::mount(TEST_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/cgroups_tests.cpp:182: Failure
cgroups: '' is not a valid hierarchy
[  FAILED  ] 
CgroupsAnyHierarchyWithCpuMemoryTest.ROOT_CGROUPS_MountedSubsystems (0 ms)
[ RUN      ] CgroupsAnyHierarchyWithCpuMemoryTest.ROOT_CGROUPS_CreateRemove
../../src/tests/cgroups_tests.cpp:147: Failure
cgroups::mount(TEST_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/cgroups_tests.cpp:182: Failure
cgroups: '' is not a valid hierarchy
[  FAILED  ] CgroupsAnyHierarchyWithCpuMemoryTest.ROOT_CGROUPS_CreateRemove (1 
ms)
[ RUN      ] CgroupsAnyHierarchyWithCpuMemoryTest.ROOT_CGROUPS_Listen
../../src/tests/cgroups_tests.cpp:147: Failure
cgroups::mount(TEST_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/cgroups_tests.cpp:182: 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:286: Failure
cgroups::mount(TEST_HIERARCHY, "cpu,memory"): Failed to mount 'cpu,memory' at 
'/tmp/mesos_test_cgroup': Operation not permitted
[  FAILED  ] CgroupsNoHierarchyTest.ROOT_CGROUPS_MountUnmountHierarchy (1 ms)
[----------] 1 test from CgroupsNoHierarchyTest (1 ms total)

[----------] 1 test from CgroupsAnyHierarchyWithCpuAcctMemoryTest
[ RUN      ] CgroupsAnyHierarchyWithCpuAcctMemoryTest.ROOT_CGROUPS_Stat
../../src/tests/cgroups_tests.cpp:147: Failure
cgroups::mount(TEST_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/cgroups_tests.cpp:182: 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/cgroups_tests.cpp:147: Failure
cgroups::mount(TEST_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/cgroups_tests.cpp:182: Failure
cgroups: '' is not a valid hierarchy
[  FAILED  ] CgroupsAnyHierarchyWithCpuMemoryFreezerTest.ROOT_CGROUPS_Freeze (0 
ms)
[ RUN      ] CgroupsAnyHierarchyWithCpuMemoryFreezerTest.ROOT_CGROUPS_Kill
../../src/tests/cgroups_tests.cpp:147: Failure
cgroups::mount(TEST_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/cgroups_tests.cpp:182: Failure
cgroups: '' is not a valid hierarchy
[  FAILED  ] CgroupsAnyHierarchyWithCpuMemoryFreezerTest.ROOT_CGROUPS_Kill (1 
ms)
[ RUN      ] CgroupsAnyHierarchyWithCpuMemoryFreezerTest.ROOT_CGROUPS_Destroy
../../src/tests/cgroups_tests.cpp:147: Failure
cgroups::mount(TEST_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/cgroups_tests.cpp:182: Failure
cgroups: '' is not a valid hierarchy
[  FAILED  ] CgroupsAnyHierarchyWithCpuMemoryFreezerTest.ROOT_CGROUPS_Destroy 
(0 ms)
[----------] 3 tests from CgroupsAnyHierarchyWithCpuMemoryFreezerTest (1 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 (23 ms)
[----------] 3 tests from FsTest (23 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 (1 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 (4088 ms)
[ RUN      ] ZooKeeperTest.Create
[       OK ] ZooKeeperTest.Create (4033 ms)
[ RUN      ] ZooKeeperTest.MasterDetector
[       OK ] ZooKeeperTest.MasterDetector (33 ms)
[ RUN      ] ZooKeeperTest.MasterDetectors
[       OK ] ZooKeeperTest.MasterDetectors (64 ms)
[ RUN      ] ZooKeeperTest.MasterDetectorShutdownNetwork
2013-03-08 
23:05:33,326:14870(0x2ae92981f700):ZOO_ERROR@handle_socket_error_msg@1603: 
Socket [127.0.0.1:56925] zk retcode=-4, errno=112(Host is down): failed while 
receiving a server response
[       OK ] ZooKeeperTest.MasterDetectorShutdownNetwork (3379 ms)
[ RUN      ] ZooKeeperTest.MasterDetectorExpireMasterZKSession
2013-03-08 
23:05:36,715:14870(0x2ae929a20700):ZOO_ERROR@handle_socket_error_msg@1603: 
Socket [127.0.0.1:40166] zk retcode=-4, errno=112(Host is down): failed while 
receiving a server response
E0308 23:05:36.715984 14934 detector.cpp:477] Master detector 
((746)@140.211.11.27:40707)  failed to get masters: connection loss
2013-03-08 
23:05:40,052:14870(0x2ae929a20700):ZOO_ERROR@handle_socket_error_msg@1621: 
Socket [127.0.0.1:40166] zk retcode=-112, errno=116(Stale NFS file handle): 
sessionId=0x13d4c40a0a70000 has expired.
[       OK ] ZooKeeperTest.MasterDetectorExpireMasterZKSession (3396 ms)
[ RUN      ] ZooKeeperTest.MasterDetectorExpireSlaveZKSession
2013-03-08 
23:05:40,111:14870(0x2ae92981f700):ZOO_ERROR@handle_socket_error_msg@1603: 
Socket [127.0.0.1:46300] zk retcode=-4, errno=112(Host is down): failed while 
receiving a server response
2013-03-08 
23:05:43,445:14870(0x2ae92981f700):ZOO_ERROR@handle_socket_error_msg@1621: 
Socket [127.0.0.1:46300] zk retcode=-112, errno=116(Stale NFS file handle): 
sessionId=0x13d4c40adec0001 has expired.
[       OK ] ZooKeeperTest.MasterDetectorExpireSlaveZKSession (4042 ms)
[ RUN      ] ZooKeeperTest.MasterDetectorExpireSlaveZKSessionNewMaster
2013-03-08 
23:05:44,170:14870(0x2ae92961e700):ZOO_ERROR@handle_socket_error_msg@1603: 
Socket [127.0.0.1:34117] zk retcode=-4, errno=112(Host is down): failed while 
receiving a server response
2013-03-08 
23:05:44,171:14870(0x2ae929c21700):ZOO_ERROR@handle_socket_error_msg@1603: 
Socket [127.0.0.1:34117] zk retcode=-4, errno=112(Host is down): failed while 
receiving a server response
2013-03-08 
23:05:44,172:14870(0x2ae929c21700):ZOO_ERROR@handle_socket_error_msg@1621: 
Socket [127.0.0.1:34117] zk retcode=-112, errno=116(Stale NFS file handle): 
sessionId=0x13d4c40bdb60000 has expired.
E0308 23:05:44.172462 14919 detector.cpp:477] Master detector 
((760)@140.211.11.27:40707)  failed to get masters: session expired
../../src/tests/zookeeper_tests.cpp:441: Failure
Mock function called more times than expected - returning directly.
    Function call: newMasterDetected(@0x2ae6b3b62cd0 (763)@140.211.11.27:40707)
         Expected: to be called once
           Actual: called twice - over-saturated and active
2013-03-08 
23:05:47,508:14870(0x2ae92961e700):ZOO_ERROR@handle_socket_error_msg@1621: 
Socket [127.0.0.1:34117] zk retcode=-112, errno=116(Stale NFS file handle): 
sessionId=0x13d4c40bdb60002 has expired.
[  FAILED  ] ZooKeeperTest.MasterDetectorExpireSlaveZKSessionNewMaster (3419 ms)
[ RUN      ] ZooKeeperTest.Group
[       OK ] ZooKeeperTest.Group (24 ms)
[ RUN      ] ZooKeeperTest.GroupJoinWithDisconnect
2013-03-08 
23:05:47,564:14870(0x2ae929c21700):ZOO_ERROR@handle_socket_error_msg@1579: 
Socket [127.0.0.1:46598] zk retcode=-4, errno=111(Connection refused): server 
refused to accept the client
[       OK ] ZooKeeperTest.GroupJoinWithDisconnect (1685 ms)
[ RUN      ] ZooKeeperTest.GroupDataWithDisconnect
2013-03-08 
23:05:49,256:14870(0x2ae929a20700):ZOO_ERROR@handle_socket_error_msg@1603: 
Socket [127.0.0.1:55232] zk retcode=-4, errno=112(Host is down): failed while 
receiving a server response
[       OK ] ZooKeeperTest.GroupDataWithDisconnect (2022 ms)
[ RUN      ] ZooKeeperTest.GroupCancelWithDisconnect
2013-03-08 
23:05:51,283:14870(0x2ae92981f700):ZOO_ERROR@handle_socket_error_msg@1603: 
Socket [127.0.0.1:51525] zk retcode=-4, errno=112(Host is down): failed while 
receiving a server response
[       OK ] ZooKeeperTest.GroupCancelWithDisconnect (2029 ms)
[ RUN      ] ZooKeeperTest.GroupWatchWithSessionExpiration
2013-03-08 
23:05:53,306:14870(0x2ae92981f700):ZOO_ERROR@handle_socket_error_msg@1603: 
Socket [127.0.0.1:39285] zk retcode=-4, errno=112(Host is down): failed while 
receiving a server response
2013-03-08 
23:05:53,307:14870(0x2ae92981f700):ZOO_ERROR@handle_socket_error_msg@1621: 
Socket [127.0.0.1:39285] zk retcode=-112, errno=116(Stale NFS file handle): 
sessionId=0x13d4c40e1910000 has expired.
[       OK ] ZooKeeperTest.GroupWatchWithSessionExpiration (28 ms)
[ RUN      ] ZooKeeperTest.MultipleGroups
2013-03-08 
23:05:53,350:14870(0x2ae929c21700):ZOO_ERROR@handle_socket_error_msg@1603: 
Socket [127.0.0.1:52232] zk retcode=-4, errno=112(Host is down): failed while 
receiving a server response
[       OK ] ZooKeeperTest.MultipleGroups (33 ms)
[ RUN      ] ZooKeeperTest.GroupPathWithRestrictivePerms
[       OK ] ZooKeeperTest.GroupPathWithRestrictivePerms (8041 ms)
[----------] 15 tests from ZooKeeperTest (36316 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 (2088 ms)
[ RUN      ] AllocatorZooKeeperTest/0.SlaveReregisterFirst
[       OK ] AllocatorZooKeeperTest/0.SlaveReregisterFirst (2053 ms)
[----------] 2 tests from AllocatorZooKeeperTest/0 (4141 ms total)

[----------] Global test environment tear-down
[==========] 202 tests from 42 test cases ran. (82153 ms total)
[  PASSED  ] 182 tests.
[  FAILED  ] 20 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
[  FAILED  ] ZooKeeperTest.MasterDetectorExpireSlaveZKSessionNewMaster

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 
`/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

Reply via email to