You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by Benjamin Hindman <be...@berkeley.edu> on 2014/03/11 03:53:03 UTC

Review Request 19007: Added log implementation for state storage.

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

Review request for mesos, Ben Mahler and Jie Yu.


Repository: mesos-git


Description
-------

This is a combination of both https://reviews.apache.org/r/17423 and https://reviews.apache.org/r/17424 which have been merged to make it easier to make changes.


Diffs
-----

  src/Makefile.am 384b3122b61294401ba4a894c06e985d9fc2fb1e 
  src/messages/state.proto 7f7a8a505d6f24b01fec0c3ad47b0e15b2b17ffa 
  src/state/log.hpp PRE-CREATION 
  src/state/log.cpp PRE-CREATION 
  src/tests/log_tests.cpp b368cdec6a81a8ddeb6fc14d4723a09797a6b0a1 
  src/tests/state_tests.cpp bc6c91439a50e7b93077f5b1e66b0419860cb35b 

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


Testing
-------

make check


Thanks,

Benjamin Hindman


Re: Review Request 19007: Added log implementation for state storage.

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


Bad patch!

Reviews applied: [19007]

Failed command: make -j3 check GTEST_FILTER='' >/dev/null

Error:
 ev.c:1531:31: warning: 'ev_default_loop_ptr' initialized and declared 'extern' [enabled by default]
ev.c: In function 'evpipe_write':
ev.c:2160:17: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
ev.c:2172:17: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
ev.c: In function 'pipecb':
ev.c:2193:16: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
ev.c:2207:16: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
In file included from /usr/include/c++/4.6/ext/hash_set:61:0,
                 from src/glog/stl_logging.h:54,
                 from src/stl_logging_unittest.cc:34:
/usr/include/c++/4.6/backward/backward_warning.h:33:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
In file included from src/utilities.h:73:0,
                 from src/googletest.h:38,
                 from src/stl_logging_unittest.cc:48:
src/base/mutex.h:137:0: warning: "_XOPEN_SOURCE" redefined [enabled by default]
/usr/include/features.h:166:0: note: this is the location of the previous definition
warning: no files found matching 'Makefile' under directory 'docs'
warning: no files found matching 'indexsidebar.html' under directory 'docs'
zip_safe flag not set; analyzing archive contents...
state/log.cpp:12:29: fatal error: process/mutex.hpp: No such file or directory
compilation terminated.
make[2]: *** [state/libstate_la-log.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [check] Error 2
make: *** [check-recursive] Error 1


- Mesos ReviewBot


On March 11, 2014, 2:53 a.m., Benjamin Hindman wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19007/
> -----------------------------------------------------------
> 
> (Updated March 11, 2014, 2:53 a.m.)
> 
> 
> Review request for mesos, Ben Mahler and Jie Yu.
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> This is a combination of both https://reviews.apache.org/r/17423 and https://reviews.apache.org/r/17424 which have been merged to make it easier to make changes.
> 
> 
> Diffs
> -----
> 
>   src/Makefile.am 384b3122b61294401ba4a894c06e985d9fc2fb1e 
>   src/messages/state.proto 7f7a8a505d6f24b01fec0c3ad47b0e15b2b17ffa 
>   src/state/log.hpp PRE-CREATION 
>   src/state/log.cpp PRE-CREATION 
>   src/tests/log_tests.cpp b368cdec6a81a8ddeb6fc14d4723a09797a6b0a1 
>   src/tests/state_tests.cpp bc6c91439a50e7b93077f5b1e66b0419860cb35b 
> 
> Diff: https://reviews.apache.org/r/19007/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Benjamin Hindman
> 
>


Re: Review Request 19007: Added log implementation for state storage.

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


Bad patch!

Reviews applied: [19835, 19007]

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 117 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 (26 ms)
[ RUN      ] DurationTest.Arithmetic
[       OK ] DurationTest.Arithmetic (0 ms)
[ RUN      ] DurationTest.OutputFormat
[       OK ] DurationTest.OutputFormat (0 ms)
[----------] 4 tests from DurationTest (26 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 (1 ms)
[ RUN      ] FlagsTest.Errors
[       OK ] FlagsTest.Errors (0 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 (96 ms)
[----------] 1 test from GzipTest (96 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 (0 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)

[----------] 2 tests from NetTest
[ RUN      ] NetTest.mac
[       OK ] NetTest.mac (1 ms)
[ RUN      ] NetTest.ip
[       OK ] NetTest.ip (0 ms)
[----------] 2 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)

[----------] 16 tests from OsTest
[ RUN      ] OsTest.rmdir
[       OK ] OsTest.rmdir (14 ms)
[ RUN      ] OsTest.nonblock
[       OK ] OsTest.nonblock (1 ms)
[ RUN      ] OsTest.touch
[       OK ] OsTest.touch (13 ms)
[ RUN      ] OsTest.readWriteString
[       OK ] OsTest.readWriteString (1 ms)
[ RUN      ] OsTest.find
[       OK ] OsTest.find (0 ms)
[ RUN      ] OsTest.bootId
[       OK ] OsTest.bootId (1 ms)
[ RUN      ] OsTest.uname
[       OK ] OsTest.uname (0 ms)
[ RUN      ] OsTest.sysname
[       OK ] OsTest.sysname (0 ms)
[ RUN      ] OsTest.release
[       OK ] OsTest.release (0 ms)
[ RUN      ] OsTest.sleep
[       OK ] OsTest.sleep (10 ms)
[ RUN      ] OsTest.pids
[       OK ] OsTest.pids (40 ms)
[ RUN      ] OsTest.children
[       OK ] OsTest.children (21 ms)
[ RUN      ] OsTest.process
[       OK ] OsTest.process (1 ms)
[ RUN      ] OsTest.processes
[       OK ] OsTest.processes (9 ms)
[ RUN      ] OsTest.killtree
[       OK ] OsTest.killtree (65 ms)
[ RUN      ] OsTest.pstree
[       OK ] OsTest.pstree (15 ms)
[----------] 16 tests from OsTest (191 ms total)

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

[----------] 1 test from OsSendfileTest
[ RUN      ] OsSendfileTest.sendfile
[       OK ] OsSendfileTest.sendfile (1 ms)
[----------] 1 test from OsSendfileTest (1 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 (0 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 (1 ms)
[----------] 1 test from UUIDTest (1 ms total)

[----------] 6 tests from ProcTest
[ RUN      ] ProcTest.pids
[       OK ] ProcTest.pids (1 ms)
[ RUN      ] ProcTest.cpus
[       OK ] ProcTest.cpus (0 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 (1 ms)
[----------] 6 tests from ProcTest (3 ms total)

[----------] Global test environment tear-down
[==========] 117 tests from 24 test cases ran. (320 ms total)
[  PASSED  ] 117 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 85 tests from 14 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 (0 ms)
[ RUN      ] Encoder.AcceptableEncodings
[       OK ] Encoder.AcceptableEncodings (0 ms)
[----------] 2 tests from Encoder (0 ms total)

[----------] 5 tests from HTTP
[ RUN      ] HTTP.Endpoints
[       OK ] HTTP.Endpoints (2 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 (4 ms total)

[----------] 5 tests from IO
[ RUN      ] IO.Poll
[       OK ] IO.Poll (0 ms)
[ RUN      ] IO.Read
[       OK ] IO.Read (0 ms)
[ RUN      ] IO.BufferedRead
[       OK ] IO.BufferedRead (16 ms)
[ RUN      ] IO.Write
[       OK ] IO.Write (0 ms)
[ RUN      ] IO.splice
[       OK ] IO.splice (34 ms)
[----------] 5 tests from IO (50 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)

[----------] 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 (0 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 (1 ms)
[ RUN      ] Process.defer1
[       OK ] Process.defer1 (0 ms)
[ RUN      ] Process.defer2
[       OK ] Process.defer2 (0 ms)
[ RUN      ] Process.defer3
[       OK ] Process.defer3 (1 ms)
[ RUN      ] Process.handlers
[       OK ] Process.handlers (0 ms)
[ RUN      ] Process.expect
[       OK ] Process.expect (0 ms)
[ RUN      ] Process.action
[       OK ] Process.action (0 ms)
[ RUN      ] Process.inheritance
[       OK ] Process.inheritance (1 ms)
[ RUN      ] Process.thunk
[       OK ] Process.thunk (0 ms)
[ RUN      ] Process.delegate
[       OK ] Process.delegate (0 ms)
[ RUN      ] Process.delay
[       OK ] Process.delay (0 ms)
[ RUN      ] Process.order
[       OK ] Process.order (0 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 (1 ms)
[ RUN      ] Process.await1
[       OK ] Process.await1 (0 ms)
[ RUN      ] Process.await2
[       OK ] Process.await2 (0 ms)
[ RUN      ] Process.await3
[       OK ] Process.await3 (0 ms)
[ RUN      ] Process.settle
[       OK ] Process.settle (41 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 (0 ms)
[ RUN      ] Process.async
[       OK ] Process.async (1 ms)
[ RUN      ] Process.limiter
[       OK ] Process.limiter (7 ms)
[ RUN      ] Process.provide
[       OK ] Process.provide (1 ms)
[----------] 39 tests from Process (75 ms total)

[----------] 3 tests from Reap
[ RUN      ] Reap.NonChildProcess
[       OK ] Reap.NonChildProcess (42 ms)
[ RUN      ] Reap.ChildProcess
[       OK ] Reap.ChildProcess (31 ms)
[ RUN      ] Reap.TerminatedChildProcess
[       OK ] Reap.TerminatedChildProcess (22 ms)
[----------] 3 tests from Reap (95 ms total)

[----------] 4 tests from Sequence
[ RUN      ] Sequence.Serialize
[       OK ] Sequence.Serialize (10 ms)
[ RUN      ] Sequence.DiscardOne
[       OK ] Sequence.DiscardOne (11 ms)
[ RUN      ] Sequence.DiscardAll
[       OK ] Sequence.DiscardAll (10 ms)
[ RUN      ] Sequence.Random
[       OK ] Sequence.Random (12 ms)
[----------] 4 tests from Sequence (43 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)

[----------] 5 tests from Subprocess
[ RUN      ] Subprocess.status
[       OK ] Subprocess.status (124 ms)
[ RUN      ] Subprocess.output
[       OK ] Subprocess.output (62 ms)
[ RUN      ] Subprocess.input
[       OK ] Subprocess.input (31 ms)
[ RUN      ] Subprocess.splice
[       OK ] Subprocess.splice (31 ms)
[ RUN      ] Subprocess.env
[       OK ] Subprocess.env (61 ms)
[----------] 5 tests from Subprocess (309 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
[==========] 85 tests from 14 test cases ran. (578 ms total)
[  PASSED  ] 85 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 288 tests from 50 test cases.
[----------] Global test environment set-up.
[----------] 1 test from DRFAllocatorTest
[ RUN      ] DRFAllocatorTest.DRFAllocatorProcess
[       OK ] DRFAllocatorTest.DRFAllocatorProcess (206 ms)
[----------] 1 test from DRFAllocatorTest (206 ms total)

[----------] 2 tests from ReservationAllocatorTest
[ RUN      ] ReservationAllocatorTest.ReservedResources
[       OK ] ReservationAllocatorTest.ReservedResources (105 ms)
[ RUN      ] ReservationAllocatorTest.ResourcesReturned
[       OK ] ReservationAllocatorTest.ResourcesReturned (106 ms)
[----------] 2 tests from ReservationAllocatorTest (211 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 (25 ms)
[ RUN      ] AllocatorTest/0.ResourcesUnused
[       OK ] AllocatorTest/0.ResourcesUnused (50 ms)
[ RUN      ] AllocatorTest/0.OutOfOrderDispatch
[       OK ] AllocatorTest/0.OutOfOrderDispatch (34 ms)
[ RUN      ] AllocatorTest/0.SchedulerFailover
[       OK ] AllocatorTest/0.SchedulerFailover (38 ms)
[ RUN      ] AllocatorTest/0.FrameworkExited
[       OK ] AllocatorTest/0.FrameworkExited (67 ms)
[ RUN      ] AllocatorTest/0.SlaveLost
[       OK ] AllocatorTest/0.SlaveLost (76 ms)
[ RUN      ] AllocatorTest/0.SlaveAdded
[       OK ] AllocatorTest/0.SlaveAdded (175 ms)
[ RUN      ] AllocatorTest/0.TaskFinished
[       OK ] AllocatorTest/0.TaskFinished (74 ms)
[ RUN      ] AllocatorTest/0.WhitelistSlave
[       OK ] AllocatorTest/0.WhitelistSlave (110 ms)
[ RUN      ] AllocatorTest/0.RoleTest
[       OK ] AllocatorTest/0.RoleTest (21 ms)
[----------] 10 tests from AllocatorTest/0 (670 ms total)

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

[----------] 9 tests from AuthenticationTest
[ RUN      ] AuthenticationTest.UnauthenticatedFramework
[       OK ] AuthenticationTest.UnauthenticatedFramework (14 ms)
[ RUN      ] AuthenticationTest.DisableAuthentication
[       OK ] AuthenticationTest.DisableAuthentication (1021 ms)
[ RUN      ] AuthenticationTest.AuthenticatedFramework
[       OK ] AuthenticationTest.AuthenticatedFramework (5119 ms)
[ RUN      ] AuthenticationTest.RetryAuthentication
[       OK ] AuthenticationTest.RetryAuthentication (5024 ms)
[ RUN      ] AuthenticationTest.DropIntermediateSASLMessage
[       OK ] AuthenticationTest.DropIntermediateSASLMessage (5027 ms)
[ RUN      ] AuthenticationTest.DropFinalSASLMessage
[       OK ] AuthenticationTest.DropFinalSASLMessage (162 ms)
[ RUN      ] AuthenticationTest.MasterFailover
[       OK ] AuthenticationTest.MasterFailover (5028 ms)
[ RUN      ] AuthenticationTest.LeaderElection
[       OK ] AuthenticationTest.LeaderElection (5020 ms)
[ RUN      ] AuthenticationTest.SchedulerFailover
[       OK ] AuthenticationTest.SchedulerFailover (5020 ms)
[----------] 9 tests from AuthenticationTest (31435 ms total)

[----------] 5 tests from MesosContainerizerProcessTest
[ RUN      ] MesosContainerizerProcessTest.Simple
[       OK ] MesosContainerizerProcessTest.Simple (0 ms)
[ RUN      ] MesosContainerizerProcessTest.MultipleURIs
[       OK ] MesosContainerizerProcessTest.MultipleURIs (0 ms)
[ RUN      ] MesosContainerizerProcessTest.NoUser
[       OK ] MesosContainerizerProcessTest.NoUser (1 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 (2959 ms)
[ RUN      ] ExamplesTest.NoExecutorFramework
[       OK ] ExamplesTest.NoExecutorFramework (3169 ms)
[ RUN      ] ExamplesTest.JavaFramework
[       OK ] ExamplesTest.JavaFramework (3474 ms)
[ RUN      ] ExamplesTest.JavaException
[       OK ] ExamplesTest.JavaException (5243 ms)
[ RUN      ] ExamplesTest.JavaLog
[       OK ] ExamplesTest.JavaLog (4862 ms)
[ RUN      ] ExamplesTest.PythonFramework
[       OK ] ExamplesTest.PythonFramework (8252 ms)
[----------] 6 tests from ExamplesTest (27959 ms total)

[----------] 3 tests from ExceptionTest
[ RUN      ] ExceptionTest.DeactivateFrameworkOnAbort
[       OK ] ExceptionTest.DeactivateFrameworkOnAbort (44 ms)
[ RUN      ] ExceptionTest.DisallowSchedulerActionsOnAbort
[       OK ] ExceptionTest.DisallowSchedulerActionsOnAbort (8 ms)
[ RUN      ] ExceptionTest.DisallowSchedulerCallbacksOnAbort
[       OK ] ExceptionTest.DisallowSchedulerCallbacksOnAbort (34 ms)
[----------] 3 tests from ExceptionTest (86 ms total)

[----------] 24 tests from FaultToleranceTest
[ RUN      ] FaultToleranceTest.SlaveLost
[       OK ] FaultToleranceTest.SlaveLost (31 ms)
[ RUN      ] FaultToleranceTest.PartitionedSlave
[       OK ] FaultToleranceTest.PartitionedSlave (97 ms)
[ RUN      ] FaultToleranceTest.PartitionedSlaveReregistration
[       OK ] FaultToleranceTest.PartitionedSlaveReregistration (210 ms)
[ RUN      ] FaultToleranceTest.PartitionedSlaveStatusUpdates
[       OK ] FaultToleranceTest.PartitionedSlaveStatusUpdates (142 ms)
[ RUN      ] FaultToleranceTest.PartitionedSlaveExitedExecutor
[       OK ] FaultToleranceTest.PartitionedSlaveExitedExecutor (188 ms)
[ RUN      ] FaultToleranceTest.MasterFailover
[       OK ] FaultToleranceTest.MasterFailover (10013 ms)
[ RUN      ] FaultToleranceTest.ReregisterCompletedFrameworks
[       OK ] FaultToleranceTest.ReregisterCompletedFrameworks (5089 ms)
[ RUN      ] FaultToleranceTest.SchedulerFailover
[       OK ] FaultToleranceTest.SchedulerFailover (96 ms)
[ RUN      ] FaultToleranceTest.SchedulerFailoverRetriedReregistration
[       OK ] FaultToleranceTest.SchedulerFailoverRetriedReregistration (5038 ms)
[ RUN      ] FaultToleranceTest.FrameworkReliableRegistration
[       OK ] FaultToleranceTest.FrameworkReliableRegistration (93 ms)
[ RUN      ] FaultToleranceTest.FrameworkReregister
[       OK ] FaultToleranceTest.FrameworkReregister (67 ms)
[ RUN      ] FaultToleranceTest.TaskLost
[       OK ] FaultToleranceTest.TaskLost (19 ms)
[ RUN      ] FaultToleranceTest.SchedulerFailoverStatusUpdate
[       OK ] FaultToleranceTest.SchedulerFailoverStatusUpdate (48 ms)
[ RUN      ] FaultToleranceTest.ReregisterFrameworkExitedExecutor
[       OK ] FaultToleranceTest.ReregisterFrameworkExitedExecutor (1028 ms)
[ RUN      ] FaultToleranceTest.ForwardStatusUpdateUnknownExecutor
[       OK ] FaultToleranceTest.ForwardStatusUpdateUnknownExecutor (42 ms)
[ RUN      ] FaultToleranceTest.SchedulerFailoverFrameworkMessage
[       OK ] FaultToleranceTest.SchedulerFailoverFrameworkMessage (41 ms)
[ RUN      ] FaultToleranceTest.IgnoreKillTaskFromUnregisteredFramework
[       OK ] FaultToleranceTest.IgnoreKillTaskFromUnregisteredFramework (45 ms)
[ RUN      ] FaultToleranceTest.SchedulerExit
[       OK ] FaultToleranceTest.SchedulerExit (36 ms)
[ RUN      ] FaultToleranceTest.SlaveReliableRegistration
[       OK ] FaultToleranceTest.SlaveReliableRegistration (18 ms)
[ RUN      ] FaultToleranceTest.SlaveReregisterOnZKExpiration
[       OK ] FaultToleranceTest.SlaveReregisterOnZKExpiration (13 ms)
[ RUN      ] FaultToleranceTest.SlaveReregisterTerminatedExecutor
[       OK ] FaultToleranceTest.SlaveReregisterTerminatedExecutor (49 ms)
[ RUN      ] FaultToleranceTest.ReconcileLostTasks
[       OK ] FaultToleranceTest.ReconcileLostTasks (29 ms)
[ RUN      ] FaultToleranceTest.ReconcileIncompleteTasks
[       OK ] FaultToleranceTest.ReconcileIncompleteTasks (51 ms)
[ RUN      ] FaultToleranceTest.SplitBrainMasters
[       OK ] FaultToleranceTest.SplitBrainMasters (31 ms)
[----------] 24 tests from FaultToleranceTest (22516 ms total)

[----------] 6 tests from FilesTest
[ RUN      ] FilesTest.AttachTest
[       OK ] FilesTest.AttachTest (14 ms)
[ RUN      ] FilesTest.DetachTest
[       OK ] FilesTest.DetachTest (7 ms)
[ RUN      ] FilesTest.ReadTest
[       OK ] FilesTest.ReadTest (16 ms)
[ RUN      ] FilesTest.ResolveTest
[       OK ] FilesTest.ResolveTest (7 ms)
[ RUN      ] FilesTest.BrowseTest
[       OK ] FilesTest.BrowseTest (5 ms)
[ RUN      ] FilesTest.DownloadTest
[       OK ] FilesTest.DownloadTest (15 ms)
[----------] 6 tests from FilesTest (64 ms total)

[----------] 3 tests from GarbageCollectorTest
[ RUN      ] GarbageCollectorTest.Schedule
[       OK ] GarbageCollectorTest.Schedule (91 ms)
[ RUN      ] GarbageCollectorTest.Unschedule
[       OK ] GarbageCollectorTest.Unschedule (71 ms)
[ RUN      ] GarbageCollectorTest.Prune
[       OK ] GarbageCollectorTest.Prune (68 ms)
[----------] 3 tests from GarbageCollectorTest (231 ms total)

[----------] 5 tests from GarbageCollectorIntegrationTest
[ RUN      ] GarbageCollectorIntegrationTest.Restart
[       OK ] GarbageCollectorIntegrationTest.Restart (76 ms)
[ RUN      ] GarbageCollectorIntegrationTest.ExitedFramework
[       OK ] GarbageCollectorIntegrationTest.ExitedFramework (86 ms)
[ RUN      ] GarbageCollectorIntegrationTest.ExitedExecutor
[       OK ] GarbageCollectorIntegrationTest.ExitedExecutor (84 ms)
[ RUN      ] GarbageCollectorIntegrationTest.DiskUsage
[       OK ] GarbageCollectorIntegrationTest.DiskUsage (67 ms)
[ RUN      ] GarbageCollectorIntegrationTest.Unschedule
[       OK ] GarbageCollectorIntegrationTest.Unschedule (83 ms)
[----------] 5 tests from GarbageCollectorIntegrationTest (396 ms total)

[----------] 2 tests from CpuIsolatorTest/0, where TypeParam = mesos::internal::slave::PosixCpuIsolatorProcess
[ RUN      ] CpuIsolatorTest/0.UserCpuUsage
[       OK ] CpuIsolatorTest/0.UserCpuUsage (1002 ms)
[ RUN      ] CpuIsolatorTest/0.SystemCpuUsage
[       OK ] CpuIsolatorTest/0.SystemCpuUsage (1000 ms)
[----------] 2 tests from CpuIsolatorTest/0 (2002 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 (653 ms)
[ RUN      ] LogStorageTest/0.TruncateWithEmptyLog
[       OK ] LogStorageTest/0.TruncateWithEmptyLog (259 ms)
[ RUN      ] LogStorageTest/0.TruncateWithManyHoles
[       OK ] LogStorageTest/0.TruncateWithManyHoles (177 ms)
[----------] 3 tests from LogStorageTest/0 (1089 ms total)

[----------] 4 tests from ReplicaTest
[ RUN      ] ReplicaTest.Promise
[       OK ] ReplicaTest.Promise (500 ms)
[ RUN      ] ReplicaTest.Append
[       OK ] ReplicaTest.Append (574 ms)
[ RUN      ] ReplicaTest.Restore
[       OK ] ReplicaTest.Restore (699 ms)
[ RUN      ] ReplicaTest.NonVoting
[       OK ] ReplicaTest.NonVoting (120 ms)
[----------] 4 tests from ReplicaTest (1893 ms total)

[----------] 20 tests from CoordinatorTest
[ RUN      ] CoordinatorTest.Elect
[       OK ] CoordinatorTest.Elect (1372 ms)
[ RUN      ] CoordinatorTest.AppendRead
[       OK ] CoordinatorTest.AppendRead (1020 ms)
[ RUN      ] CoordinatorTest.AppendReadError
[       OK ] CoordinatorTest.AppendReadError (1229 ms)
[ RUN      ] CoordinatorTest.AppendDiscarded
[       OK ] CoordinatorTest.AppendDiscarded (1166 ms)
[ RUN      ] CoordinatorTest.ElectNoQuorum
[       OK ] CoordinatorTest.ElectNoQuorum (432 ms)
[ RUN      ] CoordinatorTest.AppendNoQuorum
[       OK ] CoordinatorTest.AppendNoQuorum (1295 ms)
[ RUN      ] CoordinatorTest.Failover
[       OK ] CoordinatorTest.Failover (1207 ms)
[ RUN      ] CoordinatorTest.Demoted
[       OK ] CoordinatorTest.Demoted (1349 ms)
[ RUN      ] CoordinatorTest.Fill
[       OK ] CoordinatorTest.Fill (2187 ms)
[ RUN      ] CoordinatorTest.NotLearnedFill
[       OK ] CoordinatorTest.NotLearnedFill (2111 ms)
[ RUN      ] CoordinatorTest.MultipleAppends
[       OK ] CoordinatorTest.MultipleAppends (1764 ms)
[ RUN      ] CoordinatorTest.MultipleAppendsNotLearnedFill
[       OK ] CoordinatorTest.MultipleAppendsNotLearnedFill (3283 ms)
[ RUN      ] CoordinatorTest.Truncate
[       OK ] CoordinatorTest.Truncate (1722 ms)
[ RUN      ] CoordinatorTest.TruncateNotLearnedFill
[       OK ] CoordinatorTest.TruncateNotLearnedFill (3123 ms)
[ RUN      ] CoordinatorTest.TruncateLearnedFill
[       OK ] CoordinatorTest.TruncateLearnedFill (3891 ms)
[ RUN      ] CoordinatorTest.RacingElect
[       OK ] CoordinatorTest.RacingElect (0 ms)
[ RUN      ] CoordinatorTest.FillNoQuorum
[       OK ] CoordinatorTest.FillNoQuorum (1 ms)
[ RUN      ] CoordinatorTest.FillInconsistent
[       OK ] CoordinatorTest.FillInconsistent (0 ms)
[ RUN      ] CoordinatorTest.LearnedOnOneReplica_NotLearnedOnAnother
[       OK ] CoordinatorTest.LearnedOnOneReplica_NotLearnedOnAnother (0 ms)
[ RUN      ] CoordinatorTest.LearnedOnOneReplica_NotLearnedOnAnother_AnotherFailsAndRecovers
[       OK ] CoordinatorTest.LearnedOnOneReplica_NotLearnedOnAnother_AnotherFailsAndRecovers (0 ms)
[----------] 20 tests from CoordinatorTest (27152 ms total)

[----------] 2 tests from RecoverTest
[ RUN      ] RecoverTest.RacingCatchup
[       OK ] RecoverTest.RacingCatchup (4530 ms)
[ RUN      ] RecoverTest.CatchupRetry
[       OK ] RecoverTest.CatchupRetry (2477 ms)
[----------] 2 tests from RecoverTest (7007 ms total)

[----------] 2 tests from LogTest
[ RUN      ] LogTest.WriteRead
[       OK ] LogTest.WriteRead (1112 ms)
[ RUN      ] LogTest.Position
[       OK ] LogTest.Position (1741 ms)
[----------] 2 tests from LogTest (2853 ms total)

[----------] 1 test from LogZooKeeperTest
[ RUN      ] LogZooKeeperTest.WriteRead
[       OK ] LogZooKeeperTest.WriteRead (1539 ms)
[----------] 1 test from LogZooKeeperTest (1539 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 (10 ms)
[----------] 1 test from MasterContenderDetectorTest (10 ms total)

[----------] 2 tests from BasicMasterContenderDetectorTest
[ RUN      ] BasicMasterContenderDetectorTest.Contender
[       OK ] BasicMasterContenderDetectorTest.Contender (464 ms)
[ RUN      ] BasicMasterContenderDetectorTest.Detector
[       OK ] BasicMasterContenderDetectorTest.Detector (1 ms)
[----------] 2 tests from BasicMasterContenderDetectorTest (465 ms total)

[----------] 9 tests from ZooKeeperMasterContenderDetectorTest
[ RUN      ] ZooKeeperMasterContenderDetectorTest.MasterContender
2014-03-31 07:55:56,528:17662(0x2b02f09a3700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:44029] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-03-31 07:55:59,865:17662(0x2b02f09a3700):ZOO_ERROR@handle_socket_error_msg@1739: Socket [127.0.0.1:44029] zk retcode=-112, errno=116(Stale NFS file handle): sessionId=0x14517233c510000 has expired.
2014-03-31 07:55:59,867:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:44029] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
[       OK ] ZooKeeperMasterContenderDetectorTest.MasterContender (3541 ms)
[ RUN      ] ZooKeeperMasterContenderDetectorTest.ContenderPendingElection
[       OK ] ZooKeeperMasterContenderDetectorTest.ContenderPendingElection (130 ms)
[ RUN      ] ZooKeeperMasterContenderDetectorTest.MasterContenders
[       OK ] ZooKeeperMasterContenderDetectorTest.MasterContenders (885 ms)
[ RUN      ] ZooKeeperMasterContenderDetectorTest.NonRetryableFrrors
2014-03-31 07:56:03,203:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 07:56:06,540:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 07:56:09,876:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] ZooKeeperMasterContenderDetectorTest.NonRetryableFrrors (9001 ms)
[ RUN      ] ZooKeeperMasterContenderDetectorTest.ContenderDetectorShutdownNetwork
2014-03-31 07:56:10,069:17662(0x2b02f1fe3700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:34317] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-03-31 07:56:10,069:17662(0x2b02f15bc700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:34317] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-03-31 07:56:10,071:17662(0x2b02f13bb700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:34317] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 07:56:10,071:17662(0x2b02f17bd700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:34317] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 07:56:13,212:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] ZooKeeperMasterContenderDetectorTest.ContenderDetectorShutdownNetwork (3746 ms)
[ RUN      ] ZooKeeperMasterContenderDetectorTest.MasterDetectorTimedoutSession
2014-03-31 07:56:13,987:17662(0x2b02f13bb700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:34619] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-03-31 07:56:13,987:17662(0x2b02f17bd700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:34619] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-03-31 07:56:13,988:17662(0x2b02f0da6700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:34619] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-03-31 07:56:13,999:17662(0x2b02f1fe3700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:34619] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 07:56:13,999:17662(0x2b02f1de2700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:34619] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 07:56:14,000:17662(0x2b02f15bc700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:34619] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] ZooKeeperMasterContenderDetectorTest.MasterDetectorTimedoutSession (341 ms)
[ RUN      ] ZooKeeperMasterContenderDetectorTest.MasterDetectorExpireMasterZKSession
2014-03-31 07:56:14,233:17662(0x2b02f17bd700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:52900] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-03-31 07:56:16,549:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 07:56:17,570:17662(0x2b02f17bd700):ZOO_ERROR@handle_socket_error_msg@1739: Socket [127.0.0.1:52900] zk retcode=-112, errno=116(Stale NFS file handle): sessionId=0x1451723813c0000 has expired.
[       OK ] ZooKeeperMasterContenderDetectorTest.MasterDetectorExpireMasterZKSession (3745 ms)
[ RUN      ] ZooKeeperMasterContenderDetectorTest.MasterDetectorExpireSlaveZKSession
2014-03-31 07:56:17,984:17662(0x2b02f15bc700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:37170] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-03-31 07:56:19,885:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 07:56:21,322:17662(0x2b02f15bc700):ZOO_ERROR@handle_socket_error_msg@1739: Socket [127.0.0.1:37170] zk retcode=-112, errno=116(Stale NFS file handle): sessionId=0x14517238fdd0001 has expired.
[       OK ] ZooKeeperMasterContenderDetectorTest.MasterDetectorExpireSlaveZKSession (3769 ms)
[ RUN      ] ZooKeeperMasterContenderDetectorTest.MasterDetectorExpireSlaveZKSessionNewMaster
2014-03-31 07:56:21,874:17662(0x2b02f0da6700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:37038] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-03-31 07:56:21,907:17662(0x2b02f17bd700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:37038] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-03-31 07:56:23,221:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 07:56:25,211:17662(0x2b02f0da6700):ZOO_ERROR@handle_socket_error_msg@1739: Socket [127.0.0.1:37038] zk retcode=-112, errno=116(Stale NFS file handle): sessionId=0x14517239e960002 has expired.
2014-03-31 07:56:25,241:17662(0x2b02f17bd700):ZOO_ERROR@handle_socket_error_msg@1739: Socket [127.0.0.1:37038] zk retcode=-112, errno=116(Stale NFS file handle): sessionId=0x14517239e960000 has expired.
[       OK ] ZooKeeperMasterContenderDetectorTest.MasterDetectorExpireSlaveZKSessionNewMaster (3766 ms)
[----------] 9 tests from ZooKeeperMasterContenderDetectorTest (28924 ms total)

[----------] 14 tests from MasterTest
[ RUN      ] MasterTest.TaskRunning
[       OK ] MasterTest.TaskRunning (57 ms)
[ RUN      ] MasterTest.ShutdownFrameworkWhileTaskRunning
[       OK ] MasterTest.ShutdownFrameworkWhileTaskRunning (17 ms)
[ RUN      ] MasterTest.KillTask
[       OK ] MasterTest.KillTask (34 ms)
[ RUN      ] MasterTest.StatusUpdateAck
[       OK ] MasterTest.StatusUpdateAck (18 ms)
[ RUN      ] MasterTest.RecoverResources
[       OK ] MasterTest.RecoverResources (1022 ms)
[ RUN      ] MasterTest.FrameworkMessage
[       OK ] MasterTest.FrameworkMessage (31 ms)
[ RUN      ] MasterTest.MultipleExecutors
[       OK ] MasterTest.MultipleExecutors (38 ms)
[ RUN      ] MasterTest.MasterInfo
[       OK ] MasterTest.MasterInfo (25 ms)
[ RUN      ] MasterTest.MasterInfoOnReElection
2014-03-31 07:56:26,557:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 07:56:29,893:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] MasterTest.MasterInfoOnReElection (5030 ms)
[ RUN      ] MasterTest.MasterLost
[       OK ] MasterTest.MasterLost (12 ms)
[ RUN      ] MasterTest.ReconcileTaskTest
[       OK ] MasterTest.ReconcileTaskTest (19 ms)
[ RUN      ] MasterTest.LaunchCombinedOfferTest
2014-03-31 07:56:33,230:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] MasterTest.LaunchCombinedOfferTest (2040 ms)
[ RUN      ] MasterTest.LaunchAcrossSlavesTest
[       OK ] MasterTest.LaunchAcrossSlavesTest (27 ms)
[ RUN      ] MasterTest.LaunchDuplicateOfferTest
[       OK ] MasterTest.LaunchDuplicateOfferTest (28 ms)
[----------] 14 tests from MasterTest (8401 ms total)

[----------] 1 test from WhitelistTest
[ RUN      ] WhitelistTest.WhitelistSlave
[       OK ] WhitelistTest.WhitelistSlave (36 ms)
[----------] 1 test from WhitelistTest (36 ms total)

[----------] 1 test from MasterZooKeeperTest
[ RUN      ] MasterZooKeeperTest.LostZooKeeperCluster
2014-03-31 07:56:33,966:17662(0x2b02f21e4700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:39863] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-03-31 07:56:33,966:17662(0x2b02f1de2700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:39863] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-03-31 07:56:33,966:17662(0x2b02f15bc700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:39863] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-03-31 07:56:33,967:17662(0x2b02f13bb700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:39863] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-03-31 07:56:33,969:17662(0x2b02f21e4700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:39863] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 07:56:33,969:17662(0x2b02f1fe3700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:39863] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 07:56:33,969:17662(0x2b02f1de2700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:39863] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 07:56:33,969:17662(0x2b02f15bc700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:39863] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] MasterZooKeeperTest.LostZooKeeperCluster (229 ms)
[----------] 1 test from MasterZooKeeperTest (229 ms total)

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

[----------] 2 tests from PathsTest
[ RUN      ] PathsTest.CreateExecutorDirectory
[       OK ] PathsTest.CreateExecutorDirectory (18 ms)
[ RUN      ] PathsTest.format
[       OK ] PathsTest.format (14 ms)
[----------] 2 tests from PathsTest (32 ms total)

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

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

[----------] 8 tests from ResourceOffersTest
[ RUN      ] ResourceOffersTest.ResourceOfferWithMultipleSlaves
[       OK ] ResourceOffersTest.ResourceOfferWithMultipleSlaves (92 ms)
[ RUN      ] ResourceOffersTest.TaskUsesNoResources
[       OK ] ResourceOffersTest.TaskUsesNoResources (28 ms)
[ RUN      ] ResourceOffersTest.TaskUsesInvalidResources
[       OK ] ResourceOffersTest.TaskUsesInvalidResources (21 ms)
[ RUN      ] ResourceOffersTest.TaskUsesMoreResourcesThanOffered
[       OK ] ResourceOffersTest.TaskUsesMoreResourcesThanOffered (25 ms)
[ RUN      ] ResourceOffersTest.ResourcesGetReofferedAfterFrameworkStops
[       OK ] ResourceOffersTest.ResourcesGetReofferedAfterFrameworkStops (45 ms)
[ RUN      ] ResourceOffersTest.ResourcesGetReofferedWhenUnused
[       OK ] ResourceOffersTest.ResourcesGetReofferedWhenUnused (60 ms)
[ RUN      ] ResourceOffersTest.ResourcesGetReofferedAfterTaskInfoError
[       OK ] ResourceOffersTest.ResourcesGetReofferedAfterTaskInfoError (24 ms)
[ RUN      ] ResourceOffersTest.Request
2014-03-31 07:56:36,566:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 07:56:39,902:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] ResourceOffersTest.Request (5028 ms)
[----------] 8 tests from ResourceOffersTest (5323 ms total)

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

[----------] 34 tests from ResourcesTest
[ RUN      ] ResourcesTest.Parsing
[       OK ] ResourcesTest.Parsing (0 ms)
[ RUN      ] ResourcesTest.ParsingWithRoles
[       OK ] ResourcesTest.ParsingWithRoles (0 ms)
[ RUN      ] ResourcesTest.ParseError
[       OK ] ResourcesTest.ParseError (0 ms)
[ RUN      ] ResourcesTest.Resources
[       OK ] ResourcesTest.Resources (0 ms)
[ RUN      ] ResourcesTest.Printing
[       OK ] ResourcesTest.Printing (0 ms)
[ RUN      ] ResourcesTest.InitializedIsEmpty
[       OK ] ResourcesTest.InitializedIsEmpty (0 ms)
[ RUN      ] ResourcesTest.BadResourcesNotAllocatable
[       OK ] ResourcesTest.BadResourcesNotAllocatable (0 ms)
[ RUN      ] ResourcesTest.ScalarEquals
[       OK ] ResourcesTest.ScalarEquals (0 ms)
[ RUN      ] ResourcesTest.ScalarSubset
[       OK ] ResourcesTest.ScalarSubset (0 ms)
[ RUN      ] ResourcesTest.ScalarSubset2
[       OK ] ResourcesTest.ScalarSubset2 (0 ms)
[ RUN      ] ResourcesTest.ScalarAddition
[       OK ] ResourcesTest.ScalarAddition (0 ms)
[ RUN      ] ResourcesTest.ScalarAddition2
[       OK ] ResourcesTest.ScalarAddition2 (1 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 (0 ms)
[ RUN      ] ResourcesTest.SetSubset
[       OK ] ResourcesTest.SetSubset (0 ms)
[ RUN      ] ResourcesTest.SetAddition
[       OK ] ResourcesTest.SetAddition (0 ms)
[ RUN      ] ResourcesTest.SetSubtraction
[       OK ] ResourcesTest.SetSubtraction (1 ms)
[ RUN      ] ResourcesTest.EmptyUnequal
[       OK ] ResourcesTest.EmptyUnequal (0 ms)
[ RUN      ] ResourcesTest.FlattenRoles
[       OK ] ResourcesTest.FlattenRoles (0 ms)
[ RUN      ] ResourcesTest.Find
[       OK ] ResourcesTest.Find (0 ms)
[----------] 34 tests from ResourcesTest (2 ms total)

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

[----------] 2 tests from SlaveStateTest
[ RUN      ] SlaveStateTest.CheckpointProtobuf
[       OK ] SlaveStateTest.CheckpointProtobuf (0 ms)
[ RUN      ] SlaveStateTest.CheckpointString
[       OK ] SlaveStateTest.CheckpointString (22 ms)
[----------] 2 tests from SlaveStateTest (22 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
I0331 07:56:42.156074 19520 exec.cpp:131] Version: 0.19.0
I0331 07:56:42.159072 19541 exec.cpp:205] Executor registered on slave 20140331-075641-982172483-56184-17662-0
Registered executor on quirinus.apache.org
Starting task 0726a02c-3173-4ece-9afc-8bd699d7a339
Forked command at 19543
sh -c 'sleep 1000'
I0331 07:56:42.409457 19538 exec.cpp:378] Executor asked to shutdown
Shutting down
Sending SIGTERM to process tree at pid 19543
[       OK ] SlaveRecoveryTest/0.RecoverSlaveState (1096 ms)
[ RUN      ] SlaveRecoveryTest/0.RecoverStatusUpdateManager
Killing the following process trees:
[ 
-+- 19543 sh -c sleep 1000 
 \--- 19544 sleep 1000 
]
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0331 07:56:43.153929 19567 exec.cpp:131] Version: 0.19.0
I0331 07:56:43.156733 19582 exec.cpp:205] Executor registered on slave 20140331-075642-982172483-56184-17662-0
Registered executor on quirinus.apache.org
Starting task 752938b2-04b5-4ec7-9828-c8f895f83258
Forked command at 19590
sh -c 'sleep 1000'
Command terminated with signal Terminated (pid: 19543)
I0331 07:56:43.167083 19587 exec.cpp:251] Received reconnect request from slave 20140331-075642-982172483-56184-17662-0
I0331 07:56:43.167686 19588 exec.cpp:228] Executor re-registered on slave 20140331-075642-982172483-56184-17662-0
Re-registered executor on quirinus.apache.org
2014-03-31 07:56:43,239:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
I0331 07:56:45.168706 19585 exec.cpp:378] Executor asked to shutdown
Shutting down
Sending SIGTERM to process tree at pid 19590
Killing the following process trees:
[ 
-+- 19590 sh -c sleep 1000 
 \--- 19591 sleep 1000 
]
[       OK ] SlaveRecoveryTest/0.RecoverStatusUpdateManager (2874 ms)
[ RUN      ] SlaveRecoveryTest/0.ReconnectExecutor
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0331 07:56:46.159713 19614 exec.cpp:131] Version: 0.19.0
Command terminated with signal Terminated (pid: 19590)
I0331 07:56:46.162678 19633 exec.cpp:205] Executor registered on slave 20140331-075645-982172483-56184-17662-0
Registered executor on quirinus.apache.org
Starting task 2d6bbe71-c77f-4041-89f3-a69e1f07d643
Forked command at 19637
sh -c 'sleep 1000'
I0331 07:56:46.172823 19631 exec.cpp:251] Received reconnect request from slave 20140331-075645-982172483-56184-17662-0
I0331 07:56:46.173488 19631 exec.cpp:228] Executor re-registered on slave 20140331-075645-982172483-56184-17662-0
Re-registered executor on quirinus.apache.org
2014-03-31 07:56:46,575:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
I0331 07:56:48.174795 19635 exec.cpp:378] Executor asked to shutdown
Shutting down
Sending SIGTERM to process tree at pid 19637
Killing the following process trees:
[ 
-+- 19637 sh -c sleep 1000 
 \--- 19638 sleep 1000 
]
Command terminated with signal Terminated (pid: 19637)
[       OK ] SlaveRecoveryTest/0.ReconnectExecutor (4150 ms)
[ RUN      ] SlaveRecoveryTest/0.RecoverUnregisteredExecutor
2014-03-31 07:56:49,912:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0331 07:56:50.162678 19662 exec.cpp:131] Version: 0.19.0
[       OK ] SlaveRecoveryTest/0.RecoverUnregisteredExecutor (1086 ms)
[ RUN      ] SlaveRecoveryTest/0.RecoverTerminatedExecutor
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0331 07:56:51.217656 19707 exec.cpp:131] Version: 0.19.0
I0331 07:56:51.220504 19725 exec.cpp:205] Executor registered on slave 20140331-075650-982172483-56184-17662-0
Registered executor on quirinus.apache.org
Starting task 3fcbb39d-8319-418e-a4ea-36c3d8369503
Forked command at 19730
sh -c 'sleep 1000'
I0331 07:56:51.421684 19722 exec.cpp:378] Executor asked to shutdown
Shutting down
Sending SIGTERM to process tree at pid 19730
Killing the following process trees:
[ 
-+- 19730 sh -c sleep 1000 
 \--- 19731 sleep 1000 
]
[       OK ] SlaveRecoveryTest/0.RecoverTerminatedExecutor (1245 ms)
[ RUN      ] SlaveRecoveryTest/0.RecoverCompletedExecutor
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0331 07:56:52.474951 19754 exec.cpp:131] Version: 0.19.0
I0331 07:56:52.477659 19769 exec.cpp:205] Executor registered on slave 20140331-075651-982172483-56184-17662-0
Registered executor on quirinus.apache.org
Starting task fc6b8fda-d1bc-432d-86ff-907fe772a9c2
Forked command at 19777
sh -c 'exit 0'
2014-03-31 07:56:53,248:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
Command exited with status 0 (pid: 19777)
[       OK ] SlaveRecoveryTest/0.RecoverCompletedExecutor (4006 ms)
[ RUN      ] SlaveRecoveryTest/0.CleanupExecutor
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0331 07:56:56.474784 19800 exec.cpp:131] Version: 0.19.0
I0331 07:56:56.477713 19819 exec.cpp:205] Executor registered on slave 20140331-075655-982172483-56184-17662-0
Registered executor on quirinus.apache.org
Starting task e0180445-ec0b-4869-8bbf-027b9eb2d9e9
Forked command at 19823
sh -c 'sleep 1000'
2014-03-31 07:56:56,585:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
I0331 07:56:56.714098 19821 exec.cpp:378] Executor asked to shutdown
Shutting down
Sending SIGTERM to process tree at pid 19823
Killing the following process trees:
[ 
-+- 19823 sh -c sleep 1000 
 \--- 19824 sleep 1000 
]
[       OK ] SlaveRecoveryTest/0.CleanupExecutor (1251 ms)
[ RUN      ] SlaveRecoveryTest/0.RemoveNonCheckpointingFramework
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0331 07:56:57.762840 19870 exec.cpp:131] Version: 0.19.0
I0331 07:56:57.765738 19903 exec.cpp:205] Executor registered on slave 20140331-075657-982172483-56184-17662-0
Registered executor on quirinus.apache.org
Starting task a9b1b9cd-7ce1-42fb-8837-cb43aeca5a81
Forked command at 19916
sh -c 'sleep 1000'
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0331 07:56:57.768324 19873 exec.cpp:131] Version: 0.19.0
I0331 07:56:57.770647 19909 exec.cpp:205] Executor registered on slave 20140331-075657-982172483-56184-17662-0
Registered executor on quirinus.apache.org
Starting task 921427d7-de63-4718-82af-770836302663
sh -c 'sleep 1000'
Forked command at 19918
I0331 07:56:57.774718 19903 exec.cpp:378] Executor asked to shutdown
Shutting down
Sending SIGTERM to process tree at pid 19916
I0331 07:56:57.775311 19914 exec.cpp:378] Executor asked to shutdown
Shutting down
Sending SIGTERM to process tree at pid 19918
[       OK ] SlaveRecoveryTest/0.RemoveNonCheckpointingFramework (754 ms)
[ RUN      ] SlaveRecoveryTest/0.NonCheckpointingFramework
Killing the following process trees:
[ 
-+- 19916 sh -c sleep 1000 
 \--- 19917 sleep 1000 
]
Killing the following process trees:
[ 
-+- 19918 sh -c sleep 1000 
 \--- 19919 sleep 1000 
]
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0331 07:56:58.765004 19942 exec.cpp:131] Version: 0.19.0
I0331 07:56:58.767722 19958 exec.cpp:205] Executor registered on slave 20140331-075657-982172483-56184-17662-0
Registered executor on quirinus.apache.org
Command terminated with signal Terminated (pid: 19916)
Starting task 8bedfec1-19f3-42a3-9993-8fd25bd973f7
Forked command at 19965
sh -c 'sleep 1000'
Command terminated with signal Terminated (pid: 19918)
I0331 07:56:58.793382 19959 exec.cpp:378] Executor asked to shutdown
Shutting down
Sending SIGTERM to process tree at pid 19965
[       OK ] SlaveRecoveryTest/0.NonCheckpointingFramework (1017 ms)
[ RUN      ] SlaveRecoveryTest/0.NonCheckpointingSlave
Killing the following process trees:
[ 
-+- 19965 sh -c sleep 1000 
 \--- 19966 sleep 1000 
]
[       OK ] SlaveRecoveryTest/0.NonCheckpointingSlave (43 ms)
[ RUN      ] SlaveRecoveryTest/0.KillTask
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0331 07:56:59.765833 19989 exec.cpp:131] Version: 0.19.0
I0331 07:56:59.768941 20005 exec.cpp:205] Executor registered on slave 20140331-075658-982172483-56184-17662-0
Registered executor on quirinus.apache.org
Starting task 801c604e-def3-4e08-b3be-a750e7a9c4c4
Command terminated with signal Terminated (pid: 19965)
sh -c 'sleep 1000'
Forked command at 20012
2014-03-31 07:56:59,921:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
I0331 07:57:00.077406 20003 exec.cpp:251] Received reconnect request from slave 20140331-075658-982172483-56184-17662-0
I0331 07:57:00.077921 20009 exec.cpp:228] Executor re-registered on slave 20140331-075658-982172483-56184-17662-0
Re-registered executor on quirinus.apache.org
Shutting down
Sending SIGTERM to process tree at pid 20012
Killing the following process trees:
[ 
-+- 20012 sh -c sleep 1000 
 \--- 20013 sleep 1000 
]
Command terminated with signal Terminated (pid: 20012)
[       OK ] SlaveRecoveryTest/0.KillTask (2153 ms)
[ RUN      ] SlaveRecoveryTest/0.Reboot
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0331 07:57:01.125490 20036 exec.cpp:131] Version: 0.19.0
I0331 07:57:01.128312 20050 exec.cpp:205] Executor registered on slave 20140331-075700-982172483-56184-17662-0
Registered executor on quirinus.apache.org
Starting task 15f9ba6c-28c6-49eb-aeec-747248b7eba2
Forked command at 20059
sh -c 'sleep 1000'
I0331 07:57:01.322574 20056 exec.cpp:378] Executor asked to shutdown
Shutting down
Sending SIGTERM to process tree at pid 20059
[       OK ] SlaveRecoveryTest/0.Reboot (340 ms)
[ RUN      ] SlaveRecoveryTest/0.GCExecutor
Killing the following process trees:
[ 
-+- 20059 sh -c sleep 1000 
 \--- 20060 sleep 1000 
]
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0331 07:57:02.129104 20083 exec.cpp:131] Version: 0.19.0
Command terminated with signal Terminated (pid: 20059)
I0331 07:57:02.132201 20097 exec.cpp:205] Executor registered on slave 20140331-075701-982172483-56184-17662-0
Registered executor on quirinus.apache.org
Starting task e78622bc-0f7e-4561-87be-8e33598404b6
Forked command at 20106
sh -c 'sleep 1000'
I0331 07:57:02.374004 20097 exec.cpp:378] Executor asked to shutdown
Shutting down
Sending SIGTERM to process tree at pid 20106
Killing the following process trees:
[ 
-+- 20106 sh -c sleep 1000 
 \--- 20107 sleep 1000 
]
[       OK ] SlaveRecoveryTest/0.GCExecutor (1108 ms)
[ RUN      ] SlaveRecoveryTest/0.ShutdownSlave
Command terminated with signal Terminated (pid: 20106)
2014-03-31 07:57:03,258:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0331 07:57:03.423979 20130 exec.cpp:131] Version: 0.19.0
I0331 07:57:03.426695 20150 exec.cpp:205] Executor registered on slave 20140331-075702-982172483-56184-17662-0
Registered executor on quirinus.apache.org
Starting task 7cc3161e-9c29-48a6-9c0a-d5c28856568b
Forked command at 20153
sh -c 'sleep 1000'
I0331 07:57:03.583644 20148 exec.cpp:378] Executor asked to shutdown
Shutting down
Sending SIGTERM to process tree at pid 20153
Killing the following process trees:
[ 
-+- 20153 sh -c sleep 1000 
 \--- 20154 sleep 1000 
]
Command terminated with signal Terminated (pid: 20153)
[       OK ] SlaveRecoveryTest/0.ShutdownSlave (3055 ms)
[ RUN      ] SlaveRecoveryTest/0.RegisterDisconnectedSlave
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0331 07:57:06.535271 20177 exec.cpp:131] Version: 0.19.0
I0331 07:57:06.538418 20194 exec.cpp:205] Executor registered on slave 20140331-075705-982172483-56184-17662-0
Registered executor on quirinus.apache.org
Starting task cb9b75de-a654-4e9f-8a74-2ff18c1b6bbd
Forked command at 20200
sh -c 'sleep 1000'
2014-03-31 07:57:06,593:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
I0331 07:57:06.744416 20196 exec.cpp:378] Executor asked to shutdown
Shutting down
Sending SIGTERM to process tree at pid 20200
[       OK ] SlaveRecoveryTest/0.RegisterDisconnectedSlave (1256 ms)
[ RUN      ] SlaveRecoveryTest/0.ReconcileKillTask
Killing the following process trees:
[ 
-+- 20200 sh -c sleep 1000 
 \--- 20201 sleep 1000 
]
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0331 07:57:07.535387 20224 exec.cpp:131] Version: 0.19.0
I0331 07:57:07.538085 20239 exec.cpp:205] Executor registered on slave 20140331-075706-982172483-56184-17662-0
Registered executor on quirinus.apache.org
Starting task 25269856-6037-48fc-a5f1-849df8ec35c3
Forked command at 20247
sh -c 'sleep 1000'
Command terminated with signal Terminated (pid: 20200)
I0331 07:57:07.736053 20244 exec.cpp:251] Received reconnect request from slave 20140331-075706-982172483-56184-17662-0
I0331 07:57:07.736493 20240 exec.cpp:228] Executor re-registered on slave 20140331-075706-982172483-56184-17662-0
Re-registered executor on quirinus.apache.org
Shutting down
Sending SIGTERM to process tree at pid 20247
Killing the following process trees:
[ 
-+- 20247 sh -c sleep 1000 
 \--- 20248 sleep 1000 
]
2014-03-31 07:57:09,929:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
Command terminated with signal Terminated (pid: 20247)
[       OK ] SlaveRecoveryTest/0.ReconcileKillTask (4062 ms)
[ RUN      ] SlaveRecoveryTest/0.ReconcileShutdownFramework
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0331 07:57:11.539568 20271 exec.cpp:131] Version: 0.19.0
I0331 07:57:11.542719 20287 exec.cpp:205] Executor registered on slave 20140331-075710-982172483-56184-17662-0
Registered executor on quirinus.apache.org
Starting task e3afc757-e447-4046-82d6-6170305cb089
Forked command at 20294
sh -c 'sleep 1000'
I0331 07:57:11.762255 20288 exec.cpp:251] Received reconnect request from slave 20140331-075710-982172483-56184-17662-0
I0331 07:57:11.762708 20291 exec.cpp:228] Executor re-registered on slave 20140331-075710-982172483-56184-17662-0
Re-registered executor on quirinus.apache.org
2014-03-31 07:57:13,266:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
I0331 07:57:13.763434 20287 exec.cpp:378] Executor asked to shutdown
Shutting down
Sending SIGTERM to process tree at pid 20294
Killing the following process trees:
[ 
-+- 20294 sh -c sleep 1000 
 \--- 20295 sleep 1000 
]
Command terminated with signal Terminated (pid: 20294)
[       OK ] SlaveRecoveryTest/0.ReconcileShutdownFramework (5695 ms)
[ RUN      ] SlaveRecoveryTest/0.ReconcileTasksMissingFromSlave
2014-03-31 07:57:16,601:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0331 07:57:17.544977 20318 exec.cpp:131] Version: 0.19.0
I0331 07:57:17.547885 20335 exec.cpp:205] Executor registered on slave 20140331-075716-982172483-56184-17662-0
Registered executor on quirinus.apache.org
Starting task d222e139-f87b-41b1-a2dd-115a16c97033
Forked command at 20341
sh -c 'sleep 10'
[       OK ] SlaveRecoveryTest/0.ReconcileTasksMissingFromSlave (1430 ms)
[ RUN      ] SlaveRecoveryTest/0.SchedulerFailover
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0331 07:57:18.934731 20365 exec.cpp:131] Version: 0.19.0
I0331 07:57:18.937541 20380 exec.cpp:205] Executor registered on slave 20140331-075717-982172483-56184-17662-0
Registered executor on quirinus.apache.org
Starting task 0764d0d8-786e-4211-a429-2926249aa4bc
Forked command at 20388
sh -c 'sleep 1000'
I0331 07:57:19.323271 20386 exec.cpp:251] Received reconnect request from slave 20140331-075717-982172483-56184-17662-0
I0331 07:57:19.323741 20379 exec.cpp:228] Executor re-registered on slave 20140331-075717-982172483-56184-17662-0
Re-registered executor on quirinus.apache.org
Shutting down
Sending SIGTERM to process tree at pid 20388
Killing the following process trees:
[ 
-+- 20388 sh -c sleep 1000 
 \--- 20389 sleep 1000 
]
2014-03-31 07:57:19,937:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
Command terminated with signal Terminated (pid: 20388)
[       OK ] SlaveRecoveryTest/0.SchedulerFailover (2438 ms)
[ RUN      ] SlaveRecoveryTest/0.PartitionedSlave
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0331 07:57:21.404712 20412 exec.cpp:131] Version: 0.19.0
I0331 07:57:21.407446 20433 exec.cpp:205] Executor registered on slave 20140331-075720-982172483-56184-17662-0
Registered executor on quirinus.apache.org
Starting task e9794d73-cedf-402d-8ada-f9b2e1aa68d3
Forked command at 20435
sh -c 'sleep 1000'
I0331 07:57:22.011775 20432 exec.cpp:378] Executor asked to shutdown
Shutting down
Sending SIGTERM to process tree at pid 20435
Killing the following process trees:
[ 
-+- 20435 sh -c sleep 1000 
 \--- 20436 sleep 1000 
]
[       OK ] SlaveRecoveryTest/0.PartitionedSlave (1852 ms)
[ RUN      ] SlaveRecoveryTest/0.MasterFailover
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0331 07:57:22.939101 20461 exec.cpp:131] Version: 0.19.0
I0331 07:57:22.941943 20479 exec.cpp:205] Executor registered on slave 20140331-075722-982172483-56184-17662-0
Registered executor on quirinus.apache.org
Starting task fe36db82-4074-4e29-a778-24f134b89c87
Forked command at 20484
sh -c 'sleep 1000'
2014-03-31 07:57:23,274:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 07:57:26,610:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
I0331 07:57:29.122710 20479 exec.cpp:251] Received reconnect request from slave 20140331-075722-982172483-56184-17662-0
I0331 07:57:29.123288 20482 exec.cpp:228] Executor re-registered on slave 20140331-075722-982172483-56184-17662-0
Re-registered executor on quirinus.apache.org
Shutting down
Sending SIGTERM to process tree at pid 20484
Killing the following process trees:
[ 
-+- 20484 sh -c sleep 1000 
 \--- 20485 sleep 1000 
]
2014-03-31 07:57:29,945:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
Command terminated with signal Terminated (pid: 20484)
[       OK ] SlaveRecoveryTest/0.MasterFailover (8905 ms)
[ RUN      ] SlaveRecoveryTest/0.MultipleFrameworks
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0331 07:57:32.167122 20511 exec.cpp:131] Version: 0.19.0
I0331 07:57:32.170202 20529 exec.cpp:205] Executor registered on slave 20140331-075731-982172483-56184-17662-0
Registered executor on quirinus.apache.org
Starting task bb1a9c23-37c8-4755-9182-67d461957051
Forked command at 20534
sh -c 'sleep 1000'
2014-03-31 07:57:33,281:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0331 07:57:34.167843 20558 exec.cpp:131] Version: 0.19.0
I0331 07:57:34.170614 20578 exec.cpp:205] Executor registered on slave 20140331-075731-982172483-56184-17662-0
Registered executor on quirinus.apache.org
Starting task 07e9dfdd-6629-470c-b776-72edaac20a9b
Forked command at 20581
sh -c 'sleep 1000'
I0331 07:57:34.591465 20528 exec.cpp:251] Received reconnect request from slave 20140331-075731-982172483-56184-17662-0
I0331 07:57:34.591579 20576 exec.cpp:251] Received reconnect request from slave 20140331-075731-982172483-56184-17662-0
I0331 07:57:34.592061 20526 exec.cpp:228] Executor re-registered on slave 20140331-075731-982172483-56184-17662-0
I0331 07:57:34.592303 20577 exec.cpp:228] Executor re-registered on slave 20140331-075731-982172483-56184-17662-0
Re-registered executor on quirinus.apache.org
Re-registered executor on quirinus.apache.org
Shutting down
Sending SIGTERM to process tree at pid 20534
Killing the following process trees:
[ 
-+- 20534 sh -c sleep 1000 
 \--- 20535 sleep 1000 
]
Command terminated with signal Terminated (pid: 20534)
Shutting down
Sending SIGTERM to process tree at pid 20581
Killing the following process trees:
[ 
-+- 20581 sh -c sleep 1000 
 \--- 20582 sleep 1000 
]
Command terminated with signal Terminated (pid: 20581)
2014-03-31 07:57:36,617:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] SlaveRecoveryTest/0.MultipleFrameworks (6467 ms)
[ RUN      ] SlaveRecoveryTest/0.MultipleSlaves
2014-03-31 07:57:39,953:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 07:57:43,289:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0331 07:57:43.639113 20605 exec.cpp:131] Version: 0.19.0
I0331 07:57:43.642421 20625 exec.cpp:205] Executor registered on slave 20140331-075737-982172483-56184-17662-0
Registered executor on quirinus.apache.org
Starting task dd597187-568b-4028-83ff-5cf02c58c770
Forked command at 20628
sh -c 'sleep 1000'
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0331 07:57:44.637053 20652 exec.cpp:131] Version: 0.19.0
I0331 07:57:44.639894 20669 exec.cpp:205] Executor registered on slave 20140331-075737-982172483-56184-17662-1
Registered executor on quirinus.apache.org
Starting task b647b33b-a21c-464f-9d3b-6e41577bc341
Forked command at 20675
sh -c 'sleep 1000'
I0331 07:57:45.122992 20624 exec.cpp:251] Received reconnect request from slave 20140331-075737-982172483-56184-17662-0
I0331 07:57:45.123657 20620 exec.cpp:228] Executor re-registered on slave 20140331-075737-982172483-56184-17662-0
Re-registered executor on quirinus.apache.org
I0331 07:57:45.125186 20666 exec.cpp:251] Received reconnect request from slave 20140331-075737-982172483-56184-17662-1
I0331 07:57:45.125659 20670 exec.cpp:228] Executor re-registered on slave 20140331-075737-982172483-56184-17662-1
Re-registered executor on quirinus.apache.org
Shutting down
Sending SIGTERM to process tree at pid 20628
Shutting down
Sending SIGTERM to process tree at pid 20675
Killing the following process trees:
[ 
-+- 20675 sh -c sleep 1000 
 \--- 20676 sleep 1000 
]
Killing the following process trees:
[ 
-+- 20628 sh -c sleep 1000 
 \--- 20629 sleep 1000 
]
Command terminated with signal Terminated (pid: 20675)
Command terminated with signal Terminated (pid: 20628)
2014-03-31 07:57:46,626:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] SlaveRecoveryTest/0.MultipleSlaves (9539 ms)
[----------] 23 tests from SlaveRecoveryTest/0 (65822 ms total)

[----------] 2 tests from SlaveTest
[ RUN      ] SlaveTest.ShutdownUnregisteredExecutor
[       OK ] SlaveTest.ShutdownUnregisteredExecutor (1122 ms)
[ RUN      ] SlaveTest.RemoveUnregisteredTerminatedExecutor
[       OK ] SlaveTest.RemoveUnregisteredTerminatedExecutor (89 ms)
[----------] 2 tests from SlaveTest (1211 ms total)

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

[----------] 7 tests from InMemoryStateTest
[ RUN      ] InMemoryStateTest.FetchAndStoreAndFetch
[       OK ] InMemoryStateTest.FetchAndStoreAndFetch (3 ms)
[ RUN      ] InMemoryStateTest.FetchAndStoreAndStoreAndFetch
[       OK ] InMemoryStateTest.FetchAndStoreAndStoreAndFetch (4 ms)
[ RUN      ] InMemoryStateTest.FetchAndStoreAndStoreFailAndFetch
[       OK ] InMemoryStateTest.FetchAndStoreAndStoreFailAndFetch (5 ms)
[ RUN      ] InMemoryStateTest.FetchAndStoreAndExpungeAndFetch
[       OK ] InMemoryStateTest.FetchAndStoreAndExpungeAndFetch (4 ms)
[ RUN      ] InMemoryStateTest.FetchAndStoreAndExpungeAndExpunge
[       OK ] InMemoryStateTest.FetchAndStoreAndExpungeAndExpunge (3 ms)
[ RUN      ] InMemoryStateTest.FetchAndStoreAndExpungeAndStoreAndFetch
[       OK ] InMemoryStateTest.FetchAndStoreAndExpungeAndStoreAndFetch (4 ms)
[ RUN      ] InMemoryStateTest.Names
[       OK ] InMemoryStateTest.Names (3 ms)
[----------] 7 tests from InMemoryStateTest (26 ms total)

[----------] 7 tests from LevelDBStateTest
[ RUN      ] LevelDBStateTest.FetchAndStoreAndFetch
2014-03-31 07:57:49,962:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] LevelDBStateTest.FetchAndStoreAndFetch (2525 ms)
[ RUN      ] LevelDBStateTest.FetchAndStoreAndStoreAndFetch
[       OK ] LevelDBStateTest.FetchAndStoreAndStoreAndFetch (1460 ms)
[ RUN      ] LevelDBStateTest.FetchAndStoreAndStoreFailAndFetch
2014-03-31 07:57:53,299:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] LevelDBStateTest.FetchAndStoreAndStoreFailAndFetch (1107 ms)
[ RUN      ] LevelDBStateTest.FetchAndStoreAndExpungeAndFetch
[       OK ] LevelDBStateTest.FetchAndStoreAndExpungeAndFetch (739 ms)
[ RUN      ] LevelDBStateTest.FetchAndStoreAndExpungeAndExpunge
[       OK ] LevelDBStateTest.FetchAndStoreAndExpungeAndExpunge (1539 ms)
[ RUN      ] LevelDBStateTest.FetchAndStoreAndExpungeAndStoreAndFetch
2014-03-31 07:57:56,635:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] LevelDBStateTest.FetchAndStoreAndExpungeAndStoreAndFetch (3761 ms)
[ RUN      ] LevelDBStateTest.Names
2014-03-31 07:57:59,972:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] LevelDBStateTest.Names (1141 ms)
[----------] 7 tests from LevelDBStateTest (12273 ms total)

[----------] 8 tests from LogStateTest
[ RUN      ] LogStateTest.FetchAndStoreAndFetch
2014-03-31 07:58:03,308:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 07:58:06,644:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] LogStateTest.FetchAndStoreAndFetch (8714 ms)
[ RUN      ] LogStateTest.FetchAndStoreAndStoreAndFetch
2014-03-31 07:58:09,981:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] LogStateTest.FetchAndStoreAndStoreAndFetch (2824 ms)
[ RUN      ] LogStateTest.FetchAndStoreAndStoreFailAndFetch
2014-03-31 07:58:13,317:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 07:58:16,654:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] LogStateTest.FetchAndStoreAndStoreFailAndFetch (5111 ms)
[ RUN      ] LogStateTest.FetchAndStoreAndExpungeAndFetch
2014-03-31 07:58:19,990:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] LogStateTest.FetchAndStoreAndExpungeAndFetch (3657 ms)
[ RUN      ] LogStateTest.FetchAndStoreAndExpungeAndExpunge
[       OK ] LogStateTest.FetchAndStoreAndExpungeAndExpunge (1926 ms)
[ RUN      ] LogStateTest.FetchAndStoreAndExpungeAndStoreAndFetch
2014-03-31 07:58:23,327:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] LogStateTest.FetchAndStoreAndExpungeAndStoreAndFetch (1799 ms)
[ RUN      ] LogStateTest.Names
2014-03-31 07:58:26,663:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] LogStateTest.Names (2093 ms)
[ RUN      ] LogStateTest.Timeout
[       OK ] LogStateTest.Timeout (1560 ms)
[----------] 8 tests from LogStateTest (27684 ms total)

[----------] 7 tests from ZooKeeperStateTest
[ RUN      ] ZooKeeperStateTest.FetchAndStoreAndFetch
[       OK ] ZooKeeperStateTest.FetchAndStoreAndFetch (197 ms)
[ RUN      ] ZooKeeperStateTest.FetchAndStoreAndStoreAndFetch
[       OK ] ZooKeeperStateTest.FetchAndStoreAndStoreAndFetch (146 ms)
[ RUN      ] ZooKeeperStateTest.FetchAndStoreAndStoreFailAndFetch
[       OK ] ZooKeeperStateTest.FetchAndStoreAndStoreFailAndFetch (166 ms)
[ RUN      ] ZooKeeperStateTest.FetchAndStoreAndExpungeAndFetch
[       OK ] ZooKeeperStateTest.FetchAndStoreAndExpungeAndFetch (438 ms)
[ RUN      ] ZooKeeperStateTest.FetchAndStoreAndExpungeAndExpunge
[       OK ] ZooKeeperStateTest.FetchAndStoreAndExpungeAndExpunge (184 ms)
[ RUN      ] ZooKeeperStateTest.FetchAndStoreAndExpungeAndStoreAndFetch
[       OK ] ZooKeeperStateTest.FetchAndStoreAndExpungeAndStoreAndFetch (154 ms)
[ RUN      ] ZooKeeperStateTest.Names
[       OK ] ZooKeeperStateTest.Names (139 ms)
[----------] 7 tests from ZooKeeperStateTest (1424 ms total)

[----------] 7 tests from StatusUpdateManagerTest
[ RUN      ] StatusUpdateManagerTest.CheckpointStatusUpdate
2014-03-31 07:58:29,997:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] StatusUpdateManagerTest.CheckpointStatusUpdate (1380 ms)
[ RUN      ] StatusUpdateManagerTest.RetryStatusUpdate
[       OK ] StatusUpdateManagerTest.RetryStatusUpdate (363 ms)
[ RUN      ] StatusUpdateManagerTest.IgnoreDuplicateStatusUpdateAck
[       OK ] StatusUpdateManagerTest.IgnoreDuplicateStatusUpdateAck (462 ms)
[ RUN      ] StatusUpdateManagerTest.IgnoreUnexpectedStatusUpdateAck
[       OK ] StatusUpdateManagerTest.IgnoreUnexpectedStatusUpdateAck (236 ms)
[ RUN      ] StatusUpdateManagerTest.DuplicateTerminalUpdateBeforeAck
[       OK ] StatusUpdateManagerTest.DuplicateTerminalUpdateBeforeAck (674 ms)
[ RUN      ] StatusUpdateManagerTest.DuplicateTerminalUpdateAfterAck
[       OK ] StatusUpdateManagerTest.DuplicateTerminalUpdateAfterAck (337 ms)
[ RUN      ] StatusUpdateManagerTest.DuplicateUpdateBeforeAck
2014-03-31 07:58:33,333:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 07:58:36,670:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 07:58:40,005:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] StatusUpdateManagerTest.DuplicateUpdateBeforeAck (7080 ms)
[----------] 7 tests from StatusUpdateManagerTest (10532 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 (25 ms)
[ RUN      ] FsTest.MountTableHasOption
[       OK ] FsTest.MountTableHasOption (0 ms)
[ RUN      ] FsTest.FileSystemTableRead
[       OK ] FsTest.FileSystemTableRead (42 ms)
[----------] 3 tests from FsTest (67 ms total)

[----------] 6 tests from ZooKeeperTest
[ RUN      ] ZooKeeperTest.Auth
2014-03-31 07:58:43,341:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] ZooKeeperTest.Auth (4979 ms)
[ RUN      ] ZooKeeperTest.SessionTimeoutNegotiation
[       OK ] ZooKeeperTest.SessionTimeoutNegotiation (248 ms)
[ RUN      ] ZooKeeperTest.Create
2014-03-31 07:58:46,678:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 07:58:50,014:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] ZooKeeperTest.Create (4653 ms)
[ RUN      ] ZooKeeperTest.LeaderDetector
[       OK ] ZooKeeperTest.LeaderDetector (965 ms)
[ RUN      ] ZooKeeperTest.LeaderDetectorTimeoutHandling
2014-03-31 07:58:51,934:17662(0x2b02f17bd700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:32930] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-03-31 07:58:51,945:17662(0x2b02f0da6700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:32930] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 07:58:53,350:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 07:58:56,687:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 07:59:00,021:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] ZooKeeperTest.LeaderDetectorTimeoutHandling (11919 ms)
[ RUN      ] ZooKeeperTest.LeaderContender
2014-03-31 07:59:03,357:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 07:59:05,575:17662(0x2b02f1fe3700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:44660] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-03-31 07:59:06,694:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 07:59:08,911:17662(0x2b02f1fe3700):ZOO_ERROR@handle_socket_error_msg@1739: Socket [127.0.0.1:44660] zk retcode=-112, errno=116(Stale NFS file handle): sessionId=0x145172615da0000 has expired.
2014-03-31 07:59:10,030:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 07:59:10,570:17662(0x2b02f17bd700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:44660] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-03-31 07:59:10,570:17662(0x2b02f17bd700):ZOO_ERROR@handle_socket_error_msg@1739: Socket [127.0.0.1:44660] zk retcode=-112, errno=116(Stale NFS file handle): sessionId=0x145172615da0001 has expired.
2014-03-31 07:59:10,729:17662(0x2b02f1fe3700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:44660] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-03-31 07:59:10,753:17662(0x2b02f17bd700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44660] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 07:59:13,365:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] ZooKeeperTest.LeaderContender (11180 ms)
[----------] 6 tests from ZooKeeperTest (33945 ms total)

[----------] 9 tests from GroupTest
[ RUN      ] GroupTest.Group
[       OK ] GroupTest.Group (497 ms)
[ RUN      ] GroupTest.GroupJoinWithDisconnect
2014-03-31 07:59:14,868:17662(0x2b02f1fe3700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:42078] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 07:59:16,701:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] GroupTest.GroupJoinWithDisconnect (1998 ms)
[ RUN      ] GroupTest.GroupDataWithDisconnect
2014-03-31 07:59:16,985:17662(0x2b02f11ba700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:51028] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-03-31 07:59:16,986:17662(0x2b02f11ba700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:51028] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] GroupTest.GroupDataWithDisconnect (2891 ms)
[ RUN      ] GroupTest.GroupCancelWithDisconnect
2014-03-31 07:59:20,037:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 07:59:21,541:17662(0x2b02f21e4700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:56249] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-03-31 07:59:21,542:17662(0x2b02f21e4700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:56249] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 07:59:23,373:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] GroupTest.GroupCancelWithDisconnect (3930 ms)
[ RUN      ] GroupTest.GroupWatchWithSessionExpiration
2014-03-31 07:59:23,844:17662(0x2b02f21e4700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:48272] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-03-31 07:59:25,846:17662(0x2b02f21e4700):ZOO_ERROR@handle_socket_error_msg@1739: Socket [127.0.0.1:48272] zk retcode=-112, errno=116(Stale NFS file handle): sessionId=0x145172666080000 has expired.
[       OK ] GroupTest.GroupWatchWithSessionExpiration (2957 ms)
[ RUN      ] GroupTest.MultipleGroups
2014-03-31 07:59:26,709:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 07:59:28,151:17662(0x2b02f17bd700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:54362] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
[       OK ] GroupTest.MultipleGroups (1894 ms)
[ RUN      ] GroupTest.GroupPathWithRestrictivePerms
2014-03-31 07:59:30,045:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 07:59:33,382:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 07:59:36,718:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] GroupTest.GroupPathWithRestrictivePerms (11583 ms)
[ RUN      ] GroupTest.RetryableErrors
2014-03-31 07:59:40,054:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 07:59:42,840:17662(0x2b02f17bd700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:52088] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-03-31 07:59:43,391:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 07:59:44,842:17662(0x2b02f17bd700):ZOO_ERROR@handle_socket_error_msg@1739: Socket [127.0.0.1:52088] zk retcode=-112, errno=116(Stale NFS file handle): sessionId=0x1451726a6140000 has expired.
2014-03-31 07:59:46,727:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 07:59:47,488:17662(0x2b02f1fe3700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:52088] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-03-31 07:59:49,491:17662(0x2b02f1fe3700):ZOO_ERROR@handle_socket_error_msg@1739: Socket [127.0.0.1:52088] zk retcode=-112, errno=116(Stale NFS file handle): sessionId=0x1451726a6140001 has expired.
2014-03-31 07:59:50,063:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 07:59:51,858:17662(0x2b02f17bd700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:52088] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-03-31 07:59:53,400:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 07:59:53,861:17662(0x2b02f17bd700):ZOO_ERROR@handle_socket_error_msg@1739: Socket [127.0.0.1:52088] zk retcode=-112, errno=116(Stale NFS file handle): sessionId=0x1451726a6140002 has expired.
2014-03-31 07:59:56,358:17662(0x2b02f1fe3700):ZOO_ERROR@handle_socket_error_msg@1721: Socket [127.0.0.1:52088] zk retcode=-4, errno=112(Host is down): failed while receiving a server response
2014-03-31 07:59:56,736:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 07:59:58,359:17662(0x2b02f1fe3700):ZOO_ERROR@handle_socket_error_msg@1739: Socket [127.0.0.1:52088] zk retcode=-112, errno=116(Stale NFS file handle): sessionId=0x1451726a6140003 has expired.
2014-03-31 08:00:00,072:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] GroupTest.RetryableErrors (20871 ms)
[ RUN      ] GroupTest.LabelledGroup
[       OK ] GroupTest.LabelledGroup (1437 ms)
[----------] 9 tests from GroupTest (48058 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-03-31 08:00:03,409:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 08:00:06,745:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 08:00:10,081:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] AllocatorZooKeeperTest/0.FrameworkReregistersFirst (8169 ms)
[ RUN      ] AllocatorZooKeeperTest/0.SlaveReregistersFirst
2014-03-31 08:00:13,417:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 08:00:16,754:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] AllocatorZooKeeperTest/0.SlaveReregistersFirst (8479 ms)
[----------] 2 tests from AllocatorZooKeeperTest/0 (16648 ms total)

[----------] 10 tests from Strict/RegistrarTest
[ RUN      ] Strict/RegistrarTest.recover/0
2014-03-31 08:00:20,090:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 08:00:23,427:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 08:00:26,763:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
tests/registrar_tests.cpp:123: Failure
Failed to wait 10secs for registry
2014-03-31 08:00:30,100:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 08:00:33,436:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 08:00:36,772:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 08:00:40,109:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 08:00:43,445:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[  FAILED  ] Strict/RegistrarTest.recover/0, where GetParam() = false (27142 ms)
[ RUN      ] Strict/RegistrarTest.recover/1
2014-03-31 08:00:46,782:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] Strict/RegistrarTest.recover/1 (3454 ms)
[ RUN      ] Strict/RegistrarTest.admit/0
2014-03-31 08:00:50,118:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] Strict/RegistrarTest.admit/0 (3124 ms)
[ RUN      ] Strict/RegistrarTest.admit/1
2014-03-31 08:00:53,455:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] Strict/RegistrarTest.admit/1 (2917 ms)
[ RUN      ] Strict/RegistrarTest.readmit/0
2014-03-31 08:00:56,790:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] Strict/RegistrarTest.readmit/0 (4273 ms)
[ RUN      ] Strict/RegistrarTest.readmit/1
2014-03-31 08:01:00,126:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 08:01:03,463:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] Strict/RegistrarTest.readmit/1 (5610 ms)
[ RUN      ] Strict/RegistrarTest.remove/0
2014-03-31 08:01:06,799:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 08:01:10,135:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 08:01:13,472:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
tests/registrar_tests.cpp:188: Failure
Failed to wait 10secs for registrar.recover(master)
2014-03-31 08:01:16,808:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 08:01:20,144:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 08:01:23,481:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 08:01:26,817:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 08:01:30,153:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 08:01:33,490:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 08:01:36,826:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 08:01:40,162:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
2014-03-31 08:01:43,497:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[  FAILED  ] Strict/RegistrarTest.remove/0, where GetParam() = false (37873 ms)
[ RUN      ] Strict/RegistrarTest.remove/1
2014-03-31 08:01:46,833:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] Strict/RegistrarTest.remove/1 (4426 ms)
[ RUN      ] Strict/RegistrarTest.bootstrap/0
2014-03-31 08:01:50,169:17662(0x2b02f0fa7700):ZOO_ERROR@handle_socket_error_msg@1697: Socket [127.0.0.1:44029] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
[       OK ] Strict/RegistrarTest.bootstrap/0 (3804 ms)
[ RUN      ] Strict/RegistrarTest.bootstrap/1
[       OK ] Strict/RegistrarTest.bootstrap/1 (1540 ms)
[----------] 10 tests from Strict/RegistrarTest (94163 ms total)

[----------] Global test environment tear-down
[==========] 288 tests from 50 test cases ran. (484897 ms total)
[  PASSED  ] 286 tests.
[  FAILED  ] 2 tests, listed below:
[  FAILED  ] Strict/RegistrarTest.recover/0, where GetParam() = false
[  FAILED  ] Strict/RegistrarTest.remove/0, where GetParam() = false

 2 FAILED TESTS
  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 March 31, 2014, 7:11 a.m., Benjamin Hindman wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19007/
> -----------------------------------------------------------
> 
> (Updated March 31, 2014, 7:11 a.m.)
> 
> 
> Review request for mesos, Ben Mahler and Jie Yu.
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> This is a combination of both https://reviews.apache.org/r/17423 and https://reviews.apache.org/r/17424 which have been merged to make it easier to make changes.
> 
> 
> Diffs
> -----
> 
>   src/Makefile.am 47d03b393f68ebd4e9eba3206798a939078023c0 
>   src/messages/state.proto 7f7a8a505d6f24b01fec0c3ad47b0e15b2b17ffa 
>   src/state/log.hpp PRE-CREATION 
>   src/state/log.cpp PRE-CREATION 
>   src/tests/state_tests.cpp d0e084070c566ee7d751a8e1279772e05b966145 
> 
> Diff: https://reviews.apache.org/r/19007/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Benjamin Hindman
> 
>


Re: Review Request 19007: Added log implementation for state storage.

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

> On April 1, 2014, 3:54 p.m., Jie Yu wrote:
> > src/tests/state_tests.cpp, lines 586-594
> > <https://reviews.apache.org/r/19007/diff/1-2/?file=515953#file515953line586>
> >
> >     This can be killed now:)

Yes sir, thanks!


- Benjamin


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


On March 31, 2014, 7:11 a.m., Benjamin Hindman wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19007/
> -----------------------------------------------------------
> 
> (Updated March 31, 2014, 7:11 a.m.)
> 
> 
> Review request for mesos, Ben Mahler and Jie Yu.
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> This is a combination of both https://reviews.apache.org/r/17423 and https://reviews.apache.org/r/17424 which have been merged to make it easier to make changes.
> 
> 
> Diffs
> -----
> 
>   src/Makefile.am 47d03b393f68ebd4e9eba3206798a939078023c0 
>   src/messages/state.proto 7f7a8a505d6f24b01fec0c3ad47b0e15b2b17ffa 
>   src/state/log.hpp PRE-CREATION 
>   src/state/log.cpp PRE-CREATION 
>   src/tests/state_tests.cpp d0e084070c566ee7d751a8e1279772e05b966145 
> 
> Diff: https://reviews.apache.org/r/19007/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Benjamin Hindman
> 
>


Re: Review Request 19007: Added log implementation for state storage.

Posted by Jie Yu <yu...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19007/#review39167
-----------------------------------------------------------

Ship it!



src/tests/state_tests.cpp
<https://reviews.apache.org/r/19007/#comment71527>

    This can be killed now:)


- Jie Yu


On March 31, 2014, 7:11 a.m., Benjamin Hindman wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19007/
> -----------------------------------------------------------
> 
> (Updated March 31, 2014, 7:11 a.m.)
> 
> 
> Review request for mesos, Ben Mahler and Jie Yu.
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> This is a combination of both https://reviews.apache.org/r/17423 and https://reviews.apache.org/r/17424 which have been merged to make it easier to make changes.
> 
> 
> Diffs
> -----
> 
>   src/Makefile.am 47d03b393f68ebd4e9eba3206798a939078023c0 
>   src/messages/state.proto 7f7a8a505d6f24b01fec0c3ad47b0e15b2b17ffa 
>   src/state/log.hpp PRE-CREATION 
>   src/state/log.cpp PRE-CREATION 
>   src/tests/state_tests.cpp d0e084070c566ee7d751a8e1279772e05b966145 
> 
> Diff: https://reviews.apache.org/r/19007/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Benjamin Hindman
> 
>


Re: Review Request 19007: Added log implementation for state storage.

Posted by Jiang Yan Xu <ya...@jxu.me>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19007/#review39204
-----------------------------------------------------------

Ship it!



src/state/log.cpp
<https://reviews.apache.org/r/19007/#comment71567>

    s/truncatation/truncation/



src/tests/state_tests.cpp
<https://reviews.apache.org/r/19007/#comment71575>

    


- Jiang Yan Xu


On March 31, 2014, 12:11 a.m., Benjamin Hindman wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19007/
> -----------------------------------------------------------
> 
> (Updated March 31, 2014, 12:11 a.m.)
> 
> 
> Review request for mesos, Ben Mahler and Jie Yu.
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> This is a combination of both https://reviews.apache.org/r/17423 and https://reviews.apache.org/r/17424 which have been merged to make it easier to make changes.
> 
> 
> Diffs
> -----
> 
>   src/Makefile.am 47d03b393f68ebd4e9eba3206798a939078023c0 
>   src/messages/state.proto 7f7a8a505d6f24b01fec0c3ad47b0e15b2b17ffa 
>   src/state/log.hpp PRE-CREATION 
>   src/state/log.cpp PRE-CREATION 
>   src/tests/state_tests.cpp d0e084070c566ee7d751a8e1279772e05b966145 
> 
> Diff: https://reviews.apache.org/r/19007/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Benjamin Hindman
> 
>


Re: Review Request 19007: Added log implementation for state storage.

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

> On April 9, 2014, 10:57 p.m., Ben Mahler wrote:
> > src/state/log.cpp, line 455
> > <https://reviews.apache.org/r/19007/diff/1-2/?file=515951#file515951line455>
> >
> >     Alternatively, since you've already ensured the entry is present:
> >     
> >     const Snapshot& snapshot = snapshots[entry.name()];
> >     
> >     But I suppose it would be good to be prudent and avoid the non-const map operation. We could also pull out the Option<Snapshot>:
> >     
> >     Option<Snapshot> snapshot = snapshots.get(entry.name());
> >     
> >     if (snapshot.isNone()) {
> >       return false;
> >     }
> >     ...
> >     
> >     The .get(...).get() pattern seems a bit unfortunate in general.

I cant use the [] operator because Snapshot is not default constructible. Great suggestion to use Option<Snapshot>, I've updated all 'get' calls to this pattern instead. Thanks Ben!


- Benjamin


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


On March 31, 2014, 7:11 a.m., Benjamin Hindman wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19007/
> -----------------------------------------------------------
> 
> (Updated March 31, 2014, 7:11 a.m.)
> 
> 
> Review request for mesos, Ben Mahler and Jie Yu.
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> This is a combination of both https://reviews.apache.org/r/17423 and https://reviews.apache.org/r/17424 which have been merged to make it easier to make changes.
> 
> 
> Diffs
> -----
> 
>   src/Makefile.am 47d03b393f68ebd4e9eba3206798a939078023c0 
>   src/messages/state.proto 7f7a8a505d6f24b01fec0c3ad47b0e15b2b17ffa 
>   src/state/log.hpp PRE-CREATION 
>   src/state/log.cpp PRE-CREATION 
>   src/tests/state_tests.cpp d0e084070c566ee7d751a8e1279772e05b966145 
> 
> Diff: https://reviews.apache.org/r/19007/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Benjamin Hindman
> 
>


Re: Review Request 19007: Added log implementation for state storage.

Posted by Ben Mahler <be...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19007/#review39958
-----------------------------------------------------------

Ship it!



src/state/log.cpp
<https://reviews.apache.org/r/19007/#comment72744>

    Alternatively, since you've already ensured the entry is present:
    
    const Snapshot& snapshot = snapshots[entry.name()];
    
    But I suppose it would be good to be prudent and avoid the non-const map operation. We could also pull out the Option<Snapshot>:
    
    Option<Snapshot> snapshot = snapshots.get(entry.name());
    
    if (snapshot.isNone()) {
      return false;
    }
    ...
    
    The .get(...).get() pattern seems a bit unfortunate in general.


- Ben Mahler


On March 31, 2014, 7:11 a.m., Benjamin Hindman wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19007/
> -----------------------------------------------------------
> 
> (Updated March 31, 2014, 7:11 a.m.)
> 
> 
> Review request for mesos, Ben Mahler and Jie Yu.
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> This is a combination of both https://reviews.apache.org/r/17423 and https://reviews.apache.org/r/17424 which have been merged to make it easier to make changes.
> 
> 
> Diffs
> -----
> 
>   src/Makefile.am 47d03b393f68ebd4e9eba3206798a939078023c0 
>   src/messages/state.proto 7f7a8a505d6f24b01fec0c3ad47b0e15b2b17ffa 
>   src/state/log.hpp PRE-CREATION 
>   src/state/log.cpp PRE-CREATION 
>   src/tests/state_tests.cpp d0e084070c566ee7d751a8e1279772e05b966145 
> 
> Diff: https://reviews.apache.org/r/19007/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Benjamin Hindman
> 
>


Re: Review Request 19007: Added log implementation for state storage.

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

(Updated March 31, 2014, 7:11 a.m.)


Review request for mesos, Ben Mahler and Jie Yu.


Repository: mesos-git


Description
-------

This is a combination of both https://reviews.apache.org/r/17423 and https://reviews.apache.org/r/17424 which have been merged to make it easier to make changes.


Diffs
-----

  src/Makefile.am 47d03b393f68ebd4e9eba3206798a939078023c0 
  src/messages/state.proto 7f7a8a505d6f24b01fec0c3ad47b0e15b2b17ffa 
  src/state/log.hpp PRE-CREATION 
  src/state/log.cpp PRE-CREATION 
  src/tests/state_tests.cpp d0e084070c566ee7d751a8e1279772e05b966145 

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


Testing
-------

make check


Thanks,

Benjamin Hindman


Re: Review Request 19007: Added log implementation for state storage.

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

(Updated March 31, 2014, 7:10 a.m.)


Review request for mesos, Ben Mahler and Jie Yu.


Changes
-------

Updates from review comments.


Repository: mesos-git


Description
-------

This is a combination of both https://reviews.apache.org/r/17423 and https://reviews.apache.org/r/17424 which have been merged to make it easier to make changes.


Diffs (updated)
-----

  src/Makefile.am 47d03b393f68ebd4e9eba3206798a939078023c0 
  src/messages/state.proto 7f7a8a505d6f24b01fec0c3ad47b0e15b2b17ffa 
  src/state/log.hpp PRE-CREATION 
  src/state/log.cpp PRE-CREATION 
  src/tests/state_tests.cpp d0e084070c566ee7d751a8e1279772e05b966145 

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


Testing
-------

make check


Thanks,

Benjamin Hindman


Re: Review Request 19007: Added log implementation for state storage.

Posted by Ben Mahler <be...@gmail.com>.

> On March 11, 2014, 4:52 p.m., Dominic Hamon wrote:
> > src/state/log.cpp, line 454
> > <https://reviews.apache.org/r/19007/diff/1/?file=515951#file515951line454>
> >
> >     const hashset<string>& keys = snapshots.keys();
> >     return vector<string>(keys.begin(), keys.end());
> >     
> >     might be shorter and more efficient.

FWIW it's what I did in the InMemoryStorage: https://github.com/apache/mesos/blob/master/src/state/in_memory.cpp#L63

Not sure about your efficiency comment, since the alternative code has to generate a hashset of all the keys before constructing the vector, probably best to ignore the efficiency comparison for now. :)


> On March 11, 2014, 4:52 p.m., Dominic Hamon wrote:
> > src/state/log.cpp, line 87
> > <https://reviews.apache.org/r/19007/diff/1/?file=515951#file515951line87>
> >
> >     why list over vector? vector is going to be more cache friendly even if you don't need random access.

It's because list is being returned by the underlying Log::Reader API.


- Ben


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


On March 11, 2014, 2:53 a.m., Benjamin Hindman wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19007/
> -----------------------------------------------------------
> 
> (Updated March 11, 2014, 2:53 a.m.)
> 
> 
> Review request for mesos, Ben Mahler and Jie Yu.
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> This is a combination of both https://reviews.apache.org/r/17423 and https://reviews.apache.org/r/17424 which have been merged to make it easier to make changes.
> 
> 
> Diffs
> -----
> 
>   src/Makefile.am 384b3122b61294401ba4a894c06e985d9fc2fb1e 
>   src/messages/state.proto 7f7a8a505d6f24b01fec0c3ad47b0e15b2b17ffa 
>   src/state/log.hpp PRE-CREATION 
>   src/state/log.cpp PRE-CREATION 
>   src/tests/log_tests.cpp b368cdec6a81a8ddeb6fc14d4723a09797a6b0a1 
>   src/tests/state_tests.cpp bc6c91439a50e7b93077f5b1e66b0419860cb35b 
> 
> Diff: https://reviews.apache.org/r/19007/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Benjamin Hindman
> 
>


Re: Review Request 19007: Added log implementation for state storage.

Posted by Dominic Hamon <dh...@twopensource.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19007/#review36798
-----------------------------------------------------------



src/state/log.cpp
<https://reviews.apache.org/r/19007/#comment67989>

    why list over vector? vector is going to be more cache friendly even if you don't need random access.



src/state/log.cpp
<https://reviews.apache.org/r/19007/#comment67988>

    whitespace



src/state/log.cpp
<https://reviews.apache.org/r/19007/#comment67993>

    const hashset<string>& keys = snapshots.keys();
    return vector<string>(keys.begin(), keys.end());
    
    might be shorter and more efficient.



src/state/log.cpp
<https://reviews.apache.org/r/19007/#comment67994>

    you don't need the process::



src/tests/log_tests.cpp
<https://reviews.apache.org/r/19007/#comment67995>

    remove the newline to avoid having any diffs in this file?


- Dominic Hamon


On March 10, 2014, 7:53 p.m., Benjamin Hindman wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19007/
> -----------------------------------------------------------
> 
> (Updated March 10, 2014, 7:53 p.m.)
> 
> 
> Review request for mesos, Ben Mahler and Jie Yu.
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> This is a combination of both https://reviews.apache.org/r/17423 and https://reviews.apache.org/r/17424 which have been merged to make it easier to make changes.
> 
> 
> Diffs
> -----
> 
>   src/Makefile.am 384b3122b61294401ba4a894c06e985d9fc2fb1e 
>   src/messages/state.proto 7f7a8a505d6f24b01fec0c3ad47b0e15b2b17ffa 
>   src/state/log.hpp PRE-CREATION 
>   src/state/log.cpp PRE-CREATION 
>   src/tests/log_tests.cpp b368cdec6a81a8ddeb6fc14d4723a09797a6b0a1 
>   src/tests/state_tests.cpp bc6c91439a50e7b93077f5b1e66b0419860cb35b 
> 
> Diff: https://reviews.apache.org/r/19007/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Benjamin Hindman
> 
>


Re: Review Request 19007: Added log implementation for state storage.

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

> On March 18, 2014, 7:19 p.m., Jie Yu wrote:
> > src/state/log.cpp, line 377
> > <https://reviews.apache.org/r/19007/diff/1/?file=515951#file515951line377>
> >
> >     Maybe not for this review. We enqueue a truncate operation for each set/expunge. As a result, multiple truncate operations can get queued. IIUC, consecutive truncate operations seems to be wasteful as only the first one has an effect, right?
> >     
> >     I understand the current code won't cause any log layer operation as you remember the 'truncated' field. But acquiring/releasing mutex is also expensive as it prevents set/expunge from being executed.
> >     
> >     Maybe we should consider doing the following: if there is a truncate operation pending, do not enqueue another truncate?

There is already a TODO for that above the definition of 'LogStorageProcess::truncate()'! ;)


- Benjamin


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


On March 31, 2014, 7:11 a.m., Benjamin Hindman wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19007/
> -----------------------------------------------------------
> 
> (Updated March 31, 2014, 7:11 a.m.)
> 
> 
> Review request for mesos, Ben Mahler and Jie Yu.
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> This is a combination of both https://reviews.apache.org/r/17423 and https://reviews.apache.org/r/17424 which have been merged to make it easier to make changes.
> 
> 
> Diffs
> -----
> 
>   src/Makefile.am 47d03b393f68ebd4e9eba3206798a939078023c0 
>   src/messages/state.proto 7f7a8a505d6f24b01fec0c3ad47b0e15b2b17ffa 
>   src/state/log.hpp PRE-CREATION 
>   src/state/log.cpp PRE-CREATION 
>   src/tests/state_tests.cpp d0e084070c566ee7d751a8e1279772e05b966145 
> 
> Diff: https://reviews.apache.org/r/19007/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Benjamin Hindman
> 
>


Re: Review Request 19007: Added log implementation for state storage.

Posted by Jie Yu <yu...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19007/#review37576
-----------------------------------------------------------



src/state/log.cpp
<https://reviews.apache.org/r/19007/#comment69224>

    Could we add a check here:
    
    CHECK_SOME(truncated);
    
    Because I had a hard time follow line 196 and line 267.



src/state/log.cpp
<https://reviews.apache.org/r/19007/#comment69173>

    Why passing a 'Nothing' here? Comments would be nice!



src/state/log.cpp
<https://reviews.apache.org/r/19007/#comment69177>

    Maybe not for this review. We enqueue a truncate operation for each set/expunge. As a result, multiple truncate operations can get queued. IIUC, consecutive truncate operations seems to be wasteful as only the first one has an effect, right?
    
    I understand the current code won't cause any log layer operation as you remember the 'truncated' field. But acquiring/releasing mutex is also expensive as it prevents set/expunge from being executed.
    
    Maybe we should consider doing the following: if there is a truncate operation pending, do not enqueue another truncate?



src/tests/state_tests.cpp
<https://reviews.apache.org/r/19007/#comment69209>

    Regarding timeout, I understand that we want to push that to the top level like the following:
    
    State* state = new ...;
    
    state->store(...)
      .after(Seconds(10), defer(self(), &Self::timeout, lambda::_1));
    
    Future<Option<Variable> > timeout(
        const Future<Option<Variable> >& future)
    {
      // This step is important, otherwise subsequent
      // stores will be blocked as mutex may not be released.
      future.discard();
    
      // XXX: Should we wait for 'future' to be in non-pending status?
      return Failure("...");
    }
    
    This looks not trivial, can you add some tests for testing the timeout situation?


- Jie Yu


On March 11, 2014, 2:53 a.m., Benjamin Hindman wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19007/
> -----------------------------------------------------------
> 
> (Updated March 11, 2014, 2:53 a.m.)
> 
> 
> Review request for mesos, Ben Mahler and Jie Yu.
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> This is a combination of both https://reviews.apache.org/r/17423 and https://reviews.apache.org/r/17424 which have been merged to make it easier to make changes.
> 
> 
> Diffs
> -----
> 
>   src/Makefile.am 384b3122b61294401ba4a894c06e985d9fc2fb1e 
>   src/messages/state.proto 7f7a8a505d6f24b01fec0c3ad47b0e15b2b17ffa 
>   src/state/log.hpp PRE-CREATION 
>   src/state/log.cpp PRE-CREATION 
>   src/tests/log_tests.cpp b368cdec6a81a8ddeb6fc14d4723a09797a6b0a1 
>   src/tests/state_tests.cpp bc6c91439a50e7b93077f5b1e66b0419860cb35b 
> 
> Diff: https://reviews.apache.org/r/19007/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Benjamin Hindman
> 
>


Re: Review Request 19007: Added log implementation for state storage.

Posted by Ben Mahler <be...@gmail.com>.

> On March 20, 2014, 1:03 a.m., Ben Mahler wrote:
> > src/state/log.cpp, line 340
> > <https://reviews.apache.org/r/19007/diff/1/?file=515951#file515951line340>
> >
> >     This line is broken with the new const & Option::get semantics!
> 
> Benjamin Hindman wrote:
>     That is nasty nasty nasty, looking forward to rvalue references because this would have been a sufficient reason not to make all those optimizations yet! Thanks for the careful review Ben!

It's definitely unfortunate, but I think you're finding it extra nasty because we've been accustomed to getting copies in the stout abstractions. I agree we should circle back on these with C++11 and try to find a nice way of avoiding the copy, perhaps by providing a separate, more explicit, move operation.


- Ben


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


On March 31, 2014, 7:11 a.m., Benjamin Hindman wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19007/
> -----------------------------------------------------------
> 
> (Updated March 31, 2014, 7:11 a.m.)
> 
> 
> Review request for mesos, Ben Mahler and Jie Yu.
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> This is a combination of both https://reviews.apache.org/r/17423 and https://reviews.apache.org/r/17424 which have been merged to make it easier to make changes.
> 
> 
> Diffs
> -----
> 
>   src/Makefile.am 47d03b393f68ebd4e9eba3206798a939078023c0 
>   src/messages/state.proto 7f7a8a505d6f24b01fec0c3ad47b0e15b2b17ffa 
>   src/state/log.hpp PRE-CREATION 
>   src/state/log.cpp PRE-CREATION 
>   src/tests/state_tests.cpp d0e084070c566ee7d751a8e1279772e05b966145 
> 
> Diff: https://reviews.apache.org/r/19007/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Benjamin Hindman
> 
>


Re: Review Request 19007: Added log implementation for state storage.

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

> On March 20, 2014, 1:03 a.m., Ben Mahler wrote:
> > src/state/log.cpp, line 340
> > <https://reviews.apache.org/r/19007/diff/1/?file=515951#file515951line340>
> >
> >     This line is broken with the new const & Option::get semantics!

That is nasty nasty nasty, looking forward to rvalue references because this would have been a sufficient reason not to make all those optimizations yet! Thanks for the careful review Ben! 


> On March 20, 2014, 1:03 a.m., Ben Mahler wrote:
> > src/state/log.cpp, lines 180-183
> > <https://reviews.apache.org/r/19007/diff/1/?file=515951#file515951line180>
> >
> >     It doesn't look like index can be some here, should we CHECK that it is none to simplify this?

Hmm, I don't think you fully groked this part of the code: since 'start' can be called multiple times after the first time 'index' will be some. I updated the comment.


> On March 20, 2014, 1:03 a.m., Ben Mahler wrote:
> > src/state/log.cpp, lines 111-115
> > <https://reviews.apache.org/r/19007/diff/1/?file=515951#file515951line111>
> >
> >     Why is this a TODO?

Changed to just a comment.


> On March 20, 2014, 1:03 a.m., Ben Mahler wrote:
> > src/state/log.cpp, lines 124-125
> > <https://reviews.apache.org/r/19007/diff/1/?file=515951#file515951line124>
> >
> >     Can these be 'const' or did you want assignability?

Changed to 'const', thanks.


> On March 20, 2014, 1:03 a.m., Ben Mahler wrote:
> > src/state/log.cpp, line 229
> > <https://reviews.apache.org/r/19007/diff/1/?file=515951#file515951line229>
> >
> >     Why not add an 'else' clause here to catch unknown Operation types? I can see this code making sense if we planned on deprecating old 'Operation' types?

Changed to a 'switch'.


> On March 20, 2014, 1:03 a.m., Ben Mahler wrote:
> > src/state/log.cpp, lines 452-459
> > <https://reviews.apache.org/r/19007/diff/1/?file=515951#file515951line452>
> >
> >     Again we're going from a 'set' to 'vector' for names(), seems like the API should return a unique collection of names, alas :)

Okay, see https://reviews.apache.org/r/19835.


- Benjamin


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


On March 31, 2014, 7:11 a.m., Benjamin Hindman wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19007/
> -----------------------------------------------------------
> 
> (Updated March 31, 2014, 7:11 a.m.)
> 
> 
> Review request for mesos, Ben Mahler and Jie Yu.
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> This is a combination of both https://reviews.apache.org/r/17423 and https://reviews.apache.org/r/17424 which have been merged to make it easier to make changes.
> 
> 
> Diffs
> -----
> 
>   src/Makefile.am 47d03b393f68ebd4e9eba3206798a939078023c0 
>   src/messages/state.proto 7f7a8a505d6f24b01fec0c3ad47b0e15b2b17ffa 
>   src/state/log.hpp PRE-CREATION 
>   src/state/log.cpp PRE-CREATION 
>   src/tests/state_tests.cpp d0e084070c566ee7d751a8e1279772e05b966145 
> 
> Diff: https://reviews.apache.org/r/19007/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Benjamin Hindman
> 
>


Re: Review Request 19007: Added log implementation for state storage.

Posted by Ben Mahler <be...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19007/#review37303
-----------------------------------------------------------


Looks like this at least needs to depend on Mutex?

I'd like to better understand the full picture around the log API with respect to how long operations can take, whether operations can take forever, whether we need timeouts, and at what layer these timeouts should live.

Looks great, but there are two bugs now that we've changed the Option::get semantics!


src/state/log.cpp
<https://reviews.apache.org/r/19007/#comment69493>

    How about adding a TODO to mention that we're returning 'false' for a case where we're not sure whether the version has changed. Maybe comment on what we could do with respect to re-enqueing the operation behind another start(), using backoff to prevent fighting, etc..



src/state/log.cpp
<https://reviews.apache.org/r/19007/#comment68760>

    Maybe a newline between each group of related continuations?



src/state/log.cpp
<https://reviews.apache.org/r/19007/#comment69494>

    "the ability"?



src/state/log.cpp
<https://reviews.apache.org/r/19007/#comment69504>

    Why is this a TODO?



src/state/log.cpp
<https://reviews.apache.org/r/19007/#comment69506>

    Can these be 'const' or did you want assignability?



src/state/log.cpp
<https://reviews.apache.org/r/19007/#comment68755>

    It doesn't look like index can be some here, should we CHECK that it is none to simplify this?



src/state/log.cpp
<https://reviews.apache.org/r/19007/#comment69575>

    These two comments look a bit redundant?



src/state/log.cpp
<https://reviews.apache.org/r/19007/#comment69530>

    Why not add an 'else' clause here to catch unknown Operation types? I can see this code making sense if we planned on deprecating old 'Operation' types?



src/state/log.cpp
<https://reviews.apache.org/r/19007/#comment69578>

    Or we s/truncated/beginning/ to make the meaning a bit more clear?
    
    It's a little unintuitive that we set truncated to the beginning (there may not be a truncation yet). Seems like keeping an up-to-date 'beginning' position might be a bit easier to understand.



src/state/log.cpp
<https://reviews.apache.org/r/19007/#comment69579>

    s/Futhermore/Furthermore/



src/state/log.cpp
<https://reviews.apache.org/r/19007/#comment69580>

    We might as well be consistent and put 'then' on a newline, ditto in the other start() cases :)



src/state/log.cpp
<https://reviews.apache.org/r/19007/#comment69587>

    This line is broken with the new const & Option::get semantics!



src/state/log.cpp
<https://reviews.apache.org/r/19007/#comment69591>

    This line is broken with the new Option::get const & semantics!



src/state/log.cpp
<https://reviews.apache.org/r/19007/#comment68752>

    Again we're going from a 'set' to 'vector' for names(), seems like the API should return a unique collection of names, alas :)



src/tests/state_tests.cpp
<https://reviews.apache.org/r/19007/#comment68751>

    Can you remove the std:: qualifiers for std::string and std::set here?


- Ben Mahler


On March 11, 2014, 2:53 a.m., Benjamin Hindman wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19007/
> -----------------------------------------------------------
> 
> (Updated March 11, 2014, 2:53 a.m.)
> 
> 
> Review request for mesos, Ben Mahler and Jie Yu.
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> This is a combination of both https://reviews.apache.org/r/17423 and https://reviews.apache.org/r/17424 which have been merged to make it easier to make changes.
> 
> 
> Diffs
> -----
> 
>   src/Makefile.am 384b3122b61294401ba4a894c06e985d9fc2fb1e 
>   src/messages/state.proto 7f7a8a505d6f24b01fec0c3ad47b0e15b2b17ffa 
>   src/state/log.hpp PRE-CREATION 
>   src/state/log.cpp PRE-CREATION 
>   src/tests/log_tests.cpp b368cdec6a81a8ddeb6fc14d4723a09797a6b0a1 
>   src/tests/state_tests.cpp bc6c91439a50e7b93077f5b1e66b0419860cb35b 
> 
> Diff: https://reviews.apache.org/r/19007/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Benjamin Hindman
> 
>