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

Changes:

[bmahler] Added os::sendfile that masks SIGPIPE.

[bmahler] Updated process.cpp to use os::sendfile.

[bmahler] Added a Process.provide test.

------------------------------------------
[...truncated 15572 lines...]
I0805 20:31:56.498034 22446 slave.cpp:1815] Status update manager successfully 
handled status update TASK_RUNNING (UUID: aba68dac-9e48-45b3-a1ea-623e5183fde6) 
for task 0 of framework 201308052031-143311683-58067-22417-0000
I0805 20:31:56.498090 22446 slave.cpp:1821] Sending acknowledgement for status 
update TASK_RUNNING (UUID: aba68dac-9e48-45b3-a1ea-623e5183fde6) for task 0 of 
framework 201308052031-143311683-58067-22417-0000 to 
executor(39)@67.195.138.8:58067
I0805 20:31:56.498121 22443 sched.cpp:395] Scheduler::statusUpdate took 29.745us
I0805 20:31:56.498255 22444 exec.cpp:320] Executor received status update 
acknowledgement aba68dac-9e48-45b3-a1ea-623e5183fde6 for task 0 of framework 
201308052031-143311683-58067-22417-0000
I0805 20:31:56.498576 22441 master.cpp:446] Master terminating
I0805 20:31:56.498603 22443 status_update_manager.cpp:362] Received status 
update acknowledgement (UUID: aba68dac-9e48-45b3-a1ea-623e5183fde6) for task 0 
of framework 201308052031-143311683-58067-22417-0000
I0805 20:31:56.498687 22417 master.cpp:209] Shutting down master
I0805 20:31:56.498849 22442 hierarchical_allocator_process.hpp:393] Deactivated 
framework 201308052031-143311683-58067-22417-0000
I0805 20:31:56.498867 22417 master.hpp:321] Removing task 0 with resources 
cpus(*):1; mem(*):500 on slave 201308052031-143311683-58067-22417-0
I0805 20:31:56.498704 22446 slave.cpp:1896] [email protected]:58067 exited
W0805 20:31:56.499042 22446 slave.cpp:1899] Master disconnected! Waiting for a 
new master to be elected
I0805 20:31:56.499116 22446 slave.cpp:1359] Status update manager successfully 
handled status update acknowledgement (UUID: 
aba68dac-9e48-45b3-a1ea-623e5183fde6) for task 0 of framework 
201308052031-143311683-58067-22417-0000
I0805 20:31:56.499208 22446 slave.cpp:1140] Asked to shut down framework 
201308052031-143311683-58067-22417-0000 by [email protected]:58067
I0805 20:31:56.499251 22446 slave.cpp:1165] Shutting down framework 
201308052031-143311683-58067-22417-0000
I0805 20:31:56.499323 22446 slave.cpp:2340] Shutting down executor 'default' of 
framework 201308052031-143311683-58067-22417-0000
I0805 20:31:56.499265 22443 hierarchical_allocator_process.hpp:595] Recovered 
cpus(*):1; mem(*):500 (total allocatable: cpus(*):2; mem(*):1024; 
disk(*):20938; ports(*):[31000-32000]) on slave 
201308052031-143311683-58067-22417-0 from framework 
201308052031-143311683-58067-22417-0000
I0805 20:31:56.499449 22441 exec.cpp:360] Executor asked to shutdown
I0805 20:31:56.499510 22443 hierarchical_allocator_process.hpp:348] Removed 
framework 201308052031-143311683-58067-22417-0000
I0805 20:31:56.499558 22441 exec.cpp:375] Executor::shutdown took 11.106us
I0805 20:31:56.500562 22439 master.cpp:230] Master started on 67.195.138.8:58067
I0805 20:31:56.500615 22439 master.cpp:245] Master ID: 
201308052031-143311683-58067-22417
I0805 20:31:56.501592 22442 detector.cpp:420] Master detector 
(slave(111)@67.195.138.8:58067)  found 0 registered masters
I0805 20:31:56.501867 22441 detector.cpp:420] Master detector 
(scheduler(101)@67.195.138.8:58067)  found 0 registered masters
I0805 20:31:56.509809 22441 detector.cpp:441] Master detector 
(scheduler(101)@67.195.138.8:58067) couldn't find any masters
I0805 20:31:56.509713 22442 detector.cpp:441] Master detector 
(slave(111)@67.195.138.8:58067) couldn't find any masters
W0805 20:31:56.509876 22445 master.cpp:83] No whitelist given. Advertising 
offers for all slaves
I0805 20:31:56.502442 22440 detector.cpp:234] Master detector 
([email protected]:58067) connected to ZooKeeper ...
I0805 20:31:56.509974 22441 sched.cpp:202] No master detected, waiting for 
another master
I0805 20:31:56.510022 22443 hierarchical_allocator_process.hpp:287] 
Initializing hierarchical allocator process with master : 
[email protected]:58067
I0805 20:31:56.510037 22442 slave.cpp:571] Lost master(s) ... waiting
I0805 20:31:56.510157 22440 detector.cpp:251] Trying to create path '/znode' in 
ZooKeeper
I0805 20:31:56.510215 22441 sched.cpp:214] Scheduler::disconnected took 9.638us
I0805 20:31:56.512045 22440 detector.cpp:281] Created ephemeral/sequence znode 
at '/znode/0000000002'
I0805 20:31:56.512717 22439 detector.cpp:420] Master detector 
(scheduler(101)@67.195.138.8:58067)  found 1 registered masters
I0805 20:31:56.512872 22444 detector.cpp:420] Master detector 
(slave(111)@67.195.138.8:58067)  found 1 registered masters
I0805 20:31:56.513033 22440 detector.cpp:420] Master detector 
([email protected]:58067)  found 1 registered masters
I0805 20:31:56.518268 22439 detector.cpp:467] Master detector 
(scheduler(101)@67.195.138.8:58067)  got new master pid: 
[email protected]:58067
I0805 20:31:56.518414 22444 detector.cpp:467] Master detector 
(slave(111)@67.195.138.8:58067)  got new master pid: [email protected]:58067
I0805 20:31:56.518422 22439 sched.cpp:178] New master at 
[email protected]:58067
W0805 20:31:56.518646 22444 master.cpp:665] Ignoring re-register framework 
message since not elected yet
I0805 20:31:56.518710 22439 slave.cpp:537] New master detected at 
[email protected]:58067
I0805 20:31:56.518803 22440 detector.cpp:467] Master detector 
([email protected]:58067)  got new master pid: [email protected]:58067
I0805 20:31:56.518879 22444 status_update_manager.cpp:157] New master detected 
at [email protected]:58067
I0805 20:31:56.519050 22439 master.cpp:593] Elected as master!
I0805 20:31:57.492079 22440 master.cpp:685] Re-registering framework 
201308052031-143311683-58067-22417-0000 at scheduler(101)@67.195.138.8:58067
I0805 20:31:57.492424 22440 sched.cpp:268] Framework re-registered with 
201308052031-143311683-58067-22417-0000
I0805 20:31:57.492472 22440 sched.cpp:282] Scheduler::reregistered took 11.362us
I0805 20:31:57.492598 22444 hierarchical_allocator_process.hpp:317] Added 
framework 201308052031-143311683-58067-22417-0000
I0805 20:31:57.492707 22444 hierarchical_allocator_process.hpp:684] No 
resources available to allocate!
I0805 20:31:57.492758 22444 hierarchical_allocator_process.hpp:646] Performed 
allocation for 0 slaves in 53.061us
I0805 20:31:57.510979 22439 hierarchical_allocator_process.hpp:684] No 
resources available to allocate!
I0805 20:31:57.511085 22439 hierarchical_allocator_process.hpp:646] Performed 
allocation for 0 slaves in 113.868us
I0805 20:31:57.519263 22440 master.cpp:1044] Attempting to re-register slave 
201308052031-143311683-58067-22417-0 at slave(111)@67.195.138.8:58067 
(minerva.apache.org)
I0805 20:31:57.519311 22440 master.cpp:1951] Adding slave 
201308052031-143311683-58067-22417-0 at minerva.apache.org with cpus(*):2; 
mem(*):1024; disk(*):20938; ports(*):[31000-32000]
I0805 20:31:57.519448 22443 slave.cpp:638] Re-registered with master 
[email protected]:58067
I0805 20:31:57.519479 22440 master.hpp:309] Adding task 0 with resources 
cpus(*):1; mem(*):500 on slave 201308052031-143311683-58067-22417-0
W0805 20:31:57.519812 22442 slave.cpp:1301] Ignoring updating pid for framework 
201308052031-143311683-58067-22417-0000 because it is terminating
I0805 20:31:57.519933 22440 hierarchical_allocator_process.hpp:430] Added slave 
201308052031-143311683-58067-22417-0 (minerva.apache.org) with cpus(*):2; 
mem(*):1024; disk(*):20938; ports(*):[31000-32000] (and cpus(*):1; mem(*):524; 
disk(*):20938; ports(*):[31000-32000] available)
I0805 20:31:57.520072 22440 hierarchical_allocator_process.hpp:709] Offering 
cpus(*):1; mem(*):524; disk(*):20938; ports(*):[31000-32000] on slave 
201308052031-143311683-58067-22417-0 to framework 
201308052031-143311683-58067-22417-0000
I0805 20:31:57.520222 22440 hierarchical_allocator_process.hpp:666] Performed 
allocation for slave 201308052031-143311683-58067-22417-0 in 193.432us
I0805 20:31:57.520268 22443 master.hpp:331] Adding offer 
201308052031-143311683-58067-22417-0 with resources cpus(*):1; mem(*):524; 
disk(*):20938; ports(*):[31000-32000] on slave 
201308052031-143311683-58067-22417-0
I0805 20:31:57.520349 22443 master.cpp:1332] Sending 1 offers to framework 
201308052031-143311683-58067-22417-0000
I0805 20:31:57.520527 22442 sched.cpp:340] Scheduler::resourceOffers took 
31.269us
I0805 20:31:57.520715 22443 sched.cpp:498] Stopping framework 
'201308052031-143311683-58067-22417-0000'
I0805 20:31:57.520755 22445 master.cpp:446] Master terminating
I0805 20:31:57.520867 22445 slave.cpp:493] Slave asked to shut down by 
[email protected]:58067
I0805 20:31:57.520882 22417 master.cpp:209] Shutting down master
I0805 20:31:57.520920 22445 slave.cpp:1140] Asked to shut down framework 
201308052031-143311683-58067-22417-0000 by [email protected]:58067
W0805 20:31:57.521057 22445 slave.cpp:1161] Ignoring shutdown framework 
201308052031-143311683-58067-22417-0000 because it is terminating
I0805 20:31:57.521051 22417 master.hpp:321] Removing task 0 with resources 
cpus(*):1; mem(*):500 on slave 201308052031-143311683-58067-22417-0
I0805 20:31:57.521262 22446 hierarchical_allocator_process.hpp:393] Deactivated 
framework 201308052031-143311683-58067-22417-0000
I0805 20:31:57.521301 22417 master.hpp:341] Removing offer 
201308052031-143311683-58067-22417-0 with resources cpus(*):1; mem(*):524; 
disk(*):20938; ports(*):[31000-32000] on slave 
201308052031-143311683-58067-22417-0
I0805 20:31:57.521142 22445 slave.cpp:1896] [email protected]:58067 exited
W0805 20:31:57.521440 22445 slave.cpp:1899] Master disconnected! Waiting for a 
new master to be elected
I0805 20:31:57.521556 22445 slave.cpp:1140] Asked to shut down framework 
201308052031-143311683-58067-22417-0000 by [email protected]:58067
W0805 20:31:57.521595 22445 slave.cpp:1161] Ignoring shutdown framework 
201308052031-143311683-58067-22417-0000 because it is terminating
I0805 20:31:57.521476 22446 hierarchical_allocator_process.hpp:595] Recovered 
cpus(*):1; mem(*):500 (total allocatable: cpus(*):1; mem(*):500) on slave 
201308052031-143311683-58067-22417-0 from framework 
201308052031-143311683-58067-22417-0000
I0805 20:31:57.521857 22446 hierarchical_allocator_process.hpp:595] Recovered 
cpus(*):1; mem(*):524; disk(*):20938; ports(*):[31000-32000] (total 
allocatable: cpus(*):2; mem(*):1024; disk(*):20938; ports(*):[31000-32000]) on 
slave 201308052031-143311683-58067-22417-0 from framework 
201308052031-143311683-58067-22417-0000
I0805 20:31:57.521991 22446 hierarchical_allocator_process.hpp:348] Removed 
framework 201308052031-143311683-58067-22417-0000
I0805 20:31:57.522059 22446 hierarchical_allocator_process.hpp:456] Removed 
slave 201308052031-143311683-58067-22417-0
I0805 20:31:57.522269 22417 slave.cpp:448] Slave terminating
I0805 20:31:57.522296 22417 slave.cpp:1140] Asked to shut down framework 
201308052031-143311683-58067-22417-0000 by @0.0.0.0:0
W0805 20:31:57.522347 22417 slave.cpp:1161] Ignoring shutdown framework 
201308052031-143311683-58067-22417-0000 because it is terminating
[       OK ] AllocatorZooKeeperTest/0.FrameworkReregistersFirst (1054 ms)
[ RUN      ] AllocatorZooKeeperTest/0.SlaveReregistersFirst
I0805 20:31:57.523525 22439 master.cpp:230] Master started on 67.195.138.8:58067
2013-08-05 20:31:57,524:22417(0x2b17b4f75700):ZOO_DEBUG@do_completion@326: 
started completion thread
2013-08-05 20:31:57,524:22417(0x2b17b5578700):ZOO_DEBUG@do_io@279: started IO 
thread
2013-08-05 20:31:57,524:22417(0x2b17b5578700):ZOO_INFO@check_events@1585: 
initiated connection to server [127.0.0.1:42419]
I0805 20:31:57.523594 22439 master.cpp:245] Master ID: 
201308052031-143311683-58067-22417
I0805 20:31:57.524072 22445 slave.cpp:113] Slave started on 
112)@67.195.138.8:58067
I0805 20:31:57.525590 22444 detector.cpp:234] Master detector 
([email protected]:58067) connected to ZooKeeper ...
W0805 20:31:57.533800 22443 master.cpp:83] No whitelist given. Advertising 
offers for all slaves
I0805 20:31:57.526418 22441 detector.cpp:234] Master detector 
(scheduler(102)@67.195.138.8:58067) connected to ZooKeeper ...
I0805 20:31:57.533943 22441 detector.cpp:251] Trying to create path '/znode' in 
ZooKeeper
I0805 20:31:57.526120 22446 detector.cpp:234] Master detector 
(slave(112)@67.195.138.8:58067) connected to ZooKeeper ...
I0805 20:31:57.533854 22444 detector.cpp:251] Trying to create path '/znode' in 
ZooKeeper
I0805 20:31:57.533910 22442 hierarchical_allocator_process.hpp:287] 
Initializing hierarchical allocator process with master : 
[email protected]:58067
I0805 20:31:57.533794 22445 slave.cpp:213] Slave resources: cpus(*):2; 
mem(*):1024; disk(*):20938; ports(*):[31000-32000]
I0805 20:31:57.534106 22446 detector.cpp:251] Trying to create path '/znode' in 
ZooKeeper
I0805 20:31:57.535150 22439 slave.cpp:398] Finished recovery
I0805 20:31:57.537590 22441 detector.cpp:420] Master detector 
(scheduler(102)@67.195.138.8:58067)  found 0 registered masters
I0805 20:31:57.537634 22444 detector.cpp:281] Created ephemeral/sequence znode 
at '/znode/0000000004'
I0805 20:31:57.537638 22441 detector.cpp:441] Master detector 
(scheduler(102)@67.195.138.8:58067) couldn't find any masters
I0805 20:31:57.541784 22439 sched.cpp:202] No master detected, waiting for 
another master
I0805 20:31:57.542191 22446 detector.cpp:420] Master detector 
(slave(112)@67.195.138.8:58067)  found 1 registered masters
I0805 20:31:57.542460 22444 detector.cpp:420] Master detector 
([email protected]:58067)  found 1 registered masters
I0805 20:31:57.542711 22446 detector.cpp:467] Master detector 
(slave(112)@67.195.138.8:58067)  got new master pid: [email protected]:58067
I0805 20:31:57.542722 22441 detector.cpp:420] Master detector 
(scheduler(102)@67.195.138.8:58067)  found 1 registered masters
I0805 20:31:57.542805 22446 slave.cpp:537] New master detected at 
[email protected]:58067
I0805 20:31:57.545546 22443 status_update_manager.cpp:157] New master detected 
at [email protected]:58067
I0805 20:31:57.545644 22444 detector.cpp:467] Master detector 
([email protected]:58067)  got new master pid: [email protected]:58067
W0805 20:31:57.545749 22445 master.cpp:953] Ignoring register slave message 
from minerva.apache.org since not elected yet
I0805 20:31:57.545907 22441 detector.cpp:467] Master detector 
(scheduler(102)@67.195.138.8:58067)  got new master pid: 
[email protected]:58067
I0805 20:31:57.545987 22444 master.cpp:593] Elected as master!
I0805 20:31:57.546010 22441 sched.cpp:178] New master at 
[email protected]:58067
I0805 20:31:57.546293 22439 master.cpp:643] Registering framework 
201308052031-143311683-58067-22417-0000 at scheduler(102)@67.195.138.8:58067
I0805 20:31:57.546391 22439 sched.cpp:237] Framework registered with 
201308052031-143311683-58067-22417-0000
I0805 20:31:57.546425 22443 hierarchical_allocator_process.hpp:317] Added 
framework 201308052031-143311683-58067-22417-0000
I0805 20:31:57.546486 22439 sched.cpp:251] Scheduler::registered took 10.144us
I0805 20:31:57.546540 22443 hierarchical_allocator_process.hpp:684] No 
resources available to allocate!
I0805 20:31:57.546643 22443 hierarchical_allocator_process.hpp:646] Performed 
allocation for 0 slaves in 102.72us
I0805 20:31:58.535382 22441 hierarchical_allocator_process.hpp:684] No 
resources available to allocate!
I0805 20:31:58.535521 22441 hierarchical_allocator_process.hpp:646] Performed 
allocation for 0 slaves in 158.303us
I0805 20:31:58.546612 22443 master.cpp:972] Attempting to register slave on 
minerva.apache.org at slave(112)@67.195.138.8:58067
I0805 20:31:58.546725 22443 master.cpp:1951] Adding slave 
201308052031-143311683-58067-22417-0 at minerva.apache.org with cpus(*):2; 
mem(*):1024; disk(*):20938; ports(*):[31000-32000]
I0805 20:31:58.546933 22443 slave.cpp:597] Registered with master 
[email protected]:58067; given slave ID 201308052031-143311683-58067-22417-0
I0805 20:31:58.547054 22443 hierarchical_allocator_process.hpp:430] Added slave 
201308052031-143311683-58067-22417-0 (minerva.apache.org) with cpus(*):2; 
mem(*):1024; disk(*):20938; ports(*):[31000-32000] (and cpus(*):2; mem(*):1024; 
disk(*):20938; ports(*):[31000-32000] available)
I0805 20:31:58.547173 22443 hierarchical_allocator_process.hpp:709] Offering 
cpus(*):2; mem(*):1024; disk(*):20938; ports(*):[31000-32000] on slave 
201308052031-143311683-58067-22417-0 to framework 
201308052031-143311683-58067-22417-0000
I0805 20:31:58.547303 22443 hierarchical_allocator_process.hpp:666] Performed 
allocation for slave 201308052031-143311683-58067-22417-0 in 174.38us
I0805 20:31:58.547374 22440 master.hpp:331] Adding offer 
201308052031-143311683-58067-22417-0 with resources cpus(*):2; mem(*):1024; 
disk(*):20938; ports(*):[31000-32000] on slave 
201308052031-143311683-58067-22417-0
I0805 20:31:58.547446 22440 master.cpp:1332] Sending 1 offers to framework 
201308052031-143311683-58067-22417-0000
I0805 20:31:58.547734 22443 sched.cpp:340] Scheduler::resourceOffers took 
161.382us
I0805 20:31:58.547847 22440 master.cpp:1565] Processing reply for offer 
201308052031-143311683-58067-22417-0 on slave 
201308052031-143311683-58067-22417-0 (minerva.apache.org) for framework 
201308052031-143311683-58067-22417-0000
I0805 20:31:58.547952 22440 master.hpp:309] Adding task 0 with resources 
cpus(*):1; mem(*):500 on slave 201308052031-143311683-58067-22417-0
I0805 20:31:58.547997 22440 master.cpp:1684] Launching task 0 of framework 
201308052031-143311683-58067-22417-0000 with resources cpus(*):1; mem(*):500 on 
slave 201308052031-143311683-58067-22417-0 (minerva.apache.org)
I0805 20:31:58.548106 22443 slave.cpp:747] Got assigned task 0 for framework 
201308052031-143311683-58067-22417-0000
I0805 20:31:58.548152 22440 master.hpp:341] Removing offer 
201308052031-143311683-58067-22417-0 with resources cpus(*):2; mem(*):1024; 
disk(*):20938; ports(*):[31000-32000] on slave 
201308052031-143311683-58067-22417-0
I0805 20:31:58.548245 22440 hierarchical_allocator_process.hpp:505] Framework 
201308052031-143311683-58067-22417-0000 left cpus(*):1; mem(*):524; 
disk(*):20938; ports(*):[31000-32000] unused on slave 
201308052031-143311683-58067-22417-0
I0805 20:31:58.548353 22440 hierarchical_allocator_process.hpp:548] Framework 
201308052031-143311683-58067-22417-0000 filtered slave 
201308052031-143311683-58067-22417-0 for 5secs
I0805 20:31:58.548362 22443 slave.cpp:845] Launching task 0 for framework 
201308052031-143311683-58067-22417-0000
I0805 20:31:58.549809 22443 paths.hpp:303] Created executor directory 
'/tmp/AllocatorZooKeeperTest_0_SlaveReregistersFirst_umnXk4/slaves/201308052031-143311683-58067-22417-0/frameworks/201308052031-143311683-58067-22417-0000/executors/default/runs/aa3314e2-e0ad-405b-8b76-d7a8bdeb263f'
I0805 20:31:58.549976 22443 slave.cpp:956] Queuing task '0' for executor 
default of framework '201308052031-143311683-58067-22417-0000
I0805 20:31:58.550107 22443 slave.cpp:519] Successfully attached file 
'/tmp/AllocatorZooKeeperTest_0_SlaveReregistersFirst_umnXk4/slaves/201308052031-143311683-58067-22417-0/frameworks/201308052031-143311683-58067-22417-0000/executors/default/runs/aa3314e2-e0ad-405b-8b76-d7a8bdeb263f'
I0805 20:31:58.550149 22445 exec.cpp:171] Executor started at: 
executor(40)@67.195.138.8:58067 with pid 22417
I0805 20:31:58.550241 22443 slave.cpp:1413] Got registration for executor 
'default' of framework 201308052031-143311683-58067-22417-0000
I0805 20:31:58.550314 22443 slave.cpp:1528] Flushing queued task 0 for executor 
'default' of framework 201308052031-143311683-58067-22417-0000
I0805 20:31:58.550382 22445 exec.cpp:195] Executor registered on slave 
201308052031-143311683-58067-22417-0
I0805 20:31:58.550418 22445 exec.cpp:206] Executor::registered took 9.912us
I0805 20:31:58.550487 22445 exec.cpp:274] Executor asked to run task '0'
I0805 20:31:58.550530 22445 exec.cpp:283] Executor::launchTask took 18.631us
I0805 20:31:58.551659 22445 exec.cpp:464] Executor sending status update 
TASK_RUNNING (UUID: a71a4026-1324-4eb2-8b34-0b225f835463) for task 0 of 
framework 201308052031-143311683-58067-22417-0000
I0805 20:31:58.551718 22445 slave.cpp:1710] Handling status update TASK_RUNNING 
(UUID: a71a4026-1324-4eb2-8b34-0b225f835463) for task 0 of framework 
201308052031-143311683-58067-22417-0000 from executor(40)@67.195.138.8:58067
I0805 20:31:58.551851 22446 status_update_manager.cpp:292] Received status 
update TASK_RUNNING (UUID: a71a4026-1324-4eb2-8b34-0b225f835463) for task 0 of 
framework 201308052031-143311683-58067-22417-0000 with checkpoint=false
I0805 20:31:58.551887 22446 status_update_manager.cpp:452] Creating 
StatusUpdate stream for task 0 of framework 
201308052031-143311683-58067-22417-0000
I0805 20:31:58.551990 22446 status_update_manager.cpp:338] Forwarding status 
update TASK_RUNNING (UUID: a71a4026-1324-4eb2-8b34-0b225f835463) for task 0 of 
framework 201308052031-143311683-58067-22417-0000 to [email protected]:58067
I0805 20:31:58.552073 22445 master.cpp:1103] Status update from 
slave(112)@67.195.138.8:58067: task 0 of framework 
201308052031-143311683-58067-22417-0000 is now in state TASK_RUNNING
I0805 20:31:58.552109 22446 slave.cpp:1815] Status update manager successfully 
handled status update TASK_RUNNING (UUID: a71a4026-1324-4eb2-8b34-0b225f835463) 
for task 0 of framework 201308052031-143311683-58067-22417-0000
I0805 20:31:58.552222 22446 slave.cpp:1821] Sending acknowledgement for status 
update TASK_RUNNING (UUID: a71a4026-1324-4eb2-8b34-0b225f835463) for task 0 of 
framework 201308052031-143311683-58067-22417-0000 to 
executor(40)@67.195.138.8:58067
I0805 20:31:58.552182 22441 sched.cpp:395] Scheduler::statusUpdate took 22.032us
I0805 20:31:58.552506 22417 master.cpp:446] Master terminating
I0805 20:31:58.552559 22441 status_update_manager.cpp:362] Received status 
update acknowledgement (UUID: a71a4026-1324-4eb2-8b34-0b225f835463) for task 0 
of framework 201308052031-143311683-58067-22417-0000
I0805 20:31:58.552580 22417 master.cpp:209] Shutting down master
I0805 20:31:58.552669 22446 slave.cpp:1896] [email protected]:58067 exited
W0805 20:31:58.552697 22446 slave.cpp:1899] Master disconnected! Waiting for a 
new master to be elected
I0805 20:31:58.552770 22440 exec.cpp:320] Executor received status update 
acknowledgement a71a4026-1324-4eb2-8b34-0b225f835463 for task 0 of framework 
201308052031-143311683-58067-22417-0000
I0805 20:31:58.552813 22446 slave.cpp:1140] Asked to shut down framework 
201308052031-143311683-58067-22417-0000 by [email protected]:58067
I0805 20:31:58.552886 22446 slave.cpp:1165] Shutting down framework 
201308052031-143311683-58067-22417-0000
I0805 20:31:58.552700 22417 master.hpp:321] Removing task 0 with resources 
cpus(*):1; mem(*):500 on slave 201308052031-143311683-58067-22417-0
I0805 20:31:58.553014 22443 hierarchical_allocator_process.hpp:393] Deactivated 
framework 201308052031-143311683-58067-22417-0000
I0805 20:31:58.553107 22443 hierarchical_allocator_process.hpp:595] Recovered 
cpus(*):1; mem(*):500 (total allocatable: cpus(*):2; mem(*):1024; 
disk(*):20938; ports(*):[31000-32000]) on slave 
201308052031-143311683-58067-22417-0 from framework 
201308052031-143311683-58067-22417-0000
I0805 20:31:58.552960 22446 slave.cpp:2340] Shutting down executor 'default' of 
framework 201308052031-143311683-58067-22417-0000
I0805 20:31:58.553212 22446 slave.cpp:1359] Status update manager successfully 
handled status update acknowledgement (UUID: 
a71a4026-1324-4eb2-8b34-0b225f835463) for task 0 of framework 
201308052031-143311683-58067-22417-0000
I0805 20:31:58.553254 22439 exec.cpp:360] Executor asked to shutdown
I0805 20:31:58.553298 22443 hierarchical_allocator_process.hpp:348] Removed 
framework 201308052031-143311683-58067-22417-0000
I0805 20:31:58.553308 22439 exec.cpp:375] Executor::shutdown took 8.863us
I0805 20:31:58.553884 22444 master.cpp:230] Master started on 67.195.138.8:58067
I0805 20:31:58.553930 22444 master.cpp:245] Master ID: 
201308052031-143311683-58067-22417
W0805 20:31:58.554165 22442 master.cpp:83] No whitelist given. Advertising 
offers for all slaves
I0805 20:31:58.554379 22444 hierarchical_allocator_process.hpp:287] 
Initializing hierarchical allocator process with master : 
[email protected]:58067
I0805 20:31:58.556195 22443 detector.cpp:234] Master detector 
([email protected]:58067) connected to ZooKeeper ...
I0805 20:31:58.556224 22443 detector.cpp:251] Trying to create path '/znode' in 
ZooKeeper
I0805 20:31:58.556476 22444 detector.cpp:420] Master detector 
(slave(112)@67.195.138.8:58067)  found 0 registered masters
I0805 20:31:58.556625 22439 detector.cpp:420] Master detector 
(scheduler(102)@67.195.138.8:58067)  found 0 registered masters
I0805 20:31:58.561765 22439 detector.cpp:441] Master detector 
(scheduler(102)@67.195.138.8:58067) couldn't find any masters
I0805 20:31:58.561718 22444 detector.cpp:441] Master detector 
(slave(112)@67.195.138.8:58067) couldn't find any masters
I0805 20:31:58.561849 22439 sched.cpp:202] No master detected, waiting for 
another master
I0805 20:31:58.561930 22439 sched.cpp:214] Scheduler::disconnected took 8.67us
I0805 20:31:58.561898 22444 slave.cpp:571] Lost master(s) ... waiting
I0805 20:31:58.563104 22443 detector.cpp:281] Created ephemeral/sequence znode 
at '/znode/0000000006'
I0805 20:31:58.563591 22441 detector.cpp:420] Master detector 
(scheduler(102)@67.195.138.8:58067)  found 1 registered masters
I0805 20:31:58.563788 22445 detector.cpp:420] Master detector 
(slave(112)@67.195.138.8:58067)  found 1 registered masters
I0805 20:31:58.563915 22443 detector.cpp:420] Master detector 
([email protected]:58067)  found 1 registered masters
I0805 20:31:58.570201 22441 detector.cpp:467] Master detector 
(scheduler(102)@67.195.138.8:58067)  got new master pid: 
[email protected]:58067
I0805 20:31:58.570309 22441 sched.cpp:178] New master at 
[email protected]:58067
I0805 20:31:58.570406 22445 detector.cpp:467] Master detector 
(slave(112)@67.195.138.8:58067)  got new master pid: [email protected]:58067
I0805 20:31:58.570492 22445 slave.cpp:537] New master detected at 
[email protected]:58067
I0805 20:31:58.570582 22443 detector.cpp:467] Master detector 
([email protected]:58067)  got new master pid: [email protected]:58067
W0805 20:31:58.570680 22441 master.cpp:999] Ignoring re-register slave message 
from minerva.apache.org since not elected yet
I0805 20:31:58.570618 22445 status_update_manager.cpp:157] New master detected 
at [email protected]:58067
I0805 20:31:58.570819 22441 master.cpp:593] Elected as master!
I0805 20:31:59.546875 22444 master.cpp:1044] Attempting to re-register slave 
201308052031-143311683-58067-22417-0 at slave(112)@67.195.138.8:58067 
(minerva.apache.org)
I0805 20:31:59.547001 22444 master.cpp:1951] Adding slave 
201308052031-143311683-58067-22417-0 at minerva.apache.org with cpus(*):2; 
mem(*):1024; disk(*):20938; ports(*):[31000-32000]
I0805 20:31:59.547289 22444 master.hpp:309] Adding task 0 with resources 
cpus(*):1; mem(*):500 on slave 201308052031-143311683-58067-22417-0
I0805 20:31:59.547298 22439 slave.cpp:638] Re-registered with master 
[email protected]:58067
W0805 20:31:59.547341 22444 master.cpp:2043] Possibly orphaned task 0 of 
framework 201308052031-143311683-58067-22417-0000 running on slave 
201308052031-143311683-58067-22417-0 (minerva.apache.org)
I0805 20:31:59.547785 22442 hierarchical_allocator_process.hpp:430] Added slave 
201308052031-143311683-58067-22417-0 (minerva.apache.org) with cpus(*):2; 
mem(*):1024; disk(*):20938; ports(*):[31000-32000] (and cpus(*):1; mem(*):524; 
disk(*):20938; ports(*):[31000-32000] available)
I0805 20:31:59.547899 22442 hierarchical_allocator_process.hpp:666] Performed 
allocation for slave 201308052031-143311683-58067-22417-0 in 10.33us
I0805 20:31:59.554739 22440 hierarchical_allocator_process.hpp:646] Performed 
allocation for 1 slaves in 10.588us
I0805 20:31:59.570955 22446 master.cpp:685] Re-registering framework 
201308052031-143311683-58067-22417-0000 at scheduler(102)@67.195.138.8:58067
W0805 20:31:59.571197 22446 slave.cpp:1301] Ignoring updating pid for framework 
201308052031-143311683-58067-22417-0000 because it is terminating
I0805 20:31:59.571202 22439 sched.cpp:268] Framework re-registered with 
201308052031-143311683-58067-22417-0000
I0805 20:31:59.571419 22439 sched.cpp:282] Scheduler::reregistered took 14.297us
I0805 20:31:59.571236 22445 hierarchical_allocator_process.hpp:317] Added 
framework 201308052031-143311683-58067-22417-0000
I0805 20:31:59.571652 22445 hierarchical_allocator_process.hpp:709] Offering 
cpus(*):1; mem(*):524; disk(*):20938; ports(*):[31000-32000] on slave 
201308052031-143311683-58067-22417-0 to framework 
201308052031-143311683-58067-22417-0000
I0805 20:31:59.571857 22445 hierarchical_allocator_process.hpp:646] Performed 
allocation for 1 slaves in 298.629us
I0805 20:31:59.571928 22444 master.hpp:331] Adding offer 
201308052031-143311683-58067-22417-0 with resources cpus(*):1; mem(*):524; 
disk(*):20938; ports(*):[31000-32000] on slave 
201308052031-143311683-58067-22417-0
I0805 20:31:59.572026 22444 master.cpp:1332] Sending 1 offers to framework 
201308052031-143311683-58067-22417-0000
I0805 20:31:59.572188 22444 sched.cpp:340] Scheduler::resourceOffers took 
27.358us
I0805 20:31:59.572386 22446 sched.cpp:498] Stopping framework 
'201308052031-143311683-58067-22417-0000'
I0805 20:31:59.572404 22417 master.cpp:446] Master terminating
I0805 20:31:59.572511 22417 master.cpp:209] Shutting down master
I0805 20:31:59.572609 22417 master.hpp:321] Removing task 0 with resources 
cpus(*):1; mem(*):500 on slave 201308052031-143311683-58067-22417-0
I0805 20:31:59.572722 22417 master.hpp:341] Removing offer 
201308052031-143311683-58067-22417-0 with resources cpus(*):1; mem(*):524; 
disk(*):20938; ports(*):[31000-32000] on slave 
201308052031-143311683-58067-22417-0
I0805 20:31:59.573122 22441 slave.cpp:493] Slave asked to shut down by 
[email protected]:58067
I0805 20:31:59.573308 22441 slave.cpp:1140] Asked to shut down framework 
201308052031-143311683-58067-22417-0000 by [email protected]:58067
W0805 20:31:59.573346 22441 slave.cpp:1161] Ignoring shutdown framework 
201308052031-143311683-58067-22417-0000 because it is terminating
I0805 20:31:59.573431 22441 slave.cpp:448] Slave terminating
I0805 20:31:59.573487 22441 slave.cpp:1140] Asked to shut down framework 
201308052031-143311683-58067-22417-0000 by @0.0.0.0:0
W0805 20:31:59.573541 22441 slave.cpp:1161] Ignoring shutdown framework 
201308052031-143311683-58067-22417-0000 because it is terminating
[       OK ] AllocatorZooKeeperTest/0.SlaveReregistersFirst (2051 ms)
I0805 20:31:59.578007 22417 zookeeper_test_server.cpp:93] Shutdown 
ZooKeeperTestServer on port 42419
[----------] 2 tests from AllocatorZooKeeperTest/0 (3105 ms total)

[----------] Global test environment tear-down
[==========] 210 tests from 38 test cases ran. (63713 ms total)
[  PASSED  ] 209 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] AllocatorTest/0.RoleTest, where TypeParam = 
mesos::internal::master::allocator::HierarchicalAllocatorProcess<mesos::internal::master::allocator::DRFSorter,
 mesos::internal::master::allocator::DRFSorter>

 1 FAILED TEST
make[3]: *** [check-local] Error 1
make[3]: Leaving directory 
`<https://builds.apache.org/job/Mesos-Trunk-Ubuntu-Build-In-Src-Set-JAVA_HOME/ws/src'>
make[2]: *** [check-am] Error 2
make[2]: Leaving directory 
`<https://builds.apache.org/job/Mesos-Trunk-Ubuntu-Build-In-Src-Set-JAVA_HOME/ws/src'>
make[1]: *** [check] Error 2
make[1]: Leaving directory 
`<https://builds.apache.org/job/Mesos-Trunk-Ubuntu-Build-In-Src-Set-JAVA_HOME/ws/src'>
make: *** [check-recursive] Error 1
Build step 'Execute shell' marked build as failure

Reply via email to