You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Timothy St. Clair" <ts...@redhat.com> on 2014/03/20 20:32:03 UTC

Review Request 19487: Change linkage around libjvm to use dlopen.

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19487/
-----------------------------------------------------------

Review request for mesos, Benjamin Hindman, Till Toenshoff, and Vinod Kone.


Bugs: MESOS-1126
    https://issues.apache.org/jira/browse/MESOS-1126


Repository: mesos-git


Description
-------

The dependency on libjvm is a "hard", requiring an link and rpath. This causes issues when shifting between jvms. The standard practice is to use dlopen against the $JAVA_JVM_LIBRARY location.

MESOS-1126
    + Enable dlopen for libjvm.so
    + Cleanup redundant jni inclusions

This should make MESOS-855 a non-issue.


Diffs
-----

  configure.ac 9a6de87fa6523bf8137f5d74ea0b7c6cbd947d3a 
  src/Makefile.am 0775a0df293e945d41c7ba90fd1bbb503ae22f9e 
  src/java/jni/construct.cpp 0d0207fab6481c7e86d9b59c9e6a1aea1979cf6d 
  src/java/jni/convert.cpp 9f99031bb54b0720d5454ef8795145b4b92da8d4 
  src/java/jni/org_apache_mesos_Log.cpp 05489135fbd890073c58acf55312d621c7a790e7 
  src/java/jni/org_apache_mesos_state_AbstractState.cpp 476bb27dc5a17f78fc5c5beb2b2f33eec5d055a2 
  src/java/jni/org_apache_mesos_state_LevelDBState.cpp 30f63092d3839485da2a8d818febfa85c81df49f 
  src/java/jni/org_apache_mesos_state_ZooKeeperState.cpp c40e6858bc7534443e01ad189173e8cdb56b0fba 
  src/jvm/jvm.cpp d3dfa75db65c3360ef35dac360b6eb57009c7011 

Diff: https://reviews.apache.org/r/19487/diff/


Testing
-------

make check (linux only, MacOS requires input)


Thanks,

Timothy St. Clair


Re: Review Request 19487: Change linkage around libjvm to use dlopen.

Posted by Vinod Kone <vi...@gmail.com>.

> On March 21, 2014, 2:11 p.m., Timothy St. Clair wrote:
> > configure.ac, line 358
> > <https://reviews.apache.org/r/19487/diff/1/?file=530441#file530441line358>
> >
> >     This is an issue around MacOS.  I was hoping a Mac person could give some sage wisdom here.
> 
> Niklas Nielsen wrote:
>     Hey Tim,
>     
>     I can maybe help you out on this RR (and could shepherd it too if you are interested).
>     
>     Niklas

Thanks Niklas for agreeing to shepherd this. Please make sure the end result is backwards compatible.


- Vinod


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19487/#review38093
-----------------------------------------------------------


On March 20, 2014, 7:32 p.m., Timothy St. Clair wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19487/
> -----------------------------------------------------------
> 
> (Updated March 20, 2014, 7:32 p.m.)
> 
> 
> Review request for mesos, Benjamin Hindman, Till Toenshoff, and Vinod Kone.
> 
> 
> Bugs: MESOS-1126
>     https://issues.apache.org/jira/browse/MESOS-1126
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> The dependency on libjvm is a "hard", requiring an link and rpath. This causes issues when shifting between jvms. The standard practice is to use dlopen against the $JAVA_JVM_LIBRARY location.
> 
> MESOS-1126
>     + Enable dlopen for libjvm.so
>     + Cleanup redundant jni inclusions
> 
> This should make MESOS-855 a non-issue.
> 
> 
> Diffs
> -----
> 
>   configure.ac 9a6de87fa6523bf8137f5d74ea0b7c6cbd947d3a 
>   src/Makefile.am 0775a0df293e945d41c7ba90fd1bbb503ae22f9e 
>   src/java/jni/construct.cpp 0d0207fab6481c7e86d9b59c9e6a1aea1979cf6d 
>   src/java/jni/convert.cpp 9f99031bb54b0720d5454ef8795145b4b92da8d4 
>   src/java/jni/org_apache_mesos_Log.cpp 05489135fbd890073c58acf55312d621c7a790e7 
>   src/java/jni/org_apache_mesos_state_AbstractState.cpp 476bb27dc5a17f78fc5c5beb2b2f33eec5d055a2 
>   src/java/jni/org_apache_mesos_state_LevelDBState.cpp 30f63092d3839485da2a8d818febfa85c81df49f 
>   src/java/jni/org_apache_mesos_state_ZooKeeperState.cpp c40e6858bc7534443e01ad189173e8cdb56b0fba 
>   src/jvm/jvm.cpp d3dfa75db65c3360ef35dac360b6eb57009c7011 
> 
> Diff: https://reviews.apache.org/r/19487/diff/
> 
> 
> Testing
> -------
> 
> make check (linux only, MacOS requires input)
> 
> 
> Thanks,
> 
> Timothy St. Clair
> 
>


Re: Review Request 19487: Change linkage around libjvm to use dlopen.

Posted by Tim St Clair <ts...@redhat.com>.
Absolutely.  

Cheers,
Tim

----- Original Message -----
> From: "Niklas Nielsen" <ni...@qni.dk>
> To: "Benjamin Hindman" <be...@berkeley.edu>, "Vinod Kone" <vi...@gmail.com>, "Till Toenshoff" <to...@me.com>
> Cc: "Timothy St. Clair" <ts...@redhat.com>, "Niklas Nielsen" <ni...@qni.dk>, "mesos" <de...@mesos.apache.org>
> Sent: Tuesday, March 25, 2014 7:09:38 PM
> Subject: Re: Review Request 19487: Change linkage around libjvm to use dlopen.
> 
> 
> 
> > On March 21, 2014, 7:11 a.m., Timothy St. Clair wrote:
> > > configure.ac, line 358
> > > <https://reviews.apache.org/r/19487/diff/1/?file=530441#file530441line358>
> > >
> > >     This is an issue around MacOS.  I was hoping a Mac person could give
> > >     some sage wisdom here.
> 
> Hey Tim,
> 
> I can maybe help you out on this RR (and could shepherd it too if you are
> interested).
> 
> Niklas
> 
> 
> - Niklas
> 
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19487/#review38093
> -----------------------------------------------------------
> 
> 
> On March 20, 2014, 12:32 p.m., Timothy St. Clair wrote:
> > 
> > -----------------------------------------------------------
> > This is an automatically generated e-mail. To reply, visit:
> > https://reviews.apache.org/r/19487/
> > -----------------------------------------------------------
> > 
> > (Updated March 20, 2014, 12:32 p.m.)
> > 
> > 
> > Review request for mesos, Benjamin Hindman, Till Toenshoff, and Vinod Kone.
> > 
> > 
> > Bugs: MESOS-1126
> >     https://issues.apache.org/jira/browse/MESOS-1126
> > 
> > 
> > Repository: mesos-git
> > 
> > 
> > Description
> > -------
> > 
> > The dependency on libjvm is a "hard", requiring an link and rpath. This
> > causes issues when shifting between jvms. The standard practice is to use
> > dlopen against the $JAVA_JVM_LIBRARY location.
> > 
> > MESOS-1126
> >     + Enable dlopen for libjvm.so
> >     + Cleanup redundant jni inclusions
> > 
> > This should make MESOS-855 a non-issue.
> > 
> > 
> > Diffs
> > -----
> > 
> >   configure.ac 9a6de87fa6523bf8137f5d74ea0b7c6cbd947d3a
> >   src/Makefile.am 0775a0df293e945d41c7ba90fd1bbb503ae22f9e
> >   src/java/jni/construct.cpp 0d0207fab6481c7e86d9b59c9e6a1aea1979cf6d
> >   src/java/jni/convert.cpp 9f99031bb54b0720d5454ef8795145b4b92da8d4
> >   src/java/jni/org_apache_mesos_Log.cpp
> >   05489135fbd890073c58acf55312d621c7a790e7
> >   src/java/jni/org_apache_mesos_state_AbstractState.cpp
> >   476bb27dc5a17f78fc5c5beb2b2f33eec5d055a2
> >   src/java/jni/org_apache_mesos_state_LevelDBState.cpp
> >   30f63092d3839485da2a8d818febfa85c81df49f
> >   src/java/jni/org_apache_mesos_state_ZooKeeperState.cpp
> >   c40e6858bc7534443e01ad189173e8cdb56b0fba
> >   src/jvm/jvm.cpp d3dfa75db65c3360ef35dac360b6eb57009c7011
> > 
> > Diff: https://reviews.apache.org/r/19487/diff/
> > 
> > 
> > Testing
> > -------
> > 
> > make check (linux only, MacOS requires input)
> > 
> > 
> > Thanks,
> > 
> > Timothy St. Clair
> > 
> >
> 
> 

-- 
Cheers,
Tim
Freedom, Features, Friends, First -> Fedora
https://fedoraproject.org/wiki/SIGs/bigdata

Re: Review Request 19487: Change linkage around libjvm to use dlopen.

Posted by Niklas Nielsen <ni...@qni.dk>.

> On March 21, 2014, 7:11 a.m., Timothy St. Clair wrote:
> > configure.ac, line 358
> > <https://reviews.apache.org/r/19487/diff/1/?file=530441#file530441line358>
> >
> >     This is an issue around MacOS.  I was hoping a Mac person could give some sage wisdom here.

Hey Tim,

I can maybe help you out on this RR (and could shepherd it too if you are interested).

Niklas


- Niklas


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19487/#review38093
-----------------------------------------------------------


On March 20, 2014, 12:32 p.m., Timothy St. Clair wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19487/
> -----------------------------------------------------------
> 
> (Updated March 20, 2014, 12:32 p.m.)
> 
> 
> Review request for mesos, Benjamin Hindman, Till Toenshoff, and Vinod Kone.
> 
> 
> Bugs: MESOS-1126
>     https://issues.apache.org/jira/browse/MESOS-1126
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> The dependency on libjvm is a "hard", requiring an link and rpath. This causes issues when shifting between jvms. The standard practice is to use dlopen against the $JAVA_JVM_LIBRARY location.
> 
> MESOS-1126
>     + Enable dlopen for libjvm.so
>     + Cleanup redundant jni inclusions
> 
> This should make MESOS-855 a non-issue.
> 
> 
> Diffs
> -----
> 
>   configure.ac 9a6de87fa6523bf8137f5d74ea0b7c6cbd947d3a 
>   src/Makefile.am 0775a0df293e945d41c7ba90fd1bbb503ae22f9e 
>   src/java/jni/construct.cpp 0d0207fab6481c7e86d9b59c9e6a1aea1979cf6d 
>   src/java/jni/convert.cpp 9f99031bb54b0720d5454ef8795145b4b92da8d4 
>   src/java/jni/org_apache_mesos_Log.cpp 05489135fbd890073c58acf55312d621c7a790e7 
>   src/java/jni/org_apache_mesos_state_AbstractState.cpp 476bb27dc5a17f78fc5c5beb2b2f33eec5d055a2 
>   src/java/jni/org_apache_mesos_state_LevelDBState.cpp 30f63092d3839485da2a8d818febfa85c81df49f 
>   src/java/jni/org_apache_mesos_state_ZooKeeperState.cpp c40e6858bc7534443e01ad189173e8cdb56b0fba 
>   src/jvm/jvm.cpp d3dfa75db65c3360ef35dac360b6eb57009c7011 
> 
> Diff: https://reviews.apache.org/r/19487/diff/
> 
> 
> Testing
> -------
> 
> make check (linux only, MacOS requires input)
> 
> 
> Thanks,
> 
> Timothy St. Clair
> 
>


Re: Review Request 19487: Change linkage around libjvm to use dlopen.

Posted by "Timothy St. Clair" <ts...@redhat.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19487/#review38093
-----------------------------------------------------------


Looking for a bit of Mac advice around linkage against jvm.


configure.ac
<https://reviews.apache.org/r/19487/#comment70068>

    This is an issue around MacOS.  I was hoping a Mac person could give some sage wisdom here. 


- Timothy St. Clair


On March 20, 2014, 7:32 p.m., Timothy St. Clair wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19487/
> -----------------------------------------------------------
> 
> (Updated March 20, 2014, 7:32 p.m.)
> 
> 
> Review request for mesos, Benjamin Hindman, Till Toenshoff, and Vinod Kone.
> 
> 
> Bugs: MESOS-1126
>     https://issues.apache.org/jira/browse/MESOS-1126
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> The dependency on libjvm is a "hard", requiring an link and rpath. This causes issues when shifting between jvms. The standard practice is to use dlopen against the $JAVA_JVM_LIBRARY location.
> 
> MESOS-1126
>     + Enable dlopen for libjvm.so
>     + Cleanup redundant jni inclusions
> 
> This should make MESOS-855 a non-issue.
> 
> 
> Diffs
> -----
> 
>   configure.ac 9a6de87fa6523bf8137f5d74ea0b7c6cbd947d3a 
>   src/Makefile.am 0775a0df293e945d41c7ba90fd1bbb503ae22f9e 
>   src/java/jni/construct.cpp 0d0207fab6481c7e86d9b59c9e6a1aea1979cf6d 
>   src/java/jni/convert.cpp 9f99031bb54b0720d5454ef8795145b4b92da8d4 
>   src/java/jni/org_apache_mesos_Log.cpp 05489135fbd890073c58acf55312d621c7a790e7 
>   src/java/jni/org_apache_mesos_state_AbstractState.cpp 476bb27dc5a17f78fc5c5beb2b2f33eec5d055a2 
>   src/java/jni/org_apache_mesos_state_LevelDBState.cpp 30f63092d3839485da2a8d818febfa85c81df49f 
>   src/java/jni/org_apache_mesos_state_ZooKeeperState.cpp c40e6858bc7534443e01ad189173e8cdb56b0fba 
>   src/jvm/jvm.cpp d3dfa75db65c3360ef35dac360b6eb57009c7011 
> 
> Diff: https://reviews.apache.org/r/19487/diff/
> 
> 
> Testing
> -------
> 
> make check (linux only, MacOS requires input)
> 
> 
> Thanks,
> 
> Timothy St. Clair
> 
>


Re: Review Request 19487: Change linkage around libjvm to use dlopen.

Posted by Niklas Nielsen <ni...@qni.dk>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19487/#review39663
-----------------------------------------------------------


Hey Tim,

I will give this a ship-it after the three style glitches and when we get input from one of the JVM framework developers (I just pinged Connor who is working on Marathon). 
Thanks for your patience!


src/jvm/jvm.cpp
<https://reviews.apache.org/r/19487/#comment72225>

    End with period



src/jvm/jvm.cpp
<https://reviews.apache.org/r/19487/#comment72226>

    We usually do explicit test:
    
    if (hdl == NULL) {



src/jvm/jvm.cpp
<https://reviews.apache.org/r/19487/#comment72224>

    Can you wrap this line?


- Niklas Nielsen


On April 1, 2014, 7:28 a.m., Timothy St. Clair wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19487/
> -----------------------------------------------------------
> 
> (Updated April 1, 2014, 7:28 a.m.)
> 
> 
> Review request for mesos, Benjamin Hindman, Till Toenshoff, and Vinod Kone.
> 
> 
> Bugs: MESOS-1126
>     https://issues.apache.org/jira/browse/MESOS-1126
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> The dependency on libjvm is a "hard", requiring an link and rpath. This causes issues when shifting between jvms. The standard practice is to use dlopen against the $JAVA_JVM_LIBRARY location.
> 
> MESOS-1126
>     + Enable dlopen for libjvm.so
>     + Cleanup redundant jni inclusions
> 
> This should make MESOS-855 a non-issue.
> 
> 
> Diffs
> -----
> 
>   configure.ac 5404dc2 
>   src/Makefile.am 47d03b3 
>   src/java/jni/construct.cpp 0d0207f 
>   src/java/jni/convert.cpp 9f99031 
>   src/java/jni/org_apache_mesos_Log.cpp 0548913 
>   src/java/jni/org_apache_mesos_state_AbstractState.cpp 476bb27 
>   src/java/jni/org_apache_mesos_state_LevelDBState.cpp 30f6309 
>   src/java/jni/org_apache_mesos_state_ZooKeeperState.cpp c40e685 
>   src/jvm/jvm.cpp d3dfa75 
> 
> Diff: https://reviews.apache.org/r/19487/diff/
> 
> 
> Testing
> -------
> 
> make check (across both Mac and Linux)
> 
> 
> Thanks,
> 
> Timothy St. Clair
> 
>


Re: Review Request 19487: Change linkage around libjvm to use dlopen.

Posted by Mesos ReviewBot <de...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19487/#review39155
-----------------------------------------------------------


Patch looks great!

Reviews applied: [19487]

All tests passed.

- Mesos ReviewBot


On April 1, 2014, 2:28 p.m., Timothy St. Clair wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19487/
> -----------------------------------------------------------
> 
> (Updated April 1, 2014, 2:28 p.m.)
> 
> 
> Review request for mesos, Benjamin Hindman, Till Toenshoff, and Vinod Kone.
> 
> 
> Bugs: MESOS-1126
>     https://issues.apache.org/jira/browse/MESOS-1126
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> The dependency on libjvm is a "hard", requiring an link and rpath. This causes issues when shifting between jvms. The standard practice is to use dlopen against the $JAVA_JVM_LIBRARY location.
> 
> MESOS-1126
>     + Enable dlopen for libjvm.so
>     + Cleanup redundant jni inclusions
> 
> This should make MESOS-855 a non-issue.
> 
> 
> Diffs
> -----
> 
>   configure.ac 5404dc2 
>   src/Makefile.am 47d03b3 
>   src/java/jni/construct.cpp 0d0207f 
>   src/java/jni/convert.cpp 9f99031 
>   src/java/jni/org_apache_mesos_Log.cpp 0548913 
>   src/java/jni/org_apache_mesos_state_AbstractState.cpp 476bb27 
>   src/java/jni/org_apache_mesos_state_LevelDBState.cpp 30f6309 
>   src/java/jni/org_apache_mesos_state_ZooKeeperState.cpp c40e685 
>   src/jvm/jvm.cpp d3dfa75 
> 
> Diff: https://reviews.apache.org/r/19487/diff/
> 
> 
> Testing
> -------
> 
> make check (across both Mac and Linux)
> 
> 
> Thanks,
> 
> Timothy St. Clair
> 
>


Re: Review Request 19487: Change linkage around libjvm to use dlopen.

Posted by "Timothy St. Clair" <ts...@redhat.com>.

> On April 11, 2014, 5:20 p.m., Niklas Nielsen wrote:
> > Just chatted with BenH. Two points:
> > 1) Nit: Can we leave the jni.h includes in for now?
> > 2) Forcing all JVM frameworks to provide JAVA_JVM_LIBRARY is not ideal but multiple JVM's is still a problem.
> > Can we have a fall-back path to the jni.so/dylib found during the build and use it if JAVA_JVM_LIBRARY is not present? Or would that introduce other problems?

I don't really understand the logic behind #1, as the includes were traced and are redundant.  The goal of the patch is to isolate the jni dependency.   

#2 seems reasonable, but may require a configure.in file modification.


- Timothy


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19487/#review40165
-----------------------------------------------------------


On April 11, 2014, 4:34 p.m., Timothy St. Clair wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19487/
> -----------------------------------------------------------
> 
> (Updated April 11, 2014, 4:34 p.m.)
> 
> 
> Review request for mesos, Benjamin Hindman, Niklas Nielsen, and Till Toenshoff.
> 
> 
> Bugs: MESOS-1126
>     https://issues.apache.org/jira/browse/MESOS-1126
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> The dependency on libjvm is a "hard", requiring an link and rpath. This causes issues when shifting between jvms. The standard practice is to use dlopen against the $JAVA_JVM_LIBRARY location.
> 
> MESOS-1126
>     + Enable dlopen for libjvm.so
>     + Cleanup redundant jni inclusions
> 
> This should make MESOS-855 a non-issue.
> 
> 
> Diffs
> -----
> 
>   configure.ac c1de6d7 
>   src/Makefile.am 95f133d 
>   src/java/jni/construct.cpp 0d0207f 
>   src/java/jni/convert.cpp 9f99031 
>   src/java/jni/org_apache_mesos_Log.cpp 0548913 
>   src/java/jni/org_apache_mesos_state_AbstractState.cpp 476bb27 
>   src/java/jni/org_apache_mesos_state_LevelDBState.cpp 30f6309 
>   src/java/jni/org_apache_mesos_state_ZooKeeperState.cpp c40e685 
>   src/jvm/jvm.cpp d3dfa75 
> 
> Diff: https://reviews.apache.org/r/19487/diff/
> 
> 
> Testing
> -------
> 
> make check (across both Mac and Linux)
> 
> 
> Thanks,
> 
> Timothy St. Clair
> 
>


Re: Review Request 19487: Change linkage around libjvm to use dlopen.

Posted by "Timothy St. Clair" <ts...@redhat.com>.

> On April 11, 2014, 5:20 p.m., Niklas Nielsen wrote:
> > Just chatted with BenH. Two points:
> > 1) Nit: Can we leave the jni.h includes in for now?
> > 2) Forcing all JVM frameworks to provide JAVA_JVM_LIBRARY is not ideal but multiple JVM's is still a problem.
> > Can we have a fall-back path to the jni.so/dylib found during the build and use it if JAVA_JVM_LIBRARY is not present? Or would that introduce other problems?
> 
> Timothy St. Clair wrote:
>     I don't really understand the logic behind #1, as the includes were traced and are redundant.  The goal of the patch is to isolate the jni dependency.   
>     
>     #2 seems reasonable, but may require a configure.in file modification.
>

I'll just make the change for #1 to and move forwards, as the isolation is more important. 


- Timothy


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19487/#review40165
-----------------------------------------------------------


On April 11, 2014, 4:34 p.m., Timothy St. Clair wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19487/
> -----------------------------------------------------------
> 
> (Updated April 11, 2014, 4:34 p.m.)
> 
> 
> Review request for mesos, Benjamin Hindman, Niklas Nielsen, and Till Toenshoff.
> 
> 
> Bugs: MESOS-1126
>     https://issues.apache.org/jira/browse/MESOS-1126
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> The dependency on libjvm is a "hard", requiring an link and rpath. This causes issues when shifting between jvms. The standard practice is to use dlopen against the $JAVA_JVM_LIBRARY location.
> 
> MESOS-1126
>     + Enable dlopen for libjvm.so
>     + Cleanup redundant jni inclusions
> 
> This should make MESOS-855 a non-issue.
> 
> 
> Diffs
> -----
> 
>   configure.ac c1de6d7 
>   src/Makefile.am 95f133d 
>   src/java/jni/construct.cpp 0d0207f 
>   src/java/jni/convert.cpp 9f99031 
>   src/java/jni/org_apache_mesos_Log.cpp 0548913 
>   src/java/jni/org_apache_mesos_state_AbstractState.cpp 476bb27 
>   src/java/jni/org_apache_mesos_state_LevelDBState.cpp 30f6309 
>   src/java/jni/org_apache_mesos_state_ZooKeeperState.cpp c40e685 
>   src/jvm/jvm.cpp d3dfa75 
> 
> Diff: https://reviews.apache.org/r/19487/diff/
> 
> 
> Testing
> -------
> 
> make check (across both Mac and Linux)
> 
> 
> Thanks,
> 
> Timothy St. Clair
> 
>


Re: Review Request 19487: Change linkage around libjvm to use dlopen.

Posted by Niklas Nielsen <ni...@qni.dk>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19487/#review40165
-----------------------------------------------------------


Just chatted with BenH. Two points:
1) Nit: Can we leave the jni.h includes in for now?
2) Forcing all JVM frameworks to provide JAVA_JVM_LIBRARY is not ideal but multiple JVM's is still a problem.
Can we have a fall-back path to the jni.so/dylib found during the build and use it if JAVA_JVM_LIBRARY is not present? Or would that introduce other problems?

- Niklas Nielsen


On April 11, 2014, 9:34 a.m., Timothy St. Clair wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19487/
> -----------------------------------------------------------
> 
> (Updated April 11, 2014, 9:34 a.m.)
> 
> 
> Review request for mesos, Benjamin Hindman, Niklas Nielsen, and Till Toenshoff.
> 
> 
> Bugs: MESOS-1126
>     https://issues.apache.org/jira/browse/MESOS-1126
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> The dependency on libjvm is a "hard", requiring an link and rpath. This causes issues when shifting between jvms. The standard practice is to use dlopen against the $JAVA_JVM_LIBRARY location.
> 
> MESOS-1126
>     + Enable dlopen for libjvm.so
>     + Cleanup redundant jni inclusions
> 
> This should make MESOS-855 a non-issue.
> 
> 
> Diffs
> -----
> 
>   configure.ac c1de6d7 
>   src/Makefile.am 95f133d 
>   src/java/jni/construct.cpp 0d0207f 
>   src/java/jni/convert.cpp 9f99031 
>   src/java/jni/org_apache_mesos_Log.cpp 0548913 
>   src/java/jni/org_apache_mesos_state_AbstractState.cpp 476bb27 
>   src/java/jni/org_apache_mesos_state_LevelDBState.cpp 30f6309 
>   src/java/jni/org_apache_mesos_state_ZooKeeperState.cpp c40e685 
>   src/jvm/jvm.cpp d3dfa75 
> 
> Diff: https://reviews.apache.org/r/19487/diff/
> 
> 
> Testing
> -------
> 
> make check (across both Mac and Linux)
> 
> 
> Thanks,
> 
> Timothy St. Clair
> 
>


Re: Review Request 19487: Change linkage around libjvm to use dlopen.

Posted by Mesos ReviewBot <de...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19487/#review40163
-----------------------------------------------------------


Bad patch!

Reviews applied: [19487]

Failed command: make check

Error:
 Making check in .
make[1]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot'
make[1]: Nothing to be done for `check-am'.
make[1]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot'
Making check in 3rdparty
make[1]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty'
make  check-recursive
make[2]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty'
Making check in libprocess
make[3]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess'
Making check in 3rdparty
make[4]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty'
make  check-recursive
make[5]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty'
Making check in stout
make[6]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty/stout'
make[6]: Nothing to be done for `check'.
make[6]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty/stout'
make[6]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty'
make  libgmock.la stout-tests
make[7]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty'
make[7]: `libgmock.la' is up to date.
make[7]: `stout-tests' is up to date.
make[7]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty'
make  check-local
make[7]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty'
./stout-tests
[==========] Running 121 tests from 24 test cases.
[----------] Global test environment set-up.
[----------] 3 tests from Stout
[ RUN      ] Stout.Bytes
[       OK ] Stout.Bytes (0 ms)
[ RUN      ] Stout.Set
[       OK ] Stout.Set (0 ms)
[ RUN      ] Stout.Some
[       OK ] Stout.Some (0 ms)
[----------] 3 tests from Stout (0 ms total)

[----------] 4 tests from Cache
[ RUN      ] Cache.Insert
[       OK ] Cache.Insert (0 ms)
[ RUN      ] Cache.Update
[       OK ] Cache.Update (0 ms)
[ RUN      ] Cache.Erase
[       OK ] Cache.Erase (0 ms)
[ RUN      ] Cache.LRUEviction
[       OK ] Cache.LRUEviction (0 ms)
[----------] 4 tests from Cache (0 ms total)

[----------] 4 tests from DurationTest
[ RUN      ] DurationTest.Comparison
[       OK ] DurationTest.Comparison (0 ms)
[ RUN      ] DurationTest.ParseAndTry
[       OK ] DurationTest.ParseAndTry (1 ms)
[ RUN      ] DurationTest.Arithmetic
[       OK ] DurationTest.Arithmetic (0 ms)
[ RUN      ] DurationTest.OutputFormat
[       OK ] DurationTest.OutputFormat (0 ms)
[----------] 4 tests from DurationTest (1 ms total)

[----------] 1 test from ErrorTest
[ RUN      ] ErrorTest.Test
[       OK ] ErrorTest.Test (0 ms)
[----------] 1 test from ErrorTest (0 ms total)

[----------] 12 tests from FlagsTest
[ RUN      ] FlagsTest.Load
[       OK ] FlagsTest.Load (0 ms)
[ RUN      ] FlagsTest.Add
[       OK ] FlagsTest.Add (0 ms)
[ RUN      ] FlagsTest.Flags
[       OK ] FlagsTest.Flags (0 ms)
[ RUN      ] FlagsTest.LoadFromEnvironment
[       OK ] FlagsTest.LoadFromEnvironment (0 ms)
[ RUN      ] FlagsTest.LoadFromCommandLine
[       OK ] FlagsTest.LoadFromCommandLine (0 ms)
[ RUN      ] FlagsTest.LoadFromCommandLineWithNonFlags
[       OK ] FlagsTest.LoadFromCommandLineWithNonFlags (0 ms)
[ RUN      ] FlagsTest.Stringification
[       OK ] FlagsTest.Stringification (0 ms)
[ RUN      ] FlagsTest.DuplicatesFromEnvironment
[       OK ] FlagsTest.DuplicatesFromEnvironment (0 ms)
[ RUN      ] FlagsTest.DuplicatesFromCommandLine
[       OK ] FlagsTest.DuplicatesFromCommandLine (0 ms)
[ RUN      ] FlagsTest.Errors
[       OK ] FlagsTest.Errors (1 ms)
[ RUN      ] FlagsTest.Usage
[       OK ] FlagsTest.Usage (0 ms)
[ RUN      ] FlagsTest.Duration
[       OK ] FlagsTest.Duration (0 ms)
[----------] 12 tests from FlagsTest (1 ms total)

[----------] 1 test from GzipTest
[ RUN      ] GzipTest.CompressDecompressString
[       OK ] GzipTest.CompressDecompressString (98 ms)
[----------] 1 test from GzipTest (98 ms total)

[----------] 2 tests from HashMapTest
[ RUN      ] HashMapTest.Insert
[       OK ] HashMapTest.Insert (0 ms)
[ RUN      ] HashMapTest.Contains
[       OK ] HashMapTest.Contains (0 ms)
[----------] 2 tests from HashMapTest (0 ms total)

[----------] 2 tests from HashsetTest
[ RUN      ] HashsetTest.Insert
[       OK ] HashsetTest.Insert (0 ms)
[ RUN      ] HashsetTest.Union
[       OK ] HashsetTest.Union (0 ms)
[----------] 2 tests from HashsetTest (0 ms total)

[----------] 8 tests from IntervalTest
[ RUN      ] IntervalTest.Interval
[       OK ] IntervalTest.Interval (0 ms)
[ RUN      ] IntervalTest.EmptyInterval
[       OK ] IntervalTest.EmptyInterval (0 ms)
[ RUN      ] IntervalTest.Constructor
[       OK ] IntervalTest.Constructor (0 ms)
[ RUN      ] IntervalTest.Addition
[       OK ] IntervalTest.Addition (0 ms)
[ RUN      ] IntervalTest.Subtraction
[       OK ] IntervalTest.Subtraction (0 ms)
[ RUN      ] IntervalTest.Intersection
[       OK ] IntervalTest.Intersection (0 ms)
[ RUN      ] IntervalTest.LargeInterval
[       OK ] IntervalTest.LargeInterval (0 ms)
[ RUN      ] IntervalTest.IntervalIteration
[       OK ] IntervalTest.IntervalIteration (0 ms)
[----------] 8 tests from IntervalTest (1 ms total)

[----------] 8 tests from JsonTest
[ RUN      ] JsonTest.DefaultValueIsNull
[       OK ] JsonTest.DefaultValueIsNull (0 ms)
[ RUN      ] JsonTest.BinaryData
[       OK ] JsonTest.BinaryData (0 ms)
[ RUN      ] JsonTest.NumberFormat
[       OK ] JsonTest.NumberFormat (0 ms)
[ RUN      ] JsonTest.BooleanFormat
[       OK ] JsonTest.BooleanFormat (0 ms)
[ RUN      ] JsonTest.BooleanAssignement
[       OK ] JsonTest.BooleanAssignement (0 ms)
[ RUN      ] JsonTest.CStringAssignment
[       OK ] JsonTest.CStringAssignment (0 ms)
[ RUN      ] JsonTest.NumericAssignment
[       OK ] JsonTest.NumericAssignment (0 ms)
[ RUN      ] JsonTest.parse
[       OK ] JsonTest.parse (0 ms)
[----------] 8 tests from JsonTest (0 ms total)

[----------] 5 tests from LinkedHashmapTest
[ RUN      ] LinkedHashmapTest.Put
[       OK ] LinkedHashmapTest.Put (0 ms)
[ RUN      ] LinkedHashmapTest.Contains
[       OK ] LinkedHashmapTest.Contains (0 ms)
[ RUN      ] LinkedHashmapTest.Erase
[       OK ] LinkedHashmapTest.Erase (0 ms)
[ RUN      ] LinkedHashmapTest.Keys
[       OK ] LinkedHashmapTest.Keys (0 ms)
[ RUN      ] LinkedHashmapTest.Values
[       OK ] LinkedHashmapTest.Values (0 ms)
[----------] 5 tests from LinkedHashmapTest (0 ms total)

[----------] 6 tests from MultimapTest/0, where TypeParam = Multimap<std::string, unsigned short>
[ RUN      ] MultimapTest/0.Put
[       OK ] MultimapTest/0.Put (0 ms)
[ RUN      ] MultimapTest/0.Remove
[       OK ] MultimapTest/0.Remove (0 ms)
[ RUN      ] MultimapTest/0.Size
[       OK ] MultimapTest/0.Size (0 ms)
[ RUN      ] MultimapTest/0.Keys
[       OK ] MultimapTest/0.Keys (0 ms)
[ RUN      ] MultimapTest/0.Iterator
[       OK ] MultimapTest/0.Iterator (0 ms)
[ RUN      ] MultimapTest/0.Foreach
[       OK ] MultimapTest/0.Foreach (0 ms)
[----------] 6 tests from MultimapTest/0 (0 ms total)

[----------] 6 tests from MultimapTest/1, where TypeParam = multihashmap<std::string, unsigned short>
[ RUN      ] MultimapTest/1.Put
[       OK ] MultimapTest/1.Put (0 ms)
[ RUN      ] MultimapTest/1.Remove
[       OK ] MultimapTest/1.Remove (0 ms)
[ RUN      ] MultimapTest/1.Size
[       OK ] MultimapTest/1.Size (0 ms)
[ RUN      ] MultimapTest/1.Keys
[       OK ] MultimapTest/1.Keys (0 ms)
[ RUN      ] MultimapTest/1.Iterator
[       OK ] MultimapTest/1.Iterator (0 ms)
[ RUN      ] MultimapTest/1.Foreach
[       OK ] MultimapTest/1.Foreach (0 ms)
[----------] 6 tests from MultimapTest/1 (0 ms total)

[----------] 4 tests from NetTest
[ RUN      ] NetTest.mac
[       OK ] NetTest.mac (1 ms)
[ RUN      ] NetTest.ConstructMAC
[       OK ] NetTest.ConstructMAC (0 ms)
[ RUN      ] NetTest.ip
[       OK ] NetTest.ip (0 ms)
[ RUN      ] NetTest.ConstructIP
[       OK ] NetTest.ConstructIP (0 ms)
[----------] 4 tests from NetTest (1 ms total)

[----------] 1 test from NoneTest
[ RUN      ] NoneTest.Test
[       OK ] NoneTest.Test (0 ms)
[----------] 1 test from NoneTest (0 ms total)

[----------] 3 tests from OptionTest
[ RUN      ] OptionTest.Min
[       OK ] OptionTest.Min (0 ms)
[ RUN      ] OptionTest.Max
[       OK ] OptionTest.Max (0 ms)
[ RUN      ] OptionTest.Comparison
[       OK ] OptionTest.Comparison (0 ms)
[----------] 3 tests from OptionTest (0 ms total)

[----------] 18 tests from OsTest
[ RUN      ] OsTest.environment
[       OK ] OsTest.environment (1 ms)
[ RUN      ] OsTest.rmdir
[       OK ] OsTest.rmdir (0 ms)
[ RUN      ] OsTest.system
sh: 1: invalid.command: not found
[       OK ] OsTest.system (8 ms)
[ RUN      ] OsTest.nonblock
[       OK ] OsTest.nonblock (0 ms)
[ RUN      ] OsTest.touch
[       OK ] OsTest.touch (1 ms)
[ RUN      ] OsTest.readWriteString
[       OK ] OsTest.readWriteString (1 ms)
[ RUN      ] OsTest.find
[       OK ] OsTest.find (1 ms)
[ RUN      ] OsTest.bootId
[       OK ] OsTest.bootId (0 ms)
[ RUN      ] OsTest.uname
[       OK ] OsTest.uname (0 ms)
[ RUN      ] OsTest.sysname
[       OK ] OsTest.sysname (506 ms)
[ RUN      ] OsTest.release
[       OK ] OsTest.release (0 ms)
[ RUN      ] OsTest.sleep
[       OK ] OsTest.sleep (10 ms)
[ RUN      ] OsTest.pids
[       OK ] OsTest.pids (546 ms)
[ RUN      ] OsTest.children
[       OK ] OsTest.children (92 ms)
[ RUN      ] OsTest.process
[       OK ] OsTest.process (0 ms)
[ RUN      ] OsTest.processes
[       OK ] OsTest.processes (31 ms)
[ RUN      ] OsTest.killtree
[       OK ] OsTest.killtree (226 ms)
[ RUN      ] OsTest.pstree
[       OK ] OsTest.pstree (65 ms)
[----------] 18 tests from OsTest (1488 ms total)

[----------] 1 test from ProtobufTest
[ RUN      ] ProtobufTest.JSON
[       OK ] ProtobufTest.JSON (1 ms)
[----------] 1 test from ProtobufTest (1 ms total)

[----------] 1 test from OsSendfileTest
[ RUN      ] OsSendfileTest.sendfile
[       OK ] OsSendfileTest.sendfile (0 ms)
[----------] 1 test from OsSendfileTest (0 ms total)

[----------] 1 test from OsSignalsTest
[ RUN      ] OsSignalsTest.suppress
[       OK ] OsSignalsTest.suppress (0 ms)
[----------] 1 test from OsSignalsTest (0 ms total)

[----------] 22 tests from StringsTest
[ RUN      ] StringsTest.Format
[       OK ] StringsTest.Format (0 ms)
[ RUN      ] StringsTest.Remove
[       OK ] StringsTest.Remove (0 ms)
[ RUN      ] StringsTest.Replace
[       OK ] StringsTest.Replace (0 ms)
[ RUN      ] StringsTest.Trim
[       OK ] StringsTest.Trim (0 ms)
[ RUN      ] StringsTest.Tokenize
[       OK ] StringsTest.Tokenize (0 ms)
[ RUN      ] StringsTest.TokenizeStringWithDelimsAtStart
[       OK ] StringsTest.TokenizeStringWithDelimsAtStart (0 ms)
[ RUN      ] StringsTest.TokenizeStringWithDelimsAtEnd
[       OK ] StringsTest.TokenizeStringWithDelimsAtEnd (0 ms)
[ RUN      ] StringsTest.TokenizeStringWithDelimsAtStartAndEnd
[       OK ] StringsTest.TokenizeStringWithDelimsAtStartAndEnd (0 ms)
[ RUN      ] StringsTest.TokenizeWithMultipleDelims
[       OK ] StringsTest.TokenizeWithMultipleDelims (0 ms)
[ RUN      ] StringsTest.TokenizeEmptyString
[       OK ] StringsTest.TokenizeEmptyString (0 ms)
[ RUN      ] StringsTest.TokenizeDelimOnlyString
[       OK ] StringsTest.TokenizeDelimOnlyString (0 ms)
[ RUN      ] StringsTest.TokenizeNullByteDelim
[       OK ] StringsTest.TokenizeNullByteDelim (0 ms)
[ RUN      ] StringsTest.SplitEmptyString
[       OK ] StringsTest.SplitEmptyString (0 ms)
[ RUN      ] StringsTest.SplitDelimOnlyString
[       OK ] StringsTest.SplitDelimOnlyString (0 ms)
[ RUN      ] StringsTest.Split
[       OK ] StringsTest.Split (0 ms)
[ RUN      ] StringsTest.SplitStringWithDelimsAtStart
[       OK ] StringsTest.SplitStringWithDelimsAtStart (0 ms)
[ RUN      ] StringsTest.SplitStringWithDelimsAtEnd
[       OK ] StringsTest.SplitStringWithDelimsAtEnd (0 ms)
[ RUN      ] StringsTest.SplitStringWithDelimsAtStartAndEnd
[       OK ] StringsTest.SplitStringWithDelimsAtStartAndEnd (0 ms)
[ RUN      ] StringsTest.SplitWithMultipleDelims
[       OK ] StringsTest.SplitWithMultipleDelims (1 ms)
[ RUN      ] StringsTest.Pairs
[       OK ] StringsTest.Pairs (0 ms)
[ RUN      ] StringsTest.StartsWith
[       OK ] StringsTest.StartsWith (0 ms)
[ RUN      ] StringsTest.Contains
[       OK ] StringsTest.Contains (0 ms)
[----------] 22 tests from StringsTest (1 ms total)

[----------] 1 test from Thread
[ RUN      ] Thread.local
[       OK ] Thread.local (0 ms)
[----------] 1 test from Thread (0 ms total)

[----------] 1 test from UUIDTest
[ RUN      ] UUIDTest.test
[       OK ] UUIDTest.test (0 ms)
[----------] 1 test from UUIDTest (0 ms total)

[----------] 6 tests from ProcTest
[ RUN      ] ProcTest.pids
[       OK ] ProcTest.pids (2 ms)
[ RUN      ] ProcTest.cpus
[       OK ] ProcTest.cpus (0 ms)
[ RUN      ] ProcTest.SystemStatus
[       OK ] ProcTest.SystemStatus (0 ms)
[ RUN      ] ProcTest.ProcessStatus
[       OK ] ProcTest.ProcessStatus (1 ms)
[ RUN      ] ProcTest.SingleThread
[       OK ] ProcTest.SingleThread (0 ms)
[ RUN      ] ProcTest.MultipleThreads
stout/tests/proc_tests.cpp:164: Failure
read is NONE
[  FAILED  ] ProcTest.MultipleThreads (2 ms)
[----------] 6 tests from ProcTest (5 ms total)

[----------] Global test environment tear-down
[==========] 121 tests from 24 test cases ran. (1598 ms total)
[  PASSED  ] 120 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] ProcTest.MultipleThreads

 1 FAILED TEST
make[7]: *** [check-local] Error 1
make[7]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty'
make[6]: *** [check-am] Error 2
make[6]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty'
make[5]: *** [check-recursive] Error 1
make[5]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty'
make[4]: *** [check] Error 2
make[4]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty'
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty'
make[1]: *** [check] Error 2
make[1]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty'
make: *** [check-recursive] Error 1


- Mesos ReviewBot


On April 11, 2014, 4:34 p.m., Timothy St. Clair wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19487/
> -----------------------------------------------------------
> 
> (Updated April 11, 2014, 4:34 p.m.)
> 
> 
> Review request for mesos, Benjamin Hindman, Niklas Nielsen, and Till Toenshoff.
> 
> 
> Bugs: MESOS-1126
>     https://issues.apache.org/jira/browse/MESOS-1126
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> The dependency on libjvm is a "hard", requiring an link and rpath. This causes issues when shifting between jvms. The standard practice is to use dlopen against the $JAVA_JVM_LIBRARY location.
> 
> MESOS-1126
>     + Enable dlopen for libjvm.so
>     + Cleanup redundant jni inclusions
> 
> This should make MESOS-855 a non-issue.
> 
> 
> Diffs
> -----
> 
>   configure.ac c1de6d7 
>   src/Makefile.am 95f133d 
>   src/java/jni/construct.cpp 0d0207f 
>   src/java/jni/convert.cpp 9f99031 
>   src/java/jni/org_apache_mesos_Log.cpp 0548913 
>   src/java/jni/org_apache_mesos_state_AbstractState.cpp 476bb27 
>   src/java/jni/org_apache_mesos_state_LevelDBState.cpp 30f6309 
>   src/java/jni/org_apache_mesos_state_ZooKeeperState.cpp c40e685 
>   src/jvm/jvm.cpp d3dfa75 
> 
> Diff: https://reviews.apache.org/r/19487/diff/
> 
> 
> Testing
> -------
> 
> make check (across both Mac and Linux)
> 
> 
> Thanks,
> 
> Timothy St. Clair
> 
>


Re: Review Request 19487: Change linkage around libjvm to use dlopen.

Posted by "Timothy St. Clair" <ts...@redhat.com>.

> On April 14, 2014, 5:19 p.m., Benjamin Hindman wrote:
> > configure.ac, lines 165-167
> > <https://reviews.apache.org/r/19487/diff/7/?file=555431#file555431line165>
> >
> >     Given these changes, I feel like taking JAVA_LDFLAGS is misleading since we're not actually linking libjvm into anything (IIUC). In fact, I'd even prefer to simplify our configure tests to just compile (is there any advantage in checking that we can link?).

Correct, it will be removed in the next patch. 


- Timothy


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19487/#review40273
-----------------------------------------------------------


On April 11, 2014, 8:28 p.m., Timothy St. Clair wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19487/
> -----------------------------------------------------------
> 
> (Updated April 11, 2014, 8:28 p.m.)
> 
> 
> Review request for mesos, Benjamin Hindman, Niklas Nielsen, and Till Toenshoff.
> 
> 
> Bugs: MESOS-1126
>     https://issues.apache.org/jira/browse/MESOS-1126
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> The dependency on libjvm is a "hard", requiring an link and rpath. This causes issues when shifting between jvms. The standard practice is to use dlopen against the $JAVA_JVM_LIBRARY location.
> 
> MESOS-1126
>     + Enable dlopen for libjvm.so
>     + Cleanup redundant jni inclusions
> 
> This should make MESOS-855 a non-issue.
> 
> 
> Diffs
> -----
> 
>   configure.ac c1de6d7 
>   src/Makefile.am 95f133d 
>   src/common/build.hpp 115e9cc 
>   src/common/build.cpp eed08ed 
>   src/jvm/jvm.cpp d3dfa75 
> 
> Diff: https://reviews.apache.org/r/19487/diff/
> 
> 
> Testing
> -------
> 
> make check (across both Mac and Linux)
> 
> 
> Thanks,
> 
> Timothy St. Clair
> 
>


Re: Review Request 19487: Change linkage around libjvm to use dlopen.

Posted by Benjamin Hindman <be...@berkeley.edu>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19487/#review40273
-----------------------------------------------------------



configure.ac
<https://reviews.apache.org/r/19487/#comment73236>

    Given these changes, I feel like taking JAVA_LDFLAGS is misleading since we're not actually linking libjvm into anything (IIUC). In fact, I'd even prefer to simplify our configure tests to just compile (is there any advantage in checking that we can link?).



src/jvm/jvm.cpp
<https://reviews.apache.org/r/19487/#comment73237>

    We put headers in alphabetical order (after being ordered by what could/should be installed before what's local), so please move this above the '#include "jvm/jvm.hpp"'.



src/jvm/jvm.cpp
<https://reviews.apache.org/r/19487/#comment73238>

    s/void * hdl/void* handle/ please.



src/jvm/jvm.cpp
<https://reviews.apache.org/r/19487/#comment73239>

    Can we please move the typedef down here where it's used to keep it local?



src/jvm/jvm.cpp
<https://reviews.apache.org/r/19487/#comment73240>

    Wow, that is so cool that this is all it takes to separate us from linking in libjvm!!!


- Benjamin Hindman


On April 11, 2014, 8:28 p.m., Timothy St. Clair wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19487/
> -----------------------------------------------------------
> 
> (Updated April 11, 2014, 8:28 p.m.)
> 
> 
> Review request for mesos, Benjamin Hindman, Niklas Nielsen, and Till Toenshoff.
> 
> 
> Bugs: MESOS-1126
>     https://issues.apache.org/jira/browse/MESOS-1126
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> The dependency on libjvm is a "hard", requiring an link and rpath. This causes issues when shifting between jvms. The standard practice is to use dlopen against the $JAVA_JVM_LIBRARY location.
> 
> MESOS-1126
>     + Enable dlopen for libjvm.so
>     + Cleanup redundant jni inclusions
> 
> This should make MESOS-855 a non-issue.
> 
> 
> Diffs
> -----
> 
>   configure.ac c1de6d7 
>   src/Makefile.am 95f133d 
>   src/common/build.hpp 115e9cc 
>   src/common/build.cpp eed08ed 
>   src/jvm/jvm.cpp d3dfa75 
> 
> Diff: https://reviews.apache.org/r/19487/diff/
> 
> 
> Testing
> -------
> 
> make check (across both Mac and Linux)
> 
> 
> Thanks,
> 
> Timothy St. Clair
> 
>


Re: Review Request 19487: Change linkage around libjvm to use dlopen.

Posted by Mesos ReviewBot <de...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19487/#review41036
-----------------------------------------------------------


Patch looks great!

Reviews applied: [19487]

All tests passed.

- Mesos ReviewBot


On April 22, 2014, 4:22 p.m., Timothy St. Clair wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19487/
> -----------------------------------------------------------
> 
> (Updated April 22, 2014, 4:22 p.m.)
> 
> 
> Review request for mesos, Benjamin Hindman, Niklas Nielsen, and Till Toenshoff.
> 
> 
> Bugs: MESOS-1126
>     https://issues.apache.org/jira/browse/MESOS-1126
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> The dependency on libjvm is a "hard", requiring an link and rpath. This causes issues when shifting between jvms. The standard practice is to use dlopen against the $JAVA_JVM_LIBRARY location.
> 
> MESOS-1126
>     + Enable dlopen for libjvm.so
>     + Cleanup redundant jni inclusions
> 
> This should make MESOS-855 a non-issue.
> 
> 
> Diffs
> -----
> 
>   configure.ac c1de6d7 
>   src/Makefile.am a44ea42 
>   src/common/build.hpp 115e9cc 
>   src/common/build.cpp eed08ed 
>   src/jvm/jvm.cpp d3dfa75 
> 
> Diff: https://reviews.apache.org/r/19487/diff/
> 
> 
> Testing
> -------
> 
> make check (across both Mac and Linux)
> 
> 
> Thanks,
> 
> Timothy St. Clair
> 
>


Re: Review Request 19487: Change linkage around libjvm to use dlopen.

Posted by "Timothy St. Clair" <ts...@redhat.com>.

> On April 23, 2014, 5:08 p.m., Vinod Kone wrote:
> > src/jvm/jvm.cpp, line 64
> > <https://reviews.apache.org/r/19487/diff/9/?file=565610#file565610line64>
> >
> >     So is it the expectation now that the java frameworks now set this environment variable?
> >     
> >     IIUC, in the absence of the env, this will default to the jvm_library path used during mesos build which likely will be different from the jvm during runtime. Won't this break existing frameworks?
> >     
> >     Can we have a proper deprecation cycle?
> >     
> >     It is entirely possible that I misunderstood how this tooling works, so please correct me if I'm wrong.
> 
> Benjamin Hindman wrote:
>     Java frameworks only need to set this environment variable if they don't want the "default" libjvm to get loaded.
>     
>     In the absence of this env we should get exactly the same behavior as when we were linking the library at compile time, we'll just load it dynamically at run time.
>     
>     Since frameworks won't notice anything different (there's strictly added functionality, i.e., the ability to change libjvm at runtime), there's no need for a deprecation cycle.
>     
>     Tim, did I get all that right!? ;-)

Yup, that is correct.


- Timothy


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19487/#review41154
-----------------------------------------------------------


On April 23, 2014, 5:09 p.m., Timothy St. Clair wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19487/
> -----------------------------------------------------------
> 
> (Updated April 23, 2014, 5:09 p.m.)
> 
> 
> Review request for mesos, Benjamin Hindman, Brenden Matthews, Niklas Nielsen, Till Toenshoff, Tobi Knaup, and Bill Farner.
> 
> 
> Bugs: MESOS-1126
>     https://issues.apache.org/jira/browse/MESOS-1126
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> The dependency on libjvm is a "hard", requiring an link and rpath. This causes issues when shifting between jvms. The standard practice is to use dlopen against the $JAVA_JVM_LIBRARY location.
> 
> MESOS-1126
>     + Enable dlopen for libjvm.so
>     + Cleanup redundant jni inclusions
> 
> This should make MESOS-855 a non-issue.
> 
> 
> Diffs
> -----
> 
>   configure.ac c1de6d7 
>   src/Makefile.am a44ea42 
>   src/common/build.hpp 115e9cc 
>   src/common/build.cpp eed08ed 
>   src/jvm/jvm.cpp d3dfa75 
> 
> Diff: https://reviews.apache.org/r/19487/diff/
> 
> 
> Testing
> -------
> 
> make check (across both Mac and Linux)
> 
> 
> Thanks,
> 
> Timothy St. Clair
> 
>


Re: Review Request 19487: Change linkage around libjvm to use dlopen.

Posted by Benjamin Hindman <be...@berkeley.edu>.

> On April 23, 2014, 5:08 p.m., Vinod Kone wrote:
> > src/jvm/jvm.cpp, line 64
> > <https://reviews.apache.org/r/19487/diff/9/?file=565610#file565610line64>
> >
> >     So is it the expectation now that the java frameworks now set this environment variable?
> >     
> >     IIUC, in the absence of the env, this will default to the jvm_library path used during mesos build which likely will be different from the jvm during runtime. Won't this break existing frameworks?
> >     
> >     Can we have a proper deprecation cycle?
> >     
> >     It is entirely possible that I misunderstood how this tooling works, so please correct me if I'm wrong.

Java frameworks only need to set this environment variable if they don't want the "default" libjvm to get loaded.

In the absence of this env we should get exactly the same behavior as when we were linking the library at compile time, we'll just load it dynamically at run time.

Since frameworks won't notice anything different (there's strictly added functionality, i.e., the ability to change libjvm at runtime), there's no need for a deprecation cycle.

Tim, did I get all that right!? ;-)


- Benjamin


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19487/#review41154
-----------------------------------------------------------


On April 23, 2014, 5:09 p.m., Timothy St. Clair wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19487/
> -----------------------------------------------------------
> 
> (Updated April 23, 2014, 5:09 p.m.)
> 
> 
> Review request for mesos, Benjamin Hindman, Brenden Matthews, Niklas Nielsen, Till Toenshoff, Tobi Knaup, and Bill Farner.
> 
> 
> Bugs: MESOS-1126
>     https://issues.apache.org/jira/browse/MESOS-1126
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> The dependency on libjvm is a "hard", requiring an link and rpath. This causes issues when shifting between jvms. The standard practice is to use dlopen against the $JAVA_JVM_LIBRARY location.
> 
> MESOS-1126
>     + Enable dlopen for libjvm.so
>     + Cleanup redundant jni inclusions
> 
> This should make MESOS-855 a non-issue.
> 
> 
> Diffs
> -----
> 
>   configure.ac c1de6d7 
>   src/Makefile.am a44ea42 
>   src/common/build.hpp 115e9cc 
>   src/common/build.cpp eed08ed 
>   src/jvm/jvm.cpp d3dfa75 
> 
> Diff: https://reviews.apache.org/r/19487/diff/
> 
> 
> Testing
> -------
> 
> make check (across both Mac and Linux)
> 
> 
> Thanks,
> 
> Timothy St. Clair
> 
>


Re: Review Request 19487: Change linkage around libjvm to use dlopen.

Posted by Vinod Kone <vi...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19487/#review41154
-----------------------------------------------------------



configure.ac
<https://reviews.apache.org/r/19487/#comment74565>

    reorder them to be consistent with how you did above.



src/jvm/jvm.cpp
<https://reviews.apache.org/r/19487/#comment74566>

    So is it the expectation now that the java frameworks now set this environment variable?
    
    IIUC, in the absence of the env, this will default to the jvm_library path used during mesos build which likely will be different from the jvm during runtime. Won't this break existing frameworks?
    
    Can we have a proper deprecation cycle?
    
    It is entirely possible that I misunderstood how this tooling works, so please correct me if I'm wrong.


- Vinod Kone


On April 23, 2014, 4:36 p.m., Timothy St. Clair wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19487/
> -----------------------------------------------------------
> 
> (Updated April 23, 2014, 4:36 p.m.)
> 
> 
> Review request for mesos, Benjamin Hindman, Niklas Nielsen, and Till Toenshoff.
> 
> 
> Bugs: MESOS-1126
>     https://issues.apache.org/jira/browse/MESOS-1126
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> The dependency on libjvm is a "hard", requiring an link and rpath. This causes issues when shifting between jvms. The standard practice is to use dlopen against the $JAVA_JVM_LIBRARY location.
> 
> MESOS-1126
>     + Enable dlopen for libjvm.so
>     + Cleanup redundant jni inclusions
> 
> This should make MESOS-855 a non-issue.
> 
> 
> Diffs
> -----
> 
>   configure.ac c1de6d7 
>   src/Makefile.am a44ea42 
>   src/common/build.hpp 115e9cc 
>   src/common/build.cpp eed08ed 
>   src/jvm/jvm.cpp d3dfa75 
> 
> Diff: https://reviews.apache.org/r/19487/diff/
> 
> 
> Testing
> -------
> 
> make check (across both Mac and Linux)
> 
> 
> Thanks,
> 
> Timothy St. Clair
> 
>


Re: Review Request 19487: Change linkage around libjvm to use dlopen.

Posted by Niklas Nielsen <ni...@qni.dk>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19487/#review41151
-----------------------------------------------------------

Ship it!


Ship It!

- Niklas Nielsen


On April 23, 2014, 9:36 a.m., Timothy St. Clair wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19487/
> -----------------------------------------------------------
> 
> (Updated April 23, 2014, 9:36 a.m.)
> 
> 
> Review request for mesos, Benjamin Hindman, Niklas Nielsen, and Till Toenshoff.
> 
> 
> Bugs: MESOS-1126
>     https://issues.apache.org/jira/browse/MESOS-1126
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> The dependency on libjvm is a "hard", requiring an link and rpath. This causes issues when shifting between jvms. The standard practice is to use dlopen against the $JAVA_JVM_LIBRARY location.
> 
> MESOS-1126
>     + Enable dlopen for libjvm.so
>     + Cleanup redundant jni inclusions
> 
> This should make MESOS-855 a non-issue.
> 
> 
> Diffs
> -----
> 
>   configure.ac c1de6d7 
>   src/Makefile.am a44ea42 
>   src/common/build.hpp 115e9cc 
>   src/common/build.cpp eed08ed 
>   src/jvm/jvm.cpp d3dfa75 
> 
> Diff: https://reviews.apache.org/r/19487/diff/
> 
> 
> Testing
> -------
> 
> make check (across both Mac and Linux)
> 
> 
> Thanks,
> 
> Timothy St. Clair
> 
>


Re: Review Request 19487: Change linkage around libjvm to use dlopen.

Posted by Benjamin Hindman <be...@berkeley.edu>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19487/#review41313
-----------------------------------------------------------


Niklas had already committed this for you Tim so I made the minor cleanup on your behalf and am marking this review as submitted now. Thanks!

- Benjamin Hindman


On April 23, 2014, 7:28 p.m., Timothy St. Clair wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19487/
> -----------------------------------------------------------
> 
> (Updated April 23, 2014, 7:28 p.m.)
> 
> 
> Review request for mesos, Benjamin Hindman, Brenden Matthews, Niklas Nielsen, Till Toenshoff, Tobi Knaup, and Bill Farner.
> 
> 
> Bugs: MESOS-1126
>     https://issues.apache.org/jira/browse/MESOS-1126
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> The dependency on libjvm is a "hard", requiring an link and rpath. This causes issues when shifting between jvms. The standard practice is to use dlopen against the $JAVA_JVM_LIBRARY location.
> 
> MESOS-1126
>     + Enable dlopen for libjvm.so
> 
> This should make MESOS-855 a non-issue.
> 
> 
> Diffs
> -----
> 
>   configure.ac c1de6d7 
>   src/Makefile.am a44ea42 
>   src/common/build.hpp 115e9cc 
>   src/common/build.cpp eed08ed 
>   src/jvm/jvm.cpp d3dfa75 
> 
> Diff: https://reviews.apache.org/r/19487/diff/
> 
> 
> Testing
> -------
> 
> make check (across both Mac and Linux)
> 
> 
> Thanks,
> 
> Timothy St. Clair
> 
>


Re: Review Request 19487: Change linkage around libjvm to use dlopen.

Posted by "Timothy St. Clair" <ts...@redhat.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19487/
-----------------------------------------------------------

(Updated April 23, 2014, 7:28 p.m.)


Review request for mesos, Benjamin Hindman, Brenden Matthews, Niklas Nielsen, Till Toenshoff, Tobi Knaup, and Bill Farner.


Changes
-------

minor update per vinod's request. 


Bugs: MESOS-1126
    https://issues.apache.org/jira/browse/MESOS-1126


Repository: mesos-git


Description (updated)
-------

The dependency on libjvm is a "hard", requiring an link and rpath. This causes issues when shifting between jvms. The standard practice is to use dlopen against the $JAVA_JVM_LIBRARY location.

MESOS-1126
    + Enable dlopen for libjvm.so

This should make MESOS-855 a non-issue.


Diffs (updated)
-----

  configure.ac c1de6d7 
  src/Makefile.am a44ea42 
  src/common/build.hpp 115e9cc 
  src/common/build.cpp eed08ed 
  src/jvm/jvm.cpp d3dfa75 

Diff: https://reviews.apache.org/r/19487/diff/


Testing
-------

make check (across both Mac and Linux)


Thanks,

Timothy St. Clair


Re: Review Request 19487: Change linkage around libjvm to use dlopen.

Posted by Brenden Matthews <br...@diddyinc.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19487/#review41165
-----------------------------------------------------------

Ship it!


Seems reasonable, and the patch looks good; +1 from me.

- Brenden Matthews


On April 23, 2014, 5:09 p.m., Timothy St. Clair wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19487/
> -----------------------------------------------------------
> 
> (Updated April 23, 2014, 5:09 p.m.)
> 
> 
> Review request for mesos, Benjamin Hindman, Brenden Matthews, Niklas Nielsen, Till Toenshoff, Tobi Knaup, and Bill Farner.
> 
> 
> Bugs: MESOS-1126
>     https://issues.apache.org/jira/browse/MESOS-1126
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> The dependency on libjvm is a "hard", requiring an link and rpath. This causes issues when shifting between jvms. The standard practice is to use dlopen against the $JAVA_JVM_LIBRARY location.
> 
> MESOS-1126
>     + Enable dlopen for libjvm.so
>     + Cleanup redundant jni inclusions
> 
> This should make MESOS-855 a non-issue.
> 
> 
> Diffs
> -----
> 
>   configure.ac c1de6d7 
>   src/Makefile.am a44ea42 
>   src/common/build.hpp 115e9cc 
>   src/common/build.cpp eed08ed 
>   src/jvm/jvm.cpp d3dfa75 
> 
> Diff: https://reviews.apache.org/r/19487/diff/
> 
> 
> Testing
> -------
> 
> make check (across both Mac and Linux)
> 
> 
> Thanks,
> 
> Timothy St. Clair
> 
>


Re: Review Request 19487: Change linkage around libjvm to use dlopen.

Posted by "Timothy St. Clair" <ts...@redhat.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19487/
-----------------------------------------------------------

(Updated April 23, 2014, 5:09 p.m.)


Review request for mesos, Benjamin Hindman, Brenden Matthews, Niklas Nielsen, Till Toenshoff, Tobi Knaup, and Bill Farner.


Changes
-------

adding some JVM based fraemwork developers (Brenden, Tobi and Bill) to the review for feedback.


Bugs: MESOS-1126
    https://issues.apache.org/jira/browse/MESOS-1126


Repository: mesos-git


Description
-------

The dependency on libjvm is a "hard", requiring an link and rpath. This causes issues when shifting between jvms. The standard practice is to use dlopen against the $JAVA_JVM_LIBRARY location.

MESOS-1126
    + Enable dlopen for libjvm.so
    + Cleanup redundant jni inclusions

This should make MESOS-855 a non-issue.


Diffs
-----

  configure.ac c1de6d7 
  src/Makefile.am a44ea42 
  src/common/build.hpp 115e9cc 
  src/common/build.cpp eed08ed 
  src/jvm/jvm.cpp d3dfa75 

Diff: https://reviews.apache.org/r/19487/diff/


Testing
-------

make check (across both Mac and Linux)


Thanks,

Timothy St. Clair


Re: Review Request 19487: Change linkage around libjvm to use dlopen.

Posted by "Timothy St. Clair" <ts...@redhat.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19487/
-----------------------------------------------------------

(Updated April 23, 2014, 4:36 p.m.)


Review request for mesos, Benjamin Hindman, Niklas Nielsen, and Till Toenshoff.


Changes
-------

Minor style modifications. 


Bugs: MESOS-1126
    https://issues.apache.org/jira/browse/MESOS-1126


Repository: mesos-git


Description
-------

The dependency on libjvm is a "hard", requiring an link and rpath. This causes issues when shifting between jvms. The standard practice is to use dlopen against the $JAVA_JVM_LIBRARY location.

MESOS-1126
    + Enable dlopen for libjvm.so
    + Cleanup redundant jni inclusions

This should make MESOS-855 a non-issue.


Diffs (updated)
-----

  configure.ac c1de6d7 
  src/Makefile.am a44ea42 
  src/common/build.hpp 115e9cc 
  src/common/build.cpp eed08ed 
  src/jvm/jvm.cpp d3dfa75 

Diff: https://reviews.apache.org/r/19487/diff/


Testing
-------

make check (across both Mac and Linux)


Thanks,

Timothy St. Clair


Re: Review Request 19487: Change linkage around libjvm to use dlopen.

Posted by "Timothy St. Clair" <ts...@redhat.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19487/
-----------------------------------------------------------

(Updated April 22, 2014, 4:22 p.m.)


Review request for mesos, Benjamin Hindman, Niklas Nielsen, and Till Toenshoff.


Changes
-------

Update per review: 
- Remove JAVA_LDFLAGS
- Minor name changes and shuffling.


Bugs: MESOS-1126
    https://issues.apache.org/jira/browse/MESOS-1126


Repository: mesos-git


Description
-------

The dependency on libjvm is a "hard", requiring an link and rpath. This causes issues when shifting between jvms. The standard practice is to use dlopen against the $JAVA_JVM_LIBRARY location.

MESOS-1126
    + Enable dlopen for libjvm.so
    + Cleanup redundant jni inclusions

This should make MESOS-855 a non-issue.


Diffs (updated)
-----

  configure.ac c1de6d7 
  src/Makefile.am a44ea42 
  src/common/build.hpp 115e9cc 
  src/common/build.cpp eed08ed 
  src/jvm/jvm.cpp d3dfa75 

Diff: https://reviews.apache.org/r/19487/diff/


Testing
-------

make check (across both Mac and Linux)


Thanks,

Timothy St. Clair


Re: Review Request 19487: Change linkage around libjvm to use dlopen.

Posted by "Timothy St. Clair" <ts...@redhat.com>.

> On April 11, 2014, 8:49 p.m., Mesos ReviewBot wrote:
> > Bad patch!
> > 
> > Reviews applied: [19487]
> > 
> > Failed command: make check
> > 
> > Error:
> >  Making check in .
> > make[1]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot'
> > make[1]: Nothing to be done for `check-am'.
> > make[1]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot'
> > Making check in 3rdparty
> > make[1]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty'
> > make  check-recursive
> > make[2]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty'
> > Making check in libprocess
> > make[3]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess'
> > Making check in 3rdparty
> > make[4]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty'
> > make  check-recursive
> > make[5]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty'
> > Making check in stout
> > make[6]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty/stout'
> > make[6]: Nothing to be done for `check'.
> > make[6]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty/stout'
> > make[6]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty'
> > make  libgmock.la stout-tests
> > make[7]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty'
> > make[7]: `libgmock.la' is up to date.
> > make[7]: `stout-tests' is up to date.
> > make[7]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty'
> > make  check-local
> > make[7]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty'
> > ./stout-tests
> > [==========] Running 121 tests from 24 test cases.
> > [----------] Global test environment set-up.
> > [----------] 3 tests from Stout
> > [ RUN      ] Stout.Bytes
> > [       OK ] Stout.Bytes (0 ms)
> > [ RUN      ] Stout.Set
> > [       OK ] Stout.Set (24 ms)
> > [ RUN      ] Stout.Some
> > [       OK ] Stout.Some (31 ms)
> > [----------] 3 tests from Stout (55 ms total)
> > 
> > [----------] 4 tests from Cache
> > [ RUN      ] Cache.Insert
> > [       OK ] Cache.Insert (0 ms)
> > [ RUN      ] Cache.Update
> > [       OK ] Cache.Update (0 ms)
> > [ RUN      ] Cache.Erase
> > [       OK ] Cache.Erase (0 ms)
> > [ RUN      ] Cache.LRUEviction
> > [       OK ] Cache.LRUEviction (0 ms)
> > [----------] 4 tests from Cache (0 ms total)
> > 
> > [----------] 4 tests from DurationTest
> > [ RUN      ] DurationTest.Comparison
> > [       OK ] DurationTest.Comparison (0 ms)
> > [ RUN      ] DurationTest.ParseAndTry
> > [       OK ] DurationTest.ParseAndTry (18 ms)
> > [ RUN      ] DurationTest.Arithmetic
> > [       OK ] DurationTest.Arithmetic (0 ms)
> > [ RUN      ] DurationTest.OutputFormat
> > [       OK ] DurationTest.OutputFormat (21 ms)
> > [----------] 4 tests from DurationTest (39 ms total)
> > 
> > [----------] 1 test from ErrorTest
> > [ RUN      ] ErrorTest.Test
> > [       OK ] ErrorTest.Test (0 ms)
> > [----------] 1 test from ErrorTest (0 ms total)
> > 
> > [----------] 12 tests from FlagsTest
> > [ RUN      ] FlagsTest.Load
> > [       OK ] FlagsTest.Load (0 ms)
> > [ RUN      ] FlagsTest.Add
> > [       OK ] FlagsTest.Add (0 ms)
> > [ RUN      ] FlagsTest.Flags
> > [       OK ] FlagsTest.Flags (0 ms)
> > [ RUN      ] FlagsTest.LoadFromEnvironment
> > [       OK ] FlagsTest.LoadFromEnvironment (0 ms)
> > [ RUN      ] FlagsTest.LoadFromCommandLine
> > [       OK ] FlagsTest.LoadFromCommandLine (0 ms)
> > [ RUN      ] FlagsTest.LoadFromCommandLineWithNonFlags
> > [       OK ] FlagsTest.LoadFromCommandLineWithNonFlags (0 ms)
> > [ RUN      ] FlagsTest.Stringification
> > [       OK ] FlagsTest.Stringification (0 ms)
> > [ RUN      ] FlagsTest.DuplicatesFromEnvironment
> > [       OK ] FlagsTest.DuplicatesFromEnvironment (0 ms)
> > [ RUN      ] FlagsTest.DuplicatesFromCommandLine
> > [       OK ] FlagsTest.DuplicatesFromCommandLine (0 ms)
> > [ RUN      ] FlagsTest.Errors
> > [       OK ] FlagsTest.Errors (0 ms)
> > [ RUN      ] FlagsTest.Usage
> > [       OK ] FlagsTest.Usage (1 ms)
> > [ RUN      ] FlagsTest.Duration
> > [       OK ] FlagsTest.Duration (0 ms)
> > [----------] 12 tests from FlagsTest (1 ms total)
> > 
> > [----------] 1 test from GzipTest
> > [ RUN      ] GzipTest.CompressDecompressString
> > [       OK ] GzipTest.CompressDecompressString (120 ms)
> > [----------] 1 test from GzipTest (121 ms total)
> > 
> > [----------] 2 tests from HashMapTest
> > [ RUN      ] HashMapTest.Insert
> > [       OK ] HashMapTest.Insert (0 ms)
> > [ RUN      ] HashMapTest.Contains
> > [       OK ] HashMapTest.Contains (0 ms)
> > [----------] 2 tests from HashMapTest (0 ms total)
> > 
> > [----------] 2 tests from HashsetTest
> > [ RUN      ] HashsetTest.Insert
> > [       OK ] HashsetTest.Insert (7 ms)
> > [ RUN      ] HashsetTest.Union
> > [       OK ] HashsetTest.Union (0 ms)
> > [----------] 2 tests from HashsetTest (7 ms total)
> > 
> > [----------] 8 tests from IntervalTest
> > [ RUN      ] IntervalTest.Interval
> > [       OK ] IntervalTest.Interval (0 ms)
> > [ RUN      ] IntervalTest.EmptyInterval
> > [       OK ] IntervalTest.EmptyInterval (0 ms)
> > [ RUN      ] IntervalTest.Constructor
> > [       OK ] IntervalTest.Constructor (0 ms)
> > [ RUN      ] IntervalTest.Addition
> > [       OK ] IntervalTest.Addition (0 ms)
> > [ RUN      ] IntervalTest.Subtraction
> > [       OK ] IntervalTest.Subtraction (0 ms)
> > [ RUN      ] IntervalTest.Intersection
> > [       OK ] IntervalTest.Intersection (0 ms)
> > [ RUN      ] IntervalTest.LargeInterval
> > [       OK ] IntervalTest.LargeInterval (0 ms)
> > [ RUN      ] IntervalTest.IntervalIteration
> > [       OK ] IntervalTest.IntervalIteration (0 ms)
> > [----------] 8 tests from IntervalTest (1 ms total)
> > 
> > [----------] 8 tests from JsonTest
> > [ RUN      ] JsonTest.DefaultValueIsNull
> > [       OK ] JsonTest.DefaultValueIsNull (0 ms)
> > [ RUN      ] JsonTest.BinaryData
> > [       OK ] JsonTest.BinaryData (0 ms)
> > [ RUN      ] JsonTest.NumberFormat
> > [       OK ] JsonTest.NumberFormat (0 ms)
> > [ RUN      ] JsonTest.BooleanFormat
> > [       OK ] JsonTest.BooleanFormat (0 ms)
> > [ RUN      ] JsonTest.BooleanAssignement
> > [       OK ] JsonTest.BooleanAssignement (0 ms)
> > [ RUN      ] JsonTest.CStringAssignment
> > [       OK ] JsonTest.CStringAssignment (0 ms)
> > [ RUN      ] JsonTest.NumericAssignment
> > [       OK ] JsonTest.NumericAssignment (0 ms)
> > [ RUN      ] JsonTest.parse
> > [       OK ] JsonTest.parse (0 ms)
> > [----------] 8 tests from JsonTest (0 ms total)
> > 
> > [----------] 5 tests from LinkedHashmapTest
> > [ RUN      ] LinkedHashmapTest.Put
> > [       OK ] LinkedHashmapTest.Put (0 ms)
> > [ RUN      ] LinkedHashmapTest.Contains
> > [       OK ] LinkedHashmapTest.Contains (0 ms)
> > [ RUN      ] LinkedHashmapTest.Erase
> > [       OK ] LinkedHashmapTest.Erase (0 ms)
> > [ RUN      ] LinkedHashmapTest.Keys
> > [       OK ] LinkedHashmapTest.Keys (0 ms)
> > [ RUN      ] LinkedHashmapTest.Values
> > [       OK ] LinkedHashmapTest.Values (0 ms)
> > [----------] 5 tests from LinkedHashmapTest (0 ms total)
> > 
> > [----------] 6 tests from MultimapTest/0, where TypeParam = Multimap<std::string, unsigned short>
> > [ RUN      ] MultimapTest/0.Put
> > [       OK ] MultimapTest/0.Put (0 ms)
> > [ RUN      ] MultimapTest/0.Remove
> > [       OK ] MultimapTest/0.Remove (0 ms)
> > [ RUN      ] MultimapTest/0.Size
> > [       OK ] MultimapTest/0.Size (0 ms)
> > [ RUN      ] MultimapTest/0.Keys
> > [       OK ] MultimapTest/0.Keys (0 ms)
> > [ RUN      ] MultimapTest/0.Iterator
> > [       OK ] MultimapTest/0.Iterator (0 ms)
> > [ RUN      ] MultimapTest/0.Foreach
> > [       OK ] MultimapTest/0.Foreach (0 ms)
> > [----------] 6 tests from MultimapTest/0 (0 ms total)
> > 
> > [----------] 6 tests from MultimapTest/1, where TypeParam = multihashmap<std::string, unsigned short>
> > [ RUN      ] MultimapTest/1.Put
> > [       OK ] MultimapTest/1.Put (0 ms)
> > [ RUN      ] MultimapTest/1.Remove
> > [       OK ] MultimapTest/1.Remove (0 ms)
> > [ RUN      ] MultimapTest/1.Size
> > [       OK ] MultimapTest/1.Size (0 ms)
> > [ RUN      ] MultimapTest/1.Keys
> > [       OK ] MultimapTest/1.Keys (0 ms)
> > [ RUN      ] MultimapTest/1.Iterator
> > [       OK ] MultimapTest/1.Iterator (0 ms)
> > [ RUN      ] MultimapTest/1.Foreach
> > [       OK ] MultimapTest/1.Foreach (0 ms)
> > [----------] 6 tests from MultimapTest/1 (1 ms total)
> > 
> > [----------] 4 tests from NetTest
> > [ RUN      ] NetTest.mac
> > [       OK ] NetTest.mac (0 ms)
> > [ RUN      ] NetTest.ConstructMAC
> > [       OK ] NetTest.ConstructMAC (0 ms)
> > [ RUN      ] NetTest.ip
> > [       OK ] NetTest.ip (0 ms)
> > [ RUN      ] NetTest.ConstructIP
> > [       OK ] NetTest.ConstructIP (0 ms)
> > [----------] 4 tests from NetTest (0 ms total)
> > 
> > [----------] 1 test from NoneTest
> > [ RUN      ] NoneTest.Test
> > [       OK ] NoneTest.Test (0 ms)
> > [----------] 1 test from NoneTest (0 ms total)
> > 
> > [----------] 3 tests from OptionTest
> > [ RUN      ] OptionTest.Min
> > [       OK ] OptionTest.Min (0 ms)
> > [ RUN      ] OptionTest.Max
> > [       OK ] OptionTest.Max (0 ms)
> > [ RUN      ] OptionTest.Comparison
> > [       OK ] OptionTest.Comparison (0 ms)
> > [----------] 3 tests from OptionTest (0 ms total)
> > 
> > [----------] 18 tests from OsTest
> > [ RUN      ] OsTest.environment
> > [       OK ] OsTest.environment (27 ms)
> > [ RUN      ] OsTest.rmdir
> > [       OK ] OsTest.rmdir (37 ms)
> > [ RUN      ] OsTest.system
> > sh: 1: invalid.command: not found
> > [       OK ] OsTest.system (120 ms)
> > [ RUN      ] OsTest.nonblock
> > [       OK ] OsTest.nonblock (6 ms)
> > [ RUN      ] OsTest.touch
> > [       OK ] OsTest.touch (6 ms)
> > [ RUN      ] OsTest.readWriteString
> > [       OK ] OsTest.readWriteString (8 ms)
> > [ RUN      ] OsTest.find
> > [       OK ] OsTest.find (6 ms)
> > [ RUN      ] OsTest.bootId
> > [       OK ] OsTest.bootId (0 ms)
> > [ RUN      ] OsTest.uname
> > [       OK ] OsTest.uname (6 ms)
> > [ RUN      ] OsTest.sysname
> > [       OK ] OsTest.sysname (7 ms)
> > [ RUN      ] OsTest.release
> > [       OK ] OsTest.release (12 ms)
> > [ RUN      ] OsTest.sleep
> > [       OK ] OsTest.sleep (22 ms)
> > [ RUN      ] OsTest.pids
> > [       OK ] OsTest.pids (363 ms)
> > [ RUN      ] OsTest.children
> > [       OK ] OsTest.children (54 ms)
> > [ RUN      ] OsTest.process
> > [       OK ] OsTest.process (9 ms)
> > [ RUN      ] OsTest.processes
> > [       OK ] OsTest.processes (20 ms)
> > [ RUN      ] OsTest.killtree
> > [       OK ] OsTest.killtree (97 ms)
> > [ RUN      ] OsTest.pstree
> > [       OK ] OsTest.pstree (31 ms)
> > [----------] 18 tests from OsTest (832 ms total)
> > 
> > [----------] 1 test from ProtobufTest
> > [ RUN      ] ProtobufTest.JSON
> > [       OK ] ProtobufTest.JSON (12 ms)
> > [----------] 1 test from ProtobufTest (12 ms total)
> > 
> > [----------] 1 test from OsSendfileTest
> > [ RUN      ] OsSendfileTest.sendfile
> > [       OK ] OsSendfileTest.sendfile (5 ms)
> > [----------] 1 test from OsSendfileTest (5 ms total)
> > 
> > [----------] 1 test from OsSignalsTest
> > [ RUN      ] OsSignalsTest.suppress
> > [       OK ] OsSignalsTest.suppress (0 ms)
> > [----------] 1 test from OsSignalsTest (0 ms total)
> > 
> > [----------] 22 tests from StringsTest
> > [ RUN      ] StringsTest.Format
> > [       OK ] StringsTest.Format (0 ms)
> > [ RUN      ] StringsTest.Remove
> > [       OK ] StringsTest.Remove (0 ms)
> > [ RUN      ] StringsTest.Replace
> > [       OK ] StringsTest.Replace (0 ms)
> > [ RUN      ] StringsTest.Trim
> > [       OK ] StringsTest.Trim (0 ms)
> > [ RUN      ] StringsTest.Tokenize
> > [       OK ] StringsTest.Tokenize (0 ms)
> > [ RUN      ] StringsTest.TokenizeStringWithDelimsAtStart
> > [       OK ] StringsTest.TokenizeStringWithDelimsAtStart (0 ms)
> > [ RUN      ] StringsTest.TokenizeStringWithDelimsAtEnd
> > [       OK ] StringsTest.TokenizeStringWithDelimsAtEnd (0 ms)
> > [ RUN      ] StringsTest.TokenizeStringWithDelimsAtStartAndEnd
> > [       OK ] StringsTest.TokenizeStringWithDelimsAtStartAndEnd (0 ms)
> > [ RUN      ] StringsTest.TokenizeWithMultipleDelims
> > [       OK ] StringsTest.TokenizeWithMultipleDelims (0 ms)
> > [ RUN      ] StringsTest.TokenizeEmptyString
> > [       OK ] StringsTest.TokenizeEmptyString (0 ms)
> > [ RUN      ] StringsTest.TokenizeDelimOnlyString
> > [       OK ] StringsTest.TokenizeDelimOnlyString (0 ms)
> > [ RUN      ] StringsTest.TokenizeNullByteDelim
> > [       OK ] StringsTest.TokenizeNullByteDelim (0 ms)
> > [ RUN      ] StringsTest.SplitEmptyString
> > [       OK ] StringsTest.SplitEmptyString (0 ms)
> > [ RUN      ] StringsTest.SplitDelimOnlyString
> > [       OK ] StringsTest.SplitDelimOnlyString (0 ms)
> > [ RUN      ] StringsTest.Split
> > [       OK ] StringsTest.Split (0 ms)
> > [ RUN      ] StringsTest.SplitStringWithDelimsAtStart
> > [       OK ] StringsTest.SplitStringWithDelimsAtStart (0 ms)
> > [ RUN      ] StringsTest.SplitStringWithDelimsAtEnd
> > [       OK ] StringsTest.SplitStringWithDelimsAtEnd (0 ms)
> > [ RUN      ] StringsTest.SplitStringWithDelimsAtStartAndEnd
> > [       OK ] StringsTest.SplitStringWithDelimsAtStartAndEnd (0 ms)
> > [ RUN      ] StringsTest.SplitWithMultipleDelims
> > [       OK ] StringsTest.SplitWithMultipleDelims (0 ms)
> > [ RUN      ] StringsTest.Pairs
> > [       OK ] StringsTest.Pairs (0 ms)
> > [ RUN      ] StringsTest.StartsWith
> > [       OK ] StringsTest.StartsWith (0 ms)
> > [ RUN      ] StringsTest.Contains
> > [       OK ] StringsTest.Contains (0 ms)
> > [----------] 22 tests from StringsTest (1 ms total)
> > 
> > [----------] 1 test from Thread
> > [ RUN      ] Thread.local
> > [       OK ] Thread.local (0 ms)
> > [----------] 1 test from Thread (0 ms total)
> > 
> > [----------] 1 test from UUIDTest
> > [ RUN      ] UUIDTest.test
> > [       OK ] UUIDTest.test (0 ms)
> > [----------] 1 test from UUIDTest (0 ms total)
> > 
> > [----------] 6 tests from ProcTest
> > [ RUN      ] ProcTest.pids
> > [       OK ] ProcTest.pids (1 ms)
> > [ RUN      ] ProcTest.cpus
> > [       OK ] ProcTest.cpus (1 ms)
> > [ RUN      ] ProcTest.SystemStatus
> > [       OK ] ProcTest.SystemStatus (0 ms)
> > [ RUN      ] ProcTest.ProcessStatus
> > [       OK ] ProcTest.ProcessStatus (0 ms)
> > [ RUN      ] ProcTest.SingleThread
> > [       OK ] ProcTest.SingleThread (1 ms)
> > [ RUN      ] ProcTest.MultipleThreads
> > [       OK ] ProcTest.MultipleThreads (2 ms)
> > [----------] 6 tests from ProcTest (5 ms total)
> > 
> > [----------] Global test environment tear-down
> > [==========] 121 tests from 24 test cases ran. (1080 ms total)
> > [  PASSED  ] 121 tests.
> > make[7]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty'
> > make[6]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty'
> > make[5]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty'
> > make[4]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty'
> > Making check in .
> > make[4]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess'
> > make  tests
> > make[5]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess'
> > make[5]: `tests' is up to date.
> > make[5]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess'
> > make  check-local
> > make[5]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess'
> > ./tests
> > [==========] Running 93 tests from 16 test cases.
> > [----------] Global test environment set-up.
> > [----------] 3 tests from Decoder
> > [ RUN      ] Decoder.Request
> > [       OK ] Decoder.Request (0 ms)
> > [ RUN      ] Decoder.RequestHeaderContinuation
> > [       OK ] Decoder.RequestHeaderContinuation (0 ms)
> > [ RUN      ] Decoder.Response
> > [       OK ] Decoder.Response (0 ms)
> > [----------] 3 tests from Decoder (0 ms total)
> > 
> > [----------] 2 tests from Encoder
> > [ RUN      ] Encoder.Response
> > [       OK ] Encoder.Response (1 ms)
> > [ RUN      ] Encoder.AcceptableEncodings
> > [       OK ] Encoder.AcceptableEncodings (0 ms)
> > [----------] 2 tests from Encoder (1 ms total)
> > 
> > [----------] 5 tests from HTTP
> > [ RUN      ] HTTP.Endpoints
> > [       OK ] HTTP.Endpoints (47 ms)
> > [ RUN      ] HTTP.Encode
> > [       OK ] HTTP.Encode (0 ms)
> > [ RUN      ] HTTP.PathParse
> > [       OK ] HTTP.PathParse (0 ms)
> > [ RUN      ] HTTP.Get
> > [       OK ] HTTP.Get (1 ms)
> > [ RUN      ] HTTP.Post
> > [       OK ] HTTP.Post (1 ms)
> > [----------] 5 tests from HTTP (49 ms total)
> > 
> > [----------] 5 tests from IO
> > [ RUN      ] IO.Poll
> > [       OK ] IO.Poll (0 ms)
> > [ RUN      ] IO.Read
> > [       OK ] IO.Read (1 ms)
> > [ RUN      ] IO.BufferedRead
> > [       OK ] IO.BufferedRead (19 ms)
> > [ RUN      ] IO.Write
> > [       OK ] IO.Write (1 ms)
> > [ RUN      ] IO.splice
> > [       OK ] IO.splice (46 ms)
> > [----------] 5 tests from IO (67 ms total)
> > 
> > [----------] 3 tests from Mutex
> > [ RUN      ] Mutex.lock
> > [       OK ] Mutex.lock (0 ms)
> > [ RUN      ] Mutex.block
> > [       OK ] Mutex.block (0 ms)
> > [ RUN      ] Mutex.queue
> > [       OK ] Mutex.queue (0 ms)
> > [----------] 3 tests from Mutex (0 ms total)
> > 
> > [----------] 2 tests from MetricsTest
> > [ RUN      ] MetricsTest.Counter
> > [       OK ] MetricsTest.Counter (5 ms)
> > [ RUN      ] MetricsTest.Gauge
> > [       OK ] MetricsTest.Gauge (31 ms)
> > [----------] 2 tests from MetricsTest (36 ms total)
> > 
> > [----------] 3 tests from Owned
> > [ RUN      ] Owned.Access
> > [       OK ] Owned.Access (0 ms)
> > [ RUN      ] Owned.Null
> > [       OK ] Owned.Null (0 ms)
> > [ RUN      ] Owned.Share
> > [       OK ] Owned.Share (0 ms)
> > [----------] 3 tests from Owned (0 ms total)
> > 
> > [----------] 39 tests from Process
> > [ RUN      ] Process.event
> > [       OK ] Process.event (0 ms)
> > [ RUN      ] Process.future
> > [       OK ] Process.future (0 ms)
> > [ RUN      ] Process.associate
> > [       OK ] Process.associate (0 ms)
> > [ RUN      ] Process.onAny
> > [       OK ] Process.onAny (0 ms)
> > [ RUN      ] Process.then
> > [       OK ] Process.then (6 ms)
> > [ RUN      ] Process.after1
> > [       OK ] Process.after1 (10 ms)
> > [ RUN      ] Process.after2
> > [       OK ] Process.after2 (11 ms)
> > [ RUN      ] Process.chain
> > [       OK ] Process.chain (0 ms)
> > [ RUN      ] Process.discard1
> > [       OK ] Process.discard1 (0 ms)
> > [ RUN      ] Process.discard2
> > [       OK ] Process.discard2 (0 ms)
> > [ RUN      ] Process.discard3
> > [       OK ] Process.discard3 (0 ms)
> > [ RUN      ] Process.spawn
> > [       OK ] Process.spawn (0 ms)
> > [ RUN      ] Process.dispatch
> > [       OK ] Process.dispatch (0 ms)
> > [ RUN      ] Process.defer1
> > [       OK ] Process.defer1 (1 ms)
> > [ RUN      ] Process.defer2
> > [       OK ] Process.defer2 (0 ms)
> > [ RUN      ] Process.defer3
> > [       OK ] Process.defer3 (0 ms)
> > [ RUN      ] Process.handlers
> > [       OK ] Process.handlers (0 ms)
> > [ RUN      ] Process.expect
> > [       OK ] Process.expect (1 ms)
> > [ RUN      ] Process.action
> > [       OK ] Process.action (0 ms)
> > [ RUN      ] Process.inheritance
> > [       OK ] Process.inheritance (0 ms)
> > [ RUN      ] Process.thunk
> > [       OK ] Process.thunk (0 ms)
> > [ RUN      ] Process.delegate
> > [       OK ] Process.delegate (1 ms)
> > [ RUN      ] Process.delay
> > [       OK ] Process.delay (12 ms)
> > [ RUN      ] Process.order
> > [       OK ] Process.order (1 ms)
> > [ RUN      ] Process.donate
> > [       OK ] Process.donate (0 ms)
> > [ RUN      ] Process.exited
> > [       OK ] Process.exited (0 ms)
> > [ RUN      ] Process.select
> > [       OK ] Process.select (0 ms)
> > [ RUN      ] Process.collect
> > [       OK ] Process.collect (0 ms)
> > [ RUN      ] Process.await1
> > [       OK ] Process.await1 (0 ms)
> > [ RUN      ] Process.await2
> > [       OK ] Process.await2 (1 ms)
> > [ RUN      ] Process.await3
> > [       OK ] Process.await3 (0 ms)
> > [ RUN      ] Process.settle
> > [       OK ] Process.settle (40 ms)
> > [ RUN      ] Process.pid
> > [       OK ] Process.pid (0 ms)
> > [ RUN      ] Process.listener
> > [       OK ] Process.listener (0 ms)
> > [ RUN      ] Process.executor
> > [       OK ] Process.executor (0 ms)
> > [ RUN      ] Process.remote
> > [       OK ] Process.remote (1 ms)
> > [ RUN      ] Process.async
> > [       OK ] Process.async (6 ms)
> > [ RUN      ] Process.limiter
> > [       OK ] Process.limiter (23 ms)
> > [ RUN      ] Process.provide
> > [       OK ] Process.provide (9 ms)
> > [----------] 39 tests from Process (125 ms total)
> > 
> > [----------] 1 test from Future
> > [ RUN      ] Future.FromTry
> > [       OK ] Future.FromTry (0 ms)
> > [----------] 1 test from Future (0 ms total)
> > 
> > [----------] 3 tests from Reap
> > [ RUN      ] Reap.NonChildProcess
> > [       OK ] Reap.NonChildProcess (42 ms)
> > [ RUN      ] Reap.ChildProcess
> > [       OK ] Reap.ChildProcess (32 ms)
> > [ RUN      ] Reap.TerminatedChildProcess
> > [       OK ] Reap.TerminatedChildProcess (26 ms)
> > [----------] 3 tests from Reap (101 ms total)
> > 
> > [----------] 4 tests from Sequence
> > [ RUN      ] Sequence.Serialize
> > [       OK ] Sequence.Serialize (11 ms)
> > [ RUN      ] Sequence.DiscardOne
> > [       OK ] Sequence.DiscardOne (11 ms)
> > [ RUN      ] Sequence.DiscardAll
> > [       OK ] Sequence.DiscardAll (10 ms)
> > [ RUN      ] Sequence.Random
> > [       OK ] Sequence.Random (13 ms)
> > [----------] 4 tests from Sequence (45 ms total)
> > 
> > [----------] 4 tests from Shared
> > [ RUN      ] Shared.ConstAccess
> > [       OK ] Shared.ConstAccess (0 ms)
> > [ RUN      ] Shared.Null
> > [       OK ] Shared.Null (0 ms)
> > [ RUN      ] Shared.Reset
> > [       OK ] Shared.Reset (0 ms)
> > [ RUN      ] Shared.Own
> > [       OK ] Shared.Own (0 ms)
> > [----------] 4 tests from Shared (0 ms total)
> > 
> > [----------] 3 tests from Statistics
> > [ RUN      ] Statistics.set
> > [       OK ] Statistics.set (0 ms)
> > [ RUN      ] Statistics.increment
> > [       OK ] Statistics.increment (1 ms)
> > [ RUN      ] Statistics.decrement
> > [       OK ] Statistics.decrement (0 ms)
> > [----------] 3 tests from Statistics (1 ms total)
> > 
> > [----------] 10 tests from Subprocess
> > [ RUN      ] Subprocess.status
> > [       OK ] Subprocess.status (122 ms)
> > [ RUN      ] Subprocess.output
> > [       OK ] Subprocess.output (76 ms)
> > [ RUN      ] Subprocess.input
> > [       OK ] Subprocess.input (36 ms)
> > [ RUN      ] Subprocess.splice
> > [       OK ] Subprocess.splice (43 ms)
> > [ RUN      ] Subprocess.environment
> > [       OK ] Subprocess.environment (64 ms)
> > [ RUN      ] Subprocess.environmentWithSpaces
> > [       OK ] Subprocess.environmentWithSpaces (32 ms)
> > [ RUN      ] Subprocess.environmentWithSpacesAndQuotes
> > [       OK ] Subprocess.environmentWithSpacesAndQuotes (32 ms)
> > [ RUN      ] Subprocess.environmentOverride
> > [       OK ] Subprocess.environmentOverride (31 ms)
> > [ RUN      ] Subprocess.setup
> > [       OK ] Subprocess.setup (32 ms)
> > [ RUN      ] Subprocess.setupStatus
> > [       OK ] Subprocess.setupStatus (63 ms)
> > [----------] 10 tests from Subprocess (531 ms total)
> > 
> > [----------] 3 tests from TimeSeries
> > [ RUN      ] TimeSeries.set
> > [       OK ] TimeSeries.set (0 ms)
> > [ RUN      ] TimeSeries.sparsify
> > [       OK ] TimeSeries.sparsify (0 ms)
> > [ RUN      ] TimeSeries.truncate
> > [       OK ] TimeSeries.truncate (0 ms)
> > [----------] 3 tests from TimeSeries (0 ms total)
> > 
> > [----------] 3 tests from TimeTest
> > [ RUN      ] TimeTest.Arithmetic
> > [       OK ] TimeTest.Arithmetic (0 ms)
> > [ RUN      ] TimeTest.Now
> > [       OK ] TimeTest.Now (0 ms)
> > [ RUN      ] TimeTest.Output
> > [       OK ] TimeTest.Output (0 ms)
> > [----------] 3 tests from TimeTest (0 ms total)
> > 
> > [----------] Global test environment tear-down
> > [==========] 93 tests from 16 test cases ran. (958 ms total)
> > [  PASSED  ] 93 tests.
> > 
> >   YOU HAVE 2 DISABLED TESTS
> > 
> > make[5]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess'
> > make[4]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess'
> > make[3]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess'
> > make[3]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty'
> > cd leveldb && \
> >           make  CC="gcc" CXX="g++" OPT="-g -g2 -O2 -std=c++0x -fPIC"
> > make[4]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/leveldb'
> > make[4]: Nothing to be done for `default'.
> > make[4]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/leveldb'
> > make[3]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty'
> > make[2]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty'
> > make[1]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty'
> > Making check in src
> > make[1]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/src'
> > make  check-am
> > make[2]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/src'
> > make  test-framework test-executor long-lived-framework long-lived-executor no-executor-framework balloon-framework balloon-executor mesos-tests  examples/python/test_framework.py examples/python/test-framework examples/python/test_executor.py examples/python/test-executor \
> > 	  tests/balloon_framework_test.sh tests/test_framework_test.sh tests/no_executor_framework_test.sh tests/java_exception_test.sh tests/java_framework_test.sh tests/java_log_test.sh tests/python_framework_test.sh
> > make[3]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/src'
> > make[3]: `test-framework' is up to date.
> > make[3]: `test-executor' is up to date.
> > make[3]: `long-lived-framework' is up to date.
> > make[3]: `long-lived-executor' is up to date.
> > make[3]: `no-executor-framework' is up to date.
> > make[3]: `balloon-framework' is up to date.
> > make[3]: `balloon-executor' is up to date.
> > make[3]: `mesos-tests' is up to date.
> > make[3]: Nothing to be done for `examples/python/test_framework.py'.
> > make[3]: Nothing to be done for `examples/python/test-framework'.
> > make[3]: Nothing to be done for `examples/python/test_executor.py'.
> > make[3]: Nothing to be done for `examples/python/test-executor'.
> > make[3]: Nothing to be done for `tests/balloon_framework_test.sh'.
> > make[3]: Nothing to be done for `tests/test_framework_test.sh'.
> > make[3]: Nothing to be done for `tests/no_executor_framework_test.sh'.
> > make[3]: Nothing to be done for `tests/java_exception_test.sh'.
> > make[3]: Nothing to be done for `tests/java_framework_test.sh'.
> > make[3]: Nothing to be done for `tests/java_log_test.sh'.
> > make[3]: Nothing to be done for `tests/python_framework_test.sh'.
> > make[3]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/src'
> > make  check-local
> > make[3]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/src'
> > ./mesos-tests
> > Source directory: /home/jenkins/jenkins-slave/workspace/mesos-reviewbot
> > Build directory: /home/jenkins/jenkins-slave/workspace/mesos-reviewbot
> > Note: Google Test filter = *-CpuIsolatorTest/1.UserCpuUsage:CpuIsolatorTest/1.SystemCpuUsage:LimitedCpuIsolatorTest.ROOT_CGROUPS_Cfs:LimitedCpuIsolatorTest.ROOT_CGROUPS_Cfs_Big_Quota:MemIsolatorTest/0.MemUsage:MemIsolatorTest/1.MemUsage:ContainerizerTest.ROOT_CGROUPS_BalloonFramework:CgroupsAnyHierarchyTest.ROOT_CGROUPS_Enabled:CgroupsAnyHierarchyTest.ROOT_CGROUPS_Subsystems:CgroupsAnyHierarchyTest.ROOT_CGROUPS_Mounted:CgroupsAnyHierarchyTest.ROOT_CGROUPS_Get:CgroupsAnyHierarchyTest.ROOT_CGROUPS_NestedCgroups:CgroupsAnyHierarchyTest.ROOT_CGROUPS_Tasks:CgroupsAnyHierarchyTest.ROOT_CGROUPS_Read:CgroupsAnyHierarchyTest.ROOT_CGROUPS_Write:CgroupsAnyHierarchyTest.ROOT_CGROUPS_Cfs_Big_Quota:CgroupsAnyHierarchyWithCpuMemoryTest.ROOT_CGROUPS_Busy:CgroupsAnyHierarchyWithCpuMemoryTest.ROOT_CGROUPS_SubsystemsHierarchy:CgroupsAnyHierarchyWithCpuMemoryTest.ROOT_CGROUPS_MountedSubsystems:CgroupsAnyHierarchyWithCpuMemoryTest.ROOT_CGROUPS_CreateRemove:CgroupsAnyHierarchyWithCpuMemoryTest.ROOT_CG
 ROUPS_Listen:CgroupsNoHierarchyTest.ROOT_CGROUPS_NOHIERARCHY_MountUnmountHierarchy:CgroupsAnyHierarchyWithCpuAcctMemoryTest.ROOT_CGROUPS_Stat:CgroupsAnyHierarchyWithFreezerTest.ROOT_CGROUPS_Freeze:CgroupsAnyHierarchyWithFreezerTest.ROOT_CGROUPS_Kill:CgroupsAnyHierarchyWithFreezerTest.ROOT_CGROUPS_Destroy:
> > [==========] Running 281 tests from 49 test cases.
> > [----------] Global test environment set-up.
> > [----------] 1 test from DRFAllocatorTest
> > [ RUN      ] DRFAllocatorTest.DRFAllocatorProcess
> > [       OK ] DRFAllocatorTest.DRFAllocatorProcess (205 ms)
> > [----------] 1 test from DRFAllocatorTest (205 ms total)
> > 
> > [----------] 2 tests from ReservationAllocatorTest
> > [ RUN      ] ReservationAllocatorTest.ReservedResources
> > [       OK ] ReservationAllocatorTest.ReservedResources (112 ms)
> > [ RUN      ] ReservationAllocatorTest.ResourcesReturned
> > [       OK ] ReservationAllocatorTest.ResourcesReturned (120 ms)
> > [----------] 2 tests from ReservationAllocatorTest (232 ms total)
> > 
> > [----------] 10 tests from AllocatorTest/0, where TypeParam = mesos::internal::master::allocator::HierarchicalAllocatorProcess<mesos::internal::master::allocator::DRFSorter, mesos::internal::master::allocator::DRFSorter>
> > [ RUN      ] AllocatorTest/0.MockAllocator
> > [       OK ] AllocatorTest/0.MockAllocator (39 ms)
> > [ RUN      ] AllocatorTest/0.ResourcesUnused
> > [       OK ] AllocatorTest/0.ResourcesUnused (47 ms)
> > [ RUN      ] AllocatorTest/0.OutOfOrderDispatch
> > [       OK ] AllocatorTest/0.OutOfOrderDispatch (28 ms)
> > [ RUN      ] AllocatorTest/0.SchedulerFailover
> > [       OK ] AllocatorTest/0.SchedulerFailover (42 ms)
> > [ RUN      ] AllocatorTest/0.FrameworkExited
> > [       OK ] AllocatorTest/0.FrameworkExited (56 ms)
> > [ RUN      ] AllocatorTest/0.SlaveLost
> > [       OK ] AllocatorTest/0.SlaveLost (38 ms)
> > [ RUN      ] AllocatorTest/0.SlaveAdded
> > [       OK ] AllocatorTest/0.SlaveAdded (168 ms)
> > [ RUN      ] AllocatorTest/0.TaskFinished
> > [       OK ] AllocatorTest/0.TaskFinished (54 ms)
> > [ RUN      ] AllocatorTest/0.WhitelistSlave
> > [       OK ] AllocatorTest/0.WhitelistSlave (82 ms)
> > [ RUN      ] AllocatorTest/0.RoleTest
> > [       OK ] AllocatorTest/0.RoleTest (5010 ms)
> > [----------] 10 tests from AllocatorTest/0 (5564 ms total)
> > 
> > [----------] 2 tests from AttributesTest
> > [ RUN      ] AttributesTest.Parsing
> > [       OK ] AttributesTest.Parsing (0 ms)
> > [ RUN      ] AttributesTest.Equality
> > [       OK ] AttributesTest.Equality (0 ms)
> > [----------] 2 tests from AttributesTest (0 ms total)
> > 
> > [----------] 9 tests from AuthenticationTest
> > [ RUN      ] AuthenticationTest.UnauthenticatedFramework
> > [       OK ] AuthenticationTest.UnauthenticatedFramework (28 ms)
> > [ RUN      ] AuthenticationTest.DisableAuthentication
> > [       OK ] AuthenticationTest.DisableAuthentication (19 ms)
> > [ RUN      ] AuthenticationTest.AuthenticatedFramework
> > [       OK ] AuthenticationTest.AuthenticatedFramework (5011 ms)
> > [ RUN      ] AuthenticationTest.RetryAuthentication
> > [       OK ] AuthenticationTest.RetryAuthentication (32 ms)
> > [ RUN      ] AuthenticationTest.DropIntermediateSASLMessage
> > [       OK ] AuthenticationTest.DropIntermediateSASLMessage (29 ms)
> > [ RUN      ] AuthenticationTest.DropFinalSASLMessage
> > [       OK ] AuthenticationTest.DropFinalSASLMessage (18 ms)
> > [ RUN      ] AuthenticationTest.MasterFailover
> > [       OK ] AuthenticationTest.MasterFailover (5014 ms)
> > [ RUN      ] AuthenticationTest.LeaderElection
> > [       OK ] AuthenticationTest.LeaderElection (5021 ms)
> > [ RUN      ] AuthenticationTest.SchedulerFailover
> > [       OK ] AuthenticationTest.SchedulerFailover (18 ms)
> > [----------] 9 tests from AuthenticationTest (15190 ms total)
> > 
> > [----------] 5 tests from MesosContainerizerProcessTest
> > [ RUN      ] MesosContainerizerProcessTest.Simple
> > [       OK ] MesosContainerizerProcessTest.Simple (0 ms)
> > [ RUN      ] MesosContainerizerProcessTest.MultipleURIs
> > [       OK ] MesosContainerizerProcessTest.MultipleURIs (1 ms)
> > [ RUN      ] MesosContainerizerProcessTest.NoUser
> > [       OK ] MesosContainerizerProcessTest.NoUser (0 ms)
> > [ RUN      ] MesosContainerizerProcessTest.EmptyHadoop
> > [       OK ] MesosContainerizerProcessTest.EmptyHadoop (0 ms)
> > [ RUN      ] MesosContainerizerProcessTest.NoHadoop
> > [       OK ] MesosContainerizerProcessTest.NoHadoop (0 ms)
> > [----------] 5 tests from MesosContainerizerProcessTest (1 ms total)
> > 
> > [----------] 6 tests from ExamplesTest
> > [ RUN      ] ExamplesTest.TestFramework
> > [       OK ] ExamplesTest.TestFramework (3142 ms)
> > [ RUN      ] ExamplesTest.NoExecutorFramework
> > [       OK ] ExamplesTest.NoExecutorFramework (4383 ms)
> > [ RUN      ] ExamplesTest.JavaFramework
> > [       OK ] ExamplesTest.JavaFramework (3269 ms)
> > [ RUN      ] ExamplesTest.JavaException
> > [       OK ] ExamplesTest.JavaException (5303 ms)
> > [ RUN      ] ExamplesTest.JavaLog
> > [       OK ] ExamplesTest.JavaLog (2187 ms)
> > [ RUN      ] ExamplesTest.PythonFramework
> > tests/script.cpp:78: Failure
> > Failed
> > python_framework_test.sh exited with status 1
> > [  FAILED  ] ExamplesTest.PythonFramework (62207 ms)
> > [----------] 6 tests from ExamplesTest (80492 ms total)
> > 
> > [----------] 3 tests from ExceptionTest
> > [ RUN      ] ExceptionTest.DeactivateFrameworkOnAbort
> > [       OK ] ExceptionTest.DeactivateFrameworkOnAbort (59 ms)
> > [ RUN      ] ExceptionTest.DisallowSchedulerActionsOnAbort
> > [       OK ] ExceptionTest.DisallowSchedulerActionsOnAbort (35 ms)
> > [ RUN      ] ExceptionTest.DisallowSchedulerCallbacksOnAbort
> > [       OK ] ExceptionTest.DisallowSchedulerCallbacksOnAbort (23 ms)
> > [----------] 3 tests from ExceptionTest (119 ms total)
> > 
> > [----------] 24 tests from FaultToleranceTest
> > [ RUN      ] FaultToleranceTest.SlaveLost
> > [       OK ] FaultToleranceTest.SlaveLost (30 ms)
> > [ RUN      ] FaultToleranceTest.PartitionedSlave
> > [       OK ] FaultToleranceTest.PartitionedSlave (88 ms)
> > [ RUN      ] FaultToleranceTest.PartitionedSlaveReregistration
> > [       OK ] FaultToleranceTest.PartitionedSlaveReregistration (198 ms)
> > [ RUN      ] FaultToleranceTest.PartitionedSlaveStatusUpdates
> > [       OK ] FaultToleranceTest.PartitionedSlaveStatusUpdates (179 ms)
> > [ RUN      ] FaultToleranceTest.PartitionedSlaveExitedExecutor
> > [       OK ] FaultToleranceTest.PartitionedSlaveExitedExecutor (155 ms)
> > [ RUN      ] FaultToleranceTest.MasterFailover
> > [       OK ] FaultToleranceTest.MasterFailover (5023 ms)
> > [ RUN      ] FaultToleranceTest.ReregisterCompletedFrameworks
> > [       OK ] FaultToleranceTest.ReregisterCompletedFrameworks (5089 ms)
> > [ RUN      ] FaultToleranceTest.SchedulerFailover
> > [       OK ] FaultToleranceTest.SchedulerFailover (37 ms)
> > [ RUN      ] FaultToleranceTest.SchedulerFailoverRetriedReregistration
> > [       OK ] FaultToleranceTest.SchedulerFailoverRetriedReregistration (61 ms)
> > [ RUN      ] FaultToleranceTest.FrameworkReliableRegistration
> > [       OK ] FaultToleranceTest.FrameworkReliableRegistration (56 ms)
> > [ RUN      ] FaultToleranceTest.FrameworkReregister
> > [       OK ] FaultToleranceTest.FrameworkReregister (61 ms)
> > [ RUN      ] FaultToleranceTest.TaskLost
> > [       OK ] FaultToleranceTest.TaskLost (48 ms)
> > [ RUN      ] FaultToleranceTest.SchedulerFailoverStatusUpdate
> > [       OK ] FaultToleranceTest.SchedulerFailoverStatusUpdate (47 ms)
> > [ RUN      ] FaultToleranceTest.ReregisterFrameworkExitedExecutor
> > [       OK ] FaultToleranceTest.ReregisterFrameworkExitedExecutor (87 ms)
> > [ RUN      ] FaultToleranceTest.ForwardStatusUpdateUnknownExecutor
> > [       OK ] FaultToleranceTest.ForwardStatusUpdateUnknownExecutor (43 ms)
> > [ RUN      ] FaultToleranceTest.SchedulerFailoverFrameworkMessage
> > [       OK ] FaultToleranceTest.SchedulerFailoverFrameworkMessage (55 ms)
> > [ RUN      ] FaultToleranceTest.IgnoreKillTaskFromUnregisteredFramework
> > [       OK ] FaultToleranceTest.IgnoreKillTaskFromUnregisteredFramework (55 ms)
> > [ RUN      ] FaultToleranceTest.SchedulerExit
> > [       OK ] FaultToleranceTest.SchedulerExit (38 ms)
> > [ RUN      ] FaultToleranceTest.SlaveReliableRegistration
> > [       OK ] FaultToleranceTest.SlaveReliableRegistration (17 ms)
> > [ RUN      ] FaultToleranceTest.SlaveReregisterOnZKExpiration
> > [       OK ] FaultToleranceTest.SlaveReregisterOnZKExpiration (20 ms)
> > [ RUN      ] FaultToleranceTest.SlaveReregisterTerminatedExecutor
> > [       OK ] FaultToleranceTest.SlaveReregisterTerminatedExecutor (52 ms)
> > [ RUN      ] FaultToleranceTest.ReconcileLostTasks
> > [       OK ] FaultToleranceTest.ReconcileLostTasks (78 ms)
> > [ RUN      ] FaultToleranceTest.ReconcileIncompleteTasks
> > [       OK ] FaultToleranceTest.ReconcileIncompleteTasks (64 ms)
> > [ RUN      ] FaultToleranceTest.SplitBrainMasters
> > [       OK ] FaultToleranceTest.SplitBrainMasters (63 ms)
> > [----------] 24 tests from FaultToleranceTest (11644 ms total)
> > 
> > [----------] 6 tests from FilesTest
> > [ RUN      ] FilesTest.AttachTest
> > [       OK ] FilesTest.AttachTest (2 ms)
> > [ RUN      ] FilesTest.DetachTest
> > [       OK ] FilesTest.DetachTest (0 ms)
> > [ RUN      ] FilesTest.ReadTest
> > [       OK ] FilesTest.ReadTest (6 ms)
> > [ RUN      ] FilesTest.ResolveTest
> > [       OK ] FilesTest.ResolveTest (40 ms)
> > [ RUN      ] FilesTest.BrowseTest
> > [       OK ] FilesTest.BrowseTest (8 ms)
> > [ RUN      ] FilesTest.DownloadTest
> > [       OK ] FilesTest.DownloadTest (7 ms)
> > [----------] 6 tests from FilesTest (63 ms total)
> > 
> > [----------] 3 tests from GarbageCollectorTest
> > [ RUN      ] GarbageCollectorTest.Schedule
> > [       OK ] GarbageCollectorTest.Schedule (93 ms)
> > [ RUN      ] GarbageCollectorTest.Unschedule
> > [       OK ] GarbageCollectorTest.Unschedule (72 ms)
> > [ RUN      ] GarbageCollectorTest.Prune
> > [       OK ] GarbageCollectorTest.Prune (51 ms)
> > [----------] 3 tests from GarbageCollectorTest (216 ms total)
> > 
> > [----------] 5 tests from GarbageCollectorIntegrationTest
> > [ RUN      ] GarbageCollectorIntegrationTest.Restart
> > [       OK ] GarbageCollectorIntegrationTest.Restart (94 ms)
> > [ RUN      ] GarbageCollectorIntegrationTest.ExitedFramework
> > [       OK ] GarbageCollectorIntegrationTest.ExitedFramework (98 ms)
> > [ RUN      ] GarbageCollectorIntegrationTest.ExitedExecutor
> > [       OK ] GarbageCollectorIntegrationTest.ExitedExecutor (66 ms)
> > [ RUN      ] GarbageCollectorIntegrationTest.DiskUsage
> > [       OK ] GarbageCollectorIntegrationTest.DiskUsage (81 ms)
> > [ RUN      ] GarbageCollectorIntegrationTest.Unschedule
> > [       OK ] GarbageCollectorIntegrationTest.Unschedule (130 ms)
> > [----------] 5 tests from GarbageCollectorIntegrationTest (470 ms total)
> > 
> > [----------] 2 tests from CpuIsolatorTest/0, where TypeParam = mesos::internal::slave::PosixCpuIsolatorProcess
> > [ RUN      ] CpuIsolatorTest/0.UserCpuUsage
> > [       OK ] CpuIsolatorTest/0.UserCpuUsage (1005 ms)
> > [ RUN      ] CpuIsolatorTest/0.SystemCpuUsage
> > [       OK ] CpuIsolatorTest/0.SystemCpuUsage (1002 ms)
> > [----------] 2 tests from CpuIsolatorTest/0 (2007 ms total)
> > 
> > [----------] 1 test from NetworkTest
> > [ RUN      ] NetworkTest.Watch
> > [       OK ] NetworkTest.Watch (1 ms)
> > [----------] 1 test from NetworkTest (1 ms total)
> > 
> > [----------] 3 tests from LogStorageTest/0, where TypeParam = mesos::internal::log::LevelDBStorage
> > [ RUN      ] LogStorageTest/0.Truncate
> > [       OK ] LogStorageTest/0.Truncate (25 ms)
> > [ RUN      ] LogStorageTest/0.TruncateWithEmptyLog
> > [       OK ] LogStorageTest/0.TruncateWithEmptyLog (4 ms)
> > [ RUN      ] LogStorageTest/0.TruncateWithManyHoles
> > [       OK ] LogStorageTest/0.TruncateWithManyHoles (25 ms)
> > [----------] 3 tests from LogStorageTest/0 (55 ms total)
> > 
> > [----------] 4 tests from ReplicaTest
> > [ RUN      ] ReplicaTest.Promise
> > [       OK ] ReplicaTest.Promise (71 ms)
> > [ RUN      ] ReplicaTest.Append
> > [       OK ] ReplicaTest.Append (26 ms)
> > [ RUN      ] ReplicaTest.Restore
> > [       OK ] ReplicaTest.Restore (38 ms)
> > [ RUN      ] ReplicaTest.NonVoting
> > [       OK ] ReplicaTest.NonVoting (24 ms)
> > [----------] 4 tests from ReplicaTest (159 ms total)
> > 
> > [----------] 21 tests from CoordinatorTest
> > [ RUN      ] CoordinatorTest.Elect
> > [       OK ] CoordinatorTest.Elect (33 ms)
> > [ RUN      ] CoordinatorTest.ElectWithClockPaused
> > [       OK ] CoordinatorTest.ElectWithClockPaused (33 ms)
> > [ RUN      ] CoordinatorTest.AppendRead
> > [       OK ] CoordinatorTest.AppendRead (61 ms)
> > [ RUN      ] CoordinatorTest.AppendReadError
> > [       OK ] CoordinatorTest.AppendReadError (42 ms)
> > [ RUN      ] CoordinatorTest.AppendDiscarded
> > [       OK ] CoordinatorTest.AppendDiscarded (90 ms)
> > [ RUN      ] CoordinatorTest.ElectNoQuorum
> > [       OK ] CoordinatorTest.ElectNoQuorum (44 ms)
> > [ RUN      ] CoordinatorTest.AppendNoQuorum
> > [       OK ] CoordinatorTest.AppendNoQuorum (34 ms)
> > [ RUN      ] CoordinatorTest.Failover
> > [       OK ] CoordinatorTest.Failover (19 ms)
> > [ RUN      ] CoordinatorTest.Demoted
> > [       OK ] CoordinatorTest.Demoted (28 ms)
> > [ RUN      ] CoordinatorTest.Fill
> > [       OK ] CoordinatorTest.Fill (90 ms)
> > [ RUN      ] CoordinatorTest.NotLearnedFill
> > [       OK ] CoordinatorTest.NotLearnedFill (104 ms)
> > [ RUN      ] CoordinatorTest.MultipleAppends
> > [       OK ] CoordinatorTest.MultipleAppends (30 ms)
> > [ RUN      ] CoordinatorTest.MultipleAppendsNotLearnedFill
> > [       OK ] CoordinatorTest.MultipleAppendsNotLearnedFill (108 ms)
> > [ RUN      ] CoordinatorTest.Truncate
> > [       OK ] CoordinatorTest.Truncate (104 ms)
> > [ RUN      ] CoordinatorTest.TruncateNotLearnedFill
> > [       OK ] CoordinatorTest.TruncateNotLearnedFill (87 ms)
> > [ RUN      ] CoordinatorTest.TruncateLearnedFill
> > [       OK ] CoordinatorTest.TruncateLearnedFill (91 ms)
> > [ RUN      ] CoordinatorTest.RacingElect
> > [       OK ] CoordinatorTest.RacingElect (4 ms)
> > [ RUN      ] CoordinatorTest.FillNoQuorum
> > [       OK ] CoordinatorTest.FillNoQuorum (0 ms)
> > [ RUN      ] CoordinatorTest.FillInconsistent
> > [       OK ] CoordinatorTest.FillInconsistent (0 ms)
> > [ RUN      ] CoordinatorTest.LearnedOnOneReplica_NotLearnedOnAnother
> > [       OK ] CoordinatorTest.LearnedOnOneReplica_NotLearnedOnAnother (1 ms)
> > [ RUN      ] CoordinatorTest.LearnedOnOneReplica_NotLearnedOnAnother_AnotherFailsAndRecovers
> > [       OK ] CoordinatorTest.LearnedOnOneReplica_NotLearnedOnAnother_AnotherFailsAndRecovers (5 ms)
> > [----------] 21 tests from CoordinatorTest (1008 ms total)
> > 
> > [----------] 2 tests from RecoverTest
> > [ RUN      ] RecoverTest.RacingCatchup
> > [       OK ] RecoverTest.RacingCatchup (358 ms)
> > [ RUN      ] RecoverTest.CatchupRetry
> > [       OK ] RecoverTest.CatchupRetry (101 ms)
> > [----------] 2 tests from RecoverTest (459 ms total)
> > 
> > [----------] 2 tests from LogTest
> > [ RUN      ] LogTest.WriteRead
> > [       OK ] LogTest.WriteRead (37 ms)
> > [ RUN      ] LogTest.Position
> > [       OK ] LogTest.Position (39 ms)
> > [----------] 2 tests from LogTest (76 ms total)
> > 
> > [----------] 1 test from LogZooKeeperTest
> > [ RUN      ] LogZooKeeperTest.WriteRead
> > [       OK ] LogZooKeeperTest.WriteRead (264 ms)
> > [----------] 1 test from LogZooKeeperTest (264 ms total)
> > 
> > [----------] 1 test from LoggingTest
> > [ RUN      ] LoggingTest.Toggle
> > [       OK ] LoggingTest.Toggle (4 ms)
> > [----------] 1 test from LoggingTest (4 ms total)
> > 
> > [----------] 1 test from MasterContenderDetectorTest
> > [ RUN      ] MasterContenderDetectorTest.File
> > [       OK ] MasterContenderDetectorTest.File (11 ms)
> > [----------] 1 test from MasterContenderDetectorTest (11 ms total)
> > 
> > [----------] 2 tests from BasicMasterContenderDetectorTest
> > [ RUN      ] BasicMasterContenderDetectorTest.Contender
> > [       OK ] BasicMasterContenderDetectorTest.Contender (679 ms)
> > [ RUN      ] BasicMasterContenderDetectorTest.Detector
> > [       OK ] BasicMasterContenderDetectorTest.Detector (5 ms)
> > [----------] 2 tests from BasicMasterContenderDetectorTest (684 ms total)
> > 
> > [----------] 9 tests from ZooKeeperMasterContenderDetectorTest
> > [ RUN      ] ZooKeeperMasterContenderDetectorTest.MasterContender
> > 2014-04-11 20:46:53,554:8801(0x2b08990aa700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:40648] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
> > 2014-04-11 20:46:56,891:8801(0x2b08990aa700):ZOO_ERROR@handle_socket_error_msg@1739: Socket [127.0.0.1:40648] zk retcode=-112, errno=116(Stale NFS file handle): sessionId=0x145528b03e10000 has expired.
> > 2014-04-11 20:46:56,910:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:40648] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
> > [       OK ] ZooKeeperMasterContenderDetectorTest.MasterContender (3528 ms)
> > [ RUN      ] ZooKeeperMasterContenderDetectorTest.ContenderPendingElection
> > [       OK ] ZooKeeperMasterContenderDetectorTest.ContenderPendingElection (63 ms)
> > [ RUN      ] ZooKeeperMasterContenderDetectorTest.MasterContenders
> > [       OK ] ZooKeeperMasterContenderDetectorTest.MasterContenders (391 ms)
> > [ RUN      ] ZooKeeperMasterContenderDetectorTest.NonRetryableFrrors
> > 2014-04-11 20:47:00,246:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > 2014-04-11 20:47:03,582:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > [       OK ] ZooKeeperMasterContenderDetectorTest.NonRetryableFrrors (8855 ms)
> > [ RUN      ] ZooKeeperMasterContenderDetectorTest.ContenderDetectorShutdownNetwork
> > 2014-04-11 20:47:06,290:8801(0x2b089a701700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:56568] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
> > 2014-04-11 20:47:06,291:8801(0x2b0899cc4700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:56568] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
> > 2014-04-11 20:47:06,292:8801(0x2b0899ec5700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:56568] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > 2014-04-11 20:47:06,293:8801(0x2b08992ab700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:56568] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > 2014-04-11 20:47:06,918:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > [       OK ] ZooKeeperMasterContenderDetectorTest.ContenderDetectorShutdownNetwork (3448 ms)
> > [ RUN      ] ZooKeeperMasterContenderDetectorTest.MasterDetectorTimedoutSession
> > 2014-04-11 20:47:09,777:8801(0x2b089ab03700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:45818] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
> > 2014-04-11 20:47:09,778:8801(0x2b0899ec5700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:45818] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
> > 2014-04-11 20:47:09,778:8801(0x2b08992ab700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:45818] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
> > 2014-04-11 20:47:09,791:8801(0x2b0899cc4700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:45818] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > 2014-04-11 20:47:09,791:8801(0x2b089a500700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:45818] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > 2014-04-11 20:47:09,791:8801(0x2b0899ec5700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:45818] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > [       OK ] ZooKeeperMasterContenderDetectorTest.MasterDetectorTimedoutSession (126 ms)
> > [ RUN      ] ZooKeeperMasterContenderDetectorTest.MasterDetectorExpireMasterZKSession
> > 2014-04-11 20:47:09,873:8801(0x2b089ab03700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:36085] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
> > 2014-04-11 20:47:10,254:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > 2014-04-11 20:47:13,211:8801(0x2b089ab03700):ZOO_ERROR@handle_socket_error_msg@1739: Socket [127.0.0.1:36085] zk retcode=-112, errno=116(Stale NFS file handle): sessionId=0x145528b440b0000 has expired.
> > [       OK ] ZooKeeperMasterContenderDetectorTest.MasterDetectorExpireMasterZKSession (3437 ms)
> > [ RUN      ] ZooKeeperMasterContenderDetectorTest.MasterDetectorExpireSlaveZKSession
> > 2014-04-11 20:47:13,333:8801(0x2b089a902700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:36967] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
> > 2014-04-11 20:47:13,590:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > 2014-04-11 20:47:16,671:8801(0x2b089a902700):ZOO_ERROR@handle_socket_error_msg@1739: Socket [127.0.0.1:36967] zk retcode=-112, errno=116(Stale NFS file handle): sessionId=0x145528b51660001 has expired.
> > [       OK ] ZooKeeperMasterContenderDetectorTest.MasterDetectorExpireSlaveZKSession (3436 ms)
> > [ RUN      ] ZooKeeperMasterContenderDetectorTest.MasterDetectorExpireSlaveZKSessionNewMaster
> > 2014-04-11 20:47:16,700:8801(0x2b08992ab700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:60113] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
> > 2014-04-11 20:47:16,700:8801(0x2b0899ac3700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:60113] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
> > 2014-04-11 20:47:16,927:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > 2014-04-11 20:47:20,038:8801(0x2b08992ab700):ZOO_ERROR@handle_socket_error_msg@1739: Socket [127.0.0.1:60113] zk retcode=-112, errno=116(Stale NFS file handle): sessionId=0x145528b5ec90002 has expired.
> > 2014-04-11 20:47:20,040:8801(0x2b0899ac3700):ZOO_ERROR@handle_socket_error_msg@1739: Socket [127.0.0.1:60113] zk retcode=-112, errno=116(Stale NFS file handle): sessionId=0x145528b5ec90000 has expired.
> > [       OK ] ZooKeeperMasterContenderDetectorTest.MasterDetectorExpireSlaveZKSessionNewMaster (3382 ms)
> > [----------] 9 tests from ZooKeeperMasterContenderDetectorTest (26666 ms total)
> > 
> > [----------] 14 tests from MasterTest
> > [ RUN      ] MasterTest.TaskRunning
> > [       OK ] MasterTest.TaskRunning (58 ms)
> > [ RUN      ] MasterTest.ShutdownFrameworkWhileTaskRunning
> > [       OK ] MasterTest.ShutdownFrameworkWhileTaskRunning (43 ms)
> > [ RUN      ] MasterTest.KillTask
> > [       OK ] MasterTest.KillTask (36 ms)
> > [ RUN      ] MasterTest.StatusUpdateAck
> > 2014-04-11 20:47:20,266:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > [       OK ] MasterTest.StatusUpdateAck (81 ms)
> > [ RUN      ] MasterTest.RecoverResources
> > [       OK ] MasterTest.RecoverResources (1010 ms)
> > [ RUN      ] MasterTest.FrameworkMessage
> > [       OK ] MasterTest.FrameworkMessage (86 ms)
> > [ RUN      ] MasterTest.MultipleExecutors
> > [       OK ] MasterTest.MultipleExecutors (47 ms)
> > [ RUN      ] MasterTest.MasterInfo
> > [       OK ] MasterTest.MasterInfo (51 ms)
> > [ RUN      ] MasterTest.MasterInfoOnReElection
> > [       OK ] MasterTest.MasterInfoOnReElection (41 ms)
> > [ RUN      ] MasterTest.MasterLost
> > [       OK ] MasterTest.MasterLost (34 ms)
> > [ RUN      ] MasterTest.ReconcileTaskTest
> > [       OK ] MasterTest.ReconcileTaskTest (25 ms)
> > [ RUN      ] MasterTest.LaunchCombinedOfferTest
> > [       OK ] MasterTest.LaunchCombinedOfferTest (2012 ms)
> > [ RUN      ] MasterTest.LaunchAcrossSlavesTest
> > 2014-04-11 20:47:23,603:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > [       OK ] MasterTest.LaunchAcrossSlavesTest (38 ms)
> > [ RUN      ] MasterTest.LaunchDuplicateOfferTest
> > [       OK ] MasterTest.LaunchDuplicateOfferTest (34 ms)
> > [----------] 14 tests from MasterTest (3596 ms total)
> > 
> > [----------] 1 test from WhitelistTest
> > [ RUN      ] WhitelistTest.WhitelistSlave
> > 2014-04-11 20:47:26,939:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > [       OK ] WhitelistTest.WhitelistSlave (5014 ms)
> > [----------] 1 test from WhitelistTest (5014 ms total)
> > 
> > [----------] 1 test from MasterZooKeeperTest
> > [ RUN      ] MasterZooKeeperTest.LostZooKeeperCluster
> > 2014-04-11 20:47:28,737:8801(0x2b0899cc4700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:55474] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
> > 2014-04-11 20:47:28,737:8801(0x2b089a902700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:55474] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
> > 2014-04-11 20:47:28,738:8801(0x2b08998c2700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:55474] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
> > 2014-04-11 20:47:28,738:8801(0x2b089a701700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:55474] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
> > 2014-04-11 20:47:28,740:8801(0x2b089a500700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:55474] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > 2014-04-11 20:47:28,741:8801(0x2b08994ae700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:55474] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > 2014-04-11 20:47:28,741:8801(0x2b089a701700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:55474] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > 2014-04-11 20:47:28,741:8801(0x2b08992ab700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:55474] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > [       OK ] MasterZooKeeperTest.LostZooKeeperCluster (75 ms)
> > [----------] 1 test from MasterZooKeeperTest (75 ms total)
> > 
> > [----------] 2 tests from MonitorTest
> > [ RUN      ] MonitorTest.Collection
> > [       OK ] MonitorTest.Collection (121 ms)
> > [ RUN      ] MonitorTest.Statistics
> > [       OK ] MonitorTest.Statistics (103 ms)
> > [----------] 2 tests from MonitorTest (224 ms total)
> > 
> > [----------] 2 tests from PathsTest
> > [ RUN      ] PathsTest.CreateExecutorDirectory
> > [       OK ] PathsTest.CreateExecutorDirectory (5 ms)
> > [ RUN      ] PathsTest.format
> > [       OK ] PathsTest.format (1 ms)
> > [----------] 2 tests from PathsTest (6 ms total)
> > 
> > [----------] 1 test from ProtobufIOTest
> > [ RUN      ] ProtobufIOTest.Basic
> > [       OK ] ProtobufIOTest.Basic (6 ms)
> > [----------] 1 test from ProtobufIOTest (6 ms total)
> > 
> > [----------] 1 test from HealthTest
> > [ RUN      ] HealthTest.ObserveEndpoint
> > [       OK ] HealthTest.ObserveEndpoint (59 ms)
> > [----------] 1 test from HealthTest (59 ms total)
> > 
> > [----------] 8 tests from ResourceOffersTest
> > [ RUN      ] ResourceOffersTest.ResourceOfferWithMultipleSlaves
> > [       OK ] ResourceOffersTest.ResourceOfferWithMultipleSlaves (86 ms)
> > [ RUN      ] ResourceOffersTest.TaskUsesNoResources
> > [       OK ] ResourceOffersTest.TaskUsesNoResources (12 ms)
> > [ RUN      ] ResourceOffersTest.TaskUsesInvalidResources
> > [       OK ] ResourceOffersTest.TaskUsesInvalidResources (34 ms)
> > [ RUN      ] ResourceOffersTest.TaskUsesMoreResourcesThanOffered
> > [       OK ] ResourceOffersTest.TaskUsesMoreResourcesThanOffered (47 ms)
> > [ RUN      ] ResourceOffersTest.ResourcesGetReofferedAfterFrameworkStops
> > [       OK ] ResourceOffersTest.ResourcesGetReofferedAfterFrameworkStops (42 ms)
> > [ RUN      ] ResourceOffersTest.ResourcesGetReofferedWhenUnused
> > [       OK ] ResourceOffersTest.ResourcesGetReofferedWhenUnused (41 ms)
> > [ RUN      ] ResourceOffersTest.ResourcesGetReofferedAfterTaskInfoError
> > [       OK ] ResourceOffersTest.ResourcesGetReofferedAfterTaskInfoError (17 ms)
> > [ RUN      ] ResourceOffersTest.Request
> > 2014-04-11 20:47:30,274:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > 2014-04-11 20:47:33,611:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > [       OK ] ResourceOffersTest.Request (5008 ms)
> > [----------] 8 tests from ResourceOffersTest (5290 ms total)
> > 
> > [----------] 1 test from MultipleExecutorsTest
> > [ RUN      ] MultipleExecutorsTest.TasksExecutorInfoDiffers
> > [       OK ] MultipleExecutorsTest.TasksExecutorInfoDiffers (44 ms)
> > [----------] 1 test from MultipleExecutorsTest (44 ms total)
> > 
> > [----------] 34 tests from ResourcesTest
> > [ RUN      ] ResourcesTest.Parsing
> > [       OK ] ResourcesTest.Parsing (1 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 (0 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 (3 ms total)
> > 
> > [----------] 3 tests from SASL
> > [ RUN      ] SASL.success
> > [       OK ] SASL.success (7 ms)
> > [ RUN      ] SASL.failed1
> > [       OK ] SASL.failed1 (1 ms)
> > [ RUN      ] SASL.failed2
> > [       OK ] SASL.failed2 (2 ms)
> > [----------] 3 tests from SASL (11 ms total)
> > 
> > [----------] 2 tests from SlaveStateTest
> > [ RUN      ] SlaveStateTest.CheckpointProtobuf
> > [       OK ] SlaveStateTest.CheckpointProtobuf (7 ms)
> > [ RUN      ] SlaveStateTest.CheckpointString
> > [       OK ] SlaveStateTest.CheckpointString (1 ms)
> > [----------] 2 tests from SlaveStateTest (8 ms total)
> > 
> > [----------] 23 tests from SlaveRecoveryTest/0, where TypeParam = mesos::internal::slave::MesosContainerizer
> > [ RUN      ] SlaveRecoveryTest/0.RecoverSlaveState
> > WARNING: Logging before InitGoogleLogging() is written to STDERR
> > I0411 20:47:34.939085 10903 exec.cpp:131] Version: 0.19.0
> > I0411 20:47:34.944331 10926 exec.cpp:205] Executor registered on slave 20140411-204734-143311683-50087-8801-0
> > Registered executor on minerva.apache.org
> > Starting task c7211f13-24c9-4a12-a851-b4a85052b2fa
> > sh -c 'sleep 1000'
> > Forked command at 10931
> > I0411 20:47:34.980998 10928 exec.cpp:378] Executor asked to shutdown
> > Shutting down
> > Sending SIGTERM to process tree at pid 10931
> > [       OK ] SlaveRecoveryTest/0.RecoverSlaveState (579 ms)
> > [ RUN      ] SlaveRecoveryTest/0.RecoverStatusUpdateManager
> > Killing the following process trees:
> > [ 
> > -+- 10931 sh -c sleep 1000 
> >  \--- 10932 sleep 1000 
> > ]
> > WARNING: Logging before InitGoogleLogging() is written to STDERR
> > I0411 20:47:35.927093 10955 exec.cpp:131] Version: 0.19.0
> > I0411 20:47:35.935897 10970 exec.cpp:205] Executor registered on slave 20140411-204734-143311683-50087-8801-0
> > Registered executor on minerva.apache.org
> > Starting task 82e13449-1bc1-4052-9f16-9cc04371df93
> > Forked command at 10978
> > sh -c 'sleep 1000'
> > Command terminated with signal Terminated (pid: 10931)
> > I0411 20:47:35.952348 10970 exec.cpp:251] Received reconnect request from slave 20140411-204734-143311683-50087-8801-0
> > I0411 20:47:35.959218 10970 exec.cpp:228] Executor re-registered on slave 20140411-204734-143311683-50087-8801-0
> > Re-registered executor on minerva.apache.org
> > 2014-04-11 20:47:36,946:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > I0411 20:47:37.956852 10971 exec.cpp:378] Executor asked to shutdown
> > Shutting down
> > Sending SIGTERM to process tree at pid 10978
> > [       OK ] SlaveRecoveryTest/0.RecoverStatusUpdateManager (2985 ms)
> > [ RUN      ] SlaveRecoveryTest/0.ReconnectExecutor
> > Killing the following process trees:
> > [ 
> > -+- 10978 sh -c sleep 1000 
> >  \--- 10979 sleep 1000 
> > ]
> > Command terminated with signal Terminated (pid: 10978)
> > WARNING: Logging before InitGoogleLogging() is written to STDERR
> > I0411 20:47:38.971302 11009 exec.cpp:131] Version: 0.19.0
> > I0411 20:47:38.974445 11026 exec.cpp:205] Executor registered on slave 20140411-204737-143311683-50087-8801-0
> > Registered executor on minerva.apache.org
> > Starting task 184db1b1-0d66-4ad7-9264-b608b59fb114
> > Forked command at 11032
> > sh -c 'sleep 1000'
> > I0411 20:47:38.985080 11028 exec.cpp:251] Received reconnect request from slave 20140411-204737-143311683-50087-8801-0
> > I0411 20:47:38.985710 11025 exec.cpp:228] Executor re-registered on slave 20140411-204737-143311683-50087-8801-0
> > Re-registered executor on minerva.apache.org
> > 2014-04-11 20:47:40,283:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > I0411 20:47:40.989017 11026 exec.cpp:378] Executor asked to shutdown
> > Shutting down
> > Sending SIGTERM to process tree at pid 11032
> > [       OK ] SlaveRecoveryTest/0.ReconnectExecutor (3028 ms)
> > [ RUN      ] SlaveRecoveryTest/0.RecoverUnregisteredExecutor
> > Killing the following process trees:
> > [ 
> > -+- 11032 sh -c sleep 1000 
> >  \--- 11033 sleep 1000 
> > ]
> > WARNING: Logging before InitGoogleLogging() is written to STDERR
> > I0411 20:47:41.932523 11056 exec.cpp:131] Version: 0.19.0
> > Command terminated with signal Terminated (pid: 11032)
> > [       OK ] SlaveRecoveryTest/0.RecoverUnregisteredExecutor (1138 ms)
> > [ RUN      ] SlaveRecoveryTest/0.RecoverTerminatedExecutor
> > WARNING: Logging before InitGoogleLogging() is written to STDERR
> > I0411 20:47:43.002974 11104 exec.cpp:131] Version: 0.19.0
> > I0411 20:47:43.006430 11122 exec.cpp:205] Executor registered on slave 20140411-204742-143311683-50087-8801-0
> > Registered executor on minerva.apache.org
> > Starting task aa40d1f1-62c6-4a4c-ba48-2c5138257089
> > Forked command at 11127
> > sh -c 'sleep 1000'
> > I0411 20:47:43.018995 11121 exec.cpp:378] Executor asked to shutdown
> > Shutting down
> > Sending SIGTERM to process tree at pid 11127
> > Killing the following process trees:
> > [ 
> > -+- 11127 sh -c sleep 1000 
> >  \--- 11128 sleep 1000 
> > ]
> > [       OK ] SlaveRecoveryTest/0.RecoverTerminatedExecutor (1113 ms)
> > [ RUN      ] SlaveRecoveryTest/0.RecoverCompletedExecutor
> > 2014-04-11 20:47:43,619:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > WARNING: Logging before InitGoogleLogging() is written to STDERR
> > I0411 20:47:44.120177 11151 exec.cpp:131] Version: 0.19.0
> > I0411 20:47:44.123402 11166 exec.cpp:205] Executor registered on slave 20140411-204743-143311683-50087-8801-0
> > Registered executor on minerva.apache.org
> > Starting task ca91efdf-a3be-41e0-9817-ff776fdd94a4
> > Forked command at 11174
> > sh -c 'exit 0'
> > Command exited with status 0 (pid: 11174)
> > 2014-04-11 20:47:46,955:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > [       OK ] SlaveRecoveryTest/0.RecoverCompletedExecutor (4008 ms)
> > [ RUN      ] SlaveRecoveryTest/0.CleanupExecutor
> > WARNING: Logging before InitGoogleLogging() is written to STDERR
> > I0411 20:47:48.116734 11221 exec.cpp:131] Version: 0.19.0
> > I0411 20:47:48.121106 11235 exec.cpp:205] Executor registered on slave 20140411-204747-143311683-50087-8801-0
> > Registered executor on minerva.apache.org
> > Starting task bb4828bd-7d7c-4120-b00d-c29894268eb4
> > Forked command at 11244
> > sh -c 'sleep 1000'
> > I0411 20:47:48.143025 11240 exec.cpp:378] Executor asked to shutdown
> > Shutting down
> > Sending SIGTERM to process tree at pid 11244
> > Killing the following process trees:
> > [ 
> > -+- 11244 sh -c sleep 1000 
> >  \--- 11245 sleep 1000 
> > ]
> > [       OK ] SlaveRecoveryTest/0.CleanupExecutor (1159 ms)
> > [ RUN      ] SlaveRecoveryTest/0.RemoveNonCheckpointingFramework
> > WARNING: Logging before InitGoogleLogging() is written to STDERR
> > I0411 20:47:49.220844 11290 exec.cpp:131] Version: 0.19.0
> > WARNING: Logging before InitGoogleLogging() is written to STDERR
> > I0411 20:47:49.224985 11291 exec.cpp:131] Version: 0.19.0
> > I0411 20:47:49.227166 11321 exec.cpp:205] Executor registered on slave 20140411-204748-143311683-50087-8801-0
> > Registered executor on minerva.apache.org
> > Starting task 4d4d6a56-c6ad-476a-bfa9-e83d6d98d9c1
> > sh -c 'sleep 1000'
> > Forked command at 11336
> > I0411 20:47:49.231335 11332 exec.cpp:205] Executor registered on slave 20140411-204748-143311683-50087-8801-0
> > Registered executor on minerva.apache.org
> > Starting task 0ce08f66-ded8-4db1-98f8-625914c1a16b
> > Forked command at 11338
> > sh -c 'sleep 1000'
> > I0411 20:47:49.236307 11322 exec.cpp:378] Executor asked to shutdown
> > Shutting down
> > Sending SIGTERM to process tree at pid 11336
> > I0411 20:47:49.236670 11330 exec.cpp:378] Executor asked to shutdown
> > Shutting down
> > Sending SIGTERM to process tree at pid 11338
> > [       OK ] SlaveRecoveryTest/0.RemoveNonCheckpointingFramework (827 ms)
> > [ RUN      ] SlaveRecoveryTest/0.NonCheckpointingFramework
> > Killing the following process trees:
> > [ 
> > -+- 11336 sh -c sleep 1000 
> >  \--- 11337 sleep 1000 
> > ]
> > Killing the following process trees:
> > [ 
> > -+- 11338 sh -c sleep 1000 
> >  \--- 11339 sleep 1000 
> > ]
> > WARNING: Logging before InitGoogleLogging() is written to STDERR
> > I0411 20:47:50.186210 11362 exec.cpp:131] Version: 0.19.0
> > I0411 20:47:50.189034 11382 exec.cpp:205] Executor registered on slave 20140411-204749-143311683-50087-8801-0
> > Registered executor on minerva.apache.org
> > Starting task 8517d75c-fb24-4cc8-b729-a3d2a3559bbd
> > Forked command at 11385
> > sh -c 'sleep 1000'
> > I0411 20:47:50.217195 11382 exec.cpp:378] Executor asked to shutdown
> > Shutting down
> > Sending SIGTERM to process tree at pid 11385
> > [       OK ] SlaveRecoveryTest/0.NonCheckpointingFramework (978 ms)
> > [ RUN      ] SlaveRecoveryTest/0.NonCheckpointingSlave
> > Command terminated with signal Terminated (pid: 11336)
> > Command terminated with signal Terminated (pid: 11338)
> > Killing the following process trees:
> > [ 
> > -+- 11385 sh -c sleep 1000 
> >  \--- 11386 sleep 1000 
> > ]
> > 2014-04-11 20:47:50,290:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > [       OK ] SlaveRecoveryTest/0.NonCheckpointingSlave (75 ms)
> > [ RUN      ] SlaveRecoveryTest/0.KillTask
> > Command terminated with signal Terminated (pid: 11385)
> > WARNING: Logging before InitGoogleLogging() is written to STDERR
> > I0411 20:47:51.191978 11409 exec.cpp:131] Version: 0.19.0
> > I0411 20:47:51.195574 11428 exec.cpp:205] Executor registered on slave 20140411-204750-143311683-50087-8801-0
> > Registered executor on minerva.apache.org
> > Starting task 6af6deb0-01fd-4cf4-b1ad-51353b32cac2
> > Forked command at 11432
> > sh -c 'sleep 1000'
> > I0411 20:47:51.213135 11428 exec.cpp:251] Received reconnect request from slave 20140411-204750-143311683-50087-8801-0
> > I0411 20:47:51.219322 11429 exec.cpp:228] Executor re-registered on slave 20140411-204750-143311683-50087-8801-0
> > Re-registered executor on minerva.apache.org
> > Shutting down
> > Sending SIGTERM to process tree at pid 11432
> > Killing the following process trees:
> > [ 
> > -+- 11432 sh -c sleep 1000 
> >  \--- 11433 sleep 1000 
> > ]
> > Command terminated with signal Terminated (pid: 11432)
> > [       OK ] SlaveRecoveryTest/0.KillTask (1983 ms)
> > [ RUN      ] SlaveRecoveryTest/0.Reboot
> > 2014-04-11 20:47:53,626:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > WARNING: Logging before InitGoogleLogging() is written to STDERR
> > I0411 20:47:54.352082 11456 exec.cpp:131] Version: 0.19.0
> > I0411 20:47:54.355703 11470 exec.cpp:205] Executor registered on slave 20140411-204752-143311683-50087-8801-0
> > Registered executor on minerva.apache.org
> > Starting task a219fc37-11ff-46df-9db5-f9effb0b740c
> > sh -c 'sleep 1000'
> > Forked command at 11479
> > I0411 20:47:54.375720 11476 exec.cpp:378] Executor asked to shutdown
> > Shutting down
> > Sending SIGTERM to process tree at pid 11479
> > [       OK ] SlaveRecoveryTest/0.Reboot (2105 ms)
> > [ RUN      ] SlaveRecoveryTest/0.GCExecutor
> > Killing the following process trees:
> > [ 
> > -+- 11479 sh -c sleep 1000 
> >  \--- 11480 sleep 1000 
> > ]
> > WARNING: Logging before InitGoogleLogging() is written to STDERR
> > I0411 20:47:55.305217 11503 exec.cpp:131] Version: 0.19.0
> > I0411 20:47:55.308573 11518 exec.cpp:205] Executor registered on slave 20140411-204754-143311683-50087-8801-0
> > Registered executor on minerva.apache.org
> > Starting task cacd3089-3b58-4061-87a3-7b146e2231e9
> > Forked command at 11526
> > sh -c 'sleep 1000'
> > I0411 20:47:55.316469 11519 exec.cpp:378] Executor asked to shutdown
> > Shutting down
> > Sending SIGTERM to process tree at pid 11526
> > Killing the following process trees:
> > [ 
> > -+- 11526 sh -c sleep 1000 
> >  \--- 11527 sleep 1000 
> > ]
> > Command terminated with signal Terminated (pid: 11479)
> > [       OK ] SlaveRecoveryTest/0.GCExecutor (998 ms)
> > [ RUN      ] SlaveRecoveryTest/0.ShutdownSlave
> > Command terminated with signal Terminated (pid: 11526)
> > WARNING: Logging before InitGoogleLogging() is written to STDERR
> > I0411 20:47:56.370793 11550 exec.cpp:131] Version: 0.19.0
> > I0411 20:47:56.374048 11569 exec.cpp:205] Executor registered on slave 20140411-204755-143311683-50087-8801-0
> > Registered executor on minerva.apache.org
> > Starting task 6f03b776-2b3b-456d-be45-9c8ffb3f4c33
> > Forked command at 11573
> > sh -c 'sleep 1000'
> > I0411 20:47:56.381101 11566 exec.cpp:378] Executor asked to shutdown
> > Shutting down
> > Sending SIGTERM to process tree at pid 11573
> > Killing the following process trees:
> > [ 
> > -+- 11573 sh -c sleep 1000 
> >  \--- 11574 sleep 1000 
> > ]
> > 2014-04-11 20:47:56,968:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > Command terminated with signal Terminated (pid: 11573)
> > [       OK ] SlaveRecoveryTest/0.ShutdownSlave (3111 ms)
> > [ RUN      ] SlaveRecoveryTest/0.RegisterDisconnectedSlave
> > WARNING: Logging before InitGoogleLogging() is written to STDERR
> > I0411 20:47:59.539933 11615 exec.cpp:131] Version: 0.19.0
> > I0411 20:47:59.543457 11634 exec.cpp:205] Executor registered on slave 20140411-204758-143311683-50087-8801-0
> > Registered executor on minerva.apache.org
> > Starting task f0b78989-91bf-42b1-b18f-330eeadd570b
> > Forked command at 11638
> > sh -c 'sleep 1000'
> > I0411 20:47:59.551440 11629 exec.cpp:378] Executor asked to shutdown
> > Shutting down
> > Sending SIGTERM to process tree at pid 11638
> > Killing the following process trees:
> > [ 
> > -+- 11638 sh -c sleep 1000 
> >  \--- 11639 sleep 1000 
> > ]
> > [       OK ] SlaveRecoveryTest/0.RegisterDisconnectedSlave (1104 ms)
> > [ RUN      ] SlaveRecoveryTest/0.ReconcileKillTask
> > 2014-04-11 20:48:00,302:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > Command terminated with signal Terminated (pid: 11638)
> > WARNING: Logging before InitGoogleLogging() is written to STDERR
> > I0411 20:48:00.567028 11662 exec.cpp:131] Version: 0.19.0
> > I0411 20:48:00.570058 11676 exec.cpp:205] Executor registered on slave 20140411-204759-143311683-50087-8801-0
> > Registered executor on minerva.apache.org
> > Starting task 537a01b4-5dcb-4691-9bd6-e4187f89769c
> > Forked command at 11685
> > sh -c 'sleep 1000'
> > I0411 20:48:00.586272 11680 exec.cpp:251] Received reconnect request from slave 20140411-204759-143311683-50087-8801-0
> > I0411 20:48:00.587049 11682 exec.cpp:228] Executor re-registered on slave 20140411-204759-143311683-50087-8801-0
> > Re-registered executor on minerva.apache.org
> > Shutting down
> > Sending SIGTERM to process tree at pid 11685
> > Killing the following process trees:
> > [ 
> > -+- 11685 sh -c sleep 1000 
> >  \--- 11686 sleep 1000 
> > ]
> > Command terminated with signal Terminated (pid: 11685)
> > [       OK ] SlaveRecoveryTest/0.ReconcileKillTask (4018 ms)
> > [ RUN      ] SlaveRecoveryTest/0.ReconcileShutdownFramework
> > 2014-04-11 20:48:03,638:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > WARNING: Logging before InitGoogleLogging() is written to STDERR
> > I0411 20:48:05.554342 11717 exec.cpp:131] Version: 0.19.0
> > I0411 20:48:05.557481 11735 exec.cpp:205] Executor registered on slave 20140411-204803-143311683-50087-8801-0
> > Registered executor on minerva.apache.org
> > Starting task 15e741ac-1720-4c50-ba86-a1f4e90602a2
> > sh -c 'sleep 1000'
> > Forked command at 11740
> > I0411 20:48:05.579155 11736 exec.cpp:251] Received reconnect request from slave 20140411-204803-143311683-50087-8801-0
> > I0411 20:48:05.582922 11736 exec.cpp:228] Executor re-registered on slave 20140411-204803-143311683-50087-8801-0
> > Re-registered executor on minerva.apache.org
> > 2014-04-11 20:48:06,974:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > I0411 20:48:07.576692 11734 exec.cpp:378] Executor asked to shutdown
> > Shutting down
> > Sending SIGTERM to process tree at pid 11740
> > Killing the following process trees:
> > [ 
> > -+- 11740 sh -c sleep 1000 
> >  \--- 11741 sleep 1000 
> > ]
> > Command terminated with signal Terminated (pid: 11740)
> > 2014-04-11 20:48:10,310:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > [       OK ] SlaveRecoveryTest/0.ReconcileShutdownFramework (6897 ms)
> > [ RUN      ] SlaveRecoveryTest/0.ReconcileTasksMissingFromSlave
> > WARNING: Logging before InitGoogleLogging() is written to STDERR
> > I0411 20:48:11.576354 11776 exec.cpp:131] Version: 0.19.0
> > I0411 20:48:11.579799 11792 exec.cpp:205] Executor registered on slave 20140411-204810-143311683-50087-8801-0
> > Registered executor on minerva.apache.org
> > Starting task 304257fb-a206-437e-ab44-934924f7e03c
> > sh -c 'sleep 10'
> > Forked command at 11799
> > [       OK ] SlaveRecoveryTest/0.ReconcileTasksMissingFromSlave (1196 ms)
> > [ RUN      ] SlaveRecoveryTest/0.SchedulerFailover
> > WARNING: Logging before InitGoogleLogging() is written to STDERR
> > I0411 20:48:12.764875 11823 exec.cpp:131] Version: 0.19.0
> > I0411 20:48:12.781924 11837 exec.cpp:205] Executor registered on slave 20140411-204811-143311683-50087-8801-0
> > Registered executor on minerva.apache.org
> > Starting task a1bce610-c5d8-49c2-b996-f394f8e95621
> > sh -c 'sleep 1000'
> > Forked command at 11847
> > I0411 20:48:12.812338 11839 exec.cpp:251] Received reconnect request from slave 20140411-204811-143311683-50087-8801-0
> > I0411 20:48:12.812891 11839 exec.cpp:228] Executor re-registered on slave 20140411-204811-143311683-50087-8801-0
> > Re-registered executor on minerva.apache.org
> > Shutting down
> > Sending SIGTERM to process tree at pid 11847
> > Killing the following process trees:
> > [ 
> > -+- 11847 sh -c sleep 1000 
> >  \--- 11848 sleep 1000 
> > ]
> > 2014-04-11 20:48:13,647:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > Command terminated with signal Terminated (pid: 11847)
> > [       OK ] SlaveRecoveryTest/0.SchedulerFailover (2172 ms)
> > [ RUN      ] SlaveRecoveryTest/0.PartitionedSlave
> > WARNING: Logging before InitGoogleLogging() is written to STDERR
> > I0411 20:48:14.910444 11871 exec.cpp:131] Version: 0.19.0
> > I0411 20:48:14.921139 11885 exec.cpp:205] Executor registered on slave 20140411-204813-143311683-50087-8801-0
> > Registered executor on minerva.apache.org
> > Starting task 5825f09f-7f0c-4402-9b3c-fec48dccbd8e
> > sh -c 'sleep 1000'
> > Forked command at 11894
> > I0411 20:48:15.121995 11889 exec.cpp:378] Executor asked to shutdown
> > Shutting down
> > Sending SIGTERM to process tree at pid 11894
> > Killing the following process trees:
> > [ 
> > -+- 11894 sh -c sleep 1000 
> >  \--- 11895 sleep 1000 
> > ]
> > [       OK ] SlaveRecoveryTest/0.PartitionedSlave (1564 ms)
> > [ RUN      ] SlaveRecoveryTest/0.MasterFailover
> > WARNING: Logging before InitGoogleLogging() is written to STDERR
> > I0411 20:48:16.017920 11918 exec.cpp:131] Version: 0.19.0
> > I0411 20:48:16.021271 11933 exec.cpp:205] Executor registered on slave 20140411-204815-143311683-50087-8801-0
> > Registered executor on minerva.apache.org
> > Starting task 2deb9ac8-5cb6-4ba9-91ad-d4ff9d00b3c4
> > Forked command at 11941
> > sh -c 'sleep 1000'
> > 2014-04-11 20:48:16,982:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > 2014-04-11 20:48:20,318:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > I0411 20:48:21.049203 11932 exec.cpp:251] Received reconnect request from slave 20140411-204815-143311683-50087-8801-0
> > I0411 20:48:21.049819 11937 exec.cpp:228] Executor re-registered on slave 20140411-204815-143311683-50087-8801-0
> > Re-registered executor on minerva.apache.org
> > Shutting down
> > Sending SIGTERM to process tree at pid 11941
> > Killing the following process trees:
> > [ 
> > -+- 11941 sh -c sleep 1000 
> >  \--- 11942 sleep 1000 
> > ]
> > Command terminated with signal Terminated (pid: 11941)
> > [       OK ] SlaveRecoveryTest/0.MasterFailover (7622 ms)
> > [ RUN      ] SlaveRecoveryTest/0.MultipleFrameworks
> > 2014-04-11 20:48:23,654:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > WARNING: Logging before InitGoogleLogging() is written to STDERR
> > I0411 20:48:24.139871 11989 exec.cpp:131] Version: 0.19.0
> > I0411 20:48:24.143029 12007 exec.cpp:205] Executor registered on slave 20140411-204823-143311683-50087-8801-0
> > Registered executor on minerva.apache.org
> > Starting task 20ffc4c8-8d71-4a8c-b173-7023e6394957
> > sh -c 'sleep 1000'
> > Forked command at 12012
> > WARNING: Logging before InitGoogleLogging() is written to STDERR
> > I0411 20:48:25.132983 12036 exec.cpp:131] Version: 0.19.0
> > I0411 20:48:25.136720 12056 exec.cpp:205] Executor registered on slave 20140411-204823-143311683-50087-8801-0
> > Registered executor on minerva.apache.org
> > Starting task 4d8ba8d2-bac9-4848-8d2f-f7c8cd05ef93
> > Forked command at 12059
> > sh -c 'sleep 1000'
> > I0411 20:48:25.152649 12057 exec.cpp:251] Received reconnect request from slave 20140411-204823-143311683-50087-8801-0
> > I0411 20:48:25.152904 12003 exec.cpp:251] Received reconnect request from slave 20140411-204823-143311683-50087-8801-0
> > I0411 20:48:25.159061 12056 exec.cpp:228] Executor re-registered on slave 20140411-204823-143311683-50087-8801-0
> > I0411 20:48:25.159093 12005 exec.cpp:228] Executor re-registered on slave 20140411-204823-143311683-50087-8801-0
> > Re-registered executor on minerva.apache.org
> > Re-registered executor on minerva.apache.org
> > Shutting down
> > Sending SIGTERM to process tree at pid 12012
> > Killing the following process trees:
> > [ 
> > -+- 12012 sh -c sleep 1000 
> >  \--- 12013 sleep 1000 
> > ]
> > Command terminated with signal Terminated (pid: 12012)
> > Shutting down
> > Sending SIGTERM to process tree at pid 12059
> > Killing the following process trees:
> > [ 
> > -+- 12059 sh -c sleep 1000 
> >  \--- 12060 sleep 1000 
> > ]
> > 2014-04-11 20:48:26,991:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > Command terminated with signal Terminated (pid: 12059)
> > [       OK ] SlaveRecoveryTest/0.MultipleFrameworks (5102 ms)
> > [ RUN      ] SlaveRecoveryTest/0.MultipleSlaves
> > 2014-04-11 20:48:30,328:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > 2014-04-11 20:48:33,664:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > WARNING: Logging before InitGoogleLogging() is written to STDERR
> > I0411 20:48:34.223829 12124 exec.cpp:131] Version: 0.19.0
> > I0411 20:48:34.226840 12145 exec.cpp:205] Executor registered on slave 20140411-204828-143311683-50087-8801-0
> > Registered executor on minerva.apache.org
> > Starting task 67e0778e-db7b-4ad9-9095-96442459610d
> > sh -c 'sleep 1000'
> > Forked command at 12151
> > WARNING: Logging before InitGoogleLogging() is written to STDERR
> > I0411 20:48:35.220865 12180 exec.cpp:131] Version: 0.19.0
> > I0411 20:48:35.225410 12194 exec.cpp:205] Executor registered on slave 20140411-204828-143311683-50087-8801-1
> > Registered executor on minerva.apache.org
> > Starting task 254e4187-1d07-460f-a8b3-d602321434e0
> > Forked command at 12203
> > sh -c 'sleep 1000'
> > I0411 20:48:35.246912 12141 exec.cpp:251] Received reconnect request from slave 20140411-204828-143311683-50087-8801-0
> > I0411 20:48:35.250787 12199 exec.cpp:251] Received reconnect request from slave 20140411-204828-143311683-50087-8801-1
> > I0411 20:48:35.250968 12141 exec.cpp:228] Executor re-registered on slave 20140411-204828-143311683-50087-8801-0
> > Re-registered executor on minerva.apache.org
> > I0411 20:48:35.252136 12201 exec.cpp:228] Executor re-registered on slave 20140411-204828-143311683-50087-8801-1
> > Re-registered executor on minerva.apache.org
> > Shutting down
> > Sending SIGTERM to process tree at pid 12151
> > Shutting down
> > Sending SIGTERM to process tree at pid 12203
> > Killing the following process trees:
> > [ 
> > -+- 12151 sh -c sleep 1000 
> >  \--- 12152 sleep 1000 
> > ]
> > Killing the following process trees:
> > [ 
> > -+- 12203 sh -c sleep 1000 
> >  \--- 12204 sleep 1000 
> > ]
> > Command terminated with signal Terminated (pid: 12151)
> > Command terminated with signal Terminated (pid: 12203)
> > 2014-04-11 20:48:37,002:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > [       OK ] SlaveRecoveryTest/0.MultipleSlaves (9165 ms)
> > [----------] 23 tests from SlaveRecoveryTest/0 (62930 ms total)
> > 
> > [----------] 2 tests from SlaveTest
> > [ RUN      ] SlaveTest.ShutdownUnregisteredExecutor
> > [       OK ] SlaveTest.ShutdownUnregisteredExecutor (1078 ms)
> > [ RUN      ] SlaveTest.RemoveUnregisteredTerminatedExecutor
> > [       OK ] SlaveTest.RemoveUnregisteredTerminatedExecutor (40 ms)
> > [----------] 2 tests from SlaveTest (1118 ms total)
> > 
> > [----------] 2 tests from SorterTest
> > [ RUN      ] SorterTest.DRFSorter
> > [       OK ] SorterTest.DRFSorter (0 ms)
> > [ RUN      ] SorterTest.WDRFSorter
> > [       OK ] SorterTest.WDRFSorter (1 ms)
> > [----------] 2 tests from SorterTest (1 ms total)
> > 
> > [----------] 7 tests from InMemoryStateTest
> > [ RUN      ] InMemoryStateTest.FetchAndStoreAndFetch
> > [       OK ] InMemoryStateTest.FetchAndStoreAndFetch (2 ms)
> > [ RUN      ] InMemoryStateTest.FetchAndStoreAndStoreAndFetch
> > [       OK ] InMemoryStateTest.FetchAndStoreAndStoreAndFetch (4 ms)
> > [ RUN      ] InMemoryStateTest.FetchAndStoreAndStoreFailAndFetch
> > [       OK ] InMemoryStateTest.FetchAndStoreAndStoreFailAndFetch (4 ms)
> > [ RUN      ] InMemoryStateTest.FetchAndStoreAndExpungeAndFetch
> > [       OK ] InMemoryStateTest.FetchAndStoreAndExpungeAndFetch (6 ms)
> > [ RUN      ] InMemoryStateTest.FetchAndStoreAndExpungeAndExpunge
> > [       OK ] InMemoryStateTest.FetchAndStoreAndExpungeAndExpunge (22 ms)
> > [ RUN      ] InMemoryStateTest.FetchAndStoreAndExpungeAndStoreAndFetch
> > [       OK ] InMemoryStateTest.FetchAndStoreAndExpungeAndStoreAndFetch (20 ms)
> > [ RUN      ] InMemoryStateTest.Names
> > [       OK ] InMemoryStateTest.Names (15 ms)
> > [----------] 7 tests from InMemoryStateTest (74 ms total)
> > 
> > [----------] 7 tests from LevelDBStateTest
> > [ RUN      ] LevelDBStateTest.FetchAndStoreAndFetch
> > [       OK ] LevelDBStateTest.FetchAndStoreAndFetch (36 ms)
> > [ RUN      ] LevelDBStateTest.FetchAndStoreAndStoreAndFetch
> > [       OK ] LevelDBStateTest.FetchAndStoreAndStoreAndFetch (7 ms)
> > [ RUN      ] LevelDBStateTest.FetchAndStoreAndStoreFailAndFetch
> > [       OK ] LevelDBStateTest.FetchAndStoreAndStoreFailAndFetch (7 ms)
> > [ RUN      ] LevelDBStateTest.FetchAndStoreAndExpungeAndFetch
> > [       OK ] LevelDBStateTest.FetchAndStoreAndExpungeAndFetch (8 ms)
> > [ RUN      ] LevelDBStateTest.FetchAndStoreAndExpungeAndExpunge
> > [       OK ] LevelDBStateTest.FetchAndStoreAndExpungeAndExpunge (7 ms)
> > [ RUN      ] LevelDBStateTest.FetchAndStoreAndExpungeAndStoreAndFetch
> > [       OK ] LevelDBStateTest.FetchAndStoreAndExpungeAndStoreAndFetch (7 ms)
> > [ RUN      ] LevelDBStateTest.Names
> > [       OK ] LevelDBStateTest.Names (6 ms)
> > [----------] 7 tests from LevelDBStateTest (78 ms total)
> > 
> > [----------] 7 tests from ZooKeeperStateTest
> > [ RUN      ] ZooKeeperStateTest.FetchAndStoreAndFetch
> > [       OK ] ZooKeeperStateTest.FetchAndStoreAndFetch (30 ms)
> > [ RUN      ] ZooKeeperStateTest.FetchAndStoreAndStoreAndFetch
> > [       OK ] ZooKeeperStateTest.FetchAndStoreAndStoreAndFetch (56 ms)
> > [ RUN      ] ZooKeeperStateTest.FetchAndStoreAndStoreFailAndFetch
> > [       OK ] ZooKeeperStateTest.FetchAndStoreAndStoreFailAndFetch (46 ms)
> > [ RUN      ] ZooKeeperStateTest.FetchAndStoreAndExpungeAndFetch
> > [       OK ] ZooKeeperStateTest.FetchAndStoreAndExpungeAndFetch (59 ms)
> > [ RUN      ] ZooKeeperStateTest.FetchAndStoreAndExpungeAndExpunge
> > [       OK ] ZooKeeperStateTest.FetchAndStoreAndExpungeAndExpunge (53 ms)
> > [ RUN      ] ZooKeeperStateTest.FetchAndStoreAndExpungeAndStoreAndFetch
> > [       OK ] ZooKeeperStateTest.FetchAndStoreAndExpungeAndStoreAndFetch (20 ms)
> > [ RUN      ] ZooKeeperStateTest.Names
> > [       OK ] ZooKeeperStateTest.Names (44 ms)
> > [----------] 7 tests from ZooKeeperStateTest (308 ms total)
> > 
> > [----------] 7 tests from StatusUpdateManagerTest
> > [ RUN      ] StatusUpdateManagerTest.CheckpointStatusUpdate
> > [       OK ] StatusUpdateManagerTest.CheckpointStatusUpdate (68 ms)
> > [ RUN      ] StatusUpdateManagerTest.RetryStatusUpdate
> > [       OK ] StatusUpdateManagerTest.RetryStatusUpdate (76 ms)
> > [ RUN      ] StatusUpdateManagerTest.IgnoreDuplicateStatusUpdateAck
> > [       OK ] StatusUpdateManagerTest.IgnoreDuplicateStatusUpdateAck (87 ms)
> > [ RUN      ] StatusUpdateManagerTest.IgnoreUnexpectedStatusUpdateAck
> > [       OK ] StatusUpdateManagerTest.IgnoreUnexpectedStatusUpdateAck (21 ms)
> > [ RUN      ] StatusUpdateManagerTest.DuplicateTerminalUpdateBeforeAck
> > [       OK ] StatusUpdateManagerTest.DuplicateTerminalUpdateBeforeAck (85 ms)
> > [ RUN      ] StatusUpdateManagerTest.DuplicateTerminalUpdateAfterAck
> > [       OK ] StatusUpdateManagerTest.DuplicateTerminalUpdateAfterAck (89 ms)
> > [ RUN      ] StatusUpdateManagerTest.DuplicateUpdateBeforeAck
> > [       OK ] StatusUpdateManagerTest.DuplicateUpdateBeforeAck (75 ms)
> > [----------] 7 tests from StatusUpdateManagerTest (501 ms total)
> > 
> > [----------] 1 test from ZooKeeper
> > [ RUN      ] ZooKeeper.URL
> > [       OK ] ZooKeeper.URL (0 ms)
> > [----------] 1 test from ZooKeeper (0 ms total)
> > 
> > [----------] 3 tests from FsTest
> > [ RUN      ] FsTest.MountTableRead
> > [       OK ] FsTest.MountTableRead (4 ms)
> > [ RUN      ] FsTest.MountTableHasOption
> > [       OK ] FsTest.MountTableHasOption (0 ms)
> > [ RUN      ] FsTest.FileSystemTableRead
> > [       OK ] FsTest.FileSystemTableRead (11 ms)
> > [----------] 3 tests from FsTest (15 ms total)
> > 
> > [----------] 6 tests from ZooKeeperTest
> > [ RUN      ] ZooKeeperTest.Auth
> > 2014-04-11 20:48:40,339:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > [       OK ] ZooKeeperTest.Auth (2056 ms)
> > [ RUN      ] ZooKeeperTest.SessionTimeoutNegotiation
> > [       OK ] ZooKeeperTest.SessionTimeoutNegotiation (58 ms)
> > [ RUN      ] ZooKeeperTest.Create
> > 2014-04-11 20:48:43,674:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > [       OK ] ZooKeeperTest.Create (4075 ms)
> > [ RUN      ] ZooKeeperTest.LeaderDetector
> > [       OK ] ZooKeeperTest.LeaderDetector (36 ms)
> > [ RUN      ] ZooKeeperTest.LeaderDetectorTimeoutHandling
> > 2014-04-11 20:48:45,672:8801(0x2b0899ac3700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:41915] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
> > 2014-04-11 20:48:45,684:8801(0x2b08998c2700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:41915] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > 2014-04-11 20:48:47,010:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > 2014-04-11 20:48:50,347:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > 2014-04-11 20:48:53,682:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > 2014-04-11 20:48:57,018:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > [       OK ] ZooKeeperTest.LeaderDetectorTimeoutHandling (11376 ms)
> > [ RUN      ] ZooKeeperTest.LeaderContender
> > 2014-04-11 20:48:57,078:8801(0x2b089a500700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:40099] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
> > 2014-04-11 20:49:00,354:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > 2014-04-11 20:49:00,416:8801(0x2b089a500700):ZOO_ERROR@handle_socket_error_msg@1739: Socket [127.0.0.1:40099] zk retcode=-112, errno=116(Stale NFS file handle): sessionId=0x145528ce6d60000 has expired.
> > 2014-04-11 20:49:00,450:8801(0x2b0899cc4700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:40099] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
> > 2014-04-11 20:49:00,455:8801(0x2b0899cc4700):ZOO_ERROR@handle_socket_error_msg@1739: Socket [127.0.0.1:40099] zk retcode=-112, errno=116(Stale NFS file handle): sessionId=0x145528ce6d60001 has expired.
> > 2014-04-11 20:49:00,501:8801(0x2b089a500700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:40099] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
> > 2014-04-11 20:49:00,516:8801(0x2b0899cc4700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40099] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > 2014-04-11 20:49:03,690:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > [       OK ] ZooKeeperTest.LeaderContender (6832 ms)
> > [----------] 6 tests from ZooKeeperTest (24433 ms total)
> > 
> > [----------] 9 tests from GroupTest
> > [ RUN      ] GroupTest.Group
> > [       OK ] GroupTest.Group (75 ms)
> > [ RUN      ] GroupTest.GroupJoinWithDisconnect
> > 2014-04-11 20:49:03,969:8801(0x2b089a500700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:42825] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > [       OK ] GroupTest.GroupJoinWithDisconnect (1710 ms)
> > [ RUN      ] GroupTest.GroupDataWithDisconnect
> > 2014-04-11 20:49:05,738:8801(0x2b089a500700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:60046] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
> > 2014-04-11 20:49:05,739:8801(0x2b089a500700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:60046] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > 2014-04-11 20:49:07,026:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > [       OK ] GroupTest.GroupDataWithDisconnect (2128 ms)
> > [ RUN      ] GroupTest.GroupCancelWithDisconnect
> > 2014-04-11 20:49:07,809:8801(0x2b0899ac3700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:40400] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
> > 2014-04-11 20:49:07,810:8801(0x2b0899ac3700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40400] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > [       OK ] GroupTest.GroupCancelWithDisconnect (2056 ms)
> > [ RUN      ] GroupTest.GroupWatchWithSessionExpiration
> > 2014-04-11 20:49:09,987:8801(0x2b089a701700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:49883] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
> > 2014-04-11 20:49:10,362:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > 2014-04-11 20:49:11,992:8801(0x2b089a701700):ZOO_ERROR@handle_socket_error_msg@1739: Socket [127.0.0.1:49883] zk retcode=-112, errno=116(Stale NFS file handle): sessionId=0x145528d18df0000 has expired.
> > [       OK ] GroupTest.GroupWatchWithSessionExpiration (2176 ms)
> > [ RUN      ] GroupTest.MultipleGroups
> > 2014-04-11 20:49:12,143:8801(0x2b089a701700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:34605] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
> > [       OK ] GroupTest.MultipleGroups (149 ms)
> > [ RUN      ] GroupTest.GroupPathWithRestrictivePerms
> > 2014-04-11 20:49:13,699:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > 2014-04-11 20:49:17,035:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > [       OK ] GroupTest.GroupPathWithRestrictivePerms (8092 ms)
> > [ RUN      ] GroupTest.RetryableErrors
> > 2014-04-11 20:49:20,370:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > 2014-04-11 20:49:22,269:8801(0x2b08994ae700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:39390] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
> > 2014-04-11 20:49:23,706:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > 2014-04-11 20:49:24,272:8801(0x2b08994ae700):ZOO_ERROR@handle_socket_error_msg@1739: Socket [127.0.0.1:39390] zk retcode=-112, errno=116(Stale NFS file handle): sessionId=0x145528d41850000 has expired.
> > 2014-04-11 20:49:26,279:8801(0x2b089a500700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:39390] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
> > 2014-04-11 20:49:27,040:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > 2014-04-11 20:49:28,282:8801(0x2b089a500700):ZOO_ERROR@handle_socket_error_msg@1739: Socket [127.0.0.1:39390] zk retcode=-112, errno=116(Stale NFS file handle): sessionId=0x145528d41850001 has expired.
> > 2014-04-11 20:49:30,289:8801(0x2b08994ae700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:39390] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
> > 2014-04-11 20:49:30,378:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > 2014-04-11 20:49:32,292:8801(0x2b08994ae700):ZOO_ERROR@handle_socket_error_msg@1739: Socket [127.0.0.1:39390] zk retcode=-112, errno=116(Stale NFS file handle): sessionId=0x145528d41850002 has expired.
> > 2014-04-11 20:49:33,715:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > 2014-04-11 20:49:34,336:8801(0x2b089a500700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:39390] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
> > 2014-04-11 20:49:36,340:8801(0x2b089a500700):ZOO_ERROR@handle_socket_error_msg@1739: Socket [127.0.0.1:39390] zk retcode=-112, errno=116(Stale NFS file handle): sessionId=0x145528d41850003 has expired.
> > 2014-04-11 20:49:37,050:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > [       OK ] GroupTest.RetryableErrors (18141 ms)
> > [ RUN      ] GroupTest.LabelledGroup
> > [       OK ] GroupTest.LabelledGroup (66 ms)
> > [----------] 9 tests from GroupTest (34594 ms total)
> > 
> > [----------] 2 tests from AllocatorZooKeeperTest/0, where TypeParam = mesos::internal::master::allocator::HierarchicalAllocatorProcess<mesos::internal::master::allocator::DRFSorter, mesos::internal::master::allocator::DRFSorter>
> > [ RUN      ] AllocatorZooKeeperTest/0.FrameworkReregistersFirst
> > 2014-04-11 20:49:40,387:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > [       OK ] AllocatorZooKeeperTest/0.FrameworkReregistersFirst (5148 ms)
> > [ RUN      ] AllocatorZooKeeperTest/0.SlaveReregistersFirst
> > 2014-04-11 20:49:43,722:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > 2014-04-11 20:49:47,059:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> > [       OK ] AllocatorZooKeeperTest/0.SlaveReregistersFirst (5106 ms)
> > [----------] 2 tests from AllocatorZooKeeperTest/0 (10255 ms total)
> > 
> > [----------] 10 tests from Strict/RegistrarTest
> > [ RUN      ] Strict/RegistrarTest.recover/0
> > [       OK ] Strict/RegistrarTest.recover/0 (26 ms)
> > [ RUN      ] Strict/RegistrarTest.recover/1
> > [       OK ] Strict/RegistrarTest.recover/1 (20 ms)
> > [ RUN      ] Strict/RegistrarTest.admit/0
> > [       OK ] Strict/RegistrarTest.admit/0 (39 ms)
> > [ RUN      ] Strict/RegistrarTest.admit/1
> > [       OK ] Strict/RegistrarTest.admit/1 (34 ms)
> > [ RUN      ] Strict/RegistrarTest.readmit/0
> > [       OK ] Strict/RegistrarTest.readmit/0 (14 ms)
> > [ RUN      ] Strict/RegistrarTest.readmit/1
> > [       OK ] Strict/RegistrarTest.readmit/1 (13 ms)
> > [ RUN      ] Strict/RegistrarTest.remove/0
> > [       OK ] Strict/RegistrarTest.remove/0 (19 ms)
> > [ RUN      ] Strict/RegistrarTest.remove/1
> > [       OK ] Strict/RegistrarTest.remove/1 (23 ms)
> > [ RUN      ] Strict/RegistrarTest.bootstrap/0
> > [       OK ] Strict/RegistrarTest.bootstrap/0 (8 ms)
> > [ RUN      ] Strict/RegistrarTest.bootstrap/1
> > [       OK ] Strict/RegistrarTest.bootstrap/1 (35 ms)
> > [----------] 10 tests from Strict/RegistrarTest (231 ms total)
> > 
> > [----------] Global test environment tear-down
> > [==========] 281 tests from 49 test cases ran. (294675 ms total)
> > [  PASSED  ] 280 tests.
> > [  FAILED  ] 1 test, listed below:
> > [  FAILED  ] ExamplesTest.PythonFramework
> > 
> >  1 FAILED TEST
> >   YOU HAVE 1 DISABLED TEST
> > 
> > make[3]: *** [check-local] Error 1
> > make[3]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/src'
> > make[2]: *** [check-am] Error 2
> > make[2]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/src'
> > make[1]: *** [check] Error 2
> > make[1]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/src'
> > make: *** [check-recursive] Error 1
> >

Umm definitely a false positive.  I ran `make check` on two platforms prior to submission and my patch has nothing to do with Python. 


- Timothy


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19487/#review40183
-----------------------------------------------------------


On April 11, 2014, 8:28 p.m., Timothy St. Clair wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19487/
> -----------------------------------------------------------
> 
> (Updated April 11, 2014, 8:28 p.m.)
> 
> 
> Review request for mesos, Benjamin Hindman, Niklas Nielsen, and Till Toenshoff.
> 
> 
> Bugs: MESOS-1126
>     https://issues.apache.org/jira/browse/MESOS-1126
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> The dependency on libjvm is a "hard", requiring an link and rpath. This causes issues when shifting between jvms. The standard practice is to use dlopen against the $JAVA_JVM_LIBRARY location.
> 
> MESOS-1126
>     + Enable dlopen for libjvm.so
>     + Cleanup redundant jni inclusions
> 
> This should make MESOS-855 a non-issue.
> 
> 
> Diffs
> -----
> 
>   configure.ac c1de6d7 
>   src/Makefile.am 95f133d 
>   src/common/build.hpp 115e9cc 
>   src/common/build.cpp eed08ed 
>   src/jvm/jvm.cpp d3dfa75 
> 
> Diff: https://reviews.apache.org/r/19487/diff/
> 
> 
> Testing
> -------
> 
> make check (across both Mac and Linux)
> 
> 
> Thanks,
> 
> Timothy St. Clair
> 
>


Re: Review Request 19487: Change linkage around libjvm to use dlopen.

Posted by Mesos ReviewBot <de...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19487/#review40183
-----------------------------------------------------------


Bad patch!

Reviews applied: [19487]

Failed command: make check

Error:
 Making check in .
make[1]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot'
make[1]: Nothing to be done for `check-am'.
make[1]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot'
Making check in 3rdparty
make[1]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty'
make  check-recursive
make[2]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty'
Making check in libprocess
make[3]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess'
Making check in 3rdparty
make[4]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty'
make  check-recursive
make[5]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty'
Making check in stout
make[6]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty/stout'
make[6]: Nothing to be done for `check'.
make[6]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty/stout'
make[6]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty'
make  libgmock.la stout-tests
make[7]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty'
make[7]: `libgmock.la' is up to date.
make[7]: `stout-tests' is up to date.
make[7]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty'
make  check-local
make[7]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty'
./stout-tests
[==========] Running 121 tests from 24 test cases.
[----------] Global test environment set-up.
[----------] 3 tests from Stout
[ RUN      ] Stout.Bytes
[       OK ] Stout.Bytes (0 ms)
[ RUN      ] Stout.Set
[       OK ] Stout.Set (24 ms)
[ RUN      ] Stout.Some
[       OK ] Stout.Some (31 ms)
[----------] 3 tests from Stout (55 ms total)

[----------] 4 tests from Cache
[ RUN      ] Cache.Insert
[       OK ] Cache.Insert (0 ms)
[ RUN      ] Cache.Update
[       OK ] Cache.Update (0 ms)
[ RUN      ] Cache.Erase
[       OK ] Cache.Erase (0 ms)
[ RUN      ] Cache.LRUEviction
[       OK ] Cache.LRUEviction (0 ms)
[----------] 4 tests from Cache (0 ms total)

[----------] 4 tests from DurationTest
[ RUN      ] DurationTest.Comparison
[       OK ] DurationTest.Comparison (0 ms)
[ RUN      ] DurationTest.ParseAndTry
[       OK ] DurationTest.ParseAndTry (18 ms)
[ RUN      ] DurationTest.Arithmetic
[       OK ] DurationTest.Arithmetic (0 ms)
[ RUN      ] DurationTest.OutputFormat
[       OK ] DurationTest.OutputFormat (21 ms)
[----------] 4 tests from DurationTest (39 ms total)

[----------] 1 test from ErrorTest
[ RUN      ] ErrorTest.Test
[       OK ] ErrorTest.Test (0 ms)
[----------] 1 test from ErrorTest (0 ms total)

[----------] 12 tests from FlagsTest
[ RUN      ] FlagsTest.Load
[       OK ] FlagsTest.Load (0 ms)
[ RUN      ] FlagsTest.Add
[       OK ] FlagsTest.Add (0 ms)
[ RUN      ] FlagsTest.Flags
[       OK ] FlagsTest.Flags (0 ms)
[ RUN      ] FlagsTest.LoadFromEnvironment
[       OK ] FlagsTest.LoadFromEnvironment (0 ms)
[ RUN      ] FlagsTest.LoadFromCommandLine
[       OK ] FlagsTest.LoadFromCommandLine (0 ms)
[ RUN      ] FlagsTest.LoadFromCommandLineWithNonFlags
[       OK ] FlagsTest.LoadFromCommandLineWithNonFlags (0 ms)
[ RUN      ] FlagsTest.Stringification
[       OK ] FlagsTest.Stringification (0 ms)
[ RUN      ] FlagsTest.DuplicatesFromEnvironment
[       OK ] FlagsTest.DuplicatesFromEnvironment (0 ms)
[ RUN      ] FlagsTest.DuplicatesFromCommandLine
[       OK ] FlagsTest.DuplicatesFromCommandLine (0 ms)
[ RUN      ] FlagsTest.Errors
[       OK ] FlagsTest.Errors (0 ms)
[ RUN      ] FlagsTest.Usage
[       OK ] FlagsTest.Usage (1 ms)
[ RUN      ] FlagsTest.Duration
[       OK ] FlagsTest.Duration (0 ms)
[----------] 12 tests from FlagsTest (1 ms total)

[----------] 1 test from GzipTest
[ RUN      ] GzipTest.CompressDecompressString
[       OK ] GzipTest.CompressDecompressString (120 ms)
[----------] 1 test from GzipTest (121 ms total)

[----------] 2 tests from HashMapTest
[ RUN      ] HashMapTest.Insert
[       OK ] HashMapTest.Insert (0 ms)
[ RUN      ] HashMapTest.Contains
[       OK ] HashMapTest.Contains (0 ms)
[----------] 2 tests from HashMapTest (0 ms total)

[----------] 2 tests from HashsetTest
[ RUN      ] HashsetTest.Insert
[       OK ] HashsetTest.Insert (7 ms)
[ RUN      ] HashsetTest.Union
[       OK ] HashsetTest.Union (0 ms)
[----------] 2 tests from HashsetTest (7 ms total)

[----------] 8 tests from IntervalTest
[ RUN      ] IntervalTest.Interval
[       OK ] IntervalTest.Interval (0 ms)
[ RUN      ] IntervalTest.EmptyInterval
[       OK ] IntervalTest.EmptyInterval (0 ms)
[ RUN      ] IntervalTest.Constructor
[       OK ] IntervalTest.Constructor (0 ms)
[ RUN      ] IntervalTest.Addition
[       OK ] IntervalTest.Addition (0 ms)
[ RUN      ] IntervalTest.Subtraction
[       OK ] IntervalTest.Subtraction (0 ms)
[ RUN      ] IntervalTest.Intersection
[       OK ] IntervalTest.Intersection (0 ms)
[ RUN      ] IntervalTest.LargeInterval
[       OK ] IntervalTest.LargeInterval (0 ms)
[ RUN      ] IntervalTest.IntervalIteration
[       OK ] IntervalTest.IntervalIteration (0 ms)
[----------] 8 tests from IntervalTest (1 ms total)

[----------] 8 tests from JsonTest
[ RUN      ] JsonTest.DefaultValueIsNull
[       OK ] JsonTest.DefaultValueIsNull (0 ms)
[ RUN      ] JsonTest.BinaryData
[       OK ] JsonTest.BinaryData (0 ms)
[ RUN      ] JsonTest.NumberFormat
[       OK ] JsonTest.NumberFormat (0 ms)
[ RUN      ] JsonTest.BooleanFormat
[       OK ] JsonTest.BooleanFormat (0 ms)
[ RUN      ] JsonTest.BooleanAssignement
[       OK ] JsonTest.BooleanAssignement (0 ms)
[ RUN      ] JsonTest.CStringAssignment
[       OK ] JsonTest.CStringAssignment (0 ms)
[ RUN      ] JsonTest.NumericAssignment
[       OK ] JsonTest.NumericAssignment (0 ms)
[ RUN      ] JsonTest.parse
[       OK ] JsonTest.parse (0 ms)
[----------] 8 tests from JsonTest (0 ms total)

[----------] 5 tests from LinkedHashmapTest
[ RUN      ] LinkedHashmapTest.Put
[       OK ] LinkedHashmapTest.Put (0 ms)
[ RUN      ] LinkedHashmapTest.Contains
[       OK ] LinkedHashmapTest.Contains (0 ms)
[ RUN      ] LinkedHashmapTest.Erase
[       OK ] LinkedHashmapTest.Erase (0 ms)
[ RUN      ] LinkedHashmapTest.Keys
[       OK ] LinkedHashmapTest.Keys (0 ms)
[ RUN      ] LinkedHashmapTest.Values
[       OK ] LinkedHashmapTest.Values (0 ms)
[----------] 5 tests from LinkedHashmapTest (0 ms total)

[----------] 6 tests from MultimapTest/0, where TypeParam = Multimap<std::string, unsigned short>
[ RUN      ] MultimapTest/0.Put
[       OK ] MultimapTest/0.Put (0 ms)
[ RUN      ] MultimapTest/0.Remove
[       OK ] MultimapTest/0.Remove (0 ms)
[ RUN      ] MultimapTest/0.Size
[       OK ] MultimapTest/0.Size (0 ms)
[ RUN      ] MultimapTest/0.Keys
[       OK ] MultimapTest/0.Keys (0 ms)
[ RUN      ] MultimapTest/0.Iterator
[       OK ] MultimapTest/0.Iterator (0 ms)
[ RUN      ] MultimapTest/0.Foreach
[       OK ] MultimapTest/0.Foreach (0 ms)
[----------] 6 tests from MultimapTest/0 (0 ms total)

[----------] 6 tests from MultimapTest/1, where TypeParam = multihashmap<std::string, unsigned short>
[ RUN      ] MultimapTest/1.Put
[       OK ] MultimapTest/1.Put (0 ms)
[ RUN      ] MultimapTest/1.Remove
[       OK ] MultimapTest/1.Remove (0 ms)
[ RUN      ] MultimapTest/1.Size
[       OK ] MultimapTest/1.Size (0 ms)
[ RUN      ] MultimapTest/1.Keys
[       OK ] MultimapTest/1.Keys (0 ms)
[ RUN      ] MultimapTest/1.Iterator
[       OK ] MultimapTest/1.Iterator (0 ms)
[ RUN      ] MultimapTest/1.Foreach
[       OK ] MultimapTest/1.Foreach (0 ms)
[----------] 6 tests from MultimapTest/1 (1 ms total)

[----------] 4 tests from NetTest
[ RUN      ] NetTest.mac
[       OK ] NetTest.mac (0 ms)
[ RUN      ] NetTest.ConstructMAC
[       OK ] NetTest.ConstructMAC (0 ms)
[ RUN      ] NetTest.ip
[       OK ] NetTest.ip (0 ms)
[ RUN      ] NetTest.ConstructIP
[       OK ] NetTest.ConstructIP (0 ms)
[----------] 4 tests from NetTest (0 ms total)

[----------] 1 test from NoneTest
[ RUN      ] NoneTest.Test
[       OK ] NoneTest.Test (0 ms)
[----------] 1 test from NoneTest (0 ms total)

[----------] 3 tests from OptionTest
[ RUN      ] OptionTest.Min
[       OK ] OptionTest.Min (0 ms)
[ RUN      ] OptionTest.Max
[       OK ] OptionTest.Max (0 ms)
[ RUN      ] OptionTest.Comparison
[       OK ] OptionTest.Comparison (0 ms)
[----------] 3 tests from OptionTest (0 ms total)

[----------] 18 tests from OsTest
[ RUN      ] OsTest.environment
[       OK ] OsTest.environment (27 ms)
[ RUN      ] OsTest.rmdir
[       OK ] OsTest.rmdir (37 ms)
[ RUN      ] OsTest.system
sh: 1: invalid.command: not found
[       OK ] OsTest.system (120 ms)
[ RUN      ] OsTest.nonblock
[       OK ] OsTest.nonblock (6 ms)
[ RUN      ] OsTest.touch
[       OK ] OsTest.touch (6 ms)
[ RUN      ] OsTest.readWriteString
[       OK ] OsTest.readWriteString (8 ms)
[ RUN      ] OsTest.find
[       OK ] OsTest.find (6 ms)
[ RUN      ] OsTest.bootId
[       OK ] OsTest.bootId (0 ms)
[ RUN      ] OsTest.uname
[       OK ] OsTest.uname (6 ms)
[ RUN      ] OsTest.sysname
[       OK ] OsTest.sysname (7 ms)
[ RUN      ] OsTest.release
[       OK ] OsTest.release (12 ms)
[ RUN      ] OsTest.sleep
[       OK ] OsTest.sleep (22 ms)
[ RUN      ] OsTest.pids
[       OK ] OsTest.pids (363 ms)
[ RUN      ] OsTest.children
[       OK ] OsTest.children (54 ms)
[ RUN      ] OsTest.process
[       OK ] OsTest.process (9 ms)
[ RUN      ] OsTest.processes
[       OK ] OsTest.processes (20 ms)
[ RUN      ] OsTest.killtree
[       OK ] OsTest.killtree (97 ms)
[ RUN      ] OsTest.pstree
[       OK ] OsTest.pstree (31 ms)
[----------] 18 tests from OsTest (832 ms total)

[----------] 1 test from ProtobufTest
[ RUN      ] ProtobufTest.JSON
[       OK ] ProtobufTest.JSON (12 ms)
[----------] 1 test from ProtobufTest (12 ms total)

[----------] 1 test from OsSendfileTest
[ RUN      ] OsSendfileTest.sendfile
[       OK ] OsSendfileTest.sendfile (5 ms)
[----------] 1 test from OsSendfileTest (5 ms total)

[----------] 1 test from OsSignalsTest
[ RUN      ] OsSignalsTest.suppress
[       OK ] OsSignalsTest.suppress (0 ms)
[----------] 1 test from OsSignalsTest (0 ms total)

[----------] 22 tests from StringsTest
[ RUN      ] StringsTest.Format
[       OK ] StringsTest.Format (0 ms)
[ RUN      ] StringsTest.Remove
[       OK ] StringsTest.Remove (0 ms)
[ RUN      ] StringsTest.Replace
[       OK ] StringsTest.Replace (0 ms)
[ RUN      ] StringsTest.Trim
[       OK ] StringsTest.Trim (0 ms)
[ RUN      ] StringsTest.Tokenize
[       OK ] StringsTest.Tokenize (0 ms)
[ RUN      ] StringsTest.TokenizeStringWithDelimsAtStart
[       OK ] StringsTest.TokenizeStringWithDelimsAtStart (0 ms)
[ RUN      ] StringsTest.TokenizeStringWithDelimsAtEnd
[       OK ] StringsTest.TokenizeStringWithDelimsAtEnd (0 ms)
[ RUN      ] StringsTest.TokenizeStringWithDelimsAtStartAndEnd
[       OK ] StringsTest.TokenizeStringWithDelimsAtStartAndEnd (0 ms)
[ RUN      ] StringsTest.TokenizeWithMultipleDelims
[       OK ] StringsTest.TokenizeWithMultipleDelims (0 ms)
[ RUN      ] StringsTest.TokenizeEmptyString
[       OK ] StringsTest.TokenizeEmptyString (0 ms)
[ RUN      ] StringsTest.TokenizeDelimOnlyString
[       OK ] StringsTest.TokenizeDelimOnlyString (0 ms)
[ RUN      ] StringsTest.TokenizeNullByteDelim
[       OK ] StringsTest.TokenizeNullByteDelim (0 ms)
[ RUN      ] StringsTest.SplitEmptyString
[       OK ] StringsTest.SplitEmptyString (0 ms)
[ RUN      ] StringsTest.SplitDelimOnlyString
[       OK ] StringsTest.SplitDelimOnlyString (0 ms)
[ RUN      ] StringsTest.Split
[       OK ] StringsTest.Split (0 ms)
[ RUN      ] StringsTest.SplitStringWithDelimsAtStart
[       OK ] StringsTest.SplitStringWithDelimsAtStart (0 ms)
[ RUN      ] StringsTest.SplitStringWithDelimsAtEnd
[       OK ] StringsTest.SplitStringWithDelimsAtEnd (0 ms)
[ RUN      ] StringsTest.SplitStringWithDelimsAtStartAndEnd
[       OK ] StringsTest.SplitStringWithDelimsAtStartAndEnd (0 ms)
[ RUN      ] StringsTest.SplitWithMultipleDelims
[       OK ] StringsTest.SplitWithMultipleDelims (0 ms)
[ RUN      ] StringsTest.Pairs
[       OK ] StringsTest.Pairs (0 ms)
[ RUN      ] StringsTest.StartsWith
[       OK ] StringsTest.StartsWith (0 ms)
[ RUN      ] StringsTest.Contains
[       OK ] StringsTest.Contains (0 ms)
[----------] 22 tests from StringsTest (1 ms total)

[----------] 1 test from Thread
[ RUN      ] Thread.local
[       OK ] Thread.local (0 ms)
[----------] 1 test from Thread (0 ms total)

[----------] 1 test from UUIDTest
[ RUN      ] UUIDTest.test
[       OK ] UUIDTest.test (0 ms)
[----------] 1 test from UUIDTest (0 ms total)

[----------] 6 tests from ProcTest
[ RUN      ] ProcTest.pids
[       OK ] ProcTest.pids (1 ms)
[ RUN      ] ProcTest.cpus
[       OK ] ProcTest.cpus (1 ms)
[ RUN      ] ProcTest.SystemStatus
[       OK ] ProcTest.SystemStatus (0 ms)
[ RUN      ] ProcTest.ProcessStatus
[       OK ] ProcTest.ProcessStatus (0 ms)
[ RUN      ] ProcTest.SingleThread
[       OK ] ProcTest.SingleThread (1 ms)
[ RUN      ] ProcTest.MultipleThreads
[       OK ] ProcTest.MultipleThreads (2 ms)
[----------] 6 tests from ProcTest (5 ms total)

[----------] Global test environment tear-down
[==========] 121 tests from 24 test cases ran. (1080 ms total)
[  PASSED  ] 121 tests.
make[7]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty'
make[6]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty'
make[5]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty'
make[4]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess/3rdparty'
Making check in .
make[4]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess'
make  tests
make[5]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess'
make[5]: `tests' is up to date.
make[5]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess'
make  check-local
make[5]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess'
./tests
[==========] Running 93 tests from 16 test cases.
[----------] Global test environment set-up.
[----------] 3 tests from Decoder
[ RUN      ] Decoder.Request
[       OK ] Decoder.Request (0 ms)
[ RUN      ] Decoder.RequestHeaderContinuation
[       OK ] Decoder.RequestHeaderContinuation (0 ms)
[ RUN      ] Decoder.Response
[       OK ] Decoder.Response (0 ms)
[----------] 3 tests from Decoder (0 ms total)

[----------] 2 tests from Encoder
[ RUN      ] Encoder.Response
[       OK ] Encoder.Response (1 ms)
[ RUN      ] Encoder.AcceptableEncodings
[       OK ] Encoder.AcceptableEncodings (0 ms)
[----------] 2 tests from Encoder (1 ms total)

[----------] 5 tests from HTTP
[ RUN      ] HTTP.Endpoints
[       OK ] HTTP.Endpoints (47 ms)
[ RUN      ] HTTP.Encode
[       OK ] HTTP.Encode (0 ms)
[ RUN      ] HTTP.PathParse
[       OK ] HTTP.PathParse (0 ms)
[ RUN      ] HTTP.Get
[       OK ] HTTP.Get (1 ms)
[ RUN      ] HTTP.Post
[       OK ] HTTP.Post (1 ms)
[----------] 5 tests from HTTP (49 ms total)

[----------] 5 tests from IO
[ RUN      ] IO.Poll
[       OK ] IO.Poll (0 ms)
[ RUN      ] IO.Read
[       OK ] IO.Read (1 ms)
[ RUN      ] IO.BufferedRead
[       OK ] IO.BufferedRead (19 ms)
[ RUN      ] IO.Write
[       OK ] IO.Write (1 ms)
[ RUN      ] IO.splice
[       OK ] IO.splice (46 ms)
[----------] 5 tests from IO (67 ms total)

[----------] 3 tests from Mutex
[ RUN      ] Mutex.lock
[       OK ] Mutex.lock (0 ms)
[ RUN      ] Mutex.block
[       OK ] Mutex.block (0 ms)
[ RUN      ] Mutex.queue
[       OK ] Mutex.queue (0 ms)
[----------] 3 tests from Mutex (0 ms total)

[----------] 2 tests from MetricsTest
[ RUN      ] MetricsTest.Counter
[       OK ] MetricsTest.Counter (5 ms)
[ RUN      ] MetricsTest.Gauge
[       OK ] MetricsTest.Gauge (31 ms)
[----------] 2 tests from MetricsTest (36 ms total)

[----------] 3 tests from Owned
[ RUN      ] Owned.Access
[       OK ] Owned.Access (0 ms)
[ RUN      ] Owned.Null
[       OK ] Owned.Null (0 ms)
[ RUN      ] Owned.Share
[       OK ] Owned.Share (0 ms)
[----------] 3 tests from Owned (0 ms total)

[----------] 39 tests from Process
[ RUN      ] Process.event
[       OK ] Process.event (0 ms)
[ RUN      ] Process.future
[       OK ] Process.future (0 ms)
[ RUN      ] Process.associate
[       OK ] Process.associate (0 ms)
[ RUN      ] Process.onAny
[       OK ] Process.onAny (0 ms)
[ RUN      ] Process.then
[       OK ] Process.then (6 ms)
[ RUN      ] Process.after1
[       OK ] Process.after1 (10 ms)
[ RUN      ] Process.after2
[       OK ] Process.after2 (11 ms)
[ RUN      ] Process.chain
[       OK ] Process.chain (0 ms)
[ RUN      ] Process.discard1
[       OK ] Process.discard1 (0 ms)
[ RUN      ] Process.discard2
[       OK ] Process.discard2 (0 ms)
[ RUN      ] Process.discard3
[       OK ] Process.discard3 (0 ms)
[ RUN      ] Process.spawn
[       OK ] Process.spawn (0 ms)
[ RUN      ] Process.dispatch
[       OK ] Process.dispatch (0 ms)
[ RUN      ] Process.defer1
[       OK ] Process.defer1 (1 ms)
[ RUN      ] Process.defer2
[       OK ] Process.defer2 (0 ms)
[ RUN      ] Process.defer3
[       OK ] Process.defer3 (0 ms)
[ RUN      ] Process.handlers
[       OK ] Process.handlers (0 ms)
[ RUN      ] Process.expect
[       OK ] Process.expect (1 ms)
[ RUN      ] Process.action
[       OK ] Process.action (0 ms)
[ RUN      ] Process.inheritance
[       OK ] Process.inheritance (0 ms)
[ RUN      ] Process.thunk
[       OK ] Process.thunk (0 ms)
[ RUN      ] Process.delegate
[       OK ] Process.delegate (1 ms)
[ RUN      ] Process.delay
[       OK ] Process.delay (12 ms)
[ RUN      ] Process.order
[       OK ] Process.order (1 ms)
[ RUN      ] Process.donate
[       OK ] Process.donate (0 ms)
[ RUN      ] Process.exited
[       OK ] Process.exited (0 ms)
[ RUN      ] Process.select
[       OK ] Process.select (0 ms)
[ RUN      ] Process.collect
[       OK ] Process.collect (0 ms)
[ RUN      ] Process.await1
[       OK ] Process.await1 (0 ms)
[ RUN      ] Process.await2
[       OK ] Process.await2 (1 ms)
[ RUN      ] Process.await3
[       OK ] Process.await3 (0 ms)
[ RUN      ] Process.settle
[       OK ] Process.settle (40 ms)
[ RUN      ] Process.pid
[       OK ] Process.pid (0 ms)
[ RUN      ] Process.listener
[       OK ] Process.listener (0 ms)
[ RUN      ] Process.executor
[       OK ] Process.executor (0 ms)
[ RUN      ] Process.remote
[       OK ] Process.remote (1 ms)
[ RUN      ] Process.async
[       OK ] Process.async (6 ms)
[ RUN      ] Process.limiter
[       OK ] Process.limiter (23 ms)
[ RUN      ] Process.provide
[       OK ] Process.provide (9 ms)
[----------] 39 tests from Process (125 ms total)

[----------] 1 test from Future
[ RUN      ] Future.FromTry
[       OK ] Future.FromTry (0 ms)
[----------] 1 test from Future (0 ms total)

[----------] 3 tests from Reap
[ RUN      ] Reap.NonChildProcess
[       OK ] Reap.NonChildProcess (42 ms)
[ RUN      ] Reap.ChildProcess
[       OK ] Reap.ChildProcess (32 ms)
[ RUN      ] Reap.TerminatedChildProcess
[       OK ] Reap.TerminatedChildProcess (26 ms)
[----------] 3 tests from Reap (101 ms total)

[----------] 4 tests from Sequence
[ RUN      ] Sequence.Serialize
[       OK ] Sequence.Serialize (11 ms)
[ RUN      ] Sequence.DiscardOne
[       OK ] Sequence.DiscardOne (11 ms)
[ RUN      ] Sequence.DiscardAll
[       OK ] Sequence.DiscardAll (10 ms)
[ RUN      ] Sequence.Random
[       OK ] Sequence.Random (13 ms)
[----------] 4 tests from Sequence (45 ms total)

[----------] 4 tests from Shared
[ RUN      ] Shared.ConstAccess
[       OK ] Shared.ConstAccess (0 ms)
[ RUN      ] Shared.Null
[       OK ] Shared.Null (0 ms)
[ RUN      ] Shared.Reset
[       OK ] Shared.Reset (0 ms)
[ RUN      ] Shared.Own
[       OK ] Shared.Own (0 ms)
[----------] 4 tests from Shared (0 ms total)

[----------] 3 tests from Statistics
[ RUN      ] Statistics.set
[       OK ] Statistics.set (0 ms)
[ RUN      ] Statistics.increment
[       OK ] Statistics.increment (1 ms)
[ RUN      ] Statistics.decrement
[       OK ] Statistics.decrement (0 ms)
[----------] 3 tests from Statistics (1 ms total)

[----------] 10 tests from Subprocess
[ RUN      ] Subprocess.status
[       OK ] Subprocess.status (122 ms)
[ RUN      ] Subprocess.output
[       OK ] Subprocess.output (76 ms)
[ RUN      ] Subprocess.input
[       OK ] Subprocess.input (36 ms)
[ RUN      ] Subprocess.splice
[       OK ] Subprocess.splice (43 ms)
[ RUN      ] Subprocess.environment
[       OK ] Subprocess.environment (64 ms)
[ RUN      ] Subprocess.environmentWithSpaces
[       OK ] Subprocess.environmentWithSpaces (32 ms)
[ RUN      ] Subprocess.environmentWithSpacesAndQuotes
[       OK ] Subprocess.environmentWithSpacesAndQuotes (32 ms)
[ RUN      ] Subprocess.environmentOverride
[       OK ] Subprocess.environmentOverride (31 ms)
[ RUN      ] Subprocess.setup
[       OK ] Subprocess.setup (32 ms)
[ RUN      ] Subprocess.setupStatus
[       OK ] Subprocess.setupStatus (63 ms)
[----------] 10 tests from Subprocess (531 ms total)

[----------] 3 tests from TimeSeries
[ RUN      ] TimeSeries.set
[       OK ] TimeSeries.set (0 ms)
[ RUN      ] TimeSeries.sparsify
[       OK ] TimeSeries.sparsify (0 ms)
[ RUN      ] TimeSeries.truncate
[       OK ] TimeSeries.truncate (0 ms)
[----------] 3 tests from TimeSeries (0 ms total)

[----------] 3 tests from TimeTest
[ RUN      ] TimeTest.Arithmetic
[       OK ] TimeTest.Arithmetic (0 ms)
[ RUN      ] TimeTest.Now
[       OK ] TimeTest.Now (0 ms)
[ RUN      ] TimeTest.Output
[       OK ] TimeTest.Output (0 ms)
[----------] 3 tests from TimeTest (0 ms total)

[----------] Global test environment tear-down
[==========] 93 tests from 16 test cases ran. (958 ms total)
[  PASSED  ] 93 tests.

  YOU HAVE 2 DISABLED TESTS

make[5]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess'
make[4]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess'
make[3]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/libprocess'
make[3]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty'
cd leveldb && \
          make  CC="gcc" CXX="g++" OPT="-g -g2 -O2 -std=c++0x -fPIC"
make[4]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/leveldb'
make[4]: Nothing to be done for `default'.
make[4]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty/leveldb'
make[3]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty'
make[2]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty'
make[1]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/3rdparty'
Making check in src
make[1]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/src'
make  check-am
make[2]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/src'
make  test-framework test-executor long-lived-framework long-lived-executor no-executor-framework balloon-framework balloon-executor mesos-tests  examples/python/test_framework.py examples/python/test-framework examples/python/test_executor.py examples/python/test-executor \
	  tests/balloon_framework_test.sh tests/test_framework_test.sh tests/no_executor_framework_test.sh tests/java_exception_test.sh tests/java_framework_test.sh tests/java_log_test.sh tests/python_framework_test.sh
make[3]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/src'
make[3]: `test-framework' is up to date.
make[3]: `test-executor' is up to date.
make[3]: `long-lived-framework' is up to date.
make[3]: `long-lived-executor' is up to date.
make[3]: `no-executor-framework' is up to date.
make[3]: `balloon-framework' is up to date.
make[3]: `balloon-executor' is up to date.
make[3]: `mesos-tests' is up to date.
make[3]: Nothing to be done for `examples/python/test_framework.py'.
make[3]: Nothing to be done for `examples/python/test-framework'.
make[3]: Nothing to be done for `examples/python/test_executor.py'.
make[3]: Nothing to be done for `examples/python/test-executor'.
make[3]: Nothing to be done for `tests/balloon_framework_test.sh'.
make[3]: Nothing to be done for `tests/test_framework_test.sh'.
make[3]: Nothing to be done for `tests/no_executor_framework_test.sh'.
make[3]: Nothing to be done for `tests/java_exception_test.sh'.
make[3]: Nothing to be done for `tests/java_framework_test.sh'.
make[3]: Nothing to be done for `tests/java_log_test.sh'.
make[3]: Nothing to be done for `tests/python_framework_test.sh'.
make[3]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/src'
make  check-local
make[3]: Entering directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/src'
./mesos-tests
Source directory: /home/jenkins/jenkins-slave/workspace/mesos-reviewbot
Build directory: /home/jenkins/jenkins-slave/workspace/mesos-reviewbot
Note: Google Test filter = *-CpuIsolatorTest/1.UserCpuUsage:CpuIsolatorTest/1.SystemCpuUsage:LimitedCpuIsolatorTest.ROOT_CGROUPS_Cfs:LimitedCpuIsolatorTest.ROOT_CGROUPS_Cfs_Big_Quota:MemIsolatorTest/0.MemUsage:MemIsolatorTest/1.MemUsage:ContainerizerTest.ROOT_CGROUPS_BalloonFramework:CgroupsAnyHierarchyTest.ROOT_CGROUPS_Enabled:CgroupsAnyHierarchyTest.ROOT_CGROUPS_Subsystems:CgroupsAnyHierarchyTest.ROOT_CGROUPS_Mounted:CgroupsAnyHierarchyTest.ROOT_CGROUPS_Get:CgroupsAnyHierarchyTest.ROOT_CGROUPS_NestedCgroups:CgroupsAnyHierarchyTest.ROOT_CGROUPS_Tasks:CgroupsAnyHierarchyTest.ROOT_CGROUPS_Read:CgroupsAnyHierarchyTest.ROOT_CGROUPS_Write:CgroupsAnyHierarchyTest.ROOT_CGROUPS_Cfs_Big_Quota:CgroupsAnyHierarchyWithCpuMemoryTest.ROOT_CGROUPS_Busy:CgroupsAnyHierarchyWithCpuMemoryTest.ROOT_CGROUPS_SubsystemsHierarchy:CgroupsAnyHierarchyWithCpuMemoryTest.ROOT_CGROUPS_MountedSubsystems:CgroupsAnyHierarchyWithCpuMemoryTest.ROOT_CGROUPS_CreateRemove:CgroupsAnyHierarchyWithCpuMemoryTest.ROOT_CGROUP
 S_Listen:CgroupsNoHierarchyTest.ROOT_CGROUPS_NOHIERARCHY_MountUnmountHierarchy:CgroupsAnyHierarchyWithCpuAcctMemoryTest.ROOT_CGROUPS_Stat:CgroupsAnyHierarchyWithFreezerTest.ROOT_CGROUPS_Freeze:CgroupsAnyHierarchyWithFreezerTest.ROOT_CGROUPS_Kill:CgroupsAnyHierarchyWithFreezerTest.ROOT_CGROUPS_Destroy:
[==========] Running 281 tests from 49 test cases.
[----------] Global test environment set-up.
[----------] 1 test from DRFAllocatorTest
[ RUN      ] DRFAllocatorTest.DRFAllocatorProcess
[       OK ] DRFAllocatorTest.DRFAllocatorProcess (205 ms)
[----------] 1 test from DRFAllocatorTest (205 ms total)

[----------] 2 tests from ReservationAllocatorTest
[ RUN      ] ReservationAllocatorTest.ReservedResources
[       OK ] ReservationAllocatorTest.ReservedResources (112 ms)
[ RUN      ] ReservationAllocatorTest.ResourcesReturned
[       OK ] ReservationAllocatorTest.ResourcesReturned (120 ms)
[----------] 2 tests from ReservationAllocatorTest (232 ms total)

[----------] 10 tests from AllocatorTest/0, where TypeParam = mesos::internal::master::allocator::HierarchicalAllocatorProcess<mesos::internal::master::allocator::DRFSorter, mesos::internal::master::allocator::DRFSorter>
[ RUN      ] AllocatorTest/0.MockAllocator
[       OK ] AllocatorTest/0.MockAllocator (39 ms)
[ RUN      ] AllocatorTest/0.ResourcesUnused
[       OK ] AllocatorTest/0.ResourcesUnused (47 ms)
[ RUN      ] AllocatorTest/0.OutOfOrderDispatch
[       OK ] AllocatorTest/0.OutOfOrderDispatch (28 ms)
[ RUN      ] AllocatorTest/0.SchedulerFailover
[       OK ] AllocatorTest/0.SchedulerFailover (42 ms)
[ RUN      ] AllocatorTest/0.FrameworkExited
[       OK ] AllocatorTest/0.FrameworkExited (56 ms)
[ RUN      ] AllocatorTest/0.SlaveLost
[       OK ] AllocatorTest/0.SlaveLost (38 ms)
[ RUN      ] AllocatorTest/0.SlaveAdded
[       OK ] AllocatorTest/0.SlaveAdded (168 ms)
[ RUN      ] AllocatorTest/0.TaskFinished
[       OK ] AllocatorTest/0.TaskFinished (54 ms)
[ RUN      ] AllocatorTest/0.WhitelistSlave
[       OK ] AllocatorTest/0.WhitelistSlave (82 ms)
[ RUN      ] AllocatorTest/0.RoleTest
[       OK ] AllocatorTest/0.RoleTest (5010 ms)
[----------] 10 tests from AllocatorTest/0 (5564 ms total)

[----------] 2 tests from AttributesTest
[ RUN      ] AttributesTest.Parsing
[       OK ] AttributesTest.Parsing (0 ms)
[ RUN      ] AttributesTest.Equality
[       OK ] AttributesTest.Equality (0 ms)
[----------] 2 tests from AttributesTest (0 ms total)

[----------] 9 tests from AuthenticationTest
[ RUN      ] AuthenticationTest.UnauthenticatedFramework
[       OK ] AuthenticationTest.UnauthenticatedFramework (28 ms)
[ RUN      ] AuthenticationTest.DisableAuthentication
[       OK ] AuthenticationTest.DisableAuthentication (19 ms)
[ RUN      ] AuthenticationTest.AuthenticatedFramework
[       OK ] AuthenticationTest.AuthenticatedFramework (5011 ms)
[ RUN      ] AuthenticationTest.RetryAuthentication
[       OK ] AuthenticationTest.RetryAuthentication (32 ms)
[ RUN      ] AuthenticationTest.DropIntermediateSASLMessage
[       OK ] AuthenticationTest.DropIntermediateSASLMessage (29 ms)
[ RUN      ] AuthenticationTest.DropFinalSASLMessage
[       OK ] AuthenticationTest.DropFinalSASLMessage (18 ms)
[ RUN      ] AuthenticationTest.MasterFailover
[       OK ] AuthenticationTest.MasterFailover (5014 ms)
[ RUN      ] AuthenticationTest.LeaderElection
[       OK ] AuthenticationTest.LeaderElection (5021 ms)
[ RUN      ] AuthenticationTest.SchedulerFailover
[       OK ] AuthenticationTest.SchedulerFailover (18 ms)
[----------] 9 tests from AuthenticationTest (15190 ms total)

[----------] 5 tests from MesosContainerizerProcessTest
[ RUN      ] MesosContainerizerProcessTest.Simple
[       OK ] MesosContainerizerProcessTest.Simple (0 ms)
[ RUN      ] MesosContainerizerProcessTest.MultipleURIs
[       OK ] MesosContainerizerProcessTest.MultipleURIs (1 ms)
[ RUN      ] MesosContainerizerProcessTest.NoUser
[       OK ] MesosContainerizerProcessTest.NoUser (0 ms)
[ RUN      ] MesosContainerizerProcessTest.EmptyHadoop
[       OK ] MesosContainerizerProcessTest.EmptyHadoop (0 ms)
[ RUN      ] MesosContainerizerProcessTest.NoHadoop
[       OK ] MesosContainerizerProcessTest.NoHadoop (0 ms)
[----------] 5 tests from MesosContainerizerProcessTest (1 ms total)

[----------] 6 tests from ExamplesTest
[ RUN      ] ExamplesTest.TestFramework
[       OK ] ExamplesTest.TestFramework (3142 ms)
[ RUN      ] ExamplesTest.NoExecutorFramework
[       OK ] ExamplesTest.NoExecutorFramework (4383 ms)
[ RUN      ] ExamplesTest.JavaFramework
[       OK ] ExamplesTest.JavaFramework (3269 ms)
[ RUN      ] ExamplesTest.JavaException
[       OK ] ExamplesTest.JavaException (5303 ms)
[ RUN      ] ExamplesTest.JavaLog
[       OK ] ExamplesTest.JavaLog (2187 ms)
[ RUN      ] ExamplesTest.PythonFramework
tests/script.cpp:78: Failure
Failed
python_framework_test.sh exited with status 1
[  FAILED  ] ExamplesTest.PythonFramework (62207 ms)
[----------] 6 tests from ExamplesTest (80492 ms total)

[----------] 3 tests from ExceptionTest
[ RUN      ] ExceptionTest.DeactivateFrameworkOnAbort
[       OK ] ExceptionTest.DeactivateFrameworkOnAbort (59 ms)
[ RUN      ] ExceptionTest.DisallowSchedulerActionsOnAbort
[       OK ] ExceptionTest.DisallowSchedulerActionsOnAbort (35 ms)
[ RUN      ] ExceptionTest.DisallowSchedulerCallbacksOnAbort
[       OK ] ExceptionTest.DisallowSchedulerCallbacksOnAbort (23 ms)
[----------] 3 tests from ExceptionTest (119 ms total)

[----------] 24 tests from FaultToleranceTest
[ RUN      ] FaultToleranceTest.SlaveLost
[       OK ] FaultToleranceTest.SlaveLost (30 ms)
[ RUN      ] FaultToleranceTest.PartitionedSlave
[       OK ] FaultToleranceTest.PartitionedSlave (88 ms)
[ RUN      ] FaultToleranceTest.PartitionedSlaveReregistration
[       OK ] FaultToleranceTest.PartitionedSlaveReregistration (198 ms)
[ RUN      ] FaultToleranceTest.PartitionedSlaveStatusUpdates
[       OK ] FaultToleranceTest.PartitionedSlaveStatusUpdates (179 ms)
[ RUN      ] FaultToleranceTest.PartitionedSlaveExitedExecutor
[       OK ] FaultToleranceTest.PartitionedSlaveExitedExecutor (155 ms)
[ RUN      ] FaultToleranceTest.MasterFailover
[       OK ] FaultToleranceTest.MasterFailover (5023 ms)
[ RUN      ] FaultToleranceTest.ReregisterCompletedFrameworks
[       OK ] FaultToleranceTest.ReregisterCompletedFrameworks (5089 ms)
[ RUN      ] FaultToleranceTest.SchedulerFailover
[       OK ] FaultToleranceTest.SchedulerFailover (37 ms)
[ RUN      ] FaultToleranceTest.SchedulerFailoverRetriedReregistration
[       OK ] FaultToleranceTest.SchedulerFailoverRetriedReregistration (61 ms)
[ RUN      ] FaultToleranceTest.FrameworkReliableRegistration
[       OK ] FaultToleranceTest.FrameworkReliableRegistration (56 ms)
[ RUN      ] FaultToleranceTest.FrameworkReregister
[       OK ] FaultToleranceTest.FrameworkReregister (61 ms)
[ RUN      ] FaultToleranceTest.TaskLost
[       OK ] FaultToleranceTest.TaskLost (48 ms)
[ RUN      ] FaultToleranceTest.SchedulerFailoverStatusUpdate
[       OK ] FaultToleranceTest.SchedulerFailoverStatusUpdate (47 ms)
[ RUN      ] FaultToleranceTest.ReregisterFrameworkExitedExecutor
[       OK ] FaultToleranceTest.ReregisterFrameworkExitedExecutor (87 ms)
[ RUN      ] FaultToleranceTest.ForwardStatusUpdateUnknownExecutor
[       OK ] FaultToleranceTest.ForwardStatusUpdateUnknownExecutor (43 ms)
[ RUN      ] FaultToleranceTest.SchedulerFailoverFrameworkMessage
[       OK ] FaultToleranceTest.SchedulerFailoverFrameworkMessage (55 ms)
[ RUN      ] FaultToleranceTest.IgnoreKillTaskFromUnregisteredFramework
[       OK ] FaultToleranceTest.IgnoreKillTaskFromUnregisteredFramework (55 ms)
[ RUN      ] FaultToleranceTest.SchedulerExit
[       OK ] FaultToleranceTest.SchedulerExit (38 ms)
[ RUN      ] FaultToleranceTest.SlaveReliableRegistration
[       OK ] FaultToleranceTest.SlaveReliableRegistration (17 ms)
[ RUN      ] FaultToleranceTest.SlaveReregisterOnZKExpiration
[       OK ] FaultToleranceTest.SlaveReregisterOnZKExpiration (20 ms)
[ RUN      ] FaultToleranceTest.SlaveReregisterTerminatedExecutor
[       OK ] FaultToleranceTest.SlaveReregisterTerminatedExecutor (52 ms)
[ RUN      ] FaultToleranceTest.ReconcileLostTasks
[       OK ] FaultToleranceTest.ReconcileLostTasks (78 ms)
[ RUN      ] FaultToleranceTest.ReconcileIncompleteTasks
[       OK ] FaultToleranceTest.ReconcileIncompleteTasks (64 ms)
[ RUN      ] FaultToleranceTest.SplitBrainMasters
[       OK ] FaultToleranceTest.SplitBrainMasters (63 ms)
[----------] 24 tests from FaultToleranceTest (11644 ms total)

[----------] 6 tests from FilesTest
[ RUN      ] FilesTest.AttachTest
[       OK ] FilesTest.AttachTest (2 ms)
[ RUN      ] FilesTest.DetachTest
[       OK ] FilesTest.DetachTest (0 ms)
[ RUN      ] FilesTest.ReadTest
[       OK ] FilesTest.ReadTest (6 ms)
[ RUN      ] FilesTest.ResolveTest
[       OK ] FilesTest.ResolveTest (40 ms)
[ RUN      ] FilesTest.BrowseTest
[       OK ] FilesTest.BrowseTest (8 ms)
[ RUN      ] FilesTest.DownloadTest
[       OK ] FilesTest.DownloadTest (7 ms)
[----------] 6 tests from FilesTest (63 ms total)

[----------] 3 tests from GarbageCollectorTest
[ RUN      ] GarbageCollectorTest.Schedule
[       OK ] GarbageCollectorTest.Schedule (93 ms)
[ RUN      ] GarbageCollectorTest.Unschedule
[       OK ] GarbageCollectorTest.Unschedule (72 ms)
[ RUN      ] GarbageCollectorTest.Prune
[       OK ] GarbageCollectorTest.Prune (51 ms)
[----------] 3 tests from GarbageCollectorTest (216 ms total)

[----------] 5 tests from GarbageCollectorIntegrationTest
[ RUN      ] GarbageCollectorIntegrationTest.Restart
[       OK ] GarbageCollectorIntegrationTest.Restart (94 ms)
[ RUN      ] GarbageCollectorIntegrationTest.ExitedFramework
[       OK ] GarbageCollectorIntegrationTest.ExitedFramework (98 ms)
[ RUN      ] GarbageCollectorIntegrationTest.ExitedExecutor
[       OK ] GarbageCollectorIntegrationTest.ExitedExecutor (66 ms)
[ RUN      ] GarbageCollectorIntegrationTest.DiskUsage
[       OK ] GarbageCollectorIntegrationTest.DiskUsage (81 ms)
[ RUN      ] GarbageCollectorIntegrationTest.Unschedule
[       OK ] GarbageCollectorIntegrationTest.Unschedule (130 ms)
[----------] 5 tests from GarbageCollectorIntegrationTest (470 ms total)

[----------] 2 tests from CpuIsolatorTest/0, where TypeParam = mesos::internal::slave::PosixCpuIsolatorProcess
[ RUN      ] CpuIsolatorTest/0.UserCpuUsage
[       OK ] CpuIsolatorTest/0.UserCpuUsage (1005 ms)
[ RUN      ] CpuIsolatorTest/0.SystemCpuUsage
[       OK ] CpuIsolatorTest/0.SystemCpuUsage (1002 ms)
[----------] 2 tests from CpuIsolatorTest/0 (2007 ms total)

[----------] 1 test from NetworkTest
[ RUN      ] NetworkTest.Watch
[       OK ] NetworkTest.Watch (1 ms)
[----------] 1 test from NetworkTest (1 ms total)

[----------] 3 tests from LogStorageTest/0, where TypeParam = mesos::internal::log::LevelDBStorage
[ RUN      ] LogStorageTest/0.Truncate
[       OK ] LogStorageTest/0.Truncate (25 ms)
[ RUN      ] LogStorageTest/0.TruncateWithEmptyLog
[       OK ] LogStorageTest/0.TruncateWithEmptyLog (4 ms)
[ RUN      ] LogStorageTest/0.TruncateWithManyHoles
[       OK ] LogStorageTest/0.TruncateWithManyHoles (25 ms)
[----------] 3 tests from LogStorageTest/0 (55 ms total)

[----------] 4 tests from ReplicaTest
[ RUN      ] ReplicaTest.Promise
[       OK ] ReplicaTest.Promise (71 ms)
[ RUN      ] ReplicaTest.Append
[       OK ] ReplicaTest.Append (26 ms)
[ RUN      ] ReplicaTest.Restore
[       OK ] ReplicaTest.Restore (38 ms)
[ RUN      ] ReplicaTest.NonVoting
[       OK ] ReplicaTest.NonVoting (24 ms)
[----------] 4 tests from ReplicaTest (159 ms total)

[----------] 21 tests from CoordinatorTest
[ RUN      ] CoordinatorTest.Elect
[       OK ] CoordinatorTest.Elect (33 ms)
[ RUN      ] CoordinatorTest.ElectWithClockPaused
[       OK ] CoordinatorTest.ElectWithClockPaused (33 ms)
[ RUN      ] CoordinatorTest.AppendRead
[       OK ] CoordinatorTest.AppendRead (61 ms)
[ RUN      ] CoordinatorTest.AppendReadError
[       OK ] CoordinatorTest.AppendReadError (42 ms)
[ RUN      ] CoordinatorTest.AppendDiscarded
[       OK ] CoordinatorTest.AppendDiscarded (90 ms)
[ RUN      ] CoordinatorTest.ElectNoQuorum
[       OK ] CoordinatorTest.ElectNoQuorum (44 ms)
[ RUN      ] CoordinatorTest.AppendNoQuorum
[       OK ] CoordinatorTest.AppendNoQuorum (34 ms)
[ RUN      ] CoordinatorTest.Failover
[       OK ] CoordinatorTest.Failover (19 ms)
[ RUN      ] CoordinatorTest.Demoted
[       OK ] CoordinatorTest.Demoted (28 ms)
[ RUN      ] CoordinatorTest.Fill
[       OK ] CoordinatorTest.Fill (90 ms)
[ RUN      ] CoordinatorTest.NotLearnedFill
[       OK ] CoordinatorTest.NotLearnedFill (104 ms)
[ RUN      ] CoordinatorTest.MultipleAppends
[       OK ] CoordinatorTest.MultipleAppends (30 ms)
[ RUN      ] CoordinatorTest.MultipleAppendsNotLearnedFill
[       OK ] CoordinatorTest.MultipleAppendsNotLearnedFill (108 ms)
[ RUN      ] CoordinatorTest.Truncate
[       OK ] CoordinatorTest.Truncate (104 ms)
[ RUN      ] CoordinatorTest.TruncateNotLearnedFill
[       OK ] CoordinatorTest.TruncateNotLearnedFill (87 ms)
[ RUN      ] CoordinatorTest.TruncateLearnedFill
[       OK ] CoordinatorTest.TruncateLearnedFill (91 ms)
[ RUN      ] CoordinatorTest.RacingElect
[       OK ] CoordinatorTest.RacingElect (4 ms)
[ RUN      ] CoordinatorTest.FillNoQuorum
[       OK ] CoordinatorTest.FillNoQuorum (0 ms)
[ RUN      ] CoordinatorTest.FillInconsistent
[       OK ] CoordinatorTest.FillInconsistent (0 ms)
[ RUN      ] CoordinatorTest.LearnedOnOneReplica_NotLearnedOnAnother
[       OK ] CoordinatorTest.LearnedOnOneReplica_NotLearnedOnAnother (1 ms)
[ RUN      ] CoordinatorTest.LearnedOnOneReplica_NotLearnedOnAnother_AnotherFailsAndRecovers
[       OK ] CoordinatorTest.LearnedOnOneReplica_NotLearnedOnAnother_AnotherFailsAndRecovers (5 ms)
[----------] 21 tests from CoordinatorTest (1008 ms total)

[----------] 2 tests from RecoverTest
[ RUN      ] RecoverTest.RacingCatchup
[       OK ] RecoverTest.RacingCatchup (358 ms)
[ RUN      ] RecoverTest.CatchupRetry
[       OK ] RecoverTest.CatchupRetry (101 ms)
[----------] 2 tests from RecoverTest (459 ms total)

[----------] 2 tests from LogTest
[ RUN      ] LogTest.WriteRead
[       OK ] LogTest.WriteRead (37 ms)
[ RUN      ] LogTest.Position
[       OK ] LogTest.Position (39 ms)
[----------] 2 tests from LogTest (76 ms total)

[----------] 1 test from LogZooKeeperTest
[ RUN      ] LogZooKeeperTest.WriteRead
[       OK ] LogZooKeeperTest.WriteRead (264 ms)
[----------] 1 test from LogZooKeeperTest (264 ms total)

[----------] 1 test from LoggingTest
[ RUN      ] LoggingTest.Toggle
[       OK ] LoggingTest.Toggle (4 ms)
[----------] 1 test from LoggingTest (4 ms total)

[----------] 1 test from MasterContenderDetectorTest
[ RUN      ] MasterContenderDetectorTest.File
[       OK ] MasterContenderDetectorTest.File (11 ms)
[----------] 1 test from MasterContenderDetectorTest (11 ms total)

[----------] 2 tests from BasicMasterContenderDetectorTest
[ RUN      ] BasicMasterContenderDetectorTest.Contender
[       OK ] BasicMasterContenderDetectorTest.Contender (679 ms)
[ RUN      ] BasicMasterContenderDetectorTest.Detector
[       OK ] BasicMasterContenderDetectorTest.Detector (5 ms)
[----------] 2 tests from BasicMasterContenderDetectorTest (684 ms total)

[----------] 9 tests from ZooKeeperMasterContenderDetectorTest
[ RUN      ] ZooKeeperMasterContenderDetectorTest.MasterContender
2014-04-11 20:46:53,554:8801(0x2b08990aa700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:40648] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-04-11 20:46:56,891:8801(0x2b08990aa700):ZOO_ERROR@handle_socket_error_msg@1739: Socket [127.0.0.1:40648] zk retcode=-112, errno=116(Stale NFS file handle): sessionId=0x145528b03e10000 has expired.
2014-04-11 20:46:56,910:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:40648] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
[       OK ] ZooKeeperMasterContenderDetectorTest.MasterContender (3528 ms)
[ RUN      ] ZooKeeperMasterContenderDetectorTest.ContenderPendingElection
[       OK ] ZooKeeperMasterContenderDetectorTest.ContenderPendingElection (63 ms)
[ RUN      ] ZooKeeperMasterContenderDetectorTest.MasterContenders
[       OK ] ZooKeeperMasterContenderDetectorTest.MasterContenders (391 ms)
[ RUN      ] ZooKeeperMasterContenderDetectorTest.NonRetryableFrrors
2014-04-11 20:47:00,246:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-04-11 20:47:03,582:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] ZooKeeperMasterContenderDetectorTest.NonRetryableFrrors (8855 ms)
[ RUN      ] ZooKeeperMasterContenderDetectorTest.ContenderDetectorShutdownNetwork
2014-04-11 20:47:06,290:8801(0x2b089a701700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:56568] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-04-11 20:47:06,291:8801(0x2b0899cc4700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:56568] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-04-11 20:47:06,292:8801(0x2b0899ec5700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:56568] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-04-11 20:47:06,293:8801(0x2b08992ab700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:56568] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-04-11 20:47:06,918:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] ZooKeeperMasterContenderDetectorTest.ContenderDetectorShutdownNetwork (3448 ms)
[ RUN      ] ZooKeeperMasterContenderDetectorTest.MasterDetectorTimedoutSession
2014-04-11 20:47:09,777:8801(0x2b089ab03700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:45818] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-04-11 20:47:09,778:8801(0x2b0899ec5700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:45818] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-04-11 20:47:09,778:8801(0x2b08992ab700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:45818] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-04-11 20:47:09,791:8801(0x2b0899cc4700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:45818] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-04-11 20:47:09,791:8801(0x2b089a500700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:45818] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-04-11 20:47:09,791:8801(0x2b0899ec5700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:45818] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] ZooKeeperMasterContenderDetectorTest.MasterDetectorTimedoutSession (126 ms)
[ RUN      ] ZooKeeperMasterContenderDetectorTest.MasterDetectorExpireMasterZKSession
2014-04-11 20:47:09,873:8801(0x2b089ab03700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:36085] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-04-11 20:47:10,254:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-04-11 20:47:13,211:8801(0x2b089ab03700):ZOO_ERROR@handle_socket_error_msg@1739: Socket [127.0.0.1:36085] zk retcode=-112, errno=116(Stale NFS file handle): sessionId=0x145528b440b0000 has expired.
[       OK ] ZooKeeperMasterContenderDetectorTest.MasterDetectorExpireMasterZKSession (3437 ms)
[ RUN      ] ZooKeeperMasterContenderDetectorTest.MasterDetectorExpireSlaveZKSession
2014-04-11 20:47:13,333:8801(0x2b089a902700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:36967] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-04-11 20:47:13,590:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-04-11 20:47:16,671:8801(0x2b089a902700):ZOO_ERROR@handle_socket_error_msg@1739: Socket [127.0.0.1:36967] zk retcode=-112, errno=116(Stale NFS file handle): sessionId=0x145528b51660001 has expired.
[       OK ] ZooKeeperMasterContenderDetectorTest.MasterDetectorExpireSlaveZKSession (3436 ms)
[ RUN      ] ZooKeeperMasterContenderDetectorTest.MasterDetectorExpireSlaveZKSessionNewMaster
2014-04-11 20:47:16,700:8801(0x2b08992ab700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:60113] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-04-11 20:47:16,700:8801(0x2b0899ac3700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:60113] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-04-11 20:47:16,927:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-04-11 20:47:20,038:8801(0x2b08992ab700):ZOO_ERROR@handle_socket_error_msg@1739: Socket [127.0.0.1:60113] zk retcode=-112, errno=116(Stale NFS file handle): sessionId=0x145528b5ec90002 has expired.
2014-04-11 20:47:20,040:8801(0x2b0899ac3700):ZOO_ERROR@handle_socket_error_msg@1739: Socket [127.0.0.1:60113] zk retcode=-112, errno=116(Stale NFS file handle): sessionId=0x145528b5ec90000 has expired.
[       OK ] ZooKeeperMasterContenderDetectorTest.MasterDetectorExpireSlaveZKSessionNewMaster (3382 ms)
[----------] 9 tests from ZooKeeperMasterContenderDetectorTest (26666 ms total)

[----------] 14 tests from MasterTest
[ RUN      ] MasterTest.TaskRunning
[       OK ] MasterTest.TaskRunning (58 ms)
[ RUN      ] MasterTest.ShutdownFrameworkWhileTaskRunning
[       OK ] MasterTest.ShutdownFrameworkWhileTaskRunning (43 ms)
[ RUN      ] MasterTest.KillTask
[       OK ] MasterTest.KillTask (36 ms)
[ RUN      ] MasterTest.StatusUpdateAck
2014-04-11 20:47:20,266:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] MasterTest.StatusUpdateAck (81 ms)
[ RUN      ] MasterTest.RecoverResources
[       OK ] MasterTest.RecoverResources (1010 ms)
[ RUN      ] MasterTest.FrameworkMessage
[       OK ] MasterTest.FrameworkMessage (86 ms)
[ RUN      ] MasterTest.MultipleExecutors
[       OK ] MasterTest.MultipleExecutors (47 ms)
[ RUN      ] MasterTest.MasterInfo
[       OK ] MasterTest.MasterInfo (51 ms)
[ RUN      ] MasterTest.MasterInfoOnReElection
[       OK ] MasterTest.MasterInfoOnReElection (41 ms)
[ RUN      ] MasterTest.MasterLost
[       OK ] MasterTest.MasterLost (34 ms)
[ RUN      ] MasterTest.ReconcileTaskTest
[       OK ] MasterTest.ReconcileTaskTest (25 ms)
[ RUN      ] MasterTest.LaunchCombinedOfferTest
[       OK ] MasterTest.LaunchCombinedOfferTest (2012 ms)
[ RUN      ] MasterTest.LaunchAcrossSlavesTest
2014-04-11 20:47:23,603:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] MasterTest.LaunchAcrossSlavesTest (38 ms)
[ RUN      ] MasterTest.LaunchDuplicateOfferTest
[       OK ] MasterTest.LaunchDuplicateOfferTest (34 ms)
[----------] 14 tests from MasterTest (3596 ms total)

[----------] 1 test from WhitelistTest
[ RUN      ] WhitelistTest.WhitelistSlave
2014-04-11 20:47:26,939:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] WhitelistTest.WhitelistSlave (5014 ms)
[----------] 1 test from WhitelistTest (5014 ms total)

[----------] 1 test from MasterZooKeeperTest
[ RUN      ] MasterZooKeeperTest.LostZooKeeperCluster
2014-04-11 20:47:28,737:8801(0x2b0899cc4700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:55474] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-04-11 20:47:28,737:8801(0x2b089a902700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:55474] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-04-11 20:47:28,738:8801(0x2b08998c2700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:55474] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-04-11 20:47:28,738:8801(0x2b089a701700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:55474] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-04-11 20:47:28,740:8801(0x2b089a500700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:55474] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-04-11 20:47:28,741:8801(0x2b08994ae700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:55474] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-04-11 20:47:28,741:8801(0x2b089a701700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:55474] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-04-11 20:47:28,741:8801(0x2b08992ab700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:55474] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] MasterZooKeeperTest.LostZooKeeperCluster (75 ms)
[----------] 1 test from MasterZooKeeperTest (75 ms total)

[----------] 2 tests from MonitorTest
[ RUN      ] MonitorTest.Collection
[       OK ] MonitorTest.Collection (121 ms)
[ RUN      ] MonitorTest.Statistics
[       OK ] MonitorTest.Statistics (103 ms)
[----------] 2 tests from MonitorTest (224 ms total)

[----------] 2 tests from PathsTest
[ RUN      ] PathsTest.CreateExecutorDirectory
[       OK ] PathsTest.CreateExecutorDirectory (5 ms)
[ RUN      ] PathsTest.format
[       OK ] PathsTest.format (1 ms)
[----------] 2 tests from PathsTest (6 ms total)

[----------] 1 test from ProtobufIOTest
[ RUN      ] ProtobufIOTest.Basic
[       OK ] ProtobufIOTest.Basic (6 ms)
[----------] 1 test from ProtobufIOTest (6 ms total)

[----------] 1 test from HealthTest
[ RUN      ] HealthTest.ObserveEndpoint
[       OK ] HealthTest.ObserveEndpoint (59 ms)
[----------] 1 test from HealthTest (59 ms total)

[----------] 8 tests from ResourceOffersTest
[ RUN      ] ResourceOffersTest.ResourceOfferWithMultipleSlaves
[       OK ] ResourceOffersTest.ResourceOfferWithMultipleSlaves (86 ms)
[ RUN      ] ResourceOffersTest.TaskUsesNoResources
[       OK ] ResourceOffersTest.TaskUsesNoResources (12 ms)
[ RUN      ] ResourceOffersTest.TaskUsesInvalidResources
[       OK ] ResourceOffersTest.TaskUsesInvalidResources (34 ms)
[ RUN      ] ResourceOffersTest.TaskUsesMoreResourcesThanOffered
[       OK ] ResourceOffersTest.TaskUsesMoreResourcesThanOffered (47 ms)
[ RUN      ] ResourceOffersTest.ResourcesGetReofferedAfterFrameworkStops
[       OK ] ResourceOffersTest.ResourcesGetReofferedAfterFrameworkStops (42 ms)
[ RUN      ] ResourceOffersTest.ResourcesGetReofferedWhenUnused
[       OK ] ResourceOffersTest.ResourcesGetReofferedWhenUnused (41 ms)
[ RUN      ] ResourceOffersTest.ResourcesGetReofferedAfterTaskInfoError
[       OK ] ResourceOffersTest.ResourcesGetReofferedAfterTaskInfoError (17 ms)
[ RUN      ] ResourceOffersTest.Request
2014-04-11 20:47:30,274:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-04-11 20:47:33,611:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] ResourceOffersTest.Request (5008 ms)
[----------] 8 tests from ResourceOffersTest (5290 ms total)

[----------] 1 test from MultipleExecutorsTest
[ RUN      ] MultipleExecutorsTest.TasksExecutorInfoDiffers
[       OK ] MultipleExecutorsTest.TasksExecutorInfoDiffers (44 ms)
[----------] 1 test from MultipleExecutorsTest (44 ms total)

[----------] 34 tests from ResourcesTest
[ RUN      ] ResourcesTest.Parsing
[       OK ] ResourcesTest.Parsing (1 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 (0 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 (3 ms total)

[----------] 3 tests from SASL
[ RUN      ] SASL.success
[       OK ] SASL.success (7 ms)
[ RUN      ] SASL.failed1
[       OK ] SASL.failed1 (1 ms)
[ RUN      ] SASL.failed2
[       OK ] SASL.failed2 (2 ms)
[----------] 3 tests from SASL (11 ms total)

[----------] 2 tests from SlaveStateTest
[ RUN      ] SlaveStateTest.CheckpointProtobuf
[       OK ] SlaveStateTest.CheckpointProtobuf (7 ms)
[ RUN      ] SlaveStateTest.CheckpointString
[       OK ] SlaveStateTest.CheckpointString (1 ms)
[----------] 2 tests from SlaveStateTest (8 ms total)

[----------] 23 tests from SlaveRecoveryTest/0, where TypeParam = mesos::internal::slave::MesosContainerizer
[ RUN      ] SlaveRecoveryTest/0.RecoverSlaveState
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0411 20:47:34.939085 10903 exec.cpp:131] Version: 0.19.0
I0411 20:47:34.944331 10926 exec.cpp:205] Executor registered on slave 20140411-204734-143311683-50087-8801-0
Registered executor on minerva.apache.org
Starting task c7211f13-24c9-4a12-a851-b4a85052b2fa
sh -c 'sleep 1000'
Forked command at 10931
I0411 20:47:34.980998 10928 exec.cpp:378] Executor asked to shutdown
Shutting down
Sending SIGTERM to process tree at pid 10931
[       OK ] SlaveRecoveryTest/0.RecoverSlaveState (579 ms)
[ RUN      ] SlaveRecoveryTest/0.RecoverStatusUpdateManager
Killing the following process trees:
[ 
-+- 10931 sh -c sleep 1000 
 \--- 10932 sleep 1000 
]
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0411 20:47:35.927093 10955 exec.cpp:131] Version: 0.19.0
I0411 20:47:35.935897 10970 exec.cpp:205] Executor registered on slave 20140411-204734-143311683-50087-8801-0
Registered executor on minerva.apache.org
Starting task 82e13449-1bc1-4052-9f16-9cc04371df93
Forked command at 10978
sh -c 'sleep 1000'
Command terminated with signal Terminated (pid: 10931)
I0411 20:47:35.952348 10970 exec.cpp:251] Received reconnect request from slave 20140411-204734-143311683-50087-8801-0
I0411 20:47:35.959218 10970 exec.cpp:228] Executor re-registered on slave 20140411-204734-143311683-50087-8801-0
Re-registered executor on minerva.apache.org
2014-04-11 20:47:36,946:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
I0411 20:47:37.956852 10971 exec.cpp:378] Executor asked to shutdown
Shutting down
Sending SIGTERM to process tree at pid 10978
[       OK ] SlaveRecoveryTest/0.RecoverStatusUpdateManager (2985 ms)
[ RUN      ] SlaveRecoveryTest/0.ReconnectExecutor
Killing the following process trees:
[ 
-+- 10978 sh -c sleep 1000 
 \--- 10979 sleep 1000 
]
Command terminated with signal Terminated (pid: 10978)
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0411 20:47:38.971302 11009 exec.cpp:131] Version: 0.19.0
I0411 20:47:38.974445 11026 exec.cpp:205] Executor registered on slave 20140411-204737-143311683-50087-8801-0
Registered executor on minerva.apache.org
Starting task 184db1b1-0d66-4ad7-9264-b608b59fb114
Forked command at 11032
sh -c 'sleep 1000'
I0411 20:47:38.985080 11028 exec.cpp:251] Received reconnect request from slave 20140411-204737-143311683-50087-8801-0
I0411 20:47:38.985710 11025 exec.cpp:228] Executor re-registered on slave 20140411-204737-143311683-50087-8801-0
Re-registered executor on minerva.apache.org
2014-04-11 20:47:40,283:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
I0411 20:47:40.989017 11026 exec.cpp:378] Executor asked to shutdown
Shutting down
Sending SIGTERM to process tree at pid 11032
[       OK ] SlaveRecoveryTest/0.ReconnectExecutor (3028 ms)
[ RUN      ] SlaveRecoveryTest/0.RecoverUnregisteredExecutor
Killing the following process trees:
[ 
-+- 11032 sh -c sleep 1000 
 \--- 11033 sleep 1000 
]
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0411 20:47:41.932523 11056 exec.cpp:131] Version: 0.19.0
Command terminated with signal Terminated (pid: 11032)
[       OK ] SlaveRecoveryTest/0.RecoverUnregisteredExecutor (1138 ms)
[ RUN      ] SlaveRecoveryTest/0.RecoverTerminatedExecutor
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0411 20:47:43.002974 11104 exec.cpp:131] Version: 0.19.0
I0411 20:47:43.006430 11122 exec.cpp:205] Executor registered on slave 20140411-204742-143311683-50087-8801-0
Registered executor on minerva.apache.org
Starting task aa40d1f1-62c6-4a4c-ba48-2c5138257089
Forked command at 11127
sh -c 'sleep 1000'
I0411 20:47:43.018995 11121 exec.cpp:378] Executor asked to shutdown
Shutting down
Sending SIGTERM to process tree at pid 11127
Killing the following process trees:
[ 
-+- 11127 sh -c sleep 1000 
 \--- 11128 sleep 1000 
]
[       OK ] SlaveRecoveryTest/0.RecoverTerminatedExecutor (1113 ms)
[ RUN      ] SlaveRecoveryTest/0.RecoverCompletedExecutor
2014-04-11 20:47:43,619:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0411 20:47:44.120177 11151 exec.cpp:131] Version: 0.19.0
I0411 20:47:44.123402 11166 exec.cpp:205] Executor registered on slave 20140411-204743-143311683-50087-8801-0
Registered executor on minerva.apache.org
Starting task ca91efdf-a3be-41e0-9817-ff776fdd94a4
Forked command at 11174
sh -c 'exit 0'
Command exited with status 0 (pid: 11174)
2014-04-11 20:47:46,955:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] SlaveRecoveryTest/0.RecoverCompletedExecutor (4008 ms)
[ RUN      ] SlaveRecoveryTest/0.CleanupExecutor
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0411 20:47:48.116734 11221 exec.cpp:131] Version: 0.19.0
I0411 20:47:48.121106 11235 exec.cpp:205] Executor registered on slave 20140411-204747-143311683-50087-8801-0
Registered executor on minerva.apache.org
Starting task bb4828bd-7d7c-4120-b00d-c29894268eb4
Forked command at 11244
sh -c 'sleep 1000'
I0411 20:47:48.143025 11240 exec.cpp:378] Executor asked to shutdown
Shutting down
Sending SIGTERM to process tree at pid 11244
Killing the following process trees:
[ 
-+- 11244 sh -c sleep 1000 
 \--- 11245 sleep 1000 
]
[       OK ] SlaveRecoveryTest/0.CleanupExecutor (1159 ms)
[ RUN      ] SlaveRecoveryTest/0.RemoveNonCheckpointingFramework
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0411 20:47:49.220844 11290 exec.cpp:131] Version: 0.19.0
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0411 20:47:49.224985 11291 exec.cpp:131] Version: 0.19.0
I0411 20:47:49.227166 11321 exec.cpp:205] Executor registered on slave 20140411-204748-143311683-50087-8801-0
Registered executor on minerva.apache.org
Starting task 4d4d6a56-c6ad-476a-bfa9-e83d6d98d9c1
sh -c 'sleep 1000'
Forked command at 11336
I0411 20:47:49.231335 11332 exec.cpp:205] Executor registered on slave 20140411-204748-143311683-50087-8801-0
Registered executor on minerva.apache.org
Starting task 0ce08f66-ded8-4db1-98f8-625914c1a16b
Forked command at 11338
sh -c 'sleep 1000'
I0411 20:47:49.236307 11322 exec.cpp:378] Executor asked to shutdown
Shutting down
Sending SIGTERM to process tree at pid 11336
I0411 20:47:49.236670 11330 exec.cpp:378] Executor asked to shutdown
Shutting down
Sending SIGTERM to process tree at pid 11338
[       OK ] SlaveRecoveryTest/0.RemoveNonCheckpointingFramework (827 ms)
[ RUN      ] SlaveRecoveryTest/0.NonCheckpointingFramework
Killing the following process trees:
[ 
-+- 11336 sh -c sleep 1000 
 \--- 11337 sleep 1000 
]
Killing the following process trees:
[ 
-+- 11338 sh -c sleep 1000 
 \--- 11339 sleep 1000 
]
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0411 20:47:50.186210 11362 exec.cpp:131] Version: 0.19.0
I0411 20:47:50.189034 11382 exec.cpp:205] Executor registered on slave 20140411-204749-143311683-50087-8801-0
Registered executor on minerva.apache.org
Starting task 8517d75c-fb24-4cc8-b729-a3d2a3559bbd
Forked command at 11385
sh -c 'sleep 1000'
I0411 20:47:50.217195 11382 exec.cpp:378] Executor asked to shutdown
Shutting down
Sending SIGTERM to process tree at pid 11385
[       OK ] SlaveRecoveryTest/0.NonCheckpointingFramework (978 ms)
[ RUN      ] SlaveRecoveryTest/0.NonCheckpointingSlave
Command terminated with signal Terminated (pid: 11336)
Command terminated with signal Terminated (pid: 11338)
Killing the following process trees:
[ 
-+- 11385 sh -c sleep 1000 
 \--- 11386 sleep 1000 
]
2014-04-11 20:47:50,290:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] SlaveRecoveryTest/0.NonCheckpointingSlave (75 ms)
[ RUN      ] SlaveRecoveryTest/0.KillTask
Command terminated with signal Terminated (pid: 11385)
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0411 20:47:51.191978 11409 exec.cpp:131] Version: 0.19.0
I0411 20:47:51.195574 11428 exec.cpp:205] Executor registered on slave 20140411-204750-143311683-50087-8801-0
Registered executor on minerva.apache.org
Starting task 6af6deb0-01fd-4cf4-b1ad-51353b32cac2
Forked command at 11432
sh -c 'sleep 1000'
I0411 20:47:51.213135 11428 exec.cpp:251] Received reconnect request from slave 20140411-204750-143311683-50087-8801-0
I0411 20:47:51.219322 11429 exec.cpp:228] Executor re-registered on slave 20140411-204750-143311683-50087-8801-0
Re-registered executor on minerva.apache.org
Shutting down
Sending SIGTERM to process tree at pid 11432
Killing the following process trees:
[ 
-+- 11432 sh -c sleep 1000 
 \--- 11433 sleep 1000 
]
Command terminated with signal Terminated (pid: 11432)
[       OK ] SlaveRecoveryTest/0.KillTask (1983 ms)
[ RUN      ] SlaveRecoveryTest/0.Reboot
2014-04-11 20:47:53,626:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0411 20:47:54.352082 11456 exec.cpp:131] Version: 0.19.0
I0411 20:47:54.355703 11470 exec.cpp:205] Executor registered on slave 20140411-204752-143311683-50087-8801-0
Registered executor on minerva.apache.org
Starting task a219fc37-11ff-46df-9db5-f9effb0b740c
sh -c 'sleep 1000'
Forked command at 11479
I0411 20:47:54.375720 11476 exec.cpp:378] Executor asked to shutdown
Shutting down
Sending SIGTERM to process tree at pid 11479
[       OK ] SlaveRecoveryTest/0.Reboot (2105 ms)
[ RUN      ] SlaveRecoveryTest/0.GCExecutor
Killing the following process trees:
[ 
-+- 11479 sh -c sleep 1000 
 \--- 11480 sleep 1000 
]
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0411 20:47:55.305217 11503 exec.cpp:131] Version: 0.19.0
I0411 20:47:55.308573 11518 exec.cpp:205] Executor registered on slave 20140411-204754-143311683-50087-8801-0
Registered executor on minerva.apache.org
Starting task cacd3089-3b58-4061-87a3-7b146e2231e9
Forked command at 11526
sh -c 'sleep 1000'
I0411 20:47:55.316469 11519 exec.cpp:378] Executor asked to shutdown
Shutting down
Sending SIGTERM to process tree at pid 11526
Killing the following process trees:
[ 
-+- 11526 sh -c sleep 1000 
 \--- 11527 sleep 1000 
]
Command terminated with signal Terminated (pid: 11479)
[       OK ] SlaveRecoveryTest/0.GCExecutor (998 ms)
[ RUN      ] SlaveRecoveryTest/0.ShutdownSlave
Command terminated with signal Terminated (pid: 11526)
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0411 20:47:56.370793 11550 exec.cpp:131] Version: 0.19.0
I0411 20:47:56.374048 11569 exec.cpp:205] Executor registered on slave 20140411-204755-143311683-50087-8801-0
Registered executor on minerva.apache.org
Starting task 6f03b776-2b3b-456d-be45-9c8ffb3f4c33
Forked command at 11573
sh -c 'sleep 1000'
I0411 20:47:56.381101 11566 exec.cpp:378] Executor asked to shutdown
Shutting down
Sending SIGTERM to process tree at pid 11573
Killing the following process trees:
[ 
-+- 11573 sh -c sleep 1000 
 \--- 11574 sleep 1000 
]
2014-04-11 20:47:56,968:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
Command terminated with signal Terminated (pid: 11573)
[       OK ] SlaveRecoveryTest/0.ShutdownSlave (3111 ms)
[ RUN      ] SlaveRecoveryTest/0.RegisterDisconnectedSlave
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0411 20:47:59.539933 11615 exec.cpp:131] Version: 0.19.0
I0411 20:47:59.543457 11634 exec.cpp:205] Executor registered on slave 20140411-204758-143311683-50087-8801-0
Registered executor on minerva.apache.org
Starting task f0b78989-91bf-42b1-b18f-330eeadd570b
Forked command at 11638
sh -c 'sleep 1000'
I0411 20:47:59.551440 11629 exec.cpp:378] Executor asked to shutdown
Shutting down
Sending SIGTERM to process tree at pid 11638
Killing the following process trees:
[ 
-+- 11638 sh -c sleep 1000 
 \--- 11639 sleep 1000 
]
[       OK ] SlaveRecoveryTest/0.RegisterDisconnectedSlave (1104 ms)
[ RUN      ] SlaveRecoveryTest/0.ReconcileKillTask
2014-04-11 20:48:00,302:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
Command terminated with signal Terminated (pid: 11638)
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0411 20:48:00.567028 11662 exec.cpp:131] Version: 0.19.0
I0411 20:48:00.570058 11676 exec.cpp:205] Executor registered on slave 20140411-204759-143311683-50087-8801-0
Registered executor on minerva.apache.org
Starting task 537a01b4-5dcb-4691-9bd6-e4187f89769c
Forked command at 11685
sh -c 'sleep 1000'
I0411 20:48:00.586272 11680 exec.cpp:251] Received reconnect request from slave 20140411-204759-143311683-50087-8801-0
I0411 20:48:00.587049 11682 exec.cpp:228] Executor re-registered on slave 20140411-204759-143311683-50087-8801-0
Re-registered executor on minerva.apache.org
Shutting down
Sending SIGTERM to process tree at pid 11685
Killing the following process trees:
[ 
-+- 11685 sh -c sleep 1000 
 \--- 11686 sleep 1000 
]
Command terminated with signal Terminated (pid: 11685)
[       OK ] SlaveRecoveryTest/0.ReconcileKillTask (4018 ms)
[ RUN      ] SlaveRecoveryTest/0.ReconcileShutdownFramework
2014-04-11 20:48:03,638:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0411 20:48:05.554342 11717 exec.cpp:131] Version: 0.19.0
I0411 20:48:05.557481 11735 exec.cpp:205] Executor registered on slave 20140411-204803-143311683-50087-8801-0
Registered executor on minerva.apache.org
Starting task 15e741ac-1720-4c50-ba86-a1f4e90602a2
sh -c 'sleep 1000'
Forked command at 11740
I0411 20:48:05.579155 11736 exec.cpp:251] Received reconnect request from slave 20140411-204803-143311683-50087-8801-0
I0411 20:48:05.582922 11736 exec.cpp:228] Executor re-registered on slave 20140411-204803-143311683-50087-8801-0
Re-registered executor on minerva.apache.org
2014-04-11 20:48:06,974:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
I0411 20:48:07.576692 11734 exec.cpp:378] Executor asked to shutdown
Shutting down
Sending SIGTERM to process tree at pid 11740
Killing the following process trees:
[ 
-+- 11740 sh -c sleep 1000 
 \--- 11741 sleep 1000 
]
Command terminated with signal Terminated (pid: 11740)
2014-04-11 20:48:10,310:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] SlaveRecoveryTest/0.ReconcileShutdownFramework (6897 ms)
[ RUN      ] SlaveRecoveryTest/0.ReconcileTasksMissingFromSlave
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0411 20:48:11.576354 11776 exec.cpp:131] Version: 0.19.0
I0411 20:48:11.579799 11792 exec.cpp:205] Executor registered on slave 20140411-204810-143311683-50087-8801-0
Registered executor on minerva.apache.org
Starting task 304257fb-a206-437e-ab44-934924f7e03c
sh -c 'sleep 10'
Forked command at 11799
[       OK ] SlaveRecoveryTest/0.ReconcileTasksMissingFromSlave (1196 ms)
[ RUN      ] SlaveRecoveryTest/0.SchedulerFailover
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0411 20:48:12.764875 11823 exec.cpp:131] Version: 0.19.0
I0411 20:48:12.781924 11837 exec.cpp:205] Executor registered on slave 20140411-204811-143311683-50087-8801-0
Registered executor on minerva.apache.org
Starting task a1bce610-c5d8-49c2-b996-f394f8e95621
sh -c 'sleep 1000'
Forked command at 11847
I0411 20:48:12.812338 11839 exec.cpp:251] Received reconnect request from slave 20140411-204811-143311683-50087-8801-0
I0411 20:48:12.812891 11839 exec.cpp:228] Executor re-registered on slave 20140411-204811-143311683-50087-8801-0
Re-registered executor on minerva.apache.org
Shutting down
Sending SIGTERM to process tree at pid 11847
Killing the following process trees:
[ 
-+- 11847 sh -c sleep 1000 
 \--- 11848 sleep 1000 
]
2014-04-11 20:48:13,647:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
Command terminated with signal Terminated (pid: 11847)
[       OK ] SlaveRecoveryTest/0.SchedulerFailover (2172 ms)
[ RUN      ] SlaveRecoveryTest/0.PartitionedSlave
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0411 20:48:14.910444 11871 exec.cpp:131] Version: 0.19.0
I0411 20:48:14.921139 11885 exec.cpp:205] Executor registered on slave 20140411-204813-143311683-50087-8801-0
Registered executor on minerva.apache.org
Starting task 5825f09f-7f0c-4402-9b3c-fec48dccbd8e
sh -c 'sleep 1000'
Forked command at 11894
I0411 20:48:15.121995 11889 exec.cpp:378] Executor asked to shutdown
Shutting down
Sending SIGTERM to process tree at pid 11894
Killing the following process trees:
[ 
-+- 11894 sh -c sleep 1000 
 \--- 11895 sleep 1000 
]
[       OK ] SlaveRecoveryTest/0.PartitionedSlave (1564 ms)
[ RUN      ] SlaveRecoveryTest/0.MasterFailover
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0411 20:48:16.017920 11918 exec.cpp:131] Version: 0.19.0
I0411 20:48:16.021271 11933 exec.cpp:205] Executor registered on slave 20140411-204815-143311683-50087-8801-0
Registered executor on minerva.apache.org
Starting task 2deb9ac8-5cb6-4ba9-91ad-d4ff9d00b3c4
Forked command at 11941
sh -c 'sleep 1000'
2014-04-11 20:48:16,982:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-04-11 20:48:20,318:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
I0411 20:48:21.049203 11932 exec.cpp:251] Received reconnect request from slave 20140411-204815-143311683-50087-8801-0
I0411 20:48:21.049819 11937 exec.cpp:228] Executor re-registered on slave 20140411-204815-143311683-50087-8801-0
Re-registered executor on minerva.apache.org
Shutting down
Sending SIGTERM to process tree at pid 11941
Killing the following process trees:
[ 
-+- 11941 sh -c sleep 1000 
 \--- 11942 sleep 1000 
]
Command terminated with signal Terminated (pid: 11941)
[       OK ] SlaveRecoveryTest/0.MasterFailover (7622 ms)
[ RUN      ] SlaveRecoveryTest/0.MultipleFrameworks
2014-04-11 20:48:23,654:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0411 20:48:24.139871 11989 exec.cpp:131] Version: 0.19.0
I0411 20:48:24.143029 12007 exec.cpp:205] Executor registered on slave 20140411-204823-143311683-50087-8801-0
Registered executor on minerva.apache.org
Starting task 20ffc4c8-8d71-4a8c-b173-7023e6394957
sh -c 'sleep 1000'
Forked command at 12012
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0411 20:48:25.132983 12036 exec.cpp:131] Version: 0.19.0
I0411 20:48:25.136720 12056 exec.cpp:205] Executor registered on slave 20140411-204823-143311683-50087-8801-0
Registered executor on minerva.apache.org
Starting task 4d8ba8d2-bac9-4848-8d2f-f7c8cd05ef93
Forked command at 12059
sh -c 'sleep 1000'
I0411 20:48:25.152649 12057 exec.cpp:251] Received reconnect request from slave 20140411-204823-143311683-50087-8801-0
I0411 20:48:25.152904 12003 exec.cpp:251] Received reconnect request from slave 20140411-204823-143311683-50087-8801-0
I0411 20:48:25.159061 12056 exec.cpp:228] Executor re-registered on slave 20140411-204823-143311683-50087-8801-0
I0411 20:48:25.159093 12005 exec.cpp:228] Executor re-registered on slave 20140411-204823-143311683-50087-8801-0
Re-registered executor on minerva.apache.org
Re-registered executor on minerva.apache.org
Shutting down
Sending SIGTERM to process tree at pid 12012
Killing the following process trees:
[ 
-+- 12012 sh -c sleep 1000 
 \--- 12013 sleep 1000 
]
Command terminated with signal Terminated (pid: 12012)
Shutting down
Sending SIGTERM to process tree at pid 12059
Killing the following process trees:
[ 
-+- 12059 sh -c sleep 1000 
 \--- 12060 sleep 1000 
]
2014-04-11 20:48:26,991:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
Command terminated with signal Terminated (pid: 12059)
[       OK ] SlaveRecoveryTest/0.MultipleFrameworks (5102 ms)
[ RUN      ] SlaveRecoveryTest/0.MultipleSlaves
2014-04-11 20:48:30,328:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-04-11 20:48:33,664:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0411 20:48:34.223829 12124 exec.cpp:131] Version: 0.19.0
I0411 20:48:34.226840 12145 exec.cpp:205] Executor registered on slave 20140411-204828-143311683-50087-8801-0
Registered executor on minerva.apache.org
Starting task 67e0778e-db7b-4ad9-9095-96442459610d
sh -c 'sleep 1000'
Forked command at 12151
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0411 20:48:35.220865 12180 exec.cpp:131] Version: 0.19.0
I0411 20:48:35.225410 12194 exec.cpp:205] Executor registered on slave 20140411-204828-143311683-50087-8801-1
Registered executor on minerva.apache.org
Starting task 254e4187-1d07-460f-a8b3-d602321434e0
Forked command at 12203
sh -c 'sleep 1000'
I0411 20:48:35.246912 12141 exec.cpp:251] Received reconnect request from slave 20140411-204828-143311683-50087-8801-0
I0411 20:48:35.250787 12199 exec.cpp:251] Received reconnect request from slave 20140411-204828-143311683-50087-8801-1
I0411 20:48:35.250968 12141 exec.cpp:228] Executor re-registered on slave 20140411-204828-143311683-50087-8801-0
Re-registered executor on minerva.apache.org
I0411 20:48:35.252136 12201 exec.cpp:228] Executor re-registered on slave 20140411-204828-143311683-50087-8801-1
Re-registered executor on minerva.apache.org
Shutting down
Sending SIGTERM to process tree at pid 12151
Shutting down
Sending SIGTERM to process tree at pid 12203
Killing the following process trees:
[ 
-+- 12151 sh -c sleep 1000 
 \--- 12152 sleep 1000 
]
Killing the following process trees:
[ 
-+- 12203 sh -c sleep 1000 
 \--- 12204 sleep 1000 
]
Command terminated with signal Terminated (pid: 12151)
Command terminated with signal Terminated (pid: 12203)
2014-04-11 20:48:37,002:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] SlaveRecoveryTest/0.MultipleSlaves (9165 ms)
[----------] 23 tests from SlaveRecoveryTest/0 (62930 ms total)

[----------] 2 tests from SlaveTest
[ RUN      ] SlaveTest.ShutdownUnregisteredExecutor
[       OK ] SlaveTest.ShutdownUnregisteredExecutor (1078 ms)
[ RUN      ] SlaveTest.RemoveUnregisteredTerminatedExecutor
[       OK ] SlaveTest.RemoveUnregisteredTerminatedExecutor (40 ms)
[----------] 2 tests from SlaveTest (1118 ms total)

[----------] 2 tests from SorterTest
[ RUN      ] SorterTest.DRFSorter
[       OK ] SorterTest.DRFSorter (0 ms)
[ RUN      ] SorterTest.WDRFSorter
[       OK ] SorterTest.WDRFSorter (1 ms)
[----------] 2 tests from SorterTest (1 ms total)

[----------] 7 tests from InMemoryStateTest
[ RUN      ] InMemoryStateTest.FetchAndStoreAndFetch
[       OK ] InMemoryStateTest.FetchAndStoreAndFetch (2 ms)
[ RUN      ] InMemoryStateTest.FetchAndStoreAndStoreAndFetch
[       OK ] InMemoryStateTest.FetchAndStoreAndStoreAndFetch (4 ms)
[ RUN      ] InMemoryStateTest.FetchAndStoreAndStoreFailAndFetch
[       OK ] InMemoryStateTest.FetchAndStoreAndStoreFailAndFetch (4 ms)
[ RUN      ] InMemoryStateTest.FetchAndStoreAndExpungeAndFetch
[       OK ] InMemoryStateTest.FetchAndStoreAndExpungeAndFetch (6 ms)
[ RUN      ] InMemoryStateTest.FetchAndStoreAndExpungeAndExpunge
[       OK ] InMemoryStateTest.FetchAndStoreAndExpungeAndExpunge (22 ms)
[ RUN      ] InMemoryStateTest.FetchAndStoreAndExpungeAndStoreAndFetch
[       OK ] InMemoryStateTest.FetchAndStoreAndExpungeAndStoreAndFetch (20 ms)
[ RUN      ] InMemoryStateTest.Names
[       OK ] InMemoryStateTest.Names (15 ms)
[----------] 7 tests from InMemoryStateTest (74 ms total)

[----------] 7 tests from LevelDBStateTest
[ RUN      ] LevelDBStateTest.FetchAndStoreAndFetch
[       OK ] LevelDBStateTest.FetchAndStoreAndFetch (36 ms)
[ RUN      ] LevelDBStateTest.FetchAndStoreAndStoreAndFetch
[       OK ] LevelDBStateTest.FetchAndStoreAndStoreAndFetch (7 ms)
[ RUN      ] LevelDBStateTest.FetchAndStoreAndStoreFailAndFetch
[       OK ] LevelDBStateTest.FetchAndStoreAndStoreFailAndFetch (7 ms)
[ RUN      ] LevelDBStateTest.FetchAndStoreAndExpungeAndFetch
[       OK ] LevelDBStateTest.FetchAndStoreAndExpungeAndFetch (8 ms)
[ RUN      ] LevelDBStateTest.FetchAndStoreAndExpungeAndExpunge
[       OK ] LevelDBStateTest.FetchAndStoreAndExpungeAndExpunge (7 ms)
[ RUN      ] LevelDBStateTest.FetchAndStoreAndExpungeAndStoreAndFetch
[       OK ] LevelDBStateTest.FetchAndStoreAndExpungeAndStoreAndFetch (7 ms)
[ RUN      ] LevelDBStateTest.Names
[       OK ] LevelDBStateTest.Names (6 ms)
[----------] 7 tests from LevelDBStateTest (78 ms total)

[----------] 7 tests from ZooKeeperStateTest
[ RUN      ] ZooKeeperStateTest.FetchAndStoreAndFetch
[       OK ] ZooKeeperStateTest.FetchAndStoreAndFetch (30 ms)
[ RUN      ] ZooKeeperStateTest.FetchAndStoreAndStoreAndFetch
[       OK ] ZooKeeperStateTest.FetchAndStoreAndStoreAndFetch (56 ms)
[ RUN      ] ZooKeeperStateTest.FetchAndStoreAndStoreFailAndFetch
[       OK ] ZooKeeperStateTest.FetchAndStoreAndStoreFailAndFetch (46 ms)
[ RUN      ] ZooKeeperStateTest.FetchAndStoreAndExpungeAndFetch
[       OK ] ZooKeeperStateTest.FetchAndStoreAndExpungeAndFetch (59 ms)
[ RUN      ] ZooKeeperStateTest.FetchAndStoreAndExpungeAndExpunge
[       OK ] ZooKeeperStateTest.FetchAndStoreAndExpungeAndExpunge (53 ms)
[ RUN      ] ZooKeeperStateTest.FetchAndStoreAndExpungeAndStoreAndFetch
[       OK ] ZooKeeperStateTest.FetchAndStoreAndExpungeAndStoreAndFetch (20 ms)
[ RUN      ] ZooKeeperStateTest.Names
[       OK ] ZooKeeperStateTest.Names (44 ms)
[----------] 7 tests from ZooKeeperStateTest (308 ms total)

[----------] 7 tests from StatusUpdateManagerTest
[ RUN      ] StatusUpdateManagerTest.CheckpointStatusUpdate
[       OK ] StatusUpdateManagerTest.CheckpointStatusUpdate (68 ms)
[ RUN      ] StatusUpdateManagerTest.RetryStatusUpdate
[       OK ] StatusUpdateManagerTest.RetryStatusUpdate (76 ms)
[ RUN      ] StatusUpdateManagerTest.IgnoreDuplicateStatusUpdateAck
[       OK ] StatusUpdateManagerTest.IgnoreDuplicateStatusUpdateAck (87 ms)
[ RUN      ] StatusUpdateManagerTest.IgnoreUnexpectedStatusUpdateAck
[       OK ] StatusUpdateManagerTest.IgnoreUnexpectedStatusUpdateAck (21 ms)
[ RUN      ] StatusUpdateManagerTest.DuplicateTerminalUpdateBeforeAck
[       OK ] StatusUpdateManagerTest.DuplicateTerminalUpdateBeforeAck (85 ms)
[ RUN      ] StatusUpdateManagerTest.DuplicateTerminalUpdateAfterAck
[       OK ] StatusUpdateManagerTest.DuplicateTerminalUpdateAfterAck (89 ms)
[ RUN      ] StatusUpdateManagerTest.DuplicateUpdateBeforeAck
[       OK ] StatusUpdateManagerTest.DuplicateUpdateBeforeAck (75 ms)
[----------] 7 tests from StatusUpdateManagerTest (501 ms total)

[----------] 1 test from ZooKeeper
[ RUN      ] ZooKeeper.URL
[       OK ] ZooKeeper.URL (0 ms)
[----------] 1 test from ZooKeeper (0 ms total)

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

[----------] 6 tests from ZooKeeperTest
[ RUN      ] ZooKeeperTest.Auth
2014-04-11 20:48:40,339:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] ZooKeeperTest.Auth (2056 ms)
[ RUN      ] ZooKeeperTest.SessionTimeoutNegotiation
[       OK ] ZooKeeperTest.SessionTimeoutNegotiation (58 ms)
[ RUN      ] ZooKeeperTest.Create
2014-04-11 20:48:43,674:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] ZooKeeperTest.Create (4075 ms)
[ RUN      ] ZooKeeperTest.LeaderDetector
[       OK ] ZooKeeperTest.LeaderDetector (36 ms)
[ RUN      ] ZooKeeperTest.LeaderDetectorTimeoutHandling
2014-04-11 20:48:45,672:8801(0x2b0899ac3700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:41915] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-04-11 20:48:45,684:8801(0x2b08998c2700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:41915] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-04-11 20:48:47,010:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-04-11 20:48:50,347:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-04-11 20:48:53,682:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-04-11 20:48:57,018:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] ZooKeeperTest.LeaderDetectorTimeoutHandling (11376 ms)
[ RUN      ] ZooKeeperTest.LeaderContender
2014-04-11 20:48:57,078:8801(0x2b089a500700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:40099] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-04-11 20:49:00,354:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-04-11 20:49:00,416:8801(0x2b089a500700):ZOO_ERROR@handle_socket_error_msg@1739: Socket [127.0.0.1:40099] zk retcode=-112, errno=116(Stale NFS file handle): sessionId=0x145528ce6d60000 has expired.
2014-04-11 20:49:00,450:8801(0x2b0899cc4700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:40099] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-04-11 20:49:00,455:8801(0x2b0899cc4700):ZOO_ERROR@handle_socket_error_msg@1739: Socket [127.0.0.1:40099] zk retcode=-112, errno=116(Stale NFS file handle): sessionId=0x145528ce6d60001 has expired.
2014-04-11 20:49:00,501:8801(0x2b089a500700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:40099] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-04-11 20:49:00,516:8801(0x2b0899cc4700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40099] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-04-11 20:49:03,690:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] ZooKeeperTest.LeaderContender (6832 ms)
[----------] 6 tests from ZooKeeperTest (24433 ms total)

[----------] 9 tests from GroupTest
[ RUN      ] GroupTest.Group
[       OK ] GroupTest.Group (75 ms)
[ RUN      ] GroupTest.GroupJoinWithDisconnect
2014-04-11 20:49:03,969:8801(0x2b089a500700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:42825] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] GroupTest.GroupJoinWithDisconnect (1710 ms)
[ RUN      ] GroupTest.GroupDataWithDisconnect
2014-04-11 20:49:05,738:8801(0x2b089a500700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:60046] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-04-11 20:49:05,739:8801(0x2b089a500700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:60046] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-04-11 20:49:07,026:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] GroupTest.GroupDataWithDisconnect (2128 ms)
[ RUN      ] GroupTest.GroupCancelWithDisconnect
2014-04-11 20:49:07,809:8801(0x2b0899ac3700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:40400] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-04-11 20:49:07,810:8801(0x2b0899ac3700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40400] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] GroupTest.GroupCancelWithDisconnect (2056 ms)
[ RUN      ] GroupTest.GroupWatchWithSessionExpiration
2014-04-11 20:49:09,987:8801(0x2b089a701700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:49883] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-04-11 20:49:10,362:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-04-11 20:49:11,992:8801(0x2b089a701700):ZOO_ERROR@handle_socket_error_msg@1739: Socket [127.0.0.1:49883] zk retcode=-112, errno=116(Stale NFS file handle): sessionId=0x145528d18df0000 has expired.
[       OK ] GroupTest.GroupWatchWithSessionExpiration (2176 ms)
[ RUN      ] GroupTest.MultipleGroups
2014-04-11 20:49:12,143:8801(0x2b089a701700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:34605] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
[       OK ] GroupTest.MultipleGroups (149 ms)
[ RUN      ] GroupTest.GroupPathWithRestrictivePerms
2014-04-11 20:49:13,699:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-04-11 20:49:17,035:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] GroupTest.GroupPathWithRestrictivePerms (8092 ms)
[ RUN      ] GroupTest.RetryableErrors
2014-04-11 20:49:20,370:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-04-11 20:49:22,269:8801(0x2b08994ae700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:39390] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-04-11 20:49:23,706:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-04-11 20:49:24,272:8801(0x2b08994ae700):ZOO_ERROR@handle_socket_error_msg@1739: Socket [127.0.0.1:39390] zk retcode=-112, errno=116(Stale NFS file handle): sessionId=0x145528d41850000 has expired.
2014-04-11 20:49:26,279:8801(0x2b089a500700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:39390] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-04-11 20:49:27,040:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-04-11 20:49:28,282:8801(0x2b089a500700):ZOO_ERROR@handle_socket_error_msg@1739: Socket [127.0.0.1:39390] zk retcode=-112, errno=116(Stale NFS file handle): sessionId=0x145528d41850001 has expired.
2014-04-11 20:49:30,289:8801(0x2b08994ae700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:39390] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-04-11 20:49:30,378:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-04-11 20:49:32,292:8801(0x2b08994ae700):ZOO_ERROR@handle_socket_error_msg@1739: Socket [127.0.0.1:39390] zk retcode=-112, errno=116(Stale NFS file handle): sessionId=0x145528d41850002 has expired.
2014-04-11 20:49:33,715:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-04-11 20:49:34,336:8801(0x2b089a500700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:39390] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-04-11 20:49:36,340:8801(0x2b089a500700):ZOO_ERROR@handle_socket_error_msg@1739: Socket [127.0.0.1:39390] zk retcode=-112, errno=116(Stale NFS file handle): sessionId=0x145528d41850003 has expired.
2014-04-11 20:49:37,050:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] GroupTest.RetryableErrors (18141 ms)
[ RUN      ] GroupTest.LabelledGroup
[       OK ] GroupTest.LabelledGroup (66 ms)
[----------] 9 tests from GroupTest (34594 ms total)

[----------] 2 tests from AllocatorZooKeeperTest/0, where TypeParam = mesos::internal::master::allocator::HierarchicalAllocatorProcess<mesos::internal::master::allocator::DRFSorter, mesos::internal::master::allocator::DRFSorter>
[ RUN      ] AllocatorZooKeeperTest/0.FrameworkReregistersFirst
2014-04-11 20:49:40,387:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] AllocatorZooKeeperTest/0.FrameworkReregistersFirst (5148 ms)
[ RUN      ] AllocatorZooKeeperTest/0.SlaveReregistersFirst
2014-04-11 20:49:43,722:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-04-11 20:49:47,059:8801(0x2b08996af700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:40648] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] AllocatorZooKeeperTest/0.SlaveReregistersFirst (5106 ms)
[----------] 2 tests from AllocatorZooKeeperTest/0 (10255 ms total)

[----------] 10 tests from Strict/RegistrarTest
[ RUN      ] Strict/RegistrarTest.recover/0
[       OK ] Strict/RegistrarTest.recover/0 (26 ms)
[ RUN      ] Strict/RegistrarTest.recover/1
[       OK ] Strict/RegistrarTest.recover/1 (20 ms)
[ RUN      ] Strict/RegistrarTest.admit/0
[       OK ] Strict/RegistrarTest.admit/0 (39 ms)
[ RUN      ] Strict/RegistrarTest.admit/1
[       OK ] Strict/RegistrarTest.admit/1 (34 ms)
[ RUN      ] Strict/RegistrarTest.readmit/0
[       OK ] Strict/RegistrarTest.readmit/0 (14 ms)
[ RUN      ] Strict/RegistrarTest.readmit/1
[       OK ] Strict/RegistrarTest.readmit/1 (13 ms)
[ RUN      ] Strict/RegistrarTest.remove/0
[       OK ] Strict/RegistrarTest.remove/0 (19 ms)
[ RUN      ] Strict/RegistrarTest.remove/1
[       OK ] Strict/RegistrarTest.remove/1 (23 ms)
[ RUN      ] Strict/RegistrarTest.bootstrap/0
[       OK ] Strict/RegistrarTest.bootstrap/0 (8 ms)
[ RUN      ] Strict/RegistrarTest.bootstrap/1
[       OK ] Strict/RegistrarTest.bootstrap/1 (35 ms)
[----------] 10 tests from Strict/RegistrarTest (231 ms total)

[----------] Global test environment tear-down
[==========] 281 tests from 49 test cases ran. (294675 ms total)
[  PASSED  ] 280 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] ExamplesTest.PythonFramework

 1 FAILED TEST
  YOU HAVE 1 DISABLED TEST

make[3]: *** [check-local] Error 1
make[3]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/src'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/src'
make[1]: *** [check] Error 2
make[1]: Leaving directory `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/src'
make: *** [check-recursive] Error 1


- Mesos ReviewBot


On April 11, 2014, 8:28 p.m., Timothy St. Clair wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19487/
> -----------------------------------------------------------
> 
> (Updated April 11, 2014, 8:28 p.m.)
> 
> 
> Review request for mesos, Benjamin Hindman, Niklas Nielsen, and Till Toenshoff.
> 
> 
> Bugs: MESOS-1126
>     https://issues.apache.org/jira/browse/MESOS-1126
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> The dependency on libjvm is a "hard", requiring an link and rpath. This causes issues when shifting between jvms. The standard practice is to use dlopen against the $JAVA_JVM_LIBRARY location.
> 
> MESOS-1126
>     + Enable dlopen for libjvm.so
>     + Cleanup redundant jni inclusions
> 
> This should make MESOS-855 a non-issue.
> 
> 
> Diffs
> -----
> 
>   configure.ac c1de6d7 
>   src/Makefile.am 95f133d 
>   src/common/build.hpp 115e9cc 
>   src/common/build.cpp eed08ed 
>   src/jvm/jvm.cpp d3dfa75 
> 
> Diff: https://reviews.apache.org/r/19487/diff/
> 
> 
> Testing
> -------
> 
> make check (across both Mac and Linux)
> 
> 
> Thanks,
> 
> Timothy St. Clair
> 
>


Re: Review Request 19487: Change linkage around libjvm to use dlopen.

Posted by "Timothy St. Clair" <ts...@redhat.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19487/
-----------------------------------------------------------

(Updated April 11, 2014, 8:28 p.m.)


Review request for mesos, Benjamin Hindman, Niklas Nielsen, and Till Toenshoff.


Changes
-------

Hopefully the last one. 


Bugs: MESOS-1126
    https://issues.apache.org/jira/browse/MESOS-1126


Repository: mesos-git


Description
-------

The dependency on libjvm is a "hard", requiring an link and rpath. This causes issues when shifting between jvms. The standard practice is to use dlopen against the $JAVA_JVM_LIBRARY location.

MESOS-1126
    + Enable dlopen for libjvm.so
    + Cleanup redundant jni inclusions

This should make MESOS-855 a non-issue.


Diffs (updated)
-----

  configure.ac c1de6d7 
  src/Makefile.am 95f133d 
  src/common/build.hpp 115e9cc 
  src/common/build.cpp eed08ed 
  src/jvm/jvm.cpp d3dfa75 

Diff: https://reviews.apache.org/r/19487/diff/


Testing
-------

make check (across both Mac and Linux)


Thanks,

Timothy St. Clair


Re: Review Request 19487: Change linkage around libjvm to use dlopen.

Posted by "Timothy St. Clair" <ts...@redhat.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19487/
-----------------------------------------------------------

(Updated April 11, 2014, 8:20 p.m.)


Review request for mesos, Benjamin Hindman, Niklas Nielsen, and Till Toenshoff.


Changes
-------

Minor changes. 


Bugs: MESOS-1126
    https://issues.apache.org/jira/browse/MESOS-1126


Repository: mesos-git


Description
-------

The dependency on libjvm is a "hard", requiring an link and rpath. This causes issues when shifting between jvms. The standard practice is to use dlopen against the $JAVA_JVM_LIBRARY location.

MESOS-1126
    + Enable dlopen for libjvm.so
    + Cleanup redundant jni inclusions

This should make MESOS-855 a non-issue.


Diffs (updated)
-----

  configure.ac c1de6d7 
  src/Makefile.am 95f133d 
  src/common/build.hpp 115e9cc 
  src/common/build.cpp eed08ed 
  src/jvm/jvm.cpp d3dfa75 

Diff: https://reviews.apache.org/r/19487/diff/


Testing
-------

make check (across both Mac and Linux)


Thanks,

Timothy St. Clair


Re: Review Request 19487: Change linkage around libjvm to use dlopen.

Posted by "Timothy St. Clair" <ts...@redhat.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19487/
-----------------------------------------------------------

(Updated April 11, 2014, 8:02 p.m.)


Review request for mesos, Benjamin Hindman, Niklas Nielsen, and Till Toenshoff.


Changes
-------

Updated patch per review


Bugs: MESOS-1126
    https://issues.apache.org/jira/browse/MESOS-1126


Repository: mesos-git


Description
-------

The dependency on libjvm is a "hard", requiring an link and rpath. This causes issues when shifting between jvms. The standard practice is to use dlopen against the $JAVA_JVM_LIBRARY location.

MESOS-1126
    + Enable dlopen for libjvm.so
    + Cleanup redundant jni inclusions

This should make MESOS-855 a non-issue.


Diffs (updated)
-----

  configure.ac c1de6d7 
  src/Makefile.am 95f133d 
  src/common/build.hpp 115e9cc 
  src/common/build.cpp eed08ed 
  src/jvm/jvm.cpp d3dfa75 

Diff: https://reviews.apache.org/r/19487/diff/


Testing
-------

make check (across both Mac and Linux)


Thanks,

Timothy St. Clair


Re: Review Request 19487: Change linkage around libjvm to use dlopen.

Posted by "Timothy St. Clair" <ts...@redhat.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19487/
-----------------------------------------------------------

(Updated April 11, 2014, 4:34 p.m.)


Review request for mesos, Benjamin Hindman, Niklas Nielsen, and Till Toenshoff.


Changes
-------

Added nnielsen, as he is the Sheppard. 


Bugs: MESOS-1126
    https://issues.apache.org/jira/browse/MESOS-1126


Repository: mesos-git


Description
-------

The dependency on libjvm is a "hard", requiring an link and rpath. This causes issues when shifting between jvms. The standard practice is to use dlopen against the $JAVA_JVM_LIBRARY location.

MESOS-1126
    + Enable dlopen for libjvm.so
    + Cleanup redundant jni inclusions

This should make MESOS-855 a non-issue.


Diffs
-----

  configure.ac c1de6d7 
  src/Makefile.am 95f133d 
  src/java/jni/construct.cpp 0d0207f 
  src/java/jni/convert.cpp 9f99031 
  src/java/jni/org_apache_mesos_Log.cpp 0548913 
  src/java/jni/org_apache_mesos_state_AbstractState.cpp 476bb27 
  src/java/jni/org_apache_mesos_state_LevelDBState.cpp 30f6309 
  src/java/jni/org_apache_mesos_state_ZooKeeperState.cpp c40e685 
  src/jvm/jvm.cpp d3dfa75 

Diff: https://reviews.apache.org/r/19487/diff/


Testing
-------

make check (across both Mac and Linux)


Thanks,

Timothy St. Clair


Re: Review Request 19487: Change linkage around libjvm to use dlopen.

Posted by "Timothy St. Clair" <ts...@redhat.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19487/
-----------------------------------------------------------

(Updated April 11, 2014, 4:10 p.m.)


Review request for mesos, Benjamin Hindman, Till Toenshoff, and Vinod Kone.


Changes
-------

Update from tillt's comments.


Bugs: MESOS-1126
    https://issues.apache.org/jira/browse/MESOS-1126


Repository: mesos-git


Description
-------

The dependency on libjvm is a "hard", requiring an link and rpath. This causes issues when shifting between jvms. The standard practice is to use dlopen against the $JAVA_JVM_LIBRARY location.

MESOS-1126
    + Enable dlopen for libjvm.so
    + Cleanup redundant jni inclusions

This should make MESOS-855 a non-issue.


Diffs (updated)
-----

  configure.ac c1de6d7 
  src/Makefile.am 95f133d 
  src/java/jni/construct.cpp 0d0207f 
  src/java/jni/convert.cpp 9f99031 
  src/java/jni/org_apache_mesos_Log.cpp 0548913 
  src/java/jni/org_apache_mesos_state_AbstractState.cpp 476bb27 
  src/java/jni/org_apache_mesos_state_LevelDBState.cpp 30f6309 
  src/java/jni/org_apache_mesos_state_ZooKeeperState.cpp c40e685 
  src/jvm/jvm.cpp d3dfa75 

Diff: https://reviews.apache.org/r/19487/diff/


Testing
-------

make check (across both Mac and Linux)


Thanks,

Timothy St. Clair


Re: Review Request 19487: Change linkage around libjvm to use dlopen.

Posted by Till Toenshoff <to...@me.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19487/#review40128
-----------------------------------------------------------


This is awesome Tim.

Just two minor style knits.


src/jvm/jvm.cpp
<https://reviews.apache.org/r/19487/#comment72993>

    Remove trailing whitespace.



src/jvm/jvm.cpp
<https://reviews.apache.org/r/19487/#comment72994>

    Explicit compare - the mesos way :)
    
    if (fn_JNI_createJavaVM == NULL) {


- Till Toenshoff


On April 7, 2014, 2:02 p.m., Timothy St. Clair wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19487/
> -----------------------------------------------------------
> 
> (Updated April 7, 2014, 2:02 p.m.)
> 
> 
> Review request for mesos, Benjamin Hindman, Till Toenshoff, and Vinod Kone.
> 
> 
> Bugs: MESOS-1126
>     https://issues.apache.org/jira/browse/MESOS-1126
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> The dependency on libjvm is a "hard", requiring an link and rpath. This causes issues when shifting between jvms. The standard practice is to use dlopen against the $JAVA_JVM_LIBRARY location.
> 
> MESOS-1126
>     + Enable dlopen for libjvm.so
>     + Cleanup redundant jni inclusions
> 
> This should make MESOS-855 a non-issue.
> 
> 
> Diffs
> -----
> 
>   configure.ac c1de6d7 
>   src/Makefile.am 95f133d 
>   src/java/jni/construct.cpp 0d0207f 
>   src/java/jni/convert.cpp 9f99031 
>   src/java/jni/org_apache_mesos_Log.cpp 0548913 
>   src/java/jni/org_apache_mesos_state_AbstractState.cpp 476bb27 
>   src/java/jni/org_apache_mesos_state_LevelDBState.cpp 30f6309 
>   src/java/jni/org_apache_mesos_state_ZooKeeperState.cpp c40e685 
>   src/jvm/jvm.cpp d3dfa75 
> 
> Diff: https://reviews.apache.org/r/19487/diff/
> 
> 
> Testing
> -------
> 
> make check (across both Mac and Linux)
> 
> 
> Thanks,
> 
> Timothy St. Clair
> 
>


Re: Review Request 19487: Change linkage around libjvm to use dlopen.

Posted by Mesos ReviewBot <de...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19487/#review39673
-----------------------------------------------------------


Patch looks great!

Reviews applied: [19487]

All tests passed.

- Mesos ReviewBot


On April 7, 2014, 2:02 p.m., Timothy St. Clair wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19487/
> -----------------------------------------------------------
> 
> (Updated April 7, 2014, 2:02 p.m.)
> 
> 
> Review request for mesos, Benjamin Hindman, Till Toenshoff, and Vinod Kone.
> 
> 
> Bugs: MESOS-1126
>     https://issues.apache.org/jira/browse/MESOS-1126
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> The dependency on libjvm is a "hard", requiring an link and rpath. This causes issues when shifting between jvms. The standard practice is to use dlopen against the $JAVA_JVM_LIBRARY location.
> 
> MESOS-1126
>     + Enable dlopen for libjvm.so
>     + Cleanup redundant jni inclusions
> 
> This should make MESOS-855 a non-issue.
> 
> 
> Diffs
> -----
> 
>   configure.ac c1de6d7 
>   src/Makefile.am 95f133d 
>   src/java/jni/construct.cpp 0d0207f 
>   src/java/jni/convert.cpp 9f99031 
>   src/java/jni/org_apache_mesos_Log.cpp 0548913 
>   src/java/jni/org_apache_mesos_state_AbstractState.cpp 476bb27 
>   src/java/jni/org_apache_mesos_state_LevelDBState.cpp 30f6309 
>   src/java/jni/org_apache_mesos_state_ZooKeeperState.cpp c40e685 
>   src/jvm/jvm.cpp d3dfa75 
> 
> Diff: https://reviews.apache.org/r/19487/diff/
> 
> 
> Testing
> -------
> 
> make check (across both Mac and Linux)
> 
> 
> Thanks,
> 
> Timothy St. Clair
> 
>


Re: Review Request 19487: Change linkage around libjvm to use dlopen.

Posted by "Timothy St. Clair" <ts...@redhat.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19487/
-----------------------------------------------------------

(Updated April 7, 2014, 2:02 p.m.)


Review request for mesos, Benjamin Hindman, Till Toenshoff, and Vinod Kone.


Changes
-------

Update from code review


Bugs: MESOS-1126
    https://issues.apache.org/jira/browse/MESOS-1126


Repository: mesos-git


Description
-------

The dependency on libjvm is a "hard", requiring an link and rpath. This causes issues when shifting between jvms. The standard practice is to use dlopen against the $JAVA_JVM_LIBRARY location.

MESOS-1126
    + Enable dlopen for libjvm.so
    + Cleanup redundant jni inclusions

This should make MESOS-855 a non-issue.


Diffs (updated)
-----

  configure.ac c1de6d7 
  src/Makefile.am 95f133d 
  src/java/jni/construct.cpp 0d0207f 
  src/java/jni/convert.cpp 9f99031 
  src/java/jni/org_apache_mesos_Log.cpp 0548913 
  src/java/jni/org_apache_mesos_state_AbstractState.cpp 476bb27 
  src/java/jni/org_apache_mesos_state_LevelDBState.cpp 30f6309 
  src/java/jni/org_apache_mesos_state_ZooKeeperState.cpp c40e685 
  src/jvm/jvm.cpp d3dfa75 

Diff: https://reviews.apache.org/r/19487/diff/


Testing
-------

make check (across both Mac and Linux)


Thanks,

Timothy St. Clair


Re: Review Request 19487: Change linkage around libjvm to use dlopen.

Posted by "Timothy St. Clair" <ts...@redhat.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19487/
-----------------------------------------------------------

(Updated April 1, 2014, 2:28 p.m.)


Review request for mesos, Benjamin Hindman, Till Toenshoff, and Vinod Kone.


Changes
-------

Update from review and testing.


Bugs: MESOS-1126
    https://issues.apache.org/jira/browse/MESOS-1126


Repository: mesos-git


Description
-------

The dependency on libjvm is a "hard", requiring an link and rpath. This causes issues when shifting between jvms. The standard practice is to use dlopen against the $JAVA_JVM_LIBRARY location.

MESOS-1126
    + Enable dlopen for libjvm.so
    + Cleanup redundant jni inclusions

This should make MESOS-855 a non-issue.


Diffs (updated)
-----

  configure.ac 5404dc2 
  src/Makefile.am 47d03b3 
  src/java/jni/construct.cpp 0d0207f 
  src/java/jni/convert.cpp 9f99031 
  src/java/jni/org_apache_mesos_Log.cpp 0548913 
  src/java/jni/org_apache_mesos_state_AbstractState.cpp 476bb27 
  src/java/jni/org_apache_mesos_state_LevelDBState.cpp 30f6309 
  src/java/jni/org_apache_mesos_state_ZooKeeperState.cpp c40e685 
  src/jvm/jvm.cpp d3dfa75 

Diff: https://reviews.apache.org/r/19487/diff/


Testing (updated)
-------

make check (across both Mac and Linux)


Thanks,

Timothy St. Clair


Re: Review Request 19487: Change linkage around libjvm to use dlopen.

Posted by Niklas Nielsen <ni...@qni.dk>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19487/#review39133
-----------------------------------------------------------



configure.ac
<https://reviews.apache.org/r/19487/#comment71515>

    Hey Tim, sorry for the delay. JAVA_JVM_LIBRARY="$JAVA_HOME/jre/lib/server/libjvm.dylib" should do it on Mac.


- Niklas Nielsen


On March 20, 2014, 12:32 p.m., Timothy St. Clair wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19487/
> -----------------------------------------------------------
> 
> (Updated March 20, 2014, 12:32 p.m.)
> 
> 
> Review request for mesos, Benjamin Hindman, Till Toenshoff, and Vinod Kone.
> 
> 
> Bugs: MESOS-1126
>     https://issues.apache.org/jira/browse/MESOS-1126
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> The dependency on libjvm is a "hard", requiring an link and rpath. This causes issues when shifting between jvms. The standard practice is to use dlopen against the $JAVA_JVM_LIBRARY location.
> 
> MESOS-1126
>     + Enable dlopen for libjvm.so
>     + Cleanup redundant jni inclusions
> 
> This should make MESOS-855 a non-issue.
> 
> 
> Diffs
> -----
> 
>   configure.ac 9a6de87fa6523bf8137f5d74ea0b7c6cbd947d3a 
>   src/Makefile.am 0775a0df293e945d41c7ba90fd1bbb503ae22f9e 
>   src/java/jni/construct.cpp 0d0207fab6481c7e86d9b59c9e6a1aea1979cf6d 
>   src/java/jni/convert.cpp 9f99031bb54b0720d5454ef8795145b4b92da8d4 
>   src/java/jni/org_apache_mesos_Log.cpp 05489135fbd890073c58acf55312d621c7a790e7 
>   src/java/jni/org_apache_mesos_state_AbstractState.cpp 476bb27dc5a17f78fc5c5beb2b2f33eec5d055a2 
>   src/java/jni/org_apache_mesos_state_LevelDBState.cpp 30f63092d3839485da2a8d818febfa85c81df49f 
>   src/java/jni/org_apache_mesos_state_ZooKeeperState.cpp c40e6858bc7534443e01ad189173e8cdb56b0fba 
>   src/jvm/jvm.cpp d3dfa75db65c3360ef35dac360b6eb57009c7011 
> 
> Diff: https://reviews.apache.org/r/19487/diff/
> 
> 
> Testing
> -------
> 
> make check (linux only, MacOS requires input)
> 
> 
> Thanks,
> 
> Timothy St. Clair
> 
>


Re: Review Request 19487: Change linkage around libjvm to use dlopen.

Posted by Mesos ReviewBot <de...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19487/#review38097
-----------------------------------------------------------


Bad patch!

Reviews applied: [19487]

Failed command: git apply --index 19487.patch

Error:
 error: patch failed: configure.ac:163
error: configure.ac: patch does not apply


- Mesos ReviewBot


On March 20, 2014, 7:32 p.m., Timothy St. Clair wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19487/
> -----------------------------------------------------------
> 
> (Updated March 20, 2014, 7:32 p.m.)
> 
> 
> Review request for mesos, Benjamin Hindman, Till Toenshoff, and Vinod Kone.
> 
> 
> Bugs: MESOS-1126
>     https://issues.apache.org/jira/browse/MESOS-1126
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> The dependency on libjvm is a "hard", requiring an link and rpath. This causes issues when shifting between jvms. The standard practice is to use dlopen against the $JAVA_JVM_LIBRARY location.
> 
> MESOS-1126
>     + Enable dlopen for libjvm.so
>     + Cleanup redundant jni inclusions
> 
> This should make MESOS-855 a non-issue.
> 
> 
> Diffs
> -----
> 
>   configure.ac 9a6de87fa6523bf8137f5d74ea0b7c6cbd947d3a 
>   src/Makefile.am 0775a0df293e945d41c7ba90fd1bbb503ae22f9e 
>   src/java/jni/construct.cpp 0d0207fab6481c7e86d9b59c9e6a1aea1979cf6d 
>   src/java/jni/convert.cpp 9f99031bb54b0720d5454ef8795145b4b92da8d4 
>   src/java/jni/org_apache_mesos_Log.cpp 05489135fbd890073c58acf55312d621c7a790e7 
>   src/java/jni/org_apache_mesos_state_AbstractState.cpp 476bb27dc5a17f78fc5c5beb2b2f33eec5d055a2 
>   src/java/jni/org_apache_mesos_state_LevelDBState.cpp 30f63092d3839485da2a8d818febfa85c81df49f 
>   src/java/jni/org_apache_mesos_state_ZooKeeperState.cpp c40e6858bc7534443e01ad189173e8cdb56b0fba 
>   src/jvm/jvm.cpp d3dfa75db65c3360ef35dac360b6eb57009c7011 
> 
> Diff: https://reviews.apache.org/r/19487/diff/
> 
> 
> Testing
> -------
> 
> make check (linux only, MacOS requires input)
> 
> 
> Thanks,
> 
> Timothy St. Clair
> 
>