See
<https://builds.apache.org/job/Mesos-Trunk-Ubuntu-Build-In-Src-Set-JAVA_HOME/1616/changes>
Changes:
[vinod] Revise os::killtree semantics if process not found.
[vinod] Added missing return value for hashmap::containsValue and test.
[vinod] Containerizer (part 1)
[vinod] Containerizer - launchers (part 2).
[vinod] Containerizer - isolators (part 3).
[vinod] Containerizer - cgroup isolators (part 4).
[vinod] Containerizer - updated tests (part 5).
[vinod] Added a release guide for doing official releases.
[vinod] Updated upgrades document for 0.18.0.
[vinod] Fixed build error in make check on src/tests/isolator_tests.cpp.
------------------------------------------
[...truncated 19233 lines...]
I0212 10:35:24.746506 14404 master.cpp:818] Received registration request from
scheduler(101)@67.195.138.9:42728
I0212 10:35:24.746551 14404 master.cpp:836] Registering framework
2014-02-12-10:35:24-160088899-42728-14378-0000 at
scheduler(101)@67.195.138.9:42728
I0212 10:35:24.746659 14402 sched.cpp:391] Framework registered with
2014-02-12-10:35:24-160088899-42728-14378-0000
I0212 10:35:24.746713 14402 sched.cpp:405] Scheduler::registered took 31372ns
I0212 10:35:24.746721 14400 hierarchical_allocator_process.hpp:332] Added
framework 2014-02-12-10:35:24-160088899-42728-14378-0000
I0212 10:35:24.746778 14400 hierarchical_allocator_process.hpp:752] Offering
cpus(*):2; mem(*):1024; disk(*):1024; ports(*):[31000-32000] on slave
2014-02-12-10:35:24-160088899-42728-14378-0 to framework
2014-02-12-10:35:24-160088899-42728-14378-0000
I0212 10:35:24.746906 14400 hierarchical_allocator_process.hpp:688] Performed
allocation for 1 slaves in 156412ns
I0212 10:35:24.746954 14404 master.hpp:439] Adding offer
2014-02-12-10:35:24-160088899-42728-14378-0 with resources cpus(*):2;
mem(*):1024; disk(*):1024; ports(*):[31000-32000] on slave
2014-02-12-10:35:24-160088899-42728-14378-0 (vesta.apache.org)
I0212 10:35:24.747004 14404 master.cpp:2278] Sending 1 offers to framework
2014-02-12-10:35:24-160088899-42728-14378-0000
I0212 10:35:24.747097 14404 sched.cpp:525] Scheduler::resourceOffers took
20615ns
I0212 10:35:24.747524 14405 sched.cpp:898] Attempting to launch task 2 with an
unknown offer 2014-02-12-10:35:24-160088899-42728-14378-0
I0212 10:35:24.747719 14401 master.hpp:449] Removing offer
2014-02-12-10:35:24-160088899-42728-14378-0 with resources cpus(*):2;
mem(*):1024; disk(*):1024; ports(*):[31000-32000] on slave
2014-02-12-10:35:24-160088899-42728-14378-0 (vesta.apache.org)
I0212 10:35:24.747777 14401 master.cpp:1574] Processing reply for offers: [
2014-02-12-10:35:24-160088899-42728-14378-0 ] on slave
2014-02-12-10:35:24-160088899-42728-14378-0 (vesta.apache.org) for framework
2014-02-12-10:35:24-160088899-42728-14378-0000
I0212 10:35:24.747844 14401 master.hpp:411] Adding task 1 with resources
cpus(*):1; mem(*):512 on slave 2014-02-12-10:35:24-160088899-42728-14378-0
(vesta.apache.org)
I0212 10:35:24.747877 14401 master.cpp:2447] Launching task 1 of framework
2014-02-12-10:35:24-160088899-42728-14378-0000 with resources cpus(*):1;
mem(*):512 on slave 2014-02-12-10:35:24-160088899-42728-14378-0
(vesta.apache.org)
I0212 10:35:24.747961 14403 slave.cpp:625] Got assigned task 1 for framework
2014-02-12-10:35:24-160088899-42728-14378-0000
W0212 10:35:24.748045 14401 master.cpp:1608] Failed to validate task 2 : Task
has invalid ExecutorInfo (existing ExecutorInfo with same ExecutorID is not
compatible).
------------------------------------------------------------
Existing ExecutorInfo:
executor_id {
value: "default"
}
command {
value: "exit 1"
}
framework_id {
value: "2014-02-12-10:35:24-160088899-42728-14378-0000"
}
------------------------------------------------------------
Task's ExecutorInfo:
executor_id {
value: "default"
}
command {
value: "exit 2"
}
framework_id {
value: "2014-02-12-10:35:24-160088899-42728-14378-0000"
}
------------------------------------------------------------
I0212 10:35:24.748121 14403 slave.cpp:734] Launching task 1 for framework
2014-02-12-10:35:24-160088899-42728-14378-0000
I0212 10:35:24.750222 14401 master.cpp:1618] Sending status update TASK_LOST
(UUID: e87931af-66b5-4e19-a1ce-682c73a9e252) for task 2 of framework
2014-02-12-10:35:24-160088899-42728-14378-0000 for invalid task
I0212 10:35:24.750332 14405 sched.cpp:616] Scheduler::statusUpdate took 29865ns
I0212 10:35:24.750370 14402 hierarchical_allocator_process.hpp:547] Framework
2014-02-12-10:35:24-160088899-42728-14378-0000 left cpus(*):1; mem(*):512;
disk(*):1024; ports(*):[31000-32000] unused on slave
2014-02-12-10:35:24-160088899-42728-14378-0
I0212 10:35:24.750494 14402 hierarchical_allocator_process.hpp:590] Framework
2014-02-12-10:35:24-160088899-42728-14378-0000 filtered slave
2014-02-12-10:35:24-160088899-42728-14378-0 for 5secs
I0212 10:35:24.753954 14403 exec.cpp:131] Version: 0.18.0
I0212 10:35:24.754025 14404 exec.cpp:181] Executor started at:
executor(37)@67.195.138.9:42728 with pid 14378
I0212 10:35:24.754071 14403 slave.cpp:844] Queuing task '1' for executor
default of framework '2014-02-12-10:35:24-160088899-42728-14378-0000
I0212 10:35:24.754123 14403 slave.cpp:358] Successfully attached file
'/tmp/MultipleExecutorsTest_TasksExecutorInfoDiffers_kKXx1c/slaves/2014-02-12-10:35:24-160088899-42728-14378-0/frameworks/2014-02-12-10:35:24-160088899-42728-14378-0000/executors/default/runs/ddacca1e-ac37-4820-b6c8-cba80bafbb63'
I0212 10:35:24.754169 14403 slave.cpp:1989] Monitoring executor 'default' of
framework '2014-02-12-10:35:24-160088899-42728-14378-0000' in container
'ddacca1e-ac37-4820-b6c8-cba80bafbb63'
I0212 10:35:24.754235 14403 slave.cpp:1316] Got registration for executor
'default' of framework 2014-02-12-10:35:24-160088899-42728-14378-0000
I0212 10:35:24.754403 14403 slave.cpp:1434] Flushing queued task 1 for executor
'default' of framework 2014-02-12-10:35:24-160088899-42728-14378-0000
I0212 10:35:24.754437 14401 exec.cpp:205] Executor registered on slave
2014-02-12-10:35:24-160088899-42728-14378-0
I0212 10:35:24.755434 14401 exec.cpp:217] Executor::registered took 10827ns
I0212 10:35:24.755488 14401 exec.cpp:292] Executor asked to run task '1'
I0212 10:35:24.755523 14401 exec.cpp:301] Executor::launchTask took 25535ns
I0212 10:35:24.755702 14378 master.cpp:587] Master terminating
I0212 10:35:24.755717 14405 sched.cpp:727] Stopping framework
'2014-02-12-10:35:24-160088899-42728-14378-0000'
I0212 10:35:24.755751 14378 master.cpp:247] Shutting down master
I0212 10:35:24.755761 14403 slave.cpp:1844] [email protected]:42728 exited
W0212 10:35:24.755784 14403 slave.cpp:1847] Master disconnected! Waiting for a
new master to be elected
I0212 10:35:24.755806 14378 master.hpp:429] Removing task 1 with resources
cpus(*):1; mem(*):512 on slave 2014-02-12-10:35:24-160088899-42728-14378-0
(vesta.apache.org)
I0212 10:35:24.755887 14378 master.cpp:290] Removing slave
2014-02-12-10:35:24-160088899-42728-14378-0 (vesta.apache.org)
I0212 10:35:24.755933 14406 hierarchical_allocator_process.hpp:637] Recovered
cpus(*):1; mem(*):512 (total allocatable: cpus(*):2; mem(*):1024; disk(*):1024;
ports(*):[31000-32000]) on slave 2014-02-12-10:35:24-160088899-42728-14378-0
from framework 2014-02-12-10:35:24-160088899-42728-14378-0000
I0212 10:35:24.840549 14402 slave.cpp:287] Slave terminating
I0212 10:35:24.840571 14402 slave.cpp:1027] Asked to shut down framework
2014-02-12-10:35:24-160088899-42728-14378-0000 by @0.0.0.0:0
I0212 10:35:24.840587 14402 slave.cpp:1052] Shutting down framework
2014-02-12-10:35:24-160088899-42728-14378-0000
I0212 10:35:24.840601 14402 slave.cpp:2332] Shutting down executor 'default' of
framework 2014-02-12-10:35:24-160088899-42728-14378-0000
I0212 10:35:24.840633 14406 exec.cpp:378] Executor asked to shutdown
I0212 10:35:24.840662 14406 exec.cpp:393] Executor::shutdown took 8652ns
[ OK ] MultipleExecutorsTest.TasksExecutorInfoDiffers (101 ms)
[----------] 1 test from MultipleExecutorsTest (101 ms total)
[----------] 34 tests from ResourcesTest
[ RUN ] ResourcesTest.Parsing
[ OK ] ResourcesTest.Parsing (0 ms)
[ RUN ] ResourcesTest.ParsingWithRoles
[ OK ] ResourcesTest.ParsingWithRoles (0 ms)
[ RUN ] ResourcesTest.ParseError
[ OK ] ResourcesTest.ParseError (0 ms)
[ RUN ] ResourcesTest.Resources
[ OK ] ResourcesTest.Resources (0 ms)
[ RUN ] ResourcesTest.Printing
[ OK ] ResourcesTest.Printing (0 ms)
[ RUN ] ResourcesTest.InitializedIsEmpty
[ OK ] ResourcesTest.InitializedIsEmpty (0 ms)
[ RUN ] ResourcesTest.BadResourcesNotAllocatable
[ OK ] ResourcesTest.BadResourcesNotAllocatable (0 ms)
[ RUN ] ResourcesTest.ScalarEquals
[ OK ] ResourcesTest.ScalarEquals (0 ms)
[ RUN ] ResourcesTest.ScalarSubset
[ OK ] ResourcesTest.ScalarSubset (0 ms)
[ RUN ] ResourcesTest.ScalarSubset2
[ OK ] ResourcesTest.ScalarSubset2 (0 ms)
[ RUN ] ResourcesTest.ScalarAddition
[ OK ] ResourcesTest.ScalarAddition (1 ms)
[ RUN ] ResourcesTest.ScalarAddition2
[ OK ] ResourcesTest.ScalarAddition2 (0 ms)
[ RUN ] ResourcesTest.ScalarSubtraction
[ OK ] ResourcesTest.ScalarSubtraction (0 ms)
[ RUN ] ResourcesTest.ScalarSubtraction2
[ OK ] ResourcesTest.ScalarSubtraction2 (0 ms)
[ RUN ] ResourcesTest.RangesEquals
[ OK ] ResourcesTest.RangesEquals (0 ms)
[ RUN ] ResourcesTest.RangesSubset
[ OK ] ResourcesTest.RangesSubset (0 ms)
[ RUN ] ResourcesTest.RangesAddition
[ OK ] ResourcesTest.RangesAddition (0 ms)
[ RUN ] ResourcesTest.RangesAddition2
[ OK ] ResourcesTest.RangesAddition2 (0 ms)
[ RUN ] ResourcesTest.RangesAdditon3
[ OK ] ResourcesTest.RangesAdditon3 (0 ms)
[ RUN ] ResourcesTest.RangesAddition4
[ OK ] ResourcesTest.RangesAddition4 (0 ms)
[ RUN ] ResourcesTest.RangesSubtraction
[ OK ] ResourcesTest.RangesSubtraction (0 ms)
[ RUN ] ResourcesTest.RangesSubtraction1
[ OK ] ResourcesTest.RangesSubtraction1 (0 ms)
[ RUN ] ResourcesTest.RangesSubtraction2
[ OK ] ResourcesTest.RangesSubtraction2 (0 ms)
[ RUN ] ResourcesTest.RangesSubtraction3
[ OK ] ResourcesTest.RangesSubtraction3 (0 ms)
[ RUN ] ResourcesTest.RangesSubtraction4
[ OK ] ResourcesTest.RangesSubtraction4 (0 ms)
[ RUN ] ResourcesTest.RangesSubtraction5
[ OK ] ResourcesTest.RangesSubtraction5 (0 ms)
[ RUN ] ResourcesTest.RangesSubtraction6
[ OK ] ResourcesTest.RangesSubtraction6 (0 ms)
[ RUN ] ResourcesTest.SetEquals
[ OK ] ResourcesTest.SetEquals (1 ms)
[ RUN ] ResourcesTest.SetSubset
[ OK ] ResourcesTest.SetSubset (0 ms)
[ RUN ] ResourcesTest.SetAddition
[ OK ] ResourcesTest.SetAddition (0 ms)
[ RUN ] ResourcesTest.SetSubtraction
[ OK ] ResourcesTest.SetSubtraction (0 ms)
[ RUN ] ResourcesTest.EmptyUnequal
[ OK ] ResourcesTest.EmptyUnequal (0 ms)
[ RUN ] ResourcesTest.FlattenRoles
[ OK ] ResourcesTest.FlattenRoles (0 ms)
[ RUN ] ResourcesTest.Find
[ OK ] ResourcesTest.Find (0 ms)
[----------] 34 tests from ResourcesTest (2 ms total)
[----------] 3 tests from SASL
[ RUN ] SASL.success
I0212 10:35:24.844039 14402 authenticatee.hpp:124] Creating new client SASL
connection
I0212 10:35:24.844296 14403 authenticator.hpp:140] Creating new server SASL
connection
I0212 10:35:24.844393 14402 authenticatee.hpp:212] Received SASL authentication
mechanisms: CRAM-MD5
I0212 10:35:24.844414 14402 authenticatee.hpp:238] Attempting to authenticate
with mechanism 'CRAM-MD5'
I0212 10:35:24.844470 14402 authenticator.hpp:243] Received SASL authentication
start
I0212 10:35:24.844523 14402 authenticator.hpp:325] Authentication requires more
steps
I0212 10:35:24.844563 14402 authenticatee.hpp:258] Received SASL authentication
step
I0212 10:35:24.844655 14404 authenticator.hpp:271] Received SASL authentication
step
I0212 10:35:24.844678 14404 auxprop.cpp:81] Request to lookup properties for
user: 'benh' realm: 'vesta.apache.org' server FQDN: 'vesta.apache.org'
SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false
SASL_AUXPROP_AUTHZID: false
I0212 10:35:24.844693 14404 auxprop.cpp:153] Looking up auxiliary property
'*userPassword'
I0212 10:35:24.844707 14404 auxprop.cpp:153] Looking up auxiliary property
'*cmusaslsecretCRAM-MD5'
I0212 10:35:24.844717 14404 auxprop.cpp:81] Request to lookup properties for
user: 'benh' realm: 'vesta.apache.org' server FQDN: 'vesta.apache.org'
SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false
SASL_AUXPROP_AUTHZID: true
I0212 10:35:24.844723 14404 auxprop.cpp:103] Skipping auxiliary property
'*userPassword' since SASL_AUXPROP_AUTHZID == true
I0212 10:35:24.844727 14404 auxprop.cpp:103] Skipping auxiliary property
'*cmusaslsecretCRAM-MD5' since SASL_AUXPROP_AUTHZID == true
I0212 10:35:24.844738 14404 authenticator.hpp:317] Authentication success
I0212 10:35:24.844774 14404 authenticatee.hpp:298] Authentication success
[ OK ] SASL.success (2 ms)
[ RUN ] SASL.failed1
I0212 10:35:24.845268 14407 authenticatee.hpp:124] Creating new client SASL
connection
I0212 10:35:24.845531 14404 authenticator.hpp:140] Creating new server SASL
connection
I0212 10:35:24.845628 14407 authenticatee.hpp:212] Received SASL authentication
mechanisms: CRAM-MD5
I0212 10:35:24.845644 14407 authenticatee.hpp:238] Attempting to authenticate
with mechanism 'CRAM-MD5'
I0212 10:35:24.845677 14407 authenticator.hpp:243] Received SASL authentication
start
I0212 10:35:24.845708 14407 authenticator.hpp:325] Authentication requires more
steps
I0212 10:35:24.845736 14407 authenticatee.hpp:258] Received SASL authentication
step
I0212 10:35:24.845772 14407 authenticator.hpp:271] Received SASL authentication
step
I0212 10:35:24.845795 14407 auxprop.cpp:81] Request to lookup properties for
user: 'benh' realm: 'vesta.apache.org' server FQDN: 'vesta.apache.org'
SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false
SASL_AUXPROP_AUTHZID: false
I0212 10:35:24.845803 14407 auxprop.cpp:153] Looking up auxiliary property
'*userPassword'
I0212 10:35:24.845815 14407 auxprop.cpp:153] Looking up auxiliary property
'*cmusaslsecretCRAM-MD5'
I0212 10:35:24.845825 14407 auxprop.cpp:81] Request to lookup properties for
user: 'benh' realm: 'vesta.apache.org' server FQDN: 'vesta.apache.org'
SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false
SASL_AUXPROP_AUTHZID: true
I0212 10:35:24.845832 14407 auxprop.cpp:103] Skipping auxiliary property
'*userPassword' since SASL_AUXPROP_AUTHZID == true
I0212 10:35:24.845839 14407 auxprop.cpp:103] Skipping auxiliary property
'*cmusaslsecretCRAM-MD5' since SASL_AUXPROP_AUTHZID == true
W0212 10:35:24.845857 14407 authenticator.hpp:331] Authentication failure:
authentication failure
[ OK ] SASL.failed1 (1 ms)
[ RUN ] SASL.failed2
I0212 10:35:24.846271 14404 authenticatee.hpp:124] Creating new client SASL
connection
I0212 10:35:24.846555 14405 authenticator.hpp:140] Creating new server SASL
connection
I0212 10:35:24.846621 14405 authenticatee.hpp:212] Received SASL authentication
mechanisms: CRAM-MD5
I0212 10:35:24.846640 14405 authenticatee.hpp:238] Attempting to authenticate
with mechanism 'CRAM-MD5'
I0212 10:35:24.846671 14405 authenticator.hpp:243] Received SASL authentication
start
I0212 10:35:24.846698 14405 authenticator.hpp:325] Authentication requires more
steps
I0212 10:35:24.846734 14405 authenticatee.hpp:258] Received SASL authentication
step
I0212 10:35:24.846823 14400 authenticator.hpp:271] Received SASL authentication
step
I0212 10:35:24.846856 14400 auxprop.cpp:81] Request to lookup properties for
user: 'benh' realm: 'vesta.apache.org' server FQDN: 'vesta.apache.org'
SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false
SASL_AUXPROP_AUTHZID: false
I0212 10:35:24.846866 14400 auxprop.cpp:153] Looking up auxiliary property
'*userPassword'
I0212 10:35:24.846874 14400 auxprop.cpp:153] Looking up auxiliary property
'*cmusaslsecretCRAM-MD5'
I0212 10:35:24.846884 14400 auxprop.cpp:81] Request to lookup properties for
user: 'benh' realm: 'vesta.apache.org' server FQDN: 'vesta.apache.org'
SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false
SASL_AUXPROP_AUTHZID: true
I0212 10:35:24.846892 14400 auxprop.cpp:103] Skipping auxiliary property
'*userPassword' since SASL_AUXPROP_AUTHZID == true
I0212 10:35:24.846897 14400 auxprop.cpp:103] Skipping auxiliary property
'*cmusaslsecretCRAM-MD5' since SASL_AUXPROP_AUTHZID == true
W0212 10:35:24.846917 14400 authenticator.hpp:331] Authentication failure: user
not found
[ OK ] SASL.failed2 (1 ms)
[----------] 3 tests from SASL (4 ms total)
[----------] 2 tests from SlaveStateTest
[ RUN ] SlaveStateTest.CheckpointProtobuf
Using temporary directory '/tmp/SlaveStateTest_CheckpointProtobuf_X7eOyS'
[ OK ] SlaveStateTest.CheckpointProtobuf (0 ms)
[ RUN ] SlaveStateTest.CheckpointString
Using temporary directory '/tmp/SlaveStateTest_CheckpointString_4wt75x'
[ OK ] SlaveStateTest.CheckpointString (0 ms)
[----------] 2 tests from SlaveStateTest (0 ms total)
[----------] 23 tests from SlaveRecoveryTest/0, where TypeParam =
mesos::internal::slave::MesosContainerizer
[ RUN ] SlaveRecoveryTest/0.RecoverSlaveState
tests/mesos.cpp:336: Failure
cgroups::mount(hierarchy, subsystem): Failed to mount 'freezer' at
'/tmp/mesos_test_cgroup/freezer': Operation not permitted
-------------------------------------------------------------
We cannot run any cgroups tests that require
a hierarchy with subsystem 'freezer'
because we failed to find an existing hierarchy
or create a new one (tried '/tmp/mesos_test_cgroup/freezer').
You can either remove all existing
hierarchies, or disable this test case
(i.e., --gtest_filter=-SlaveRecoveryTest/0.*).
-------------------------------------------------------------
F0212 10:35:24.848428 14378 mesos.cpp:362] CHECK_SOME(cgroups):
'/tmp/mesos_test_cgroup/freezer' is not a valid hierarchy
*** Check failure stack trace: ***
@ 0x2ac3d04fef1d google::LogMessage::Fail()
@ 0x2ac3d050101f google::LogMessage::SendToLog()
@ 0x2ac3d04feb0c google::LogMessage::Flush()
@ 0x2ac3d05018bd google::LogMessageFatal::~LogMessageFatal()
@ 0x4d8acd _CheckSome::~_CheckSome()
@ 0x6fcea4
mesos::internal::tests::ContainerizerTest<>::TearDown()
@ 0x851fad
testing::internal::HandleExceptionsInMethodIfSupported<>()
@ 0x84a1e3 testing::Test::Run()
@ 0x84a316 testing::TestInfo::Run()
@ 0x84a457 testing::TestCase::Run()
@ 0x84a7ae testing::internal::UnitTestImpl::RunAllTests()
@ 0x851b2d
testing::internal::HandleExceptionsInMethodIfSupported<>()
@ 0x84988e testing::UnitTest::Run()
@ 0x4b2d1b main
@ 0x2ac3d18c476d (unknown)
@ 0x4bbb71 (unknown)
make[3]: *** [check-local] Aborted
make[3]: Leaving directory
`/home/hudson/jenkins-slave/workspace/Mesos-Trunk-Ubuntu-Build-In-Src-Set-JAVA_HOME/src'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory
`/home/hudson/jenkins-slave/workspace/Mesos-Trunk-Ubuntu-Build-In-Src-Set-JAVA_HOME/src'
make[1]: *** [check] Error 2
make[1]: Leaving directory
`/home/hudson/jenkins-slave/workspace/Mesos-Trunk-Ubuntu-Build-In-Src-Set-JAVA_HOME/src'
make: *** [check-recursive] Error 1
Build step 'Execute shell' marked build as failure